themes/hyde: Use font-display: swap to eliminate render-blocking fonts
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
4abc0b1556
commit
cbd48eb624
|
@ -33,6 +33,7 @@
|
|||
|
||||
html {
|
||||
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
||||
font-display: swap;
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
html {
|
||||
|
@ -79,6 +80,7 @@ html {
|
|||
.sidebar-about h1 {
|
||||
color: #fff;
|
||||
margin-top: 0;
|
||||
font-display: swap;
|
||||
font-family: "PT Sans", serif;
|
||||
font-size: 3.25rem;
|
||||
}
|
||||
|
|
|
@ -368,6 +368,7 @@ tbody tr:nth-child(odd) th {
|
|||
margin-left: -1rem;
|
||||
margin-right: -1rem;
|
||||
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
||||
font-display: swap;
|
||||
color: #ccc;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue