Overhaul fixes: vertical parallax backdrop, bracket notices, list-framed people tiles
- Backdrop: two slow circles fixed to the window drift up as the page scrolls (a scroll-driven animation), three sit down the page and travel with their sections; tones still change per section. - Notices are two corner brackets, no box or fill. - People tiles: the frame is the list's, and details open right under the tile, closing on Escape or a click elsewhere. - Featured cards and the connect section: 4px rules; video frames inset from the card edge. - Calendar weekday row is a solid bar; History decade numerals are tags on the rail instead of a white box. - Region and partner buttons say Request; the region list's group count is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8ca3b54b31
commit
f37c093dc0
12 changed files with 228 additions and 81 deletions
|
|
@ -80,25 +80,33 @@
|
|||
padding-block-start: 0.5rem;
|
||||
}
|
||||
|
||||
/* Numeral breaks the rail. */
|
||||
/* The numeral is a tag on the rail: a dark block with white type,
|
||||
centered on the line, so the rail runs into it and out again.
|
||||
(It used to paint the page's color to hide the rail behind it,
|
||||
which showed as a white box once sections went transparent.) */
|
||||
.site-tl__decadeNum {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-left: calc(var(--tl-rail-x) * -1 + 0.125rem);
|
||||
padding-block: 0.35rem;
|
||||
background: var(--tl-surface);
|
||||
justify-self: start;
|
||||
width: fit-content;
|
||||
margin-left: calc(var(--tl-rail-x) + (var(--tl-rail-w) / 2));
|
||||
transform: translateX(-50%);
|
||||
padding: 0.5rem 0.3rem;
|
||||
background: var(--color-action);
|
||||
color: #ffffff;
|
||||
font-family: var(--font-display);
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 650;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.01em;
|
||||
line-height: 1.1;
|
||||
writing-mode: vertical-rl;
|
||||
text-orientation: sideways;
|
||||
color: color-mix(in srgb, var(--tl-accent) var(--accent-text-mix), #fff);
|
||||
}
|
||||
|
||||
.site-tl__decade--pre .site-tl__decadeNum {
|
||||
color: var(--tl-faint);
|
||||
background: var(--color-tint);
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
.site-tl__decadeTitle {
|
||||
|
|
@ -132,8 +140,8 @@
|
|||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.375rem 0.75rem;
|
||||
background: var(--color-tint-soft);
|
||||
border-left: 3px solid var(--tl-rail);
|
||||
border-bottom: 3px solid var(--tl-rail);
|
||||
font-size: 0.8125rem;
|
||||
color: var(--tl-faint);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue