simplify menu to avoid breaking anchor link navigation

This commit is contained in:
2024-08-15 00:58:43 +02:00
parent 1b62a7f637
commit 5976d51dda
2 changed files with 21 additions and 32 deletions

View File

@@ -14,6 +14,10 @@ body {
max-width: 100vw;
}
html:has(header[data-show=true]) {
overflow: hidden;
}
body {
height: 100%;
width: 100%;
@@ -195,12 +199,12 @@ select {
.linkItem {
transition: opacity var(--transition-easing);
cursor: pointer;
&:hover {
opacity: .6;
transition: opacity var(--transition-easing);
}
&:has(:focus-visible) {
box-shadow: 0 0 0 1px var(--color-background), 0 0 0 3px var(--color-green-dark);
}