Prechádzať zdrojové kódy

remove outdated font fallback formats

Hakim El Hattab 8 mesiacov pred
rodič
commit
d3195019cf

+ 1 - 4
public/theme/fonts/league-gothic/league-gothic.css

@@ -1,9 +1,6 @@
 @font-face {
     font-family: 'League Gothic';
-    src: url('./league-gothic.eot');
-    src: url('./league-gothic.eot?#iefix') format('embedded-opentype'),
-         url('./league-gothic.woff') format('woff'),
-         url('./league-gothic.ttf') format('truetype');
+    src: url('./league-gothic.woff') format('woff');
 
     font-weight: normal;
     font-style: normal;

BIN
public/theme/fonts/league-gothic/league-gothic.eot


BIN
public/theme/fonts/league-gothic/league-gothic.ttf


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-italic.eot


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-regular.eot


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot


BIN
public/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf


+ 4 - 16
public/theme/fonts/source-sans-pro/source-sans-pro.css

@@ -1,39 +1,27 @@
 @font-face {
     font-family: 'Source Sans Pro';
-    src: url('./source-sans-pro-regular.eot');
-    src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
-         url('./source-sans-pro-regular.woff') format('woff'),
-         url('./source-sans-pro-regular.ttf') format('truetype');
+    src: url('./source-sans-pro-regular.woff') format('woff');
     font-weight: normal;
     font-style: normal;
 }
 
 @font-face {
     font-family: 'Source Sans Pro';
-    src: url('./source-sans-pro-italic.eot');
-    src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
-         url('./source-sans-pro-italic.woff') format('woff'),
-         url('./source-sans-pro-italic.ttf') format('truetype');
+    src: url('./source-sans-pro-italic.woff') format('woff');
     font-weight: normal;
     font-style: italic;
 }
 
 @font-face {
     font-family: 'Source Sans Pro';
-    src: url('./source-sans-pro-semibold.eot');
-    src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
-         url('./source-sans-pro-semibold.woff') format('woff'),
-         url('./source-sans-pro-semibold.ttf') format('truetype');
+    src: url('./source-sans-pro-semibold.woff') format('woff');
     font-weight: 600;
     font-style: normal;
 }
 
 @font-face {
     font-family: 'Source Sans Pro';
-    src: url('./source-sans-pro-semibolditalic.eot');
-    src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
-         url('./source-sans-pro-semibolditalic.woff') format('woff'),
-         url('./source-sans-pro-semibolditalic.ttf') format('truetype');
+    src: url('./source-sans-pro-semibolditalic.woff') format('woff');
     font-weight: 600;
     font-style: italic;
 }