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
|
|
@ -25,6 +25,10 @@
|
|||
flex-direction: column;
|
||||
gap: calc(var(--pl-gap) * 1.25);
|
||||
color: var(--pl-ink);
|
||||
|
||||
/* The frame is the whole list's, not each tile's. */
|
||||
padding: calc(var(--pl-gap) * 1.5);
|
||||
border: 2px solid var(--pl-frame-edge);
|
||||
}
|
||||
|
||||
.pl[data-size="sm"] {
|
||||
|
|
@ -102,6 +106,7 @@
|
|||
}
|
||||
|
||||
.pl__item {
|
||||
position: relative;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
|
|
@ -137,8 +142,7 @@
|
|||
padding: var(--pl-pad);
|
||||
padding-bottom: calc(var(--pl-pad) * 1.6);
|
||||
background: var(--pl-frame-bg);
|
||||
border: 2px solid var(--pl-frame-edge);
|
||||
transition: transform 160ms ease, border-color 160ms ease;
|
||||
transition: transform 160ms ease, background-color 160ms ease;
|
||||
}
|
||||
|
||||
.pl[data-tilt="on"] .pl__item:nth-child(odd) .pl__frame {
|
||||
|
|
@ -154,7 +158,7 @@
|
|||
.pl__tile--link:hover .pl__frame,
|
||||
.pl__tile--link:focus-visible .pl__frame {
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--pl-accent);
|
||||
background: var(--color-tint-soft);
|
||||
}
|
||||
|
||||
.pl__tile--button:focus-visible,
|
||||
|
|
@ -169,7 +173,7 @@
|
|||
}
|
||||
|
||||
.pl__tile[aria-expanded="true"] .pl__frame {
|
||||
border-color: var(--pl-accent);
|
||||
background: color-mix(in srgb, var(--pl-accent) 14%, var(--color-surface));
|
||||
}
|
||||
|
||||
.pl__photo {
|
||||
|
|
@ -258,6 +262,41 @@
|
|||
|
||||
/* bio panel ------------------------------------------------------------ */
|
||||
|
||||
/* Under its tile, over what follows, with a notch pointing up at
|
||||
the tile (PeopleTiles.tsx picks the side). */
|
||||
.pl__bio--anchored {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.75rem);
|
||||
left: 0;
|
||||
z-index: 30;
|
||||
width: min(24rem, calc(100vw - 2rem));
|
||||
border-left: 0;
|
||||
border-top: 3px solid var(--pl-accent);
|
||||
background: var(--color-surface);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.pl__bio--anchored[data-align="end"] {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.pl__bio--anchored::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
left: calc(var(--pl-w) / 2 - 8px);
|
||||
width: 16px;
|
||||
height: 8px;
|
||||
background: var(--pl-accent);
|
||||
clip-path: polygon(50% 0, 100% 100%, 0 100%);
|
||||
}
|
||||
|
||||
.pl__bio--anchored[data-align="end"]::before {
|
||||
left: auto;
|
||||
right: calc(var(--pl-w) / 2 - 8px);
|
||||
}
|
||||
|
||||
.pl__bio {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue