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:
Zaldimmar 2026-09-30 15:40:04 -05:00
parent 8ca3b54b31
commit f37c093dc0
12 changed files with 228 additions and 81 deletions

View file

@ -496,12 +496,13 @@ type MonthGridProps = {
function MonthGrid({ weeks, month, today, occurrences, selected, onSelect, accent }: MonthGridProps) {
return (
<div className="overflow-hidden border border-brand/15 bg-surface shadow-sm">
<div className="grid grid-cols-7 border-b border-brand/10 bg-tint-soft">
{/* The weekday row: a solid bar in the button color, so the
grid has a clear head. */}
<div className="grid grid-cols-7 bg-action">
{WEEKDAYS.map((day) => (
<div
key={day}
className="px-3 py-2 text-xs font-bold uppercase tracking-widest"
style={{ color: BODY }}
className="px-3 py-3 font-display text-sm font-bold uppercase tracking-widest text-white"
>
{day}
</div>

View file

@ -36,9 +36,9 @@ import { accentText } from '../../lib/color.ts'
groupBy={org => org.details?.scope}
/>
Kind-specific extras (the areas a region covers, the groups
inside it) come from `details` and render only when present, so
a partner row simply doesn't have them.
Kind-specific extras (the areas a region covers, its map note)
come from `details` and render only when present, so a partner
row simply doesn't have them.
═══════════════════════════════════════════════════════════════ */
const MUTED = "var(--color-muted)";
@ -88,7 +88,6 @@ function OrgRow({ org, pageLabel, siteLabel }) {
// Region extras. Absent for every other kind, and the JSX below
// skips them rather than rendering empty headings.
const areas = areasSentence(org.details?.areas ?? []);
const groupCount = (org.details?.groups ?? []).length;
const note = org.details?.map_note;
/* Collapsed, a row says who it is and nothing else, the areas
@ -124,15 +123,6 @@ function OrgRow({ org, pageLabel, siteLabel }) {
)}
</span>
{groupCount > 0 && (
<span
className="ml-auto text-sm shrink-0"
style={{ color: MUTED }}
title={`${groupCount} group${groupCount > 1 ? "s" : ""}`}
>
{groupCount}
</span>
)}
</button>
<div className="flex items-center gap-2">

View file

@ -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);
}

View file

@ -97,8 +97,8 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
}
// A cell's rules: right and bottom, the outer ones clipped off
// by the wrapper (the grid runs 2px past it).
const cell = 'border-r-2 border-b-2 border-brand'
// by the wrapper (the grid runs 4px past it).
const cell = 'border-r-4 border-b-4 border-brand'
const panelFill = `color-mix(in srgb, ${accent} 12%, var(--color-surface))`
return (
@ -108,7 +108,7 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
{blurb && <p className="mt-4 max-w-2xl text-lg text-muted">{blurb}</p>}
<div className="mt-12 overflow-hidden">
<div className="-mr-[2px] -mb-[2px]">
<div className="-mr-[4px] -mb-[4px]">
<div
role="tablist"
aria-label={title}