Skip to content

Commit 094a636

Browse files
committed
feat(style): enhance mobile background gradient with fixed attachment and full height
1 parent 841a2a9 commit 094a636

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,10 +570,12 @@ body::after {
570570
}
571571
/* removed bottom 3D control hints */
572572
@media (max-width: 600px) {
573-
html {
573+
html, body {
574574
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%, #0a0a0a 100%) !important;
575-
background-size: 400% 400%;
575+
background-size: 400% 400% !important;
576+
background-attachment: fixed !important;
576577
animation: gradientShift 20s ease infinite;
578+
min-height: 100vh !important;
577579
}
578580
body {
579581
padding: 1rem;

0 commit comments

Comments
 (0)