source: Klonkt/src/assets/css/audio.css@ 5b22ea9

main
Last change on this file since 5b22ea9 was 7bc636b, checked in by Robin <robin@…>, 4 months ago

Initial commit — PrutFolio v1 source (pulled from Hetzner /srv/prutfolio)

  • Property mode set to 100644
File size: 20.6 KB
RevLine 
[7bc636b]1/* PrutCMS v10 — Audio CSS
2 Two pieces:
3 1. .post-audio-track — the play-button block inserted by [[track:id]] shortcode
4 2. .pcms-player — the persistent footer-style widget (audio-player.js)
5 Both theme-aware via CSS variables. Mobile-first. */
6
7/* ============================================================
8 In-post track button
9 ============================================================ */
10.post-audio-track {
11 display: flex;
12 align-items: center;
13 gap: 0.85rem;
14 margin: 1rem 0;
15 padding: 0.6rem 0.9rem;
16 background: var(--paper-2);
17 border: 1px solid var(--rule);
18 border-radius: 8px;
19 transition: border-color 150ms, background 150ms;
20}
21.post-audio-track:hover {
22 border-color: var(--accent);
23}
24.post-audio-track .pat-play {
25 flex-shrink: 0;
26 width: 44px;
27 height: 44px;
28 border-radius: 50%;
29 border: 0;
30 background: var(--accent);
31 color: white;
32 display: inline-flex;
33 align-items: center;
34 justify-content: center;
35 cursor: pointer;
36 padding: 0;
37 transition: transform 100ms ease;
38}
39.post-audio-track .pat-play:hover { transform: scale(1.06); }
40.post-audio-track .pat-play:active { transform: scale(0.96); }
41.post-audio-track .pat-play svg {
42 width: 20px;
43 height: 20px;
44}
45/* style.css has a v9 "cross-fade between site-logo and play-icon" rule that
46 forces ALL svg descendants of .pat-play to position:absolute; width:100%;
47 height:100% (so the logo fills the circle and play-icon overlays it).
48 We don't generate that two-layer markup anymore — just one bare <svg>.
49 Override here so the bare child SVG is statically centered by flex. */
50.post-audio-track .pat-play > svg {
51 position: static;
52 width: 20px;
53 height: 20px;
54 top: auto;
55 left: auto;
56}
57.post-audio-track .pat-info {
58 flex: 1;
59 min-width: 0;
60}
61.post-audio-track .pat-title {
62 font-weight: 600;
63 color: var(--ink);
64 white-space: nowrap;
65 overflow: hidden;
66 text-overflow: ellipsis;
67}
68.post-audio-track .pat-artist {
69 font-size: 0.85rem;
70 color: var(--ink-muted, var(--ink-soft));
71 white-space: nowrap;
72 overflow: hidden;
73 text-overflow: ellipsis;
74}
75
76/* ============================================================
77 Mini player (bottom strip) — v9 style
78 ============================================================ */
79.audio-player {
80 position: fixed;
81 left: 0; right: 0; bottom: 0;
82 background: color-mix(in srgb, var(--paper, #fff) 96%, var(--ink, #000));
83 border-top: 1px solid var(--rule, rgba(0,0,0,.1));
84 color: var(--ink, #222);
85 z-index: 1000;
86 backdrop-filter: blur(12px);
87 -webkit-backdrop-filter: blur(12px);
88 box-shadow: 0 -4px 20px rgba(0,0,0,.04);
89 padding-bottom: env(safe-area-inset-bottom, 0);
90 transition: transform .2s ease, opacity .2s ease;
91}
92/* Mobile: stack the mini-player ON TOP OF the bottom-tab nav
93 (which sits at bottom:0 with ~56px height + safe-area).
94 Desktop has no bottom-tab, so the player stays at bottom:0. */
95@media (max-width: 767px) {
96 body.has-bottom-tab .audio-player {
97 bottom: calc(56px + env(safe-area-inset-bottom, 0));
98 padding-bottom: 0;
99 }
100 /* Bottom padding for body so content isn't hidden behind both bars */
101 body.has-bottom-tab.has-audio-player .pcms-main {
102 padding-bottom: calc(72px + 80px + env(safe-area-inset-bottom, 0));
103 }
104}
105[data-theme="dark"] .audio-player {
106 background: color-mix(in srgb, var(--paper, #1a1a1a) 92%, #fff);
107 box-shadow: 0 -4px 20px rgba(0,0,0,.3);
108}
109.audio-player-hidden {
110 transform: translateY(110%);
111 opacity: 0;
112 pointer-events: none;
113}
114.audio-player-inner {
115 display: grid;
116 grid-template-columns: minmax(0, 1.6fr) auto minmax(180px, 2fr) auto;
117 gap: 1rem;
118 align-items: center;
119 padding: .65rem 1.25rem;
120 max-width: 1400px;
121 margin: 0 auto;
122}
123
124.audio-player-expand-trigger {
125 display: flex;
126 align-items: center;
127 gap: .65rem;
128 min-width: 0;
129 background: none; border: 0; padding: 0; margin: 0;
130 cursor: pointer; color: inherit; text-align: left; font: inherit;
131 border-radius: 6px;
132 transition: background .15s;
133}
134.audio-player-expand-trigger:hover {
135 background: color-mix(in srgb, var(--ink, #000) 6%, transparent);
136}
137
138.audio-player-cover {
139 width: 48px; height: 48px;
140 border-radius: 4px;
141 background:
142 linear-gradient(135deg,
143 var(--accent, #c2410c),
144 color-mix(in srgb, var(--accent, #c2410c) 55%, #000));
145 background-size: cover; background-position: center;
146 flex-shrink: 0; position: relative;
147 display: flex; align-items: center; justify-content: center;
148 color: rgba(255,255,255,0.9);
149}
150.audio-player-cover svg { width: 50%; height: 50%; }
151.audio-player-cover.has-image svg { display: none; }
152
153.audio-player-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
154.audio-player-title-wrap { overflow: hidden; white-space: nowrap; position: relative; }
155.audio-player-title {
156 display: inline-block;
157 font-family: var(--font-ui, inherit);
158 font-weight: 600; font-size: .9rem; line-height: 1.3;
159 letter-spacing: -.01em; color: var(--ink, inherit);
160 white-space: nowrap;
161}
162.audio-player-artist {
163 font-family: var(--font-ui, inherit);
164 font-size: .74rem; line-height: 1.3;
165 color: var(--ink-muted, rgba(0,0,0,.55));
166 white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
167}
168
169.audio-player-controls { display: flex; gap: .1rem; align-items: center; }
170.audio-btn {
171 background: transparent; border: 0; color: inherit;
172 cursor: pointer; padding: .5rem; border-radius: 50%;
173 transition: background .15s, color .15s, transform .08s;
174 display: inline-flex; align-items: center; justify-content: center;
175 position: relative;
176}
177.audio-btn svg { width: 18px; height: 18px; display: block; }
178.audio-btn:hover { background: color-mix(in srgb, var(--ink, #000) 8%, transparent); }
179.audio-btn:active { transform: scale(.94); }
180.audio-btn-play {
181 background: var(--accent, #c2410c);
182 color: #fff;
183 width: 38px; height: 38px;
184 padding: 0;
185}
186.audio-btn-play:hover {
187 background: color-mix(in srgb, var(--accent, #c2410c) 85%, #fff);
188}
189[data-theme="dark"] .audio-btn-play:hover {
190 background: color-mix(in srgb, var(--accent, #c2410c) 85%, #000);
191}
192.audio-btn-play svg { width: 16px; height: 16px; }
193.audio-btn-play .icon-pause { display: none; }
194.audio-player.is-playing .audio-btn-play .icon-play { display: none; }
195.audio-player.is-playing .audio-btn-play .icon-pause { display: block; }
196
197.audio-player-progress {
198 display: flex; gap: .75rem; align-items: center; min-width: 0;
199}
200.audio-time {
201 font-size: .7rem;
202 color: var(--ink-muted, rgba(0,0,0,.55));
203 font-variant-numeric: tabular-nums;
204 min-width: 2.7em; text-align: center;
205}
206.audio-seek {
207 flex: 1; min-width: 0;
208 cursor: pointer; padding: .5rem 0; position: relative;
209}
210.audio-seek-bar {
211 height: 3px;
212 background: color-mix(in srgb, var(--ink, #000) 12%, transparent);
213 border-radius: 2px; overflow: hidden;
214 transition: height .15s;
215}
216.audio-seek:hover .audio-seek-bar { height: 5px; }
217.audio-seek-fill {
218 height: 100%;
219 background: var(--accent, #c2410c);
220 width: 0%;
221 transition: width .1s linear;
222}
223
224.audio-player-volume { position: relative; display: flex; align-items: center; }
225.audio-btn .icon-mute { display: none; }
226.audio-player.is-muted .audio-btn .icon-vol { display: none; }
227.audio-player.is-muted .audio-btn .icon-mute { display: block; }
228.audio-volume-popup {
229 position: absolute;
230 bottom: calc(100% + 8px);
231 left: 50%;
232 transform: translateX(-50%) scale(.95);
233 transform-origin: bottom center;
234 background: var(--paper, #fff);
235 border: 1px solid var(--rule, rgba(0,0,0,.1));
236 border-radius: 8px;
237 padding: .75rem .5rem;
238 box-shadow: 0 4px 16px rgba(0,0,0,.15);
239 opacity: 0;
240 pointer-events: none;
241 transition: opacity .15s, transform .15s, visibility .15s;
242 height: 110px;
243 visibility: hidden;
244}
245.audio-volume-popup::after {
246 content: '';
247 position: absolute;
248 bottom: -12px; left: -10px; right: -10px;
249 height: 16px;
250}
251[data-theme="dark"] .audio-volume-popup {
252 background: color-mix(in srgb, var(--paper, #111) 92%, #fff);
253}
254.audio-player-volume:hover .audio-volume-popup,
255.audio-player-volume:focus-within .audio-volume-popup,
256.audio-player-volume.is-open .audio-volume-popup {
257 opacity: 1; visibility: visible;
258 transform: translateX(-50%) scale(1);
259 pointer-events: auto;
260}
261.audio-volume-popup input[type=range] {
262 /* Standard vertical slider — replaces deprecated -webkit-appearance: slider-vertical.
263 vertical-lr + direction: rtl gives bottom-to-top rendering in all modern browsers. */
264 writing-mode: vertical-lr;
265 direction: rtl;
266 width: 6px; height: 90px;
267 accent-color: var(--accent, #c2410c);
268 padding: 0 12px;
269 box-sizing: content-box;
270 cursor: pointer;
271}
272
273@media (max-width: 720px) {
274 .audio-player-inner {
275 grid-template-columns: minmax(0, 1fr) auto auto;
276 gap: .5rem;
277 padding: .5rem .8rem;
278 }
279 .audio-player-progress { display: none; }
280 .audio-player-cover { width: 40px; height: 40px; }
281 .audio-btn-play { width: 34px; height: 34px; }
282 .audio-player-volume { display: none; }
283}
284
285/* When the main page would be obscured by the player, give it bottom padding */
286body.has-audio-player main {
287 padding-bottom: 80px;
288}
289
290/* ============================================================
291 Now-playing sheet (v9 style — slide-up, drag-to-close)
292 ============================================================ */
293.audio-sheet {
294 position: fixed;
295 inset: 0;
296 z-index: 1100;
297 pointer-events: none;
298 opacity: 0;
299 transition: opacity .25s ease;
300}
301.audio-sheet.is-open {
302 pointer-events: auto;
303 opacity: 1;
304}
305.audio-sheet-backdrop {
306 position: absolute;
307 inset: 0;
308 background: rgb(0 0 0 / calc(.4 * var(--pcms-sheet-progress, 1)));
309 backdrop-filter: blur(calc(24px * var(--pcms-sheet-progress, 1)));
310 -webkit-backdrop-filter: blur(calc(24px * var(--pcms-sheet-progress, 1)));
311 transition: background .25s ease, backdrop-filter .25s ease, -webkit-backdrop-filter .25s ease;
312 will-change: backdrop-filter, background;
313}
314.audio-sheet-panel.is-dragging ~ .audio-sheet-backdrop,
315.audio-sheet-backdrop.is-dragging {
316 transition: none;
317}
318.audio-sheet-panel {
319 position: absolute;
320 bottom: 0;
321 background: var(--paper, #fff);
322 border-top-left-radius: 20px;
323 border-top-right-radius: 20px;
324 box-shadow: 0 -20px 60px rgba(0, 0, 0, .25);
325 padding: .75rem 1.5rem 2rem;
326 max-height: 85vh;
327 overflow-y: auto;
328 overscroll-behavior: contain;
329 touch-action: pan-y;
330 scrollbar-width: none; -ms-overflow-style: none;
331 transition: transform .3s cubic-bezier(.22, .9, .3, 1), opacity .3s cubic-bezier(.22, .9, .3, 1);
332 display: flex; flex-direction: column; gap: 1rem;
333 color: var(--ink);
334}
335.audio-sheet-panel::-webkit-scrollbar { display: none; }
336body.audio-sheet-locked { overflow: hidden; }
337
338/* MOBILE (<720px): full-width sheet, slide up from bottom */
339@media (max-width: 719.98px) {
340 .audio-sheet-panel {
341 /* Real full-screen, edge-to-edge, no rounded corners or shadow */
342 inset: 0;
343 left: 0; right: 0;
344 width: auto;
345 max-height: none;
346 border-top-left-radius: 0;
347 border-top-right-radius: 0;
348 box-shadow: none;
349 padding-top: calc(.75rem + env(safe-area-inset-top, 0));
350 padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
351 transform: translateY(100%);
352 }
353 /* When open: at rest unless drag is active (--pcms-drag-y set by JS) */
354 .audio-sheet.is-open .audio-sheet-panel {
355 transform: translateY(var(--pcms-drag-y, 0px));
356 }
357}
358
359/* DESKTOP (≥720px): 480px wide, horizontally centered (v9 design intent).
360 We MUST set width here because v9's style.css sets width:480px and
361 we don't want left/right:0 stretching to override it.
362 The -50% horizontal centering is preserved during drag by composing
363 --pcms-drag-y into the existing translate(-50%, ...) transform. */
364@media (min-width: 720px) {
365 .audio-sheet-panel {
366 left: 50%;
367 right: auto;
368 width: 480px;
369 transform: translate(-50%, 100%);
370 border-top-left-radius: 20px;
371 border-top-right-radius: 20px;
372 }
373 .audio-sheet.is-open .audio-sheet-panel {
374 transform: translate(-50%, var(--pcms-drag-y, 0px));
375 }
376}
377
378.audio-sheet-panel.is-dragging {
379 transition: none;
380 will-change: transform;
381}
382[data-theme="dark"] .audio-sheet-panel {
383 background: var(--paper, #1a1a1a);
384 box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
385}
386
387.audio-sheet-drag-zone {
388 flex-shrink: 0;
389 display: flex;
390 flex-direction: column;
391 align-items: stretch;
392 gap: 1rem;
393 /* MUST be 'none' so pointer events reach JS (drag-down-to-close handler).
394 'pan-y' would let the browser claim the vertical gesture for scroll. */
395 touch-action: none;
396 user-select: none;
397 -webkit-user-select: none;
398 cursor: grab;
399 margin: -.75rem -1.5rem 0;
400 padding: .75rem 1.5rem 0;
401}
402.audio-sheet-drag-zone:active { cursor: grabbing; }
403
404@media (hover: hover) and (pointer: fine) {
405 .audio-sheet-drag-zone {
406 touch-action: auto;
407 cursor: default;
408 pointer-events: none;
409 }
410 .audio-sheet-drag-zone .audio-sheet-handle {
411 pointer-events: auto;
412 cursor: pointer;
413 }
414}
415
416.audio-sheet-handle {
417 display: block;
418 width: 48px; height: 4px;
419 border-radius: 2px;
420 background: color-mix(in srgb, var(--ink, #000) 25%, transparent);
421 border: 0; padding: 0;
422 margin: 0 auto .5rem;
423 cursor: pointer;
424 flex-shrink: 0;
425 position: relative;
426}
427.audio-sheet-handle::before {
428 content: ""; position: absolute;
429 inset: -10px -20px;
430}
431
432.audio-sheet-cover {
433 width: 100%;
434 max-width: 320px;
435 aspect-ratio: 1;
436 margin: 0 auto;
437 border-radius: 12px;
438 background:
439 linear-gradient(135deg,
440 var(--accent, #c2410c),
441 color-mix(in srgb, var(--accent, #c2410c) 55%, #000));
442 background-size: cover; background-position: center;
443 display: flex; align-items: center; justify-content: center;
444 color: rgba(255,255,255,0.9);
445 box-shadow: 0 8px 32px rgba(0,0,0,0.18);
446}
447.audio-sheet-cover svg { width: 30%; height: 30%; }
448.audio-sheet-cover.has-image svg { display: none; }
449
450.audio-sheet-info { text-align: center; min-width: 0; }
451.audio-sheet-title { font-family: var(--font-display, serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
452.audio-sheet-artist { color: var(--ink-soft, rgba(0,0,0,.55)); margin-top: .25rem; }
453.audio-sheet-album { color: var(--ink-muted, rgba(0,0,0,.45)); font-size: 0.85rem; margin-top: .15rem; }
454
455.audio-sheet-progress {
456 display: flex;
457 gap: .75rem;
458 align-items: center;
459 padding: 0 1rem;
460}
461
462.audio-sheet-controls {
463 display: flex;
464 justify-content: center;
465 align-items: center;
466 gap: 1rem;
467 flex-wrap: nowrap;
468 min-height: 64px;
469}
470.audio-sheet-btn { width: 48px; height: 48px; }
471.audio-sheet-btn svg { width: 22px; height: 22px; }
472.audio-sheet-play {
473 background: var(--accent, #c2410c);
474 color: #fff;
475 width: 64px; height: 64px;
476 border-radius: 50%;
477 padding: 0;
478}
479.audio-sheet-play svg { width: 24px; height: 24px; }
480.audio-sheet-play .icon-pause { display: none; }
481/* Both descendant AND sibling — works whether the sheet is nested in
482 .audio-player (legacy) or detached as a body sibling (current fix). */
483.audio-player.is-playing .audio-sheet-play .icon-play,
484.audio-player.is-playing ~ .audio-sheet .audio-sheet-play .icon-play,
485body.audio-is-playing .audio-sheet-play .icon-play { display: none; }
486.audio-player.is-playing .audio-sheet-play .icon-pause,
487.audio-player.is-playing ~ .audio-sheet .audio-sheet-play .icon-pause,
488body.audio-is-playing .audio-sheet-play .icon-pause { display: block; }
489
490.audio-sheet-queue {
491 border-top: 1px solid var(--rule);
492 padding-top: 1rem;
493}
494.audio-sheet-queue-label {
495 font-size: 0.85rem;
496 color: var(--ink-muted, rgba(0,0,0,.55));
497 text-transform: uppercase;
498 letter-spacing: 0.05em;
499 margin-bottom: 0.5rem;
500}
501.audio-sheet-queue-list {
502 list-style: none;
503 margin: 0; padding: 0;
504}
505.audio-sheet-queue-item {
506 display: flex;
507 align-items: baseline;
508 gap: 0.4rem;
509 padding: 0.5rem 0.6rem;
510 border-radius: 4px;
511 cursor: pointer;
512 font-size: 0.95rem;
513}
514.audio-sheet-queue-item:hover { background: color-mix(in srgb, var(--ink, #000) 5%, transparent); }
515.audio-sheet-queue-item.is-current { color: var(--accent); font-weight: 600; }
516.audio-sheet-queue-item .aqi-num { color: var(--ink-muted, rgba(0,0,0,.45)); min-width: 1.6em; }
517.audio-sheet-queue-item .aqi-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
518.audio-sheet-queue-item .aqi-artist {
519 color: var(--ink-muted, rgba(0,0,0,.45));
520 font-size: 0.85rem;
521 margin-left: auto;
522}
523
524/* ============================================================
525 External-link variant ([[link:url]])
526 Branded "Open in Spotify" / etc. button. No iframe.
527 ============================================================ */
528.post-audio-external {
529 display: inline-flex;
530 align-items: center;
531 gap: 0.5rem;
532 margin: 0.75rem 0;
533 padding: 0.55rem 0.95rem;
534 background: var(--paper-2);
535 border: 1px solid var(--rule);
536 border-radius: 999px;
537 color: var(--ink);
538 text-decoration: none;
539 font-weight: 500;
540 font-size: 0.9rem;
541 transition: transform 100ms ease, border-color 150ms;
542}
543.post-audio-external:hover {
544 border-color: var(--accent);
545 transform: translateY(-1px);
546}
547.post-audio-external .pae-icon {
548 display: inline-flex;
549 align-items: center;
550 justify-content: center;
551 width: 22px;
552 height: 22px;
553 border-radius: 50%;
554 background: var(--accent);
555 color: white;
556 font-size: 0.7rem;
557 flex-shrink: 0;
558}
559.post-audio-external .pae-arrow { color: var(--ink-muted, var(--ink-soft)); font-size: 0.85rem; }
560
561/* Platform-specific accent colors (matches v9 brand palette where possible) */
562.post-audio-external--spotify .pae-icon { background: #1DB954; }
563.post-audio-external--bandcamp .pae-icon { background: #629aa9; }
564.post-audio-external--soundcloud .pae-icon { background: #ff5500; }
565.post-audio-external--applemusic .pae-icon { background: #fc3c44; }
566.post-audio-external--youtube .pae-icon { background: #ff0000; }
567.post-audio-external--vimeo .pae-icon { background: #1ab7ea; }
568.post-audio-external--tidal .pae-icon { background: #000; }
569.post-audio-external--deezer .pae-icon { background: #ef5466; }
570.post-audio-external--mixcloud .pae-icon { background: #314359; }
571
572/* ============================================================
573 Album block (v9 style)
574 ============================================================ */
575.post-album {
576 margin: 1.5rem 0;
577 background: var(--paper-2);
578 border: 1px solid var(--rule);
579 border-radius: 10px;
580 overflow: hidden;
581}
582.post-album-header {
583 display: flex;
584 gap: 1rem;
585 padding: 1rem;
586 align-items: center;
587 border-bottom: 1px solid var(--rule);
588}
589.post-album-cover-btn {
590 position: relative;
591 flex-shrink: 0;
592 width: 96px;
593 height: 96px;
594 padding: 0;
595 border: 0;
596 border-radius: 8px;
597 background: var(--paper);
598 color: var(--accent);
599 cursor: pointer;
600 overflow: hidden;
601 display: inline-flex;
602 align-items: center;
603 justify-content: center;
604}
605.post-album-cover-img {
606 width: 100%;
607 height: 100%;
608 object-fit: cover;
609 display: block;
610}
611.post-album-cover-icon {
612 width: 48px;
613 height: 48px;
614}
615.post-album-play-overlay {
616 position: absolute;
617 inset: 0;
618 display: inline-flex;
619 align-items: center;
620 justify-content: center;
621 background: rgba(0,0,0,0.35);
622 color: white;
623 opacity: 0;
624 transition: opacity 150ms;
625}
626.post-album-play-overlay svg { width: 36px; height: 36px; }
627.post-album-cover-btn:hover .post-album-play-overlay,
628.post-album-cover-btn:focus .post-album-play-overlay { opacity: 1; }
629
630.post-album-info { flex: 1; min-width: 0; }
631.post-album-title {
632 font-family: var(--font-display, serif);
633 font-size: 1.25rem;
634 margin: 0 0 0.15rem;
635 color: var(--ink);
636}
637.post-album-artist {
638 margin: 0 0 0.15rem;
639 color: var(--ink);
640 font-size: 0.95rem;
641}
642.post-album-count {
643 margin: 0;
644 color: var(--ink-muted, var(--ink-soft));
645 font-size: 0.8rem;
646 text-transform: uppercase;
647 letter-spacing: 0.05em;
648}
649
650.post-album-tracks {
651 list-style: none;
652 margin: 0;
653 padding: 0.25rem 0;
654 counter-reset: track;
655}
656.post-album-tracks .post-audio-track {
657 margin: 0;
658 border: 0;
659 border-radius: 0;
660 background: transparent;
661 padding: 0.5rem 1rem;
662}
663.post-album-tracks .post-audio-track:hover {
664 background: var(--paper);
665}
666.post-album-tracks .pat-play {
667 width: 36px;
668 height: 36px;
669 background: var(--paper-2);
670 color: var(--accent);
671 border: 1px solid var(--rule);
672}
673.post-album-tracks .pat-play:hover {
674 background: var(--accent);
675 color: white;
676 border-color: var(--accent);
677}
678.post-album-tracks .pat-play svg { width: 14px; height: 14px; }
679.post-album-tracks .pat-track-num {
680 display: inline-block;
681 margin-right: 0.4rem;
682 color: var(--ink-muted, var(--ink-soft));
683 font-variant-numeric: tabular-nums;
684 font-size: 0.85rem;
685}
686.post-album-tracks .pat-info {
687 display: flex;
688 align-items: baseline;
689 gap: 0.2rem;
690 flex-wrap: wrap;
691}
692
693@media (max-width: 600px) {
694 .post-album-header { padding: 0.75rem; gap: 0.75rem; }
695 .post-album-cover-btn { width: 72px; height: 72px; }
696 .post-album-cover-icon { width: 32px; height: 32px; }
697 .post-album-title { font-size: 1.05rem; }
698}
Note: See TracBrowser for help on using the repository browser.