@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap");
body {
margin: 0;
background: #fbf8f2;
color: #22201c;
font: 18px/1.65 "Source Serif 4", Georgia, serif;
}
.story {
max-width: 34rem;
margin: 0 auto;
padding: 56px 24px;
}
.story__kicker {
margin: 0;
color: #b4441f;
font: 600 0.78rem/1 system-ui, sans-serif;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.story__title {
margin: 0.6rem 0 0.8rem;
font: 600 clamp(2rem, 5vw, 2.8rem) / 1.08 Fraunces, Georgia, serif;
letter-spacing: -0.02em;
text-wrap: balance;
}
.story__deck {
margin: 0;
color: #57524a;
font-size: 1.15rem;
line-height: 1.5;
text-wrap: pretty;
}
.story__byline {
margin: 1.2rem 0 2rem;
padding-bottom: 1.2rem;
border-bottom: 1px solid #e6dfd3;
color: #7a746a;
font-size: 0.85rem;
font-variant-caps: all-small-caps;
letter-spacing: 0.06em;
}
.story__byline span {
color: #22201c;
}
.story p {
text-wrap: pretty;
hanging-punctuation: first;
}
.story__lede::first-letter {
float: left;
margin: 0.08em 0.1em 0 0;
color: #b4441f;
font: 600 3.9em/0.8 Fraunces, Georgia, serif;
}
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
.story__lede::first-letter {
float: none;
margin: 0 0.12em 0 0;
font-size: 1em;
-webkit-initial-letter: 3;
initial-letter: 3;
}
}
.story__quote {
margin: 2rem 0;
padding-left: 1.2rem;
border-left: 3px solid #b4441f;
font: italic 400 1.5rem/1.35 Fraunces, Georgia, serif;
text-wrap: balance;
}Usage
The drop cap uses
initial-letter where supported and falls back to a floated first letter. Headlines use text-wrap: balance, body text uses text-wrap: pretty. Fonts load from Google Fonts.