My space on the web https://inhji.de
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.
 
 
 
 
 

32 lines
518 B

nav#sidebar {
left: 0;
top: 0;
position: fixed;
width: var(--width-sidebar);
height: 100vh;
box-shadow: 1px 0px 1px 0px rgba(0,0,0,0.5);
background-color: var(--background-navigation);
ul {
li {
a {
color: #ccc;
display: inline-block;
padding: 1rem;
text-decoration: none;
width: 100%;
transition: all 0.3s;
&:hover, &.active {
background-color: var(--primary);
}
svg.icon {
width: 1rem;
height: 1rem;
vertical-align: -.125em;
}
}
}
}
}