add-license-1
Guuq 5 years ago
parent a8b9ee2c45
commit cfe3ec2a90

@ -58,3 +58,20 @@
display: inline-block; display: inline-block;
z-index: 1; z-index: 1;
} }
.fa-bars {
display: none!important;
}
@media screen and (min-width:0px) and (max-width:1000px) {
.fa-bars {
margin: 10px 0 0 10px!important;
display: block!important;
}
.navigation li{
display: none;
background-color: #101012;
}
.navigation .fa-bars:hover + ul li, .navigation ul:hover li {
display: block!important;
width: 100%;
}
}

@ -10,11 +10,16 @@ navbarList.className = "navbarList"
navigation.appendChild(navbarList) navigation.appendChild(navbarList)
document.body.appendChild(navigation) document.body.appendChild(navigation)
// opacity // Opacity
var opacity = c("div") var opacity = c("div")
opacity.className = "opacityMenu lowerIndex menu" opacity.className = "opacityMenu lowerIndex menu"
document.body.appendChild(opacity) document.body.appendChild(opacity)
// Hamburger Menu
var hamburger = c("i")
hamburger.className = "fas fa-bars fa-2x"
navigation.prepend(hamburger)
// Search // Search
var search = c("input") var search = c("input")
search.className = "searchMove searchBar" search.className = "searchMove searchBar"