Goal: The current background is too plain. Redesign it to feel like the interior of a "Frozen Survival Bunker".
Browse filesBackground Specification:
Base: Use a linear gradient from top to bottom: #0f172a (Slate-900) to #020617 (Slate-950).
Grid Texture: Overlay a "Tactical Grid" pattern.
Square grid (40px x 40px).
Line color: #334155 (Slate-700).
Opacity: 5% (Barely visible).
Effect: Fade the grid out towards the center (mask-image radial gradient) so the text area is clean.
Frost Effect: Add a "Vignette" that looks like Frosted Glass at the edges of the screen.
style.css
CHANGED
|
@@ -1,23 +1,41 @@
|
|
| 1 |
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');
|
| 2 |
-
|
| 3 |
/* Base Styles */
|
| 4 |
body {
|
| 5 |
position: relative;
|
| 6 |
-
background: #
|
| 7 |
}
|
| 8 |
|
| 9 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
.noise-overlay {
|
| 11 |
position: fixed;
|
| 12 |
top: 0;
|
| 13 |
left: 0;
|
| 14 |
width: 100%;
|
| 15 |
height: 100%;
|
| 16 |
-
background-image:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
pointer-events: none;
|
| 18 |
z-index: 50;
|
| 19 |
}
|
| 20 |
-
|
| 21 |
/* Scanlines */
|
| 22 |
.scanlines {
|
| 23 |
position: fixed;
|
|
|
|
| 1 |
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');
|
|
|
|
| 2 |
/* Base Styles */
|
| 3 |
body {
|
| 4 |
position: relative;
|
| 5 |
+
background: linear-gradient(to bottom, #0f172a, #020617);
|
| 6 |
}
|
| 7 |
|
| 8 |
+
/* Tactical Grid Background */
|
| 9 |
+
body::before {
|
| 10 |
+
content: '';
|
| 11 |
+
position: fixed;
|
| 12 |
+
top: 0;
|
| 13 |
+
left: 0;
|
| 14 |
+
width: 100%;
|
| 15 |
+
height: 100%;
|
| 16 |
+
background-image:
|
| 17 |
+
linear-gradient(rgba(51, 65, 85, 0.05) 1px, transparent 1px),
|
| 18 |
+
linear-gradient(90deg, rgba(51, 65, 85, 0.05) 1px, transparent 1px);
|
| 19 |
+
background-size: 40px 40px;
|
| 20 |
+
mask-image: radial-gradient(circle at center, transparent 40%, black 80%);
|
| 21 |
+
pointer-events: none;
|
| 22 |
+
z-index: 1;
|
| 23 |
+
}
|
| 24 |
+
/* Frosted Glass Vignette */
|
| 25 |
.noise-overlay {
|
| 26 |
position: fixed;
|
| 27 |
top: 0;
|
| 28 |
left: 0;
|
| 29 |
width: 100%;
|
| 30 |
height: 100%;
|
| 31 |
+
background-image:
|
| 32 |
+
radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
|
| 33 |
+
radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
|
| 34 |
+
radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
|
| 35 |
+
radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
|
| 36 |
pointer-events: none;
|
| 37 |
z-index: 50;
|
| 38 |
}
|
|
|
|
| 39 |
/* Scanlines */
|
| 40 |
.scanlines {
|
| 41 |
position: fixed;
|