main
Jonathan Dahan 12 months ago
parent 0948e55a04
commit 8ccdd17ef5

@ -13,9 +13,9 @@ header {
& > nav { & > nav {
background: white; background: white;
position: sticky; position: sticky;
top: 0.5em;
display: flex; display: flex;
font-size: xx-large; font-size: xx-large;
flex-wrap: wrap;
& a { & a {
text-decoration: none; text-decoration: none;
&:hover { &:hover {
@ -53,20 +53,24 @@ li { list-style: none }
min-width: fit-content; min-width: fit-content;
} }
header { header {
max-height: 2em; max-height: 1em;
& > nav > menu { top: 0em;
& li { & > nav {
transition: display 3s ease; top: 1em;
visibility: collapse; & menu {
display: none; & li {
} transition: display 3s ease;
& li.active { visibility: collapse;
visibility: inherit; display: none;
display: block; }
} & li.active {
&:hover li { visibility: inherit;
visibility: initial; display: block;
display: block; }
&:hover li {
visibility: initial;
display: block;
}
} }
} }
} }

Loading…
Cancel
Save