Skip to content

Commit 9ec604d

Browse files
committed
Stabilize mobile background ornaments
1 parent 2add8e4 commit 9ec604d

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

‎src/styles/global.css‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@ h1 {
474474
}
475475

476476
@media (max-width: 820px) {
477+
.sky {
478+
height: 100lvh;
479+
min-height: 100svh;
480+
}
481+
477482
.shell {
478483
grid-template-columns: 1fr;
479484
align-items: start;
@@ -521,7 +526,17 @@ h1 {
521526

522527
.orb-moon {
523528
right: -5rem;
524-
bottom: 6rem;
529+
top: min(34rem, 68lvh);
530+
bottom: auto;
531+
}
532+
533+
.orbit-one {
534+
top: 5.5rem;
535+
}
536+
537+
.orbit-two {
538+
top: min(18.5rem, 36lvh);
539+
bottom: auto;
525540
}
526541
}
527542

0 commit comments

Comments
 (0)