From 81f421c520aaff55b58a177545c40223c1d7de66 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Wed, 12 Feb 2025 19:47:28 +0000 Subject: [PATCH] Apply swash across whole page --- style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/style.css b/style.css index 350dba2..b572bca 100644 --- a/style.css +++ b/style.css @@ -14,7 +14,6 @@ src: url(./EBGaramond-Italic.woff2) format("woff2"); } - @font-feature-values "EB Garamond" { @swash { fancy: 1; @@ -25,6 +24,7 @@ html { font-family: "EB Garamond", "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif; font-size: 1.25rem; font-size-adjust: 0.4; + font-variant-alternates: swash(fancy); line-height: 1.3rem; } @@ -68,7 +68,6 @@ h2::before { max-width: 47ch; /* Through the wood’s sunny aisles and tree-propped halls */ margin-left: auto; margin-bottom: 1.3rem; - font-variant-alternates: swash(fancy); } .line-indented {