Spaces:
Paused
Paused
Add mountain night sky photo background
Browse files- public/index.html +12 -33
public/index.html
CHANGED
|
@@ -9,40 +9,20 @@
|
|
| 9 |
body {
|
| 10 |
font-family: -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
|
| 11 |
min-height: 100vh;
|
| 12 |
-
background: #0a0a1a;
|
| 13 |
color: #fff;
|
| 14 |
overflow-x: hidden;
|
| 15 |
}
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
radial-gradient(ellipse at 80% 20%, rgba(0, 180, 216, 0.25) 0%, transparent 50%),
|
| 22 |
-
radial-gradient(ellipse at 60% 80%, rgba(211, 47, 142, 0.2) 0%, transparent 50%),
|
| 23 |
-
radial-gradient(ellipse at 30% 80%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
|
| 24 |
-
#0a0a1a;
|
| 25 |
-
animation: bgShift 20s ease-in-out infinite alternate;
|
| 26 |
-
}
|
| 27 |
-
@keyframes bgShift {
|
| 28 |
-
0% { filter: hue-rotate(0deg); }
|
| 29 |
-
100% { filter: hue-rotate(40deg); }
|
| 30 |
}
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
z-index: 0;
|
| 37 |
-
}
|
| 38 |
-
.orb-1 { width: 400px; height: 400px; background: #583cd1; top: -10%; left: -5%; animation-delay: 0s; }
|
| 39 |
-
.orb-2 { width: 350px; height: 350px; background: #e84393; bottom: -10%; right: -5%; animation-delay: -5s; }
|
| 40 |
-
.orb-3 { width: 300px; height: 300px; background: #00b4d8; top: 40%; right: 10%; animation-delay: -10s; }
|
| 41 |
-
@keyframes float {
|
| 42 |
-
0% { transform: translate(0, 0) scale(1); }
|
| 43 |
-
33% { transform: translate(30px, -40px) scale(1.05); }
|
| 44 |
-
66% { transform: translate(-20px, 20px) scale(0.95); }
|
| 45 |
-
100% { transform: translate(10px, -10px) scale(1); }
|
| 46 |
}
|
| 47 |
|
| 48 |
.container {
|
|
@@ -197,10 +177,9 @@
|
|
| 197 |
</style>
|
| 198 |
</head>
|
| 199 |
<body>
|
| 200 |
-
<
|
| 201 |
-
<div class="
|
| 202 |
-
<div class="
|
| 203 |
-
<div class="orb orb-3"></div>
|
| 204 |
|
| 205 |
<div class="container">
|
| 206 |
<div class="header glass">
|
|
|
|
| 9 |
body {
|
| 10 |
font-family: -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
|
| 11 |
min-height: 100vh;
|
|
|
|
| 12 |
color: #fff;
|
| 13 |
overflow-x: hidden;
|
| 14 |
}
|
| 15 |
|
| 16 |
+
/* Background photo with dark overlay */
|
| 17 |
+
.bg-photo {
|
| 18 |
+
position: fixed; inset: 0; z-index: -2;
|
| 19 |
+
background: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1920&q=80') center/cover no-repeat;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
+
.bg-overlay {
|
| 22 |
+
position: fixed; inset: 0; z-index: -1;
|
| 23 |
+
background:
|
| 24 |
+
radial-gradient(ellipse at 30% 20%, rgba(88, 60, 209, 0.15) 0%, transparent 50%),
|
| 25 |
+
linear-gradient(180deg, rgba(10,10,26,0.55) 0%, rgba(10,10,26,0.8) 100%);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
|
| 28 |
.container {
|
|
|
|
| 177 |
</style>
|
| 178 |
</head>
|
| 179 |
<body>
|
| 180 |
+
<!-- Background photo -->
|
| 181 |
+
<div class="bg-photo"></div>
|
| 182 |
+
<div class="bg-overlay"></div>
|
|
|
|
| 183 |
|
| 184 |
<div class="container">
|
| 185 |
<div class="header glass">
|