diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -215,11 +215,17 @@ internal/web/ server.go (host router, middleware, render helpers) 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. 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 + (`hover` | `never` | `always`), `NavSize`, `NavGap`, `NavActive` (how the + current page's link is marked: `underline` | `bold` | `box` | `none`) and + `NavAlign` (`left` | `center` | `right` | `spread`) — turned into body + classes by `Theme.NavClass` (`nav-<align> nav-ul-<kind> nav-size-<s> + nav-gap-<g> nav-active-<a>`, plus `nav-bold`/`nav-upper`) that blog.css + draws; the theme CSS only colours the links. `spread` is justified text + with a full-width `::after` line, header only; `center`/`right` stay + unscoped (a column menu's block links centre their text, as before). 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 + onto the switches — `uppercase` was also the small size — (`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 |
