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

View File

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