1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-07 11:31:51 +00:00

Reduce CLS webfonts ajustement

This commit is contained in:
Tixie 2023-02-21 23:18:29 +01:00
parent 66623e43f2
commit a08395fb85
2 changed files with 11 additions and 1 deletions

View file

@ -29,3 +29,13 @@
url("/fonts/sourcesanspro-black-webfont.woff2") format("woff2"), url("/fonts/sourcesanspro-black-webfont.woff2") format("woff2"),
url("/fonts/sourcesanspro-black-webfont.woff") format("woff"); url("/fonts/sourcesanspro-black-webfont.woff") format("woff");
} }
// Fallback hack
// --------------------------------------------------------------
@font-face {
font-family: "Source Sans Pro-fallback";
size-adjust: 93.75%;
src: local("Arial");
}

View file

@ -7,7 +7,7 @@
$base-font: 16; // px value (without unit), will be converted in em $base-font: 16; // px value (without unit), will be converted in em
$line-height: 1.5; $line-height: 1.5;
$fontstack1: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; $fontstack1: "Source Sans Pro", "Source Sans Pro-fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
$fontstack2: Georgia, Times, "Times New Roman", serif; $fontstack2: Georgia, Times, "Times New Roman", serif;
// responsive // responsive