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

Patrick Kollitsch
14 hours ago e23701d6088e1585de70cb36c45f258539ce9027
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 08:55 +0100
commite23701d6088e1585de70cb36c45f258539ce9027
tree afabbfcf1fdcaee8222938b2983e859197029ade tree | zip | gz
parent 25691e21ab91e6f13a2fdaf4212969e81e6f1d15 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