Spaces:
Paused
Paused
Update styles/globals.css
Browse files- styles/globals.css +22 -7
styles/globals.css
CHANGED
|
@@ -3,28 +3,35 @@
|
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
body {
|
| 6 |
-
/*
|
| 7 |
-
background-image: url('/assets/bg.
|
|
|
|
|
|
|
|
|
|
| 8 |
background-size: cover;
|
| 9 |
background-position: center;
|
| 10 |
-
background-
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
-
/*
|
| 13 |
overscroll-behavior-y: none;
|
| 14 |
-webkit-tap-highlight-color: transparent;
|
| 15 |
}
|
| 16 |
|
| 17 |
-
/*
|
| 18 |
body::before {
|
| 19 |
content: "";
|
| 20 |
position: fixed;
|
| 21 |
inset: 0;
|
| 22 |
-
background: rgba(255, 255, 255, 0.
|
| 23 |
-
backdrop-filter: blur(
|
| 24 |
z-index: -1;
|
| 25 |
pointer-events: none;
|
| 26 |
}
|
| 27 |
|
|
|
|
| 28 |
.no-scrollbar::-webkit-scrollbar {
|
| 29 |
display: none;
|
| 30 |
}
|
|
@@ -32,3 +39,11 @@ body::before {
|
|
| 32 |
-ms-overflow-style: none;
|
| 33 |
scrollbar-width: none;
|
| 34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
body {
|
| 6 |
+
/* CHANGED: Now looking for 'bg.png' */
|
| 7 |
+
background-image: url('/assets/bg.png');
|
| 8 |
+
|
| 9 |
+
/* Keeps the background fixed while you scroll (Parallax feel) */
|
| 10 |
+
background-attachment: fixed;
|
| 11 |
background-size: cover;
|
| 12 |
background-position: center;
|
| 13 |
+
background-repeat: no-repeat;
|
| 14 |
+
|
| 15 |
+
/* Fallback color if image fails to load */
|
| 16 |
+
background-color: #FAFAFA;
|
| 17 |
|
| 18 |
+
/* Mobile smoothness */
|
| 19 |
overscroll-behavior-y: none;
|
| 20 |
-webkit-tap-highlight-color: transparent;
|
| 21 |
}
|
| 22 |
|
| 23 |
+
/* The "Frost" Overlay - Keeps the text readable over the drops */
|
| 24 |
body::before {
|
| 25 |
content: "";
|
| 26 |
position: fixed;
|
| 27 |
inset: 0;
|
| 28 |
+
background: rgba(255, 255, 255, 0.4); /* Slightly stronger frost for PNGs */
|
| 29 |
+
backdrop-filter: blur(10px);
|
| 30 |
z-index: -1;
|
| 31 |
pointer-events: none;
|
| 32 |
}
|
| 33 |
|
| 34 |
+
/* Hide Scrollbars */
|
| 35 |
.no-scrollbar::-webkit-scrollbar {
|
| 36 |
display: none;
|
| 37 |
}
|
|
|
|
| 39 |
-ms-overflow-style: none;
|
| 40 |
scrollbar-width: none;
|
| 41 |
}
|
| 42 |
+
|
| 43 |
+
/* Safe Area for notch phones */
|
| 44 |
+
.pt-safe-top {
|
| 45 |
+
padding-top: env(safe-area-inset-top);
|
| 46 |
+
}
|
| 47 |
+
.mb-safe {
|
| 48 |
+
padding-bottom: env(safe-area-inset-bottom);
|
| 49 |
+
}
|