Website/styles/Navbar.module.css

57 lines
1.3 KiB
CSS
Raw Normal View History

2022-02-15 17:08:29 +00:00
@keyframes navbarslide {
from {
top: -41px;
}
to {
top: 0px;
}
}
2021-12-21 19:08:36 +00:00
.NavBarBackbone {
2022-02-15 17:08:29 +00:00
background-color: #9a45fa;
/* border-bottom: 2px solid #ddd; */
2021-12-21 19:08:36 +00:00
width: 100%;
height: 41px;
z-index: 0;
float:left;
position: absolute;
2022-02-15 17:08:29 +00:00
z-index: 100;
2021-12-21 19:08:36 +00:00
backdrop-filter: blur(30px);
2022-02-15 17:08:29 +00:00
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;
2021-11-01 11:36:45 +00:00
}
.NavBar {
2022-02-15 17:08:29 +00:00
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;
2021-12-21 19:08:36 +00:00
}
.NavBar>a>button {
cursor: pointer;
background-color: rgba(255,255,255,0.00);
2021-11-01 11:36:45 +00:00
color: white;
2021-12-21 19:08:36 +00:00
border: none;
2022-02-15 17:08:29 +00:00
border-bottom: 2px solid rgba(0,0,0,0);
2021-12-21 19:08:36 +00:00
padding: 10px;
2021-11-01 11:36:45 +00:00
padding-left: 20px;
2021-12-21 19:08:36 +00:00
padding-right: 20px;
2021-12-21 22:42:34 +00:00
transition: all .5s ease;
2021-12-21 19:08:36 +00:00
font-size: 10pt;
}
.NavBar>a>button:hover {
2022-02-15 17:08:29 +00:00
background-color: rgba(255,255,255,0.1);
border-bottom: 2px solid #bfbfff;
2021-11-01 11:36:45 +00:00
}