You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.4 KiB
92 lines
1.4 KiB
.navigation {
|
|
position: fixed;
|
|
top: 0px;
|
|
max-height: 55px;
|
|
width: 100%;
|
|
background-color: black;
|
|
opacity: 0.8;
|
|
z-index: 3;
|
|
}
|
|
.navigation button {
|
|
padding: 1rem;
|
|
transition: color .5s;
|
|
border: 0;
|
|
background-color: transparent;
|
|
color: white;
|
|
display: inline;
|
|
}
|
|
.navigation button:focus {
|
|
outline: 0;
|
|
}
|
|
.navbarList {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.navList {
|
|
float: left;
|
|
}
|
|
.dropdownList {
|
|
background-color: black;
|
|
opacity: 0.8;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.dropdownButton {
|
|
width: 100%;
|
|
}
|
|
.navList:hover .dropdownList {
|
|
display: block!important;
|
|
}
|
|
.navigation button:hover {
|
|
color: #9c9c9c!important;
|
|
}
|
|
.home {
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
/* Switch */
|
|
.appearance {
|
|
position: absolute;
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 34px;
|
|
top: .7rem;
|
|
right: 1.5rem;
|
|
}
|
|
.appearance input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.appearanceSlider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
border-radius: 34px;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: .3s;
|
|
}
|
|
.appearanceSlider:before {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
content: "";
|
|
height: 26px;
|
|
width: 26px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .3s;
|
|
}
|
|
input:checked + .appearanceSlider {
|
|
background-color: #2E3747;
|
|
}
|
|
input:checked + .appearanceSlider:before {
|
|
transform: translateX(25px);
|
|
}
|