Set font-display property in the right place

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-02-15 21:02:59 +05:30
parent c3b270595b
commit b58f33d46d
3 changed files with 2 additions and 5 deletions

View File

@ -1,2 +1,2 @@
<link rel="preload" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700"></noscript>
<link rel="preload" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700&display=swap"></noscript>

View File

@ -33,7 +33,6 @@
html {
font-family: "PT Sans", Helvetica, Arial, sans-serif;
font-display: swap;
}
@media (min-width: 48em) {
html {
@ -80,7 +79,6 @@ html {
.sidebar-about h1 {
color: #fff;
margin-top: 0;
font-display: swap;
font-family: "PT Sans", serif;
font-size: 3.25rem;
}

View File

@ -368,7 +368,6 @@ 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;
}