This commit is contained in:
2021-11-17 20:33:11 +01:00
parent 41baaaaf31
commit 888d001c27
6 changed files with 105 additions and 197 deletions
@@ -59,7 +59,7 @@
#block-burger {
z-index: 1;
background-color: $blue-light;
font-size: 0.7rem;
font-size: 0.5rem;
color: $white;
display: block;
width: 7rem;
@@ -86,32 +86,39 @@
}
// ul {display: none;}
ul {
display: none;
width: 100vw;
.menuOpen:first-of-type{
width: 500%;
position: relative;
bottom:8%;;
left: calc(-30vw + 50%);
height: fit-content;
padding-bottom: 1rem;
padding-top: 1rem;
background-color: $blue-light;
line-height: 2rem;
list-style: none;
.ul1 .sous-liste{
left: calc(-50vw + 50%);
padding-top: 0;
a{
opacity: 1;
right: 0;
}
ul {
display: none;
// width: 100vw;
// position: relative;
// bottom:8%;;
// left: calc(-30vw + 50%);
// height: fit-content;
// padding-bottom: 1rem;
// padding-top: 1rem;
background-color: $blue-light;
line-height: 2rem;
list-style: none;
.ul1 .sous-liste{
// left: calc(-50vw + 50%);
// padding-top: 0;
a{
opacity: 1;
}
}
}
a{
color: $white;
font-weight: 800;
font-size: 1.7rem;
opacity: 0.7;
}
a{
color: $white;
font-weight: 800;
font-size: 1rem;
}
}
&.opened ul {
display: block;