fix(home): flush top and side edges of the cinema frame
Continuous Integration / build_web (push) Failing after 1s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

The home frame now reaches the top, left and right window edges, with the bottom inset kept. The macOS header clears the traffic lights, the left arrow no longer overlaps the copy, and the hero rail reserves space from the bar's real visibility instead of its lingering DOM node.
This commit is contained in:
1xDed committed 2026-11-27 19:04:09 +03:00
1 parent 0f80d4db4e
commit 5aaa3435da
4 files changed
+39 -46

No files matched your search

+16 -8
View File
@@ -1,25 +1,25 @@
/* Home page: a floating, rounded "cinema window" with an integrated header. */
/* Home page: a full-bleed cinema window with an integrated header. */
.home-cinema {
--home-trending-space: 200px;
min-height: 100vh;
padding: 16px;
padding: 0 0 16px;
box-sizing: border-box;
background: #05060a;
}
body:has(.audio-player) .home-cinema {
body.has-player-bar .home-cinema {
--home-trending-space: 316px;
}
.home-frame {
position: relative;
overflow: hidden;
min-height: calc(100vh - 32px);
border: 1px solid rgb(255 255 255 / 0.07);
border-radius: 28px;
min-height: calc(100vh - 16px);
border: 0;
border-bottom: 1px solid rgb(255 255 255 / 0.07);
border-radius: 0 0 28px 28px;
background: #08090d;
box-shadow: 0 28px 70px rgb(0 0 0 / 0.45);
}
/* Header floating over the hero artwork. */
@@ -49,6 +49,14 @@ body:has(.audio-player) .home-cinema {
justify-content: flex-end;
}
// Keep the menu clear of the macOS traffic lights now that the frame
// reaches the window edges.
html.is-macos & {
&-left {
padding-left: 64px;
}
}
&-logo {
font-family: "Tilt Neon", "Plus Jakarta Sans Variable", sans-serif;
font-size: 2rem;
@@ -125,7 +133,7 @@ body:has(.audio-player) .home-cinema {
}
}
body:has(.audio-player) .home-sections {
body.has-player-bar .home-sections {
padding-bottom: 10rem;
}