fixed bad menu links hover interaction

This commit is contained in:
2026-02-18 20:39:27 +01:00
parent 8f9cdb36d4
commit ca2a70f1b8
2 changed files with 10 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,9 @@
margin:0; margin:0;
list-style: none; list-style: none;
} }
.wrapper{
position: relative;
}
label{ label{
color:$bleu_site; color:$bleu_site;
font-weight: 600; font-weight: 600;
@@ -11,6 +14,8 @@
font-size: 0.756em; font-size: 0.756em;
padding:0 0 0.25em 0; padding:0 0 0.25em 0;
transition: color 0.25s ease-out; transition: color 0.25s ease-out;
position: absolute;
z-index: 0;
&:has(+ a:hover){ &:has(+ a:hover){
color: $rose; color: $rose;
} }
@@ -18,6 +23,10 @@
a{ a{
font-size: 1.13em; font-size: 1.13em;
transition: color 0.15s ease-out; transition: color 0.15s ease-out;
display: block;
position: relative;
z-index: 1;
padding-top: 1em;
&:hover{ &:hover{
color: $bleu_site; color: $bleu_site;
} }