mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
13 hours ago 5737b2f7dcf2625758898e9bafeedade1be842d1
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 09:19 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 12:51 +0100
commit5737b2f7dcf2625758898e9bafeedade1be842d1
tree a56b6cb3466926f89742f31bf467709f32aa5ec1 tree | zip | gz
parent d0a424ee5cd2cc31a76261127880c40b51a865a4 view | diff
feat(css): collapse the header navigation below 60em

Below the Tachyons -l breakpoint, show the brand and the menu button in one row, the navigation-start slot below, and the menu as a stacked panel in the page flow; submenus open inline with 44px buttons. From 60em, keep one row; the slot shrinks before the row wraps, and submenus open as compact dropdowns. The hamburger icon turns into a cross; reduced motion turns this off.

Add assets/ananke/css/navigation-classes.css, an unloaded list of every navigation hook class and state with empty rules, for sites to copy into their custom_css.
1 files modified
1 files added
377 ■■■■■ changed files
assets/ananke/css/_styles.css 217 ●●●●● diff | view | raw | blame | history
assets/ananke/css/navigation-classes.css 160 ●●●●● diff | view | raw | blame | history