Outline

“On this page”: the headings of a long page beside it, with the one the reader is in marked.

Beside a report

Scroll the report: the mark follows. Click a heading to go there.

Summary

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Through the season

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Visual range

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Weather

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Waypoints

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Aurlandsfjorden

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

AU1

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

AU12

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Lifjorden

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

L3

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Sognefjorden

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

OS02-25

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

St. 11

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

St. 28

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

St. 33

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

Nærøyfjorden

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

OS04-25

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

OS05-25

Salinity and temperature held steady through the upper twenty metres, with a fresh layer after the spring melt. Profiles reached the planned depth at every visit.

<div class="flex gap-12">
	<article>…<h2 id="summary" class="scroll-mt-20">Summary</h2>…</article>
	<Outline class="sticky top-16 w-44" offset={80} entries={[
		{ id: 'summary', title: 'Summary' },
		{ id: 'season', title: 'Through the season', level: 2 },
	]} />
</div>

Outline or rail

  • Outline for a document with headings, read top to bottom: a report, a summary, these docs. The headings are the way around.
  • Scroll rail for a long list of like things that each have a state: a run’s waypoints, a day’s tasks. The states are the point; names come on hover.

Rules

  • Right of the content, sticky: it’s about this page, apart from the app’s navigation on the left.
  • For pages long enough to need it, with three or more headings. A short page goes without.
  • Titles as they are on the page, word for word.
  • Three levels at most. Deeper headings stay out of it.
  • Give each heading a `scroll-margin-top` that clears the sticky header, and set `offset` to match.