Website/styles/Navbar.module.css

57 lines
1.3 KiB
CSS
Executable File

@keyframes navbarslide {
from {
top: -41px;
}
to {
top: 0px;
}
}
.NavBarBackbone {
background-color: #9a45fa;
/* border-bottom: 2px solid #ddd; */
width: 100%;
height: 41px;
z-index: 0;
float:left;
position: absolute;
z-index: 100;
backdrop-filter: blur(30px);
position: fixed;
top:-41px;
animation-name: navbarslide;
animation-duration: 0.5s;
animation-timing-function: ease-out;
animation-delay: 0.5s;
animation-iteration-count: 1;
animation-direction: normal;
animation-fill-mode: forwards;
}
.NavBar {
position: fixed;
right: 0;
z-index: 100;
top:-41px;
animation-name: navbarslide;
animation-duration: 0.5s;
animation-timing-function: ease-out;
animation-delay: 0.6s;
animation-iteration-count: 1;
animation-direction: normal;
animation-fill-mode: forwards;
}
.NavBar>a>button {
cursor: pointer;
background-color: rgba(255,255,255,0.00);
color: white;
border: none;
border-bottom: 2px solid rgba(0,0,0,0);
padding: 10px;
padding-left: 20px;
padding-right: 20px;
transition: all .5s ease;
font-size: 10pt;
}
.NavBar>a>button:hover {
background-color: rgba(255,255,255,0.1);
border-bottom: 2px solid #bfbfff;
}