From 51ca573ef0c1ce4bd2ef7b7525e5543800fd1988 Mon Sep 17 00:00:00 2001 From: grm Date: Thu, 17 Sep 2026 22:29:43 +0300 Subject: Add a page width: cap the columns at so many pixels, centred or at the left MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header's and footer's text follows the cap when they already follow the main column; their backgrounds stay full width. The inset that lines them up with the main column is now exact — the wrap's 1em plus the column's share of the wrap's content box — and, with a page width, uses min() so it is right whether the page or the screen is the narrower. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index a4ea70d..8f05cfd 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ Server-rendered HTML, no JavaScript required, works on old browsers and phones. order: blog title, logo, menu, archive (posts by year and month), recent posts, tags (with counts), tag cloud, a search box (finds posts by title and text, any case; several words match in order with anything in between), custom HTML, footer - text, RSS link, site map. Column widths are percentages; on phones the columns + text, RSS link, site map. Column widths are percentages of the page, which is the whole screen or a + set number of pixels, centred or at the left; on phones the columns stack under the posts; the header and footer can follow the main column's edges for a centred, single-column look, and a rule (line, dots or stripes) can fill the row beside the title or logo. The **menu** mixes blog pages and outside links, with -- cgit v1.2.3