Compare commits
2 commits
2909d095ca
...
81f421c520
Author | SHA1 | Date | |
---|---|---|---|
|
81f421c520 | ||
|
7f370593fc |
35
style.css
35
style.css
|
@ -14,35 +14,41 @@
|
|||
src: url(./EBGaramond-Italic.woff2) format("woff2");
|
||||
}
|
||||
|
||||
|
||||
@font-feature-values "EB Garamond" {
|
||||
@swash {
|
||||
fancy: 1;
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
body {
|
||||
counter-reset: section;
|
||||
margin: 8rem 1rem;
|
||||
margin: 7.8rem 1.3rem;
|
||||
background-color: #f9f9ef;
|
||||
font-family: "EB Garamond", "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
|
||||
font-size-adjust: 0.5;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
margin: 1.95rem 0 0.65rem;
|
||||
line-height: 2.6rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-size: 2.0625rem;
|
||||
font-weight: normal;
|
||||
color: #ce5e46;
|
||||
margin: 4rem 0 2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
font-size: 1.5625rem;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
margin: 2rem 0 1rem;
|
||||
}
|
||||
|
||||
h2::before {
|
||||
|
@ -51,18 +57,17 @@ h2::before {
|
|||
display: block;
|
||||
font-style: normal;
|
||||
font-variant-caps: all-small-caps;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
max-width: 33rem;
|
||||
margin: 2rem auto;
|
||||
max-width: 55ch;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.verse {
|
||||
max-width: 28rem;
|
||||
max-width: 47ch; /* Through the wood’s sunny aisles and tree-propped halls */
|
||||
margin-left: auto;
|
||||
font-variant-alternates: swash(fancy);
|
||||
margin-bottom: 1.3rem;
|
||||
}
|
||||
|
||||
.line-indented {
|
||||
|
|
Loading…
Reference in a new issue