about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-10-04 16:28:05 -0500
committerGitHub <noreply@github.com>2024-10-04 16:28:05 -0500
commit3fb14d184a84cb892c751338c9aea625f5767a47 (patch)
treef0096e4064af614e92cc46866f539f0e56d85cbd /web
parent1cedd4a3c4980dd2120c287497b6bd3098fdf751 (diff)
downloadvoidsky-3fb14d184a84cb892c751338c9aea625f5767a47.tar.zst
Move font-face defs into HTML for CDN (#5612)
Diffstat (limited to 'web')
-rw-r--r--web/index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html
index 8efc2cb68..2a406429c 100644
--- a/web/index.html
+++ b/web/index.html
@@ -29,6 +29,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;