Font loading improvements (#6993)
* Font loading improvements * Reconvert with missing files * Update bskyweb/templates/base.html Co-authored-by: Rick Viscomi <rviscomi@users.noreply.github.com> * Update bskyweb/templates/base.html Co-authored-by: Rick Viscomi <rviscomi@users.noreply.github.com> * Run web-build to update hashes * Revert Android to otf * Use Inter woff2 files --------- Co-authored-by: Rick Viscomi <rviscomi@users.noreply.github.com>
This commit is contained in:
+3
-4
@@ -18,8 +18,7 @@
|
||||
<link rel="preconnect" href="https://bsky.network">
|
||||
<title>%WEB_TITLE%</title>
|
||||
|
||||
<link rel="preload" as="font" type="font/ttf" href="/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf">
|
||||
<link rel="preload" as="font" type="font/ttf" href="/static/media/InterVariable-Italic.55d6a3f35e9b605ba6f4.ttf">
|
||||
<link rel="preload" as="font" type="font/woff2" href="/static/media/InterVariable.c504db5c06caaf7cdfba.woff2" crossorigin>
|
||||
|
||||
<style>
|
||||
/**
|
||||
@@ -31,14 +30,14 @@
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'InterVariable';
|
||||
src: url(/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf) format('truetype');
|
||||
src: url(/static/media/InterVariable.c504db5c06caaf7cdfba.woff2) format('woff2');
|
||||
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');
|
||||
src: url(/static/media/InterVariable-Italic.01dcbad1bac635f9c9cd.woff2) format('woff2');
|
||||
font-weight: 300 1000;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
|
||||
Reference in New Issue
Block a user