forked from deepStateMirrors/tabi
🐛 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:
parent
1c06c99047
commit
a5981e6fdd
13 changed files with 218 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
header {
|
||||
font-family: 'Inter Subset', var(--sans-serif-font);
|
||||
width: 100%;
|
||||
|
||||
.main {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue