From: Owen Versteeg Date: Mon, 6 Aug 2012 20:04:25 +0000 (-0300) Subject: added more font-face support X-Git-Tag: 2.0.0~43^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ccf9a39e002e1496635159f7105a8f4e9389194;p=reveal.js.git added more font-face support this way, more browsers are supported, like older Opera/Chrome/FF --- diff --git a/css/main.css b/css/main.css index 12cec0a..d0b199c 100644 --- a/css/main.css +++ b/css/main.css @@ -11,10 +11,15 @@ *********************************************/ @font-face { - font-family: 'League Gothic'; - src: url('../lib/font/league_gothic-webfont.eot'); - src: url('../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), - url('../lib/font/league_gothic-webfont.ttf') format('truetype'); + font-family: 'League Gothic'; + src: url('../lib/font/league_gothic-webfont-webfont.eot'); + src: url('../lib/font/league_gothic-webfont-webfont.eot?#iefix') format('embedded-opentype'), + url('../lib/font/league_gothic-webfont-webfont.woff') format('woff'), + url('../lib/font/league_gothic-webfont-webfont.ttf') format('truetype'), + url('../lib/font/league_gothic-webfont-webfont.svg#LeagueGothicRegular') format('svg'); + font-weight: normal; + font-style: normal; + font-weight: normal; font-style: normal; }