prettier navi

main
Giò Diani 2025-01-18 23:10:53 +01:00
parent 7663791f33
commit bc27afe05a
1 changed files with 13 additions and 3 deletions

View File

@ -140,16 +140,26 @@ body>header>nav{
body>header>nav>ul{
position: absolute;
background: #fff;
width: 100%;
width: calc(100% + 2px);
list-style: none;
padding: 0;
padding: 0 0 1em;
top: -999em;
left: -999em;
border-radius: 0 0 .2em .2em;
border-left: 1px solid #aaa;
border-right: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
body>header>nav:hover{
border-radius: .2em .2em 0 0;
border: 1px solid #aaa;
}
body>header>nav:hover ul{
top: initial;
left: 0;
left: -1px;
}
body>header>nav>ul>li a,