mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Set font-display property in the right place
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
c3b270595b
commit
b58f33d46d
|
@ -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'">
|
<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"></noscript>
|
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700&display=swap"></noscript>
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
||||||
font-display: swap;
|
|
||||||
}
|
}
|
||||||
@media (min-width: 48em) {
|
@media (min-width: 48em) {
|
||||||
html {
|
html {
|
||||||
|
@ -80,7 +79,6 @@ html {
|
||||||
.sidebar-about h1 {
|
.sidebar-about h1 {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
font-display: swap;
|
|
||||||
font-family: "PT Sans", serif;
|
font-family: "PT Sans", serif;
|
||||||
font-size: 3.25rem;
|
font-size: 3.25rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -368,7 +368,6 @@ tbody tr:nth-child(odd) th {
|
||||||
margin-left: -1rem;
|
margin-left: -1rem;
|
||||||
margin-right: -1rem;
|
margin-right: -1rem;
|
||||||
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
||||||
font-display: swap;
|
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user