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

Patrick Kollitsch
13 hours ago 9a960dac7005030df28658e77215d98ed430e6cf
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 09:19 +0100
commit9a960dac7005030df28658e77215d98ed430e6cf
tree e8aa8990a92703f31d47acd13e33e7655bc22f73 tree | zip | gz
parent e49c67f8baeac0e074e5c7ac5ab870e76ea014c2 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