mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-12-21 09:01:56 +00:00
Reduce CLS webfonts ajustement
This commit is contained in:
parent
66623e43f2
commit
a08395fb85
2 changed files with 11 additions and 1 deletions
|
@ -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");
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue