From 3fb14d184a84cb892c751338c9aea625f5767a47 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 4 Oct 2024 16:28:05 -0500 Subject: Move font-face defs into HTML for CDN (#5612) --- web/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'web/index.html') 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; -- cgit 1.4.1