This repository has been archived on 2025-03-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coryd.dev-eleventy/src/assets/styles/pages/music.css

74 lines
No EOL
1.3 KiB
CSS

.artist-focus,
.genre-focus {
border-bottom: 0;
}
.artist-focus {
margin-top: 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-bottom: var(--sizing-base);
& .artist-meta {
display: flex;
flex-direction: column;
gap: var(--sizing-sm);
margin-top: var(--sizing-base);
& p {
margin: 0;
&.title {
font-size: var(--font-size-xl);
line-height: 1;
}
&.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;
}
}
}
}