From 57ab683bf671e95df39630b3906844805fdbf0db Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Tue, 25 Aug 2026 22:39:04 +0200 Subject: [PATCH] website: turn the long feature list into a rail, and un-squish the text pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **"And the rest of it"** was fourteen items as a two-column definition list — the part of the page nobody finishes reading. It is now a horizontal rail of cards, one icon each, tapping one opens the full paragraph in a dialog. Four of them carry a link into the docs, where there is genuinely more to say: importing, self-hosting, the MCP server and backups. Twelve new icons in the existing sprite style (24x24, stroke 1.7) to go with it. The dialog only ever shows text that is already in the card, so nothing is hidden from a reader without JS: the cards are unclamped and fully readable, the arrows stay hidden, and there is nothing to open. Arrows are for pointers that cannot swipe and are dropped on touch. **The docs and about pages were squished on a phone**, and it was one character: `.prose` set `padding: 0 0`, and the trailing zeros overwrote the left and right padding `.wrap` had already set. On a desktop nothing showed, because 720px of text has room to spare either way; on a phone the text ran into both edges of the screen. Both pages share that class, which is why both looked wrong. Two traps in the CSS I added and then found: `.frail-nav` and `.fdlg-go` both set `display`, which beats the UA's `[hidden] { display: none }`. The arrows would have shown without JS, and a card with no link would have shown a "read more" pointing at whatever the previous card linked to. Both now honour the attribute. Cache busters go to v=6 — the markup needs the new CSS and JS, and a returning visitor holding v=5 would have got the new page with the old stylesheet. --- website/about.html | 4 +- website/docs.html | 4 +- website/index.html | 134 +++++++++++++++++++++++++++++++++++++++------ website/site.js | 58 ++++++++++++++++++++ website/styles.css | 90 +++++++++++++++++++++++++++++- 5 files changed, 267 insertions(+), 23 deletions(-) diff --git a/website/about.html b/website/about.html index 8565581..fcee66a 100644 --- a/website/about.html +++ b/website/about.html @@ -9,7 +9,7 @@ - + @@ -130,6 +130,6 @@ - + diff --git a/website/docs.html b/website/docs.html index 5e588b1..8526b25 100644 --- a/website/docs.html +++ b/website/docs.html @@ -9,7 +9,7 @@ - + @@ -209,6 +209,6 @@ docker compose up -d - + diff --git a/website/index.html b/website/index.html index 06d6b07..130affc 100644 --- a/website/index.html +++ b/website/index.html @@ -14,7 +14,7 @@ - + @@ -46,6 +46,18 @@ + + + + + + + + + + + +