Terra-Dash/static/navbar.css

65 lines
1 KiB
CSS
Raw Normal View History

2024-12-01 21:13:10 +01:00
:root {
font-size: 16px;
color: black;
font-family: 'Courier New', Courier, monospace;
}
a {
font-size: 16px;
color: black;
text-decoration: none;
}
body {
display: flex;
justify-content: start;
}
.navbar {
border-style: solid;
border-color: #ced4da;
border-radius: 1rem;
width: 19rem;
height: 100vh;
background-color: #ced4da;
padding-top: 5%;
}
.navbar-cont {
display: flex;
flex-direction: column;
list-style: none;
gap: 1.5rem;
justify-content: start;
align-items:center;
text-align: center;
padding: 0;
margin: 0;
}
.nav-item {
width: 15rem;
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
border-style: solid;
border-color: rgb(255, 255, 255);
border-radius: 20px;
transition: background-color 0.4s ;
}
.nav-item a {
padding-left: 1rem;
}
.nav-item:hover {
background-color: rgb(255, 255, 255);
}
.icon {
width: 2rem;
filter: invert(100%)
}