fix nav menu
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
.menu-container {
|
.menu-container {
|
||||||
display: none;
|
display: none;
|
||||||
width: 100vw;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
@@ -50,18 +50,20 @@
|
|||||||
.toggle-wrapper {
|
.toggle-wrapper {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 70%;
|
width: 80%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-container, .dropdown-menu {
|
.menu-container, .dropdown-menu {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
margin: 0 5%;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menubutton {
|
.menubutton {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
width: 80%;
|
width: 96%;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 2%;
|
padding: 2%;
|
||||||
color: white;
|
color: white;
|
||||||
@@ -74,7 +76,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sub {
|
.sub {
|
||||||
width: 79%;
|
width: 96%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-menu {
|
||||||
|
width: 95%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 999px) {
|
@media only screen and (min-width: 999px) {
|
||||||
@@ -90,6 +96,7 @@
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
margin: 0;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -104,6 +111,11 @@
|
|||||||
transition: 0.6s;
|
transition: 0.6s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sub {
|
||||||
|
width: 92%;
|
||||||
|
padding: 20px 4%;
|
||||||
|
}
|
||||||
|
|
||||||
.menubutton:hover {
|
.menubutton:hover {
|
||||||
border-radius: 0%;
|
border-radius: 0%;
|
||||||
background-color: darkblue;
|
background-color: darkblue;
|
||||||
@@ -113,6 +125,7 @@
|
|||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
width: fit-content;
|
||||||
background-color: lightseagreen;
|
background-color: lightseagreen;
|
||||||
display: none;
|
display: none;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user