mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
refactor(styles): split tracks.css into per-section files (#659)
tracks.css (539 LOC) → 8 per-section files in src/styles/tracks/ + an index.css. Same mechanic as the theme/components/layout splits. Concatenating reproduces the original byte stream (+1 trailing newline). Generated via /tmp/split-tracks-css.mjs.
This commit is contained in:
committed by
GitHub
parent
18bf3adb1f
commit
e0ff596a02
@@ -0,0 +1,29 @@
|
||||
/* ─── Responsive ──────────────────────────────────────────────── */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.tracks-hero {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tracks-hero-cover {
|
||||
flex: 0 0 140px;
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
.tracks-hero-actions {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.song-list-row {
|
||||
grid-template-columns: 64px minmax(0, 1.5fr) minmax(0, 1fr) 56px;
|
||||
}
|
||||
|
||||
.song-list-row-cell:nth-child(4), /* album */
|
||||
.song-list-row-cell:nth-child(5) { /* genre */
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user