Apply swash across whole page

This commit is contained in:
Katherina Walshe-Grey 2025-02-12 19:47:28 +00:00
parent 7f370593fc
commit 81f421c520

View file

@ -14,7 +14,6 @@
src: url(./EBGaramond-Italic.woff2) format("woff2"); src: url(./EBGaramond-Italic.woff2) format("woff2");
} }
@font-feature-values "EB Garamond" { @font-feature-values "EB Garamond" {
@swash { @swash {
fancy: 1; fancy: 1;
@ -25,6 +24,7 @@ html {
font-family: "EB Garamond", "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif; font-family: "EB Garamond", "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
font-size: 1.25rem; font-size: 1.25rem;
font-size-adjust: 0.4; font-size-adjust: 0.4;
font-variant-alternates: swash(fancy);
line-height: 1.3rem; line-height: 1.3rem;
} }
@ -68,7 +68,6 @@ h2::before {
max-width: 47ch; /* Through the woods sunny aisles and tree-propped halls */ max-width: 47ch; /* Through the woods sunny aisles and tree-propped halls */
margin-left: auto; margin-left: auto;
margin-bottom: 1.3rem; margin-bottom: 1.3rem;
font-variant-alternates: swash(fancy);
} }
.line-indented { .line-indented {