add artists/tracks pages; more components; css cleanup

This commit is contained in:
ari melody 2025-10-21 18:39:38 +01:00
parent 065a34a744
commit b0dd87cad3
Signed by: ari
GPG key ID: CF99829C92678188
37 changed files with 498 additions and 354 deletions

View file

@ -95,23 +95,26 @@ h1, h2, h3, h4, h5, h6 {
}
header {
position: fixed;
left: 0;
height: 100vh;
display: flex;
flex-direction: column;
width: 180px;
background-color: var(--bg-1);
box-shadow: var(--shadow-md);
transition: background .1s ease-out, color .1s ease-out;
justify-content: space-between;
align-items: center;
}
nav {
height: 100%;
margin: 1em 0;
position: fixed;
top: 0;
left: 0;
width: 180px;
height: calc(100vh - 2em);
margin: 0;
padding: 1em 0;
display: flex;
flex-direction: column;
justify-content: left;
background-color: var(--bg-1);
box-shadow: var(--shadow-md);
transition: background .1s ease-out, color .1s ease-out;
user-select: none;
}
nav .icon {
@ -134,17 +137,18 @@ nav .icon img {
color: var(--fg-2);
line-height: 2em;
font-weight: 500;
transition: color .1s, background-color .1s;
transition: color .1s ease-out, background-color .1s ease-out;
}
.nav-item:hover {
background: var(--bg-2);
color: var(--bg-2);
background-color: var(--fg-2);
text-decoration: none;
}
.nav-item.active {
border-left: 4px solid var(--fg-2);
}
.nav-item.active a {
padding-left: calc(1em - 4px);
padding-left: calc(1em - 3.5px);
}
nav a {
padding: .2em 1em;