diff options
author | Eric Bailey <git@esb.lol> | 2024-10-04 16:28:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 16:28:05 -0500 |
commit | 3fb14d184a84cb892c751338c9aea625f5767a47 (patch) | |
tree | f0096e4064af614e92cc46866f539f0e56d85cbd /bskyweb/templates/base.html | |
parent | 1cedd4a3c4980dd2120c287497b6bd3098fdf751 (diff) | |
download | voidsky-3fb14d184a84cb892c751338c9aea625f5767a47.tar.zst |
Move font-face defs into HTML for CDN (#5612)
Diffstat (limited to 'bskyweb/templates/base.html')
-rw-r--r-- | bskyweb/templates/base.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 885d13d2a..dd2474c82 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -24,6 +24,20 @@ * * THIS NEEDS TO BE DUPLICATED IN `bskyweb/templates/base.html` */ + @font-face { + font-family: 'InterVariable'; + src: url(/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf) format('truetype'); + font-weight: 300 1000; + font-style: normal; + font-display: swap; + } + @font-face { + font-family: 'InterVariableItalic'; + src: url(/static/media/InterVariable-Italic.55d6a3f35e9b605ba6f4.ttf) format('truetype'); + font-weight: 300 1000; + font-style: italic; + font-display: swap; + } html { background-color: white; scrollbar-gutter: stable both-edges; |