Sfoglia il codice sorgente

added more font-face support

this way, more browsers are supported, like older Opera/Chrome/FF
Owen Versteeg 12 anni fa
parent
commit
3ccf9a39e0
1 ha cambiato i file con 9 aggiunte e 4 eliminazioni
  1. 9 4
      css/main.css

+ 9 - 4
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;
 }