feat: changed structure

This commit is contained in:
Philippe Torrel
2026-07-22 11:41:40 +02:00
parent 3ec02626a6
commit 261b0e8c62
245 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,60 @@
.menu-main {
background-color: $color-5;
ul {
padding: 0;
margin: 0;
list-style: none;
}
ul ul {
display: none; // TODO: change to not visible
}
ul > li:hover,
ul > li:focus,
ul > li:focus-within {
ul {
display: block;
}
}
ul.list {
display: flex;
justify-content: center;
li {
a {
display: inline-block;
text-decoration: none;
text-transform: uppercase;
color: $color-white;
padding: 0.5rem 1rem;
transition: all 0.4s ease-out;
&:hover,
&:focus {
background-color: $color-white;
color: $color-5;
}
}
}
}
ul.sublist {
position: absolute;
background-color: rgba($color-5, 0.8);
li {
a {
display: inline-block;
background-color: $color-5;
color: $color-white;
padding: 0.5rem 1rem;
transition: all 0.4s ease-out;
&:hover,
&:focus {
background-color: $color-white;
color: $color-5;
}
}
}
}
}