Continuous Integration / build_web (push) Failing after 0s
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
Bundle the Medeo Sans variable webfonts, set them as the default UI and theme font, and update the home wordmark, remote page and filter dialog. Include the OFL license.
312 lines
5.2 KiB
SCSS
312 lines
5.2 KiB
SCSS
/* Home page: a full-bleed cinema window with an integrated header. */
|
|
.home-cinema {
|
|
--home-trending-space: 200px;
|
|
|
|
min-height: 100vh;
|
|
padding: 0 0 16px;
|
|
box-sizing: border-box;
|
|
background: #05060a;
|
|
}
|
|
|
|
body.has-player-bar .home-cinema {
|
|
--home-trending-space: 316px;
|
|
}
|
|
|
|
.home-frame {
|
|
position: relative;
|
|
overflow: hidden;
|
|
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;
|
|
}
|
|
|
|
/* Header floating over the hero artwork. */
|
|
.home-header {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1.3rem clamp(1.5rem, 3vw, 2.5rem) 1.4rem;
|
|
color: #fff;
|
|
background: linear-gradient(180deg, rgb(0 0 0 / 0.42), transparent);
|
|
|
|
&-left,
|
|
&-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
&-right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
// Keep the menu clear of the macOS traffic lights now that the frame
|
|
// reaches the window edges, and align it vertically with them.
|
|
html.is-macos & {
|
|
padding-top: 0.6rem;
|
|
|
|
&-left {
|
|
padding-left: 64px;
|
|
}
|
|
}
|
|
|
|
&-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-family: "Medeo Sans", system-ui, sans-serif;
|
|
font-size: 2.55rem;
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
letter-spacing: 0;
|
|
line-height: 0.9;
|
|
user-select: none;
|
|
text-shadow: 0 2px 18px rgb(0 0 0 / 0.5);
|
|
|
|
&-mark {
|
|
width: 2.15rem;
|
|
height: 1.72rem;
|
|
flex: 0 0 auto;
|
|
color: currentColor;
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
.home-nav-link {
|
|
padding: 0.5rem 0.7rem;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: transparent;
|
|
color: rgb(255 255 255 / 0.76);
|
|
font: inherit;
|
|
font-size: 0.92rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition:
|
|
color 0.18s ease,
|
|
background-color 0.18s ease;
|
|
|
|
&:hover {
|
|
color: #fff;
|
|
background: rgb(255 255 255 / 0.08);
|
|
}
|
|
}
|
|
|
|
.MuiIconButton-root {
|
|
width: 38px;
|
|
height: 38px;
|
|
color: rgb(255 255 255 / 0.88);
|
|
background: rgb(255 255 255 / 0.08);
|
|
border: 1px solid rgb(255 255 255 / 0.1);
|
|
backdrop-filter: blur(10px);
|
|
transition:
|
|
background-color 0.18s ease,
|
|
color 0.18s ease;
|
|
|
|
&:hover {
|
|
color: #fff;
|
|
background: rgb(255 255 255 / 0.16);
|
|
}
|
|
|
|
.material-symbols-rounded {
|
|
font-size: 1.25rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.home-sections {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 2.5rem clamp(1.5rem, 3vw, 2.5rem) 8rem;
|
|
background: linear-gradient(180deg, #08090d 0%, #0b0c12 100%);
|
|
|
|
.card-scroller-container {
|
|
margin-bottom: 1.8em;
|
|
}
|
|
|
|
.card-scroller-heading-decoration {
|
|
display: none;
|
|
}
|
|
|
|
.card-scroller-heading {
|
|
font-size: 1.15rem !important;
|
|
font-weight: 600 !important;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
}
|
|
|
|
body.has-player-bar .home-sections {
|
|
padding-bottom: 10rem;
|
|
}
|
|
|
|
/* Instant frame while the first home request resolves or cache restores. */
|
|
.home-skeleton {
|
|
position: relative;
|
|
height: calc(100vh - 16px);
|
|
min-height: 560px;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(
|
|
circle at 75% 35%,
|
|
rgb(80 80 105 / 0.28),
|
|
transparent 55%
|
|
),
|
|
linear-gradient(135deg, #11131a 0%, #0a0b10 70%);
|
|
}
|
|
|
|
.home-skeleton-copy {
|
|
position: absolute;
|
|
left: clamp(2rem, 5vw, 4.5rem);
|
|
bottom: calc(var(--home-trending-space, 200px) + 3.5rem);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.9rem;
|
|
width: min(42rem, 55%);
|
|
}
|
|
|
|
.home-skeleton-pill,
|
|
.home-skeleton-title,
|
|
.home-skeleton-text,
|
|
.home-skeleton-buttons,
|
|
.home-skeleton-heading,
|
|
.home-skeleton-cards span {
|
|
display: block;
|
|
border-radius: 12px;
|
|
background: rgb(255 255 255 / 0.08);
|
|
}
|
|
|
|
.home-skeleton-pill {
|
|
width: 7em;
|
|
height: 2.1em;
|
|
}
|
|
|
|
.home-skeleton-title {
|
|
width: 92%;
|
|
height: clamp(2.4rem, 4vw, 4rem);
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.home-skeleton-text {
|
|
width: 100%;
|
|
height: 5.2rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.home-skeleton-buttons {
|
|
width: 18rem;
|
|
height: 3.1rem;
|
|
border-radius: 999px;
|
|
background: rgb(255 255 255 / 0.14);
|
|
}
|
|
|
|
.home-skeleton-trending {
|
|
position: absolute;
|
|
left: clamp(2rem, 5vw, 4.5rem);
|
|
right: clamp(2rem, 5vw, 4.5rem);
|
|
bottom: 1.5rem;
|
|
}
|
|
|
|
.home-skeleton-heading {
|
|
width: 8em;
|
|
height: 1.4rem;
|
|
margin-bottom: 0.9rem;
|
|
}
|
|
|
|
.home-skeleton-cards {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.home-skeleton-cards span {
|
|
flex: 0 0 auto;
|
|
width: clamp(200px, 21vw, 300px);
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.home-skeleton-copy {
|
|
width: 80%;
|
|
}
|
|
|
|
.home-skeleton-cards span {
|
|
width: 42vw;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.home-header {
|
|
.home-nav-link {
|
|
display: none;
|
|
}
|
|
|
|
&-logo {
|
|
font-size: 1.6rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.home-cinema {
|
|
padding: 0;
|
|
}
|
|
|
|
.home-frame {
|
|
min-height: 100vh;
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.home-header {
|
|
padding: 0.55rem 0.8rem 1rem;
|
|
|
|
.home-header-groups,
|
|
.home-header-cast {
|
|
display: none;
|
|
}
|
|
|
|
&-logo {
|
|
font-size: 1.4rem;
|
|
gap: 0.35rem;
|
|
|
|
&-mark {
|
|
width: 1.7rem;
|
|
height: 1.4rem;
|
|
}
|
|
}
|
|
|
|
.MuiIconButton-root {
|
|
width: 34px;
|
|
height: 34px;
|
|
}
|
|
}
|
|
|
|
.cinema-trending {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.cinema-trending-head {
|
|
h3 {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cinema-dots {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.home-sections {
|
|
padding: 2rem 1.1rem 8rem;
|
|
}
|
|
}
|