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

Patrick Kollitsch
18 hours ago fddc0ed34fc8dfa14b769369f5faccfcbf5a3cef
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 08:55 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, November 20, 2026 00:10 +0100
commitfddc0ed34fc8dfa14b769369f5faccfcbf5a3cef
tree 613c2c91b0f0b274888abed34bb3d18d3a0577e5 tree | zip | gz
parent e23014b6bc60875b45c855397489a4121ddb58aa 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