Fixed burger menu

This commit is contained in:
Verena Schulz
2026-01-21 17:28:46 +01:00
parent 2380dc6b3d
commit b7f4ae93ce
+5 -16
View File
@@ -540,7 +540,7 @@ li {
} }
#toggle1:checked~.menu1 { #toggle1:checked~.menu1 {
height: 150px; height: 170px;
width: 300px; width: 300px;
} }
@@ -550,6 +550,7 @@ li {
top: 55px; top: 55px;
left: 20px; left: 20px;
width: 240px; width: 240px;
height: 0px;
border-radius: 5px; border-radius: 5px;
background-color: #1C3B69; background-color: #1C3B69;
margin: 0; margin: 0;
@@ -561,14 +562,13 @@ li {
clear: both; clear: both;
width: auto; width: auto;
text-align: center; text-align: center;
height: 0px;
overflow: hidden; overflow: hidden;
transition: height 0.3s ease, width 0.3s ease; transition: height 0.3s ease, width 0.3s ease;
z-index: 9999; z-index: 9999;
-webkit-transition: all 0.3s ease; -webkit-transition: all 0.3s ease;
} }
#customDocBtn { #customDocBtn, #helpBtn {
border: none; border: none;
background-color:#1C3B69; background-color:#1C3B69;
font: 700 20px 'Oswald', sans-serif; font: 700 20px 'Oswald', sans-serif;
@@ -579,20 +579,11 @@ li {
margin-top: 30px; margin-top: 30px;
} }
.menu1 a:last-child { .menu1 button:last-child {
margin-bottom: 30px; margin-bottom: 30px;
} }
.li1 { #customDocBtn:hover, #helpBtn:hover{
color: #fff;
width: 100%;
margin: 0;
padding: 10px 0px;
font: 700 20px 'Oswald', sans-serif;
text-decoration: none;
}
.li1:hover, #customDocBtn:hover{
background-color: #FFF; background-color: #FFF;
color: rgb(61, 61, 61); color: rgb(61, 61, 61);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
@@ -600,8 +591,6 @@ li {
transition: all 0.3s ease; transition: all 0.3s ease;
} }
#step2 { #step2 {
font-size: larger; font-size: larger;
align-items: center; align-items: center;