aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-06-04 12:50:35 +0530
committerBobby <[email protected]>2022-06-04 12:50:35 +0530
commit307fcad3bd93a119db39cd2fadce671102c49e86 (patch)
tree351b473850bd355956182f8c7acdf05e68232658
parentd6cc5ff789bd1ec79d02213e7fef634874b641f4 (diff)
downloadthatcomputerscientist-307fcad3bd93a119db39cd2fadce671102c49e86.tar.xz
thatcomputerscientist-307fcad3bd93a119db39cd2fadce671102c49e86.zip
Avoid FOIT
-rw-r--r--public/css/fonts.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/css/fonts.css b/public/css/fonts.css
index 037f1971..ae921aa3 100644
--- a/public/css/fonts.css
+++ b/public/css/fonts.css
@@ -4,6 +4,7 @@
src: url('../fonts/TIMES16-Regular.woff');
font-weight: normal;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -12,6 +13,7 @@
src: url('../fonts/TIMES16-Italic.woff');
font-weight: normal;
font-style: italic;
+ font-display: swap;
}
@font-face {
@@ -20,6 +22,7 @@
src: url('../fonts/TIMES16-Bold.woff');
font-weight: bold;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -28,6 +31,7 @@
src: url('../fonts/TIMES24-Bold.woff');
font-weight: bold;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -36,6 +40,7 @@
src: url('../fonts/TIMES32-Bold.woff');
font-weight: bold;
font-style: normal;
+ font-display: swap;
}
@font-face {
@@ -44,5 +49,6 @@
src: url('../fonts/COUR16-Regular.woff');
font-weight: normal;
font-style: normal;
+ font-display: swap;
}