/onthisday: IN HISTORY +1px (final landing)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
jay
2026-06-26 21:38:13 -04:00
parent 998e758614
commit 022908392b
+1 -1
View File
@@ -135,7 +135,7 @@
.year-block { --ys: clamp(34px, 5.5vw, 46px); position: relative; display: inline-block; padding-inline-start: 90px; line-height: 1; flex: none; } .year-block { --ys: clamp(34px, 5.5vw, 46px); position: relative; display: inline-block; padding-inline-start: 90px; line-height: 1; flex: none; }
/* offset tied to the year size (≈cap-top), so it lands by construction and holds across /* offset tied to the year size (≈cap-top), so it lands by construction and holds across
viewports instead of needing per-pixel re-guesses */ viewports instead of needing per-pixel re-guesses */
.yb-label { position: absolute; inset-inline-start: 0; top: calc(0.2 * var(--ys) + 2px); line-height: 1; font-family: 'Hanken Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #367653; } .yb-label { position: absolute; inset-inline-start: 0; top: calc(0.2 * var(--ys) + 1px); line-height: 1; font-family: 'Hanken Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #367653; }
.yb-year { position: static; display: inline-block; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: var(--ys); line-height: 1; color: #2c5d44; } .yb-year { position: static; display: inline-block; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: var(--ys); line-height: 1; color: #2c5d44; }
/* the full line can't fit cleanly on a narrow phone — wrap it deliberately: year lockup on its /* the full line can't fit cleanly on a narrow phone — wrap it deliberately: year lockup on its