web: space out css

This commit is contained in:
wukko
2024-06-14 16:38:10 +06:00
parent 38d7add0a9
commit b831dc8236
3 changed files with 8 additions and 0 deletions

View File

@@ -58,12 +58,14 @@
display: flex;
flex-direction: column;
}
#sidebar {
background: black;
height: 100vh;
position: sticky;
width: var(--sidebar-width);
}
#sidebar-tabs {
height: 100%;
justify-content: space-between;

View File

@@ -29,11 +29,13 @@
font-size: var(--sidebar-font-size);
opacity: 0.8;
}
.sidebar-tab.active {
color: var(--background);
background: var(--accent);
opacity: 1;
}
.sidebar-tab:hover {
opacity: 1;
}