chore: spacing + split out page styles

This commit is contained in:
Cory Dransfeldt 2024-06-17 14:06:38 -07:00
parent 2d7facfd30
commit dd11c4c463
No known key found for this signature in database
6 changed files with 85 additions and 78 deletions

View file

@ -0,0 +1,73 @@
.artist-focus,
.genre-focus {
border-bottom: 0;
}
.artist-focus {
margin-bottom: var(--sizing-base);
& img {
border: 1px solid var(--accent-color);
width: 100%;
height: auto;
}
& .artist-display {
display: flex;
flex-direction: column;
gap: var(--sizing-xs);
margin: var(--sizing-base) 0;
& .artist-meta {
display: flex;
flex-direction: column;
gap: var(--sizing-sm);
margin-top: var(--sizing-md);
& p {
margin: 0;
&.title {
font-size: var(--font-size-xl);
}
&.sub-meta {
font-size: var(--font-size-sm);
line-height: var(--line-height-sm);
svg {
width: 18px;
height: 18px;
margin-right: var(--sizing-xs);
}
}
&.favorite {
color: var(--favorite);
}
}
}
}
table th:first-of-type,
table td:first-of-type {
width: calc(var(--sizing-3xl) * 6);
}
}
@media screen and (min-width: 768px) {
.artist-focus img {
max-width: 240px;
}
.artist-focus {
& .artist-display {
flex-direction: row;
gap: var(--sizing-md);
& .artist-meta {
margin-top: 0;
}
}
}
}