Fix font src attribute
The `format('truetype')` bit should not be preceded by a comma. It breaks in Chrome (at least).
See https://css-tricks.com/snippets/css/using-font-face/ for an example.
This commit is contained in:
@@ -3,12 +3,12 @@
|
|||||||
font-family: 'Droid Sans';
|
font-family: 'Droid Sans';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
|
src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
/* Google Font's Droid Sans Bold */
|
/* Google Font's Droid Sans Bold */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Droid Sans';
|
font-family: 'Droid Sans';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
|
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user