hover card with bg
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s

This commit is contained in:
Julie Blanc 2026-01-28 01:15:51 +01:00
parent a0f0110fa6
commit dbf9097701
7 changed files with 110 additions and 50 deletions

View file

@ -76,6 +76,31 @@ body, #site-header, #site-footer{
overflow: hidden;
}
@mixin hover-card-line(){
border-bottom: var(--border-light);
&:first-of-type{
border-top: var(--border-light);
}
position: relative;
&::before{
content: '';
width: 100%;
border-top: 1px solid transparent;
position: absolute;
top: -1px;
left: 0;
}
&:hover{
background-color: var(--grey-950);
border-color: var(--color-txt);
&::before{
border-color: var(--color-txt);
}
}
}
body.menu-open,
body.is-hidden{
@ -85,3 +110,5 @@ body.is-hidden{
opacity: 0.1;
}
}