page kosmopolit burger en croix

This commit is contained in:
hugogogo
2021-04-23 15:51:49 +02:00
parent 58ff636065
commit 2a4621215e
2 changed files with 20 additions and 1 deletions

View File

@@ -74,16 +74,34 @@
height: 2px;
border-top: 2px solid var(--color-grey-dark);
}
nav.navbar #burger:checked + .burger {
cursor: default;
}
nav.navbar #burger:checked ~ .nav_right {
display: flex;
}
nav.navbar #burger:checked ~ .nav_left a {
display: flex;
}
nav.navbar #burger:checked ~ .nav_left a:not(#nav_logo) {
height: 50px;
}
nav.navbar #burger:checked ~ .nav_left a#nav_logo {
display: flex;
margin-bottom: 40px;
}
nav.navbar #burger:checked + .burger::before {
transform: rotate(40deg);
top: 18px;
right: 21px;
height: 2px;
border-bottom: none;
}
nav.navbar #burger:checked + .burger::after {
transform: rotate(-40deg);
}
nav.navbar .burger:checked::after {
}
/*MAIN*/
main {
max-width: 90%;