🐛 fix: remove flashing from header text (Firefox)

Loads a subset of the sans-serif font for the header.

Fixes #75
This commit is contained in:
welpo
2023-04-29 15:11:13 +02:00
parent 1c06c99047
commit a5981e6fdd
13 changed files with 218 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
/* Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Inter';
src: local('Inter'),
url('fonts/Inter4.0-beta8.woff2') format("woff2");
url('fonts/Inter4.woff2') format("woff2");
font-display: swap;
}

View File

@@ -1,4 +1,5 @@
header {
font-family: 'Inter Subset', var(--sans-serif-font);
width: 100%;
.main {