diff --git a/site/.vitepress/theme/custom.css b/site/.vitepress/theme/custom.css index 754706d3..a06925e0 100644 --- a/site/.vitepress/theme/custom.css +++ b/site/.vitepress/theme/custom.css @@ -45,3 +45,12 @@ ul > li > ul::before { opacity: 0.3; left: -16px; } + +/* Required due to no JS */ +button[aria-haspopup="true"]:focus + .menu { + opacity: 1 !important; + visibility: visible !important; +} +.VPLocalNav:has(button[aria-expanded="false"]:focus) + .VPSidebar { + transform: unset !important; +}