style(immersive): larger artwork, Montserrat font, hidden scrollbar

Remove fixed px caps on artwork — now scales purely with viewport
(42vw/60vh). Switch lyrics font from condensed Oswald to Montserrat
for better legibility. Hide scrollbar in immersive lyrics (scrolling
still works). Add padding to artwork column for breathing room.

cc
This commit is contained in:
vicrodh committed 2026-04-05 14:08:44 -06:00
1 parent a3f63f2148
commit 59dc9c9d7a
4 files changed
+20 -31

No files matched your search

@@ -36,7 +36,7 @@
/* Floating variant (default) */
.artwork-wrapper {
width: 100%;
max-width: min(500px, 38vw, 58vh);
max-width: min(42vw, 60vh);
aspect-ratio: 1;
border-radius: 12px;
overflow: hidden;
@@ -55,7 +55,7 @@
.vinyl-disc {
position: relative;
width: 100%;
max-width: min(500px, 38vw, 58vh);
max-width: min(42vw, 60vh);
aspect-ratio: 1;
border-radius: 50%;
background: linear-gradient(
@@ -104,14 +104,14 @@
@media (max-width: 1200px) {
.artwork-wrapper,
.vinyl-disc {
max-width: min(420px, 35vw, 50vh);
max-width: min(38vw, 52vh);
}
}
@media (max-width: 900px) {
.artwork-wrapper,
.vinyl-disc {
max-width: min(320px, 60vw, 32vh);
max-width: min(55vw, 32vh);
}
}
</style>
@@ -903,7 +903,8 @@
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
gap: 16px;
padding: 0 clamp(20px, 3vw, 50px);
}
.split-track-info {
@@ -93,27 +93,6 @@
--bg-tertiary: transparent;
padding: 0;
height: 100%;
/* Firefox - hide scrollbar by default */
scrollbar-color: transparent transparent;
}
/* Show scrollbar on hover - Firefox */
.lyrics-container:hover :global(.lyrics-lines) {
scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
/* WebKit - hide scrollbar thumb by default */
.lyrics-container :global(.lyrics-lines::-webkit-scrollbar-thumb) {
background: transparent !important;
}
/* Show scrollbar on hover - WebKit */
.lyrics-container:hover :global(.lyrics-lines::-webkit-scrollbar-thumb) {
background: rgba(255, 255, 255, 0.3) !important;
}
.lyrics-container:hover :global(.lyrics-lines::-webkit-scrollbar-thumb:hover) {
background: rgba(255, 255, 255, 0.5) !important;
}
.lyrics-state {
+14 -5
View File
@@ -206,6 +206,15 @@
border-radius: 3px;
}
/* Immersive mode: hide scrollbar but keep scrolling */
.lyrics-lines.immersive {
scrollbar-width: none;
}
.lyrics-lines.immersive::-webkit-scrollbar {
display: none;
}
.lyrics-spacer {
min-height: 40vh;
flex-shrink: 0;
@@ -247,11 +256,11 @@
}
.lyrics-lines.immersive .lyrics-line {
font-family: 'Oswald', var(--font-sans), sans-serif;
font-family: 'Montserrat', var(--font-sans), sans-serif;
font-size: clamp(24px, 2.6vw, 34px);
font-weight: 400;
line-height: 1.3;
letter-spacing: 0.02em;
font-weight: 500;
line-height: 1.35;
letter-spacing: 0.01em;
/* Text shadow for contrast against any background */
text-shadow:
0 1px 2px rgba(0, 0, 0, 0.5),
@@ -278,7 +287,7 @@
.lyrics-lines.immersive .lyrics-line.active {
font-size: clamp(28px, 3.2vw, 42px);
font-weight: 600;
font-weight: 700;
color: #ffffff !important;
opacity: 1;
}