43 lines
847 B
CSS
43 lines
847 B
CSS
#navbar {
|
|
width: 150px;
|
|
height: 100vh;
|
|
/*position: fixed;*/
|
|
/*left: 0;*/
|
|
/*top: 0;*/
|
|
background-color: var(--background-color);
|
|
box-shadow: 4px 0 10px rgba(0, 0, 0, 0.5);
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#navbar-logo {
|
|
width: 40px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
#navbar ::deep a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 1rem;
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
margin: 0.2rem 0;
|
|
}
|
|
|
|
#navbar ::deep .nav-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
filter: invert(1); /* Makes the SVG white */
|
|
}
|
|
|
|
#navbar ::deep a:hover {
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
#navbar ::deep a.active {
|
|
background-color: var(--primary-color);
|
|
border-left: 4px solid var(--accent-color);
|
|
} |