diff --git a/index.html b/index.html index 738b7f1..58bc974 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@ canvas { width: 100%; height: 100px; border-radius: 6px; display: block; } .cover-art .no-cover { font-size: 40px; color: #6b7089; user-select: none; } .player-right { display: flex; flex-direction: column; width: 360px; flex-shrink: 0; align-items: center; } .audio-info { font-size: 11px; color: #6b7089; font-variant-numeric: tabular-nums; min-height: 1.4em; } -.player .track-info { margin-bottom: 4px; } +.player .track-info { margin-bottom: 4px; align-self: flex-end; } .player .track-info .title { font-size: 16px; font-weight: 600; color: #c6c8d1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .player .track-info .artist-name { font-size: 12px; color: #6b7089; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .big-time { font-size: 28px; font-weight: 200; color: #d2d4de; letter-spacing: 1px; font-variant-numeric: tabular-nums; margin-bottom: 6px; font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; } @@ -36,7 +36,7 @@ canvas { width: 100%; height: 100px; border-radius: 6px; display: block; } .canvas-area { display: flex; flex-direction: column; flex: 1; min-width: 200px; gap: 6px; margin-right: 16px; } .progress-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #6b7089; font-variant-numeric: tabular-nums; font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; } .waveform-wrap { flex: 1; min-width: 0; cursor: pointer; position: relative; height: 42px; } -.waveform-wrap canvas { display: block; width: 100%; height: 42px; } +.waveform-wrap canvas { display: block; width: 100%; height: 42px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3)); } #noiz-overlay { position: fixed; opacity: 0.75; inset: 0; display: flex; justify-content: center; align-items: center; background: transparent; pointer-events: none; z-index: 9999; animation: fadeout 750ms ease 750ms forwards; } #noiz-overlay img { max-width: 50vw; max-height: 50vh; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)); } @keyframes fadeout { from { opacity: 0.75; transform: scale(1); } to { opacity: 0; transform: scale(1.75); visibility: hidden; } } @@ -57,7 +57,7 @@ canvas { width: 100%; height: 100px; border-radius: 6px; display: block; } .controls .play-btn { width: 44px; height: 44px; background: linear-gradient(to bottom, #91acd1, #84a0c6); color: #161821; font-size: 16px; border: 1px solid #84a0c6; box-shadow: 0 3px 0 #6b88b0, 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15); } .controls .play-btn:hover { background: linear-gradient(to bottom, #a0b8db, #91acd1); } .controls .play-btn:active { background: linear-gradient(to bottom, #84a0c6, #91acd1); box-shadow: 0 1px 0 #6b88b0, 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15); transform: translateY(2px); } -.volume-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; width: 100%; max-width: 200px; } +.volume-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; width: 100%; max-width: 200px; align-self: flex-start; } .volume-row input[type="range"] { flex: 1; height: 3px; -webkit-appearance: none; appearance: none; background: #272c42; border-radius: 2px; outline: none; } .volume-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #84a0c6; cursor: pointer; } .volume-row .vol-icon { font-size: 14px; color: #6b7089; } @@ -138,11 +138,11 @@ footer .footer-track { flex: 1; min-width: 0; white-space: nowrap; overflow: hid