add font-display to avoid FOIT

master
Robert Kaussow 2020-01-12 22:37:45 +01:00
parent 8460fdfb75
commit 2bf1b71163
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@
src: url("fonts/LiberationSans-Bold.woff2") format("woff2"), url("fonts/LiberationSans-Bold.woff") format("woff");
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
@ -11,6 +12,7 @@
url("fonts/LiberationSans-BoldItalic.woff") format("woff");
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
@ -18,6 +20,7 @@
src: url("fonts/LiberationSans-Italic.woff2") format("woff2"), url("fonts/LiberationSans-Italic.woff") format("woff");
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
@ -25,6 +28,7 @@
src: url("fonts/LiberationSans.woff2") format("woff2"), url("fonts/LiberationSans.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
@ -32,6 +36,7 @@
src: url("fonts/DroidSerif.woff2") format("woff2"), url("fonts/DroidSerif.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
@ -39,6 +44,7 @@
src: url("fonts/LiberationMono.woff2") format("woff2"), url("fonts/LiberationMono.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
body {