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

Patrick Kollitsch
14 hours ago 4ac021400c34ad0df551de8e02992ec6e7fa0496
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 08:55 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 12:51 +0100
commit4ac021400c34ad0df551de8e02992ec6e7fa0496
tree 8fad6a01e10fe387d532de2332bc7b67c2d5b41b tree | zip | gz
parent a1ba67bd918c63a72b7eb3ee70f30b498baada0e view | diff
feat(css): style header submenus as dropdowns

Show the submenu as a dropdown below its parent only after the script reveals the toggle button; without JavaScript it stays in the page flow. Use logical properties so the dropdown follows the page direction, span the viewport below 30em, and keep it above the header content. Give the toggle a visible focus outline and a 24px minimum target size.
1 files modified
110 ■■■■■ changed files
assets/ananke/css/_styles.css 110 ●●●●● diff | view | raw | blame | history