1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-08 07:36:39 +02:00

remove outdated font fallback formats

This commit is contained in:
Hakim El Hattab
2024-10-18 13:34:53 +02:00
parent e9ca76c59e
commit d3195019cf
12 changed files with 5 additions and 20 deletions

View File

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

View File

@@ -1,39 +1,27 @@
@font-face { @font-face {
font-family: 'Source Sans Pro'; font-family: 'Source Sans Pro';
src: url('./source-sans-pro-regular.eot'); src: url('./source-sans-pro-regular.woff') format('woff');
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');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Source Sans Pro'; font-family: 'Source Sans Pro';
src: url('./source-sans-pro-italic.eot'); src: url('./source-sans-pro-italic.woff') format('woff');
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');
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: 'Source Sans Pro'; font-family: 'Source Sans Pro';
src: url('./source-sans-pro-semibold.eot'); src: url('./source-sans-pro-semibold.woff') format('woff');
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');
font-weight: 600; font-weight: 600;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Source Sans Pro'; font-family: 'Source Sans Pro';
src: url('./source-sans-pro-semibolditalic.eot'); src: url('./source-sans-pro-semibolditalic.woff') format('woff');
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');
font-weight: 600; font-weight: 600;
font-style: italic; font-style: italic;
} }