Skip to content

The board wears the docs site's logo and fonts; the item page gets scroll to the top buttons and full-width sides - #51

Merged
erhangundogan merged 4 commits into
mainfrom
item-page-polish
Dec 1, 2026
Merged

erhangundogan merged 4 commits into
mainfrom
item-page-polish

Conversation

@erhangundogan

Copy link
Copy Markdown
Collaborator

The nav shows primum's logo before its name, the tab shows it as its icon, and the pages use the docs site's fonts. Each side of the item page gets a round button back to its top once it has scrolled, and the two sides now run to the window's edges, so the documents' scrollbar is the window's.

Once the text or the documents have scrolled, a round button with a
triangle shows over that side's bottom right corner and scrolls it back
to its top; on hover it says "scroll to the top". Stacked on a narrow
window, where the page scrolls, one such button scrolls the page.
Light on dark and dark on light, so it stands out in either theme; the accent colour on hover.
The nav shows primum's logo, the three bars, before its name, set in
the logo's own font as on the docs site, and the tab shows the same
mark as its icon (static/favicon.svg, a copy of the docs site's, as
docs/ is not in the crate; a test keeps the two the same). The pages use
the docs site's fonts, Starlight's system stacks, held once in chrome.css
as --font and --font-mono.
The page kept 16px of padding on each side, so the two sides stopped short of the window and the documents' scrollbar sat 16px in from its edge. The sides now run edge to edge and keep the inset inside them.
@erhangundogan
erhangundogan merged commit 30ec10e into main Dec 1, 2026
10 checks passed
@erhangundogan
erhangundogan deleted the item-page-polish branch December 1, 2026 17:06
@erhangundogan erhangundogan mentioned this pull request Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant