From 87ef5c1f72733dbbab0c8ecbf2ddb3c4db5c579e Mon Sep 17 00:00:00 2001 From: Chuck Goss Date: Wed, 28 Sep 2016 15:21:46 -0500 Subject: [PATCH] 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. --- src/main/html/css/typography.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/html/css/typography.css b/src/main/html/css/typography.css index efb785fa..3235edd9 100644 --- a/src/main/html/css/typography.css +++ b/src/main/html/css/typography.css @@ -3,12 +3,12 @@ font-family: 'Droid Sans'; font-style: normal; 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 */ @font-face { font-family: 'Droid Sans'; font-style: normal; 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'); }