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

Patrick Kollitsch
17 hours ago 3dafeea62409dd3ece9c725a4560b41adaee7769
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 09:19 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, November 20, 2026 00:10 +0100
commit3dafeea62409dd3ece9c725a4560b41adaee7769
tree ac2fdecbd3048bddcacb94606315f2180845070c tree | zip | gz
parent 616c518977603b88c3a86775134417016a614d98 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