0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
Apple-style cards that pin to the top of the viewport and stack on top of each other as the reader scrolls.
Overview
A series of cards each position: sticky to the top, offset by an increasing distance so they stack visibly. Reading the page feels like flipping through a deck — each card stays put long enough to be read, then the next one slides over it.
Anatomy:
A wrapper containing the card series
Each card is position: sticky with an inset-block-start that grows by a per-card increment (via a --i custom property)
margin-block-end on each card creates the scroll distance before the next one arrives
Reduced-motion lifts the sticky behaviour entirely
HTML
Stack of cards with stacking index
<sectionclass="card-stack"><articlestyle="--i: 0;"><h2>First card</h2><p>Pins first.</p></article><articlestyle="--i: 1;"><h2>Second card</h2><p>Pins one offset below.</p></article><articlestyle="--i: 2;"><h2>Third card</h2><p>Two offsets.</p></article><articlestyle="--i: 3;"><h2>Fourth card</h2><p>Bottom of the stack.</p></article></section>