aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/AGENTS.md b/AGENTS.md
index dba6174..4689336 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -213,9 +213,13 @@ internal/web/ server.go (host router, middleware, render helpers)
`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). `TitleRule` (`none` | `line` | `dots` | `dots2` | `stripes`) is the header
+ header text colour; hidden on phones so a long title can wrap. The menu
+ links' look is switches that combine — `NavBold`, `NavUpper`, `NavUnderline`
+ (`hover` | `never` | `always`) — turned into body classes by
+ `Theme.NavClass` (`nav-bold nav-upper nav-ul-<kind>`) that blog.css draws;
+ the theme CSS only colours the links. They replaced a `nav_style` select
+ (`normal` | `uppercase` | `plain`), which `ParseTheme` still decodes and maps
+ onto the switches (`omitempty`, so the next save drops it). `TitleRule` (`none` | `line` | `dots` | `dots2` | `stripes`) is the header
rule's kinds, plus a double dotted row (`dots2`: the border and an
absolutely positioned `::after` with a second one 2px above), under page and post titles (`.page-title`, `.post-title`): a body
class from `Theme.TitleRuleClass` (`titles-<kind>`) that blog.css draws