summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-03-28 10:59:48 -0400
committerBradley Taunt <bt@btxx.org>2024-03-28 10:59:48 -0400
commit92337001f7c84fd8e640b2721e5225e513c650bf (patch)
tree81744b8ad0b84c3acefa352428fd892b45c9b9a7
parentcc240042d568f8d463d9520e2b1da98ed91ca164 (diff)
Custom serif open source font
-rw-r--r--local.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/local.css b/local.css
index a3fe647..9732e12 100644
--- a/local.css
+++ b/local.css
@@ -50,18 +50,21 @@ pre,code{font-size:12pt;}
@font-face {
font-family: 'Alegreya';
+ font-display: fallback;
font-style: normal;
font-weight: 300;
src: url(./public/fonts/Alegreya-Regular.ttf) format('truetype');
}
@font-face {
font-family: 'Alegreya';
+ font-display: fallback;
font-style: italic;
font-weight: 300;
src: url(./public/fonts/Alegreya-Italic.ttf) format('truetype');
}
@font-face {
font-family: 'Alegreya';
+ font-display: fallback;
font-style: bold;
font-weight: 600;
src: url(./public/fonts/Alegreya-Bold.ttf) format('truetype');