mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Prevent flash of invisible text with font-display: swap
This commit is contained in:
parent
eedba392d1
commit
f18778774c
1 changed files with 2 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ body {
|
|||
background-color: #f7f7f7;
|
||||
color: #222;
|
||||
font-family: 'museo-sans', 'Helvetica Neue', 'Verdana', 'Roboto', sans-serif;
|
||||
font-display: swap;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
|
|
@ -139,6 +140,7 @@ header.primary h1, header.primary h4 {
|
|||
padding: 0;
|
||||
word-wrap: break-word;
|
||||
font-family: 'museo-sans', 'Helvetica Neue', 'Verdana', 'Roboto', sans-serif;
|
||||
font-display: swap;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue