fix: got rid of woff fonts to create minmal size build

This commit is contained in:
Stephan 2021-10-02 16:11:20 +02:00 committed by Gulliver
parent 98ca209b62
commit 636c80bdea
7 changed files with 6 additions and 12 deletions

View File

@ -4,16 +4,14 @@
*/ */
@font-face { @font-face {
font-family: FontAwesome; font-family: FontAwesome;
src: url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"), src: url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2");
url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff");
font-weight: 400; font-weight: 400;
font-style: normal font-style: normal
} }
@font-face { @font-face {
font-family: Lato; font-family: Lato;
src: url(fonts/lato-normal.woff2?bd03a2cc277bbbc338d464e679fe9942) format("woff2"), src: url(fonts/lato-normal.woff2?bd03a2cc277bbbc338d464e679fe9942) format("woff2");
url(fonts/lato-normal.woff?27bd77b9162d388cb8d4c4217c7c5e2a) format("woff");
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
font-display: block font-display: block
@ -21,8 +19,7 @@
@font-face { @font-face {
font-family: Lato; font-family: Lato;
src: url(fonts/lato-bold.woff2?cccb897485813c7c256901dbca54ecf2) format("woff2"), src: url(fonts/lato-bold.woff2?cccb897485813c7c256901dbca54ecf2) format("woff2");
url(fonts/lato-bold.woff?d878b6c29b10beca227e9eef4246111b) format("woff");
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
font-display: block font-display: block
@ -30,8 +27,7 @@
@font-face { @font-face {
font-family: Lato; font-family: Lato;
src: url(fonts/lato-bold-italic.woff2?0b6bb6725576b072c5d0b02ecdd1900d) format("woff2"), src: url(fonts/lato-bold-italic.woff2?0b6bb6725576b072c5d0b02ecdd1900d) format("woff2");
url(fonts/lato-bold-italic.woff?9c7e4e9eb485b4a121c760e61bc3707c) format("woff");
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
font-display: block font-display: block
@ -39,8 +35,7 @@
@font-face { @font-face {
font-family: Lato; font-family: Lato;
src: url(fonts/lato-normal-italic.woff2?4eb103b4d12be57cb1d040ed5e162e9d) format("woff2"), src: url(fonts/lato-normal-italic.woff2?4eb103b4d12be57cb1d040ed5e162e9d) format("woff2");
url(fonts/lato-normal-italic.woff?f28f2d6482446544ef1ea1ccc6dd5892) format("woff");
font-weight: 400; font-weight: 400;
font-style: italic; font-style: italic;
font-display: block font-display: block
@ -49,8 +44,7 @@
/* noto-serif-700 - latin */ /* noto-serif-700 - latin */
@font-face { @font-face {
font-family: 'Noto Serif Bold'; font-family: 'Noto Serif Bold';
src: url('fonts/noto-serif-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ src: url('fonts/noto-serif-v9-latin-700.woff2') format('woff2'); /* Modern Browsers */
url('fonts/noto-serif-v9-latin-700.woff') format('woff'); /* Modern Browsers */
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
} }