Add font-display to optimise FCP (5e477a06) · Commits · Sturm / J Ward website · GitLab
2026-03-11
·
via Ben Sturmfels activity
| Original line number |
Diff line number |
Diff line |
|
@@ -26,6 +26,10 @@ body { |
|
|
font-weight: 400;
|
|
|
border-top: var(--faun) solid 40px; }
|
|
|
|
|
|
/* PageSpeed recommended to improve FCP */
|
|
|
body, h1, h2, h3, h4, h5, h6 {
|
|
|
font-display: swap; }
|
|
|
|
|
|
.menu {
|
|
|
list-style: none;
|
|
|
padding: 0;
|
|
@@ -123,6 +127,7 @@ body { |
|
|
/* mix-blend-mode: overlay; */ } }
|
|
|
.banner blockquote, .banner blockquote p {
|
|
|
font-family: 'La Belle Aurore', cursive;
|
|
|
font-display: swap;
|
|
|
color: white;
|
|
|
font-size: 1.9rem;
|
|
|
font-weight: 300;
|
|
|
| Original line number |
Diff line number |
Diff line |
|
@@ -33,6 +33,9 @@ body { |
|
|
border-top: var(--faun) solid 40px;
|
|
|
}
|
|
|
|
|
|
/* PageSpeed recommended to improve FCP */
|
|
|
body, h1, h2, h3, h4, h5, h6 { font-display: swap }
|
|
|
|
|
|
.menu {
|
|
|
list-style: none;
|
|
|
padding: 0;
|
|
@@ -166,6 +169,7 @@ body { |
|
|
|
|
|
blockquote, blockquote p {
|
|
|
font-family: 'La Belle Aurore', cursive;
|
|
|
font-display: swap;
|
|
|
color: white;
|
|
|
font-size: 1.9rem;
|
|
|
font-weight: 300;
|
|
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。