| commit b40eb914c5a541524a8126b740dfdb565fa22b2f parent c24222ce6413ae1d9cbcbad2c80b867d700ac7ec Author: sqzer <110329244+sqzer-x@users.noreply.github.com> Date: Sun, 26 Jul 2026 00:45:32 +0900 Icons for GitHub and theme, and fix the table and code-block treatments GitHub and the theme toggle are inline SVG now. There is a recorded decision in this repository against glyphs — ◐ and ☾ are missing from enough fallback stacks to render as a box — but the reason behind it is font coverage, and an inline SVG does not consult a font. Icon-only controls have no accessible name, so both carry aria-label and title, and both are square: a control whose width follows its label breaks the rhythm of the row it sits in. The theme button shows where you are going, not where you are — a sun on a dark page, a moon on a light one. A button names its action. Tables were `display: block` so they could scroll sideways, which costs them their table layout: every one shrank to its content and used about 40% of the column, reading as an afterthought rather than a reference. Ours are two or three columns of short text, so they are ordinary full-width tables again, with the header rule darkened so the labels separate from the data. A genuinely wide table can have a wrapper the day one exists. Code blocks were cut off at the right edge with nothing to say more was there. I first drew the shadow with the background-attachment trick, and it left a grey band on blocks that did not overflow at all — the mask was narrower than the shadow it was meant to cover. The browser already ships something that appears exactly when content overflows and never otherwise, so the scrollbar is styled thin and made visible instead. Fewer moving parts, no artefact to tune. Copy buttons, from the recipe features/highlighting.md tells readers to use. Documenting a thing our own site does not do is a claim without evidence. They read the `<code>` element rather than the `<pre>`, because the latter now contains the button and would copy its own label. The sidebar keeps its single dividing rule. I tried a surface under it as well and it read as a card floating in the page rather than a zone beside it — the layering that sidebar needs comes from the hover and current states on its items, and a tint across the whole panel buries them. Diffstat:
|
sqzass~ A static site generator written in Rust |
| git clone https://github.com/debuman/sqzass.git |