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

Patrick Kollitsch
yesterday d70da7534fa01bdee1486d27ed23d62a1ea7ef16
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 09:03 +0100
commitd70da7534fa01bdee1486d27ed23d62a1ea7ef16
tree 8ed843d2e3d9ae3a881bde8d3dda444924d5c27a tree | zip | gz
parent 7272e200857d125e14af2638c4f29aef1f37d342 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