From aacc88f9cd7c52c28993098679d215b873f121c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 31 Aug 2022 16:40:04 +0200 Subject: [PATCH] Remove legacy fonts --- .../Resources/Private/Assets/scss/_fonts.scss | 28 ++++++------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_fonts.scss b/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_fonts.scss index de106d29..d2e1fd0b 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_fonts.scss +++ b/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_fonts.scss @@ -3,13 +3,9 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url('../fonts/cairo-v2-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */ src: local('Cairo'), local('Cairo-Regular'), - url('../fonts/cairo-v2-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/cairo-v2-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/cairo-v2-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */ - url('../fonts/cairo-v2-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/cairo-v2-latin-ext_latin-regular.svg#Cairo') format('svg'); /* Legacy iOS */ + url('../fonts/cairo-v2-latin-ext_latin-regular.woff2') format('woff2'), + url('../fonts/cairo-v2-latin-ext_latin-regular.woff') format('woff'); } @font-face { @@ -17,28 +13,20 @@ font-style: normal; font-weight: 700; font-display: swap; - src: url('../fonts/cairo-v2-latin-ext_latin-700.eot'); /* IE9 Compat Modes */ src: local('Cairo Bold'), local('Cairo-Bold'), - url('../fonts/cairo-v2-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/cairo-v2-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */ - url('../fonts/cairo-v2-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */ - url('../fonts/cairo-v2-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ - url('../fonts/cairo-v2-latin-ext_latin-700.svg#Cairo') format('svg'); /* Legacy iOS */ + url('../fonts/cairo-v2-latin-ext_latin-700.woff2') format('woff2'), + url('../fonts/cairo-v2-latin-ext_latin-700.woff') format('woff'); } $font-main: 'Cairo'; @font-face { font-family: 'fontello'; - font-display: swap; - src: url('../fonts/fontello.eot?39986861'); - src: url('../fonts/fontello.eot?39986861#iefix') format('embedded-opentype'), - url('../fonts/fontello.woff2?39986861') format('woff2'), - url('../fonts/fontello.woff?39986861') format('woff'), - url('../fonts/fontello.ttf?39986861') format('truetype'), - url('../fonts/fontello.svg?39986861#fontello') format('svg'); - font-weight: normal; font-style: normal; + font-weight: normal; + font-display: swap; + src: url('../fonts/fontello.woff2') format('woff2'), + url('../fonts/fontello.woff') format('woff'); } [class^="icon-"]:before, [class*=" icon-"]:before {