aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-17 20:15:14 +0300
committergrm <grm@eyesin.space>2026-09-17 20:15:14 +0300
commit69912c4ac04ada3286c09400ce523d5d3ab4cfb4 (patch)
tree409c59ce65e1612d587aa698bb5e25c2cf7bfc0b /AGENTS.md
parent616aa3a934951260d5daa81ab3d0f93fbc94ebee (diff)
downloadblogspace-69912c4ac04ada3286c09400ce523d5d3ab4cfb4.tar.gz
blogspace-69912c4ac04ada3286c09400ce523d5d3ab4cfb4.tar.bz2
blogspace-69912c4ac04ada3286c09400ce523d5d3ab4cfb4.zip
Add a header rule beside the title or logo, and plain menu links
gizmolab's header is a logo with a striped rule filling the rest of the row, and a menu of plain underlined links under it; nothing in the Design tab could draw either. The rule (line, dots or stripes) is a theme option drawn in the header text colour beside the title and logo modules — on both sides when the header is centred — as table cells, so it is as tall as the brand and old browsers lay it out the same; it is hidden on phones so a long title can wrap. The menu's link style gains "plain, underlined" next to bold and uppercase. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index b7bd557..84b6a7b 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -176,6 +176,15 @@ internal/web/ server.go (host router, middleware, render helpers)
Summaries) and `PostImage` (where the post page shows the featured image:
`top` | `bottom` | `list` = listings only). `TitleSize` is emitted inside
the wide-screen media query so blog.css's phone rule keeps winning.
+ `HeaderRule` (`none` | `line` | `dots` | `stripes`) is a decoration beside
+ the title and logo modules in the header, filling the rest of the row (both
+ sides when `HeaderAlign` is `center`): `Theme.RuleClass` turns it into the
+ `ruled rule-<kind>` classes on the block, the `rule` template adds the
+ `.header-rule` cells and blog.css draws them — table cells (so the rule is
+ as tall as the brand and old browsers agree) in `currentColor`, i.e. the
+ header text colour; hidden on phones so a long title can wrap. `NavStyle`
+ `plain` is regular weight + underline for the menu links (blog.css makes
+ them bold).
Optional colours (`LinkHover`, `NavHover`) are `""` = inherit and come
from a colour input paired with a `<name>_custom` checkbox, shown/hidden
with CSS only (`.hoverpick > input:not(:checked) ~ …`). Image fields use the