Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions website/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,14 @@ a:hover {
text-align: center;
}

/* Stays inside the hero horizontally: a side bleed would widen the page's scrollable area on mobile. The wider ellipse keeps the previous glow size. */
.hero::before {
content: '';
position: absolute;
inset: -6rem -4rem auto;
inset: -6rem 0 auto;
height: 26rem;
background: radial-gradient(
ellipse 60% 70% at 50% 0%,
ellipse 67% 70% at 50% 0%,
var(--glow),
transparent 70%
);
Expand Down Expand Up @@ -743,11 +744,25 @@ a:hover {
}

@media (max-width: 960px) {
/* minmax(0, 1fr): a bare 1fr floors the track at the 400px TV mockup's min-content and blows the page out horizontally */
.showcase-item {
grid-template-columns: 1fr;
grid-template-columns: minmax(0, 1fr);
padding: 1.75rem;
}

/* Single column: the fixed-px mockups become fluid instead of overflowing */
.showcase-visual,
.device3d {
min-width: 0;
}

.device3d,
.frame,
.stand-neck,
.stand-base {
max-width: 100%;
}

.laptop-deck {
width: 100%;
max-width: 408px;
Expand Down
Loading