diff --git a/packages/starpod/DESIGN.md b/packages/starpod/DESIGN.md index c37a47ff..3fb01119 100644 --- a/packages/starpod/DESIGN.md +++ b/packages/starpod/DESIGN.md @@ -383,7 +383,7 @@ The stage lists the episode's hosts (configured order, then guest hosts) and gue One portrait everywhere a person appears (`people.css`, `PersonFace.astro`): a circle in a 2px ring of their voice (Voice 0 or Voice 1 when they speak as one, Line Strong otherwise), 2px clear of the photo, with the hairline over it. While their line is live (wherever they appear, the transcript's speaker card included) the ring brightens to the accent with a soft halo, by opacity alone; under reduced motion a small "Speaking" label shows instead. The line under a name says something, the first that applies (`personFact`): "First time on the show", "3rd appearance · first on Ep 112", "Host · 106 episodes"; away from an episode, role and tally. Compact rows are 32px portraits with the name at 14/18 600. ### Episode bar -A 56px bar below the stage that sticks once it reaches the top, taking the top bar's blurred glass while stuck. Section links are muted 650 pills; the current section is tracked by the browser (`scroll-target-group`) and marked by one Accent Wash pill anchored to that link, which glides between links on the spring. Once the stage's meta has scrolled away, a scroll trigger grows the episode's ink play disc and title in from the left, the disc, number and name arriving in that order. While this episode is the one loaded, the disc's ring fills with `--live-progress` from the media clock bound on that ring alone (`data-props-for="media-clock"`), in the accent while playing and Muted while paused (`--live-paused`), pushing the links over; scrolling back reverses it. A 2px Line Strong rule along the lower edge fills with reading progress. When the links overflow, their edges fade only on the side with more. +A 56px bar below the stage that sticks once it reaches the top, taking the top bar's blurred glass while stuck. Section links are muted 650 pills; the current section (the last one whose top has reached the bar) is marked by `aria-current` and one Accent Wash pill anchored to that link, which glides between links on the spring. Once the stage's meta has scrolled away, a scroll trigger grows the episode's ink play disc and title in from the left, the disc, number and name arriving in that order. While this episode is the one loaded, the disc's ring fills with `--live-progress` from the media clock bound on that ring alone (`data-props-for="media-clock"`), in the accent while playing and Muted while paused (`--live-paused`), pushing the links over; scrolling back reverses it. A 2px Line Strong rule along the lower edge fills with reading progress. When the links overflow, their edges fade only on the side with more. ### Transcript turns Each paragraph that opens with a timestamp is a turn: a 7rem gutter (5.5rem for feed transcripts, which carry no speakers) holds the seek chip and the speaker's name in their voice's face. A long turn's head is sticky while the turn is on screen, trailing a fading rule down the rest of the turn once stuck. The turn being heard takes the Accent Wash with an accent chip. A "Now" ink pill sticks to whichever screen edge the live turn is past, only once all of it is off screen, and points to it. Long transcripts come in groups of 20 turns that skip rendering off screen, which keeps them at the display's frame rate while playing; an unrendered group holds the first group's measured height, and a section link that glides past groups re-aims once they have rendered. Hovering a name (or focusing a chip) shows the person on a Float card above it, or below it when the name is stuck under the bar. diff --git a/packages/starpod/src/components/episode/SectionBar.astro b/packages/starpod/src/components/episode/SectionBar.astro index 8bfcb21b..9161fd9d 100644 --- a/packages/starpod/src/components/episode/SectionBar.astro +++ b/packages/starpod/src/components/episode/SectionBar.astro @@ -26,12 +26,12 @@ const { label, sections } = Astro.props; ) }