citedd commited on
Commit
7eeb2f9
·
verified ·
1 Parent(s): 0b8407c

White theme + enhanced liquid glass effect

Browse files
Files changed (1) hide show
  1. public/index.html +126 -107
public/index.html CHANGED
@@ -10,80 +10,91 @@
10
  body {
11
  font-family: -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
12
  min-height: 100vh;
13
- background: #0a0a1a;
14
- color: #fff;
15
- overflow-x: hidden;
16
  }
17
 
18
- /* Animated gradient background */
19
- .bg-gradient {
20
- position: fixed; inset: 0; z-index: 0;
21
- background:
22
- radial-gradient(ellipse at 20% 50%, rgba(88, 60, 209, 0.35) 0%, transparent 60%),
23
- radial-gradient(ellipse at 80% 20%, rgba(0, 180, 216, 0.25) 0%, transparent 50%),
24
- radial-gradient(ellipse at 60% 80%, rgba(211, 47, 142, 0.2) 0%, transparent 50%),
25
- radial-gradient(ellipse at 30% 80%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
26
- #0a0a1a;
27
- animation: bgShift 20s ease-in-out infinite alternate;
28
- }
29
- @keyframes bgShift {
30
- 0% { filter: hue-rotate(0deg); }
31
- 100% { filter: hue-rotate(40deg); }
32
  }
33
 
34
- /* Floating orbs */
35
- .orb {
36
- position: fixed; border-radius: 50%;
37
- filter: blur(80px); opacity: 0.4;
38
- animation: float 15s ease-in-out infinite alternate;
39
- z-index: 0;
40
  }
41
- .orb-1 { width: 400px; height: 400px; background: #583cd1; top: -10%; left: -5%; animation-delay: 0s; }
42
- .orb-2 { width: 350px; height: 350px; background: #e84393; bottom: -10%; right: -5%; animation-delay: -5s; }
43
- .orb-3 { width: 300px; height: 300px; background: #00b4d8; top: 40%; right: 10%; animation-delay: -10s; }
44
- @keyframes float {
45
- 0% { transform: translate(0, 0) scale(1); }
46
- 33% { transform: translate(30px, -40px) scale(1.05); }
47
- 66% { transform: translate(-20px, 20px) scale(0.95); }
48
- 100% { transform: translate(10px, -10px) scale(1); }
 
 
49
  }
50
 
51
  .container {
52
  position: relative; z-index: 1;
53
- max-width: 960px; margin: 0 auto;
54
- padding: 2rem 1.25rem 3rem;
55
  }
56
 
57
  /* ===== LIQUID GLASS ===== */
58
  .glass {
 
59
  background: linear-gradient(
60
  135deg,
61
- rgba(255, 255, 255, 0.12) 0%,
62
- rgba(255, 255, 255, 0.06) 40%,
63
- rgba(255, 255, 255, 0.04) 60%,
64
- rgba(255, 255, 255, 0.08) 100%
65
  );
66
- backdrop-filter: blur(40px) saturate(180%);
67
- -webkit-backdrop-filter: blur(40px) saturate(180%);
68
- border: 1px solid rgba(255, 255, 255, 0.18);
69
- border-radius: 20px;
70
  box-shadow:
71
- 0 8px 32px rgba(0, 0, 0, 0.3),
72
- inset 0 1px 0 rgba(255, 255, 255, 0.15),
73
- inset 0 -1px 0 rgba(255, 255, 255, 0.05);
 
 
 
74
  overflow: hidden;
75
  }
76
 
77
- /* Glass shimmer overlay */
78
  .glass::before {
79
  content: '';
80
  position: absolute; inset: 0;
81
- border-radius: 20px;
82
  background: linear-gradient(
83
  135deg,
84
- rgba(255,255,255,0.08) 0%,
85
- transparent 50%,
86
- rgba(255,255,255,0.03) 100%
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  );
88
  pointer-events: none;
89
  }
@@ -92,131 +103,139 @@
92
  .header {
93
  text-align: center;
94
  margin-bottom: 2rem;
95
- padding: 1.5rem 1rem;
96
- border-radius: 24px;
97
- position: relative;
98
  }
99
  .header h1 {
100
  font-size: 2rem;
101
  font-weight: 700;
102
- background: linear-gradient(135deg, #a78bfa, #60a5fa, #34d399);
103
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
104
  background-clip: text;
105
- margin-bottom: 0.3rem;
106
  }
107
  .header-sub {
108
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
109
  flex-wrap: wrap;
110
  }
111
  .status-dot {
112
- width: 8px; height: 8px; background: #34d399; border-radius: 50%;
113
- animation: pulse 2s infinite;
114
  }
115
  @keyframes pulse {
116
- 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
117
- 50% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
118
  }
119
- .status-text, .refresh-info { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
120
- .refresh-info { margin-left: 0.5rem; font-variant-numeric: tabular-nums; }
121
 
122
  /* ===== STAT CARDS ===== */
123
  .stats {
124
- display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
125
- gap: 1rem; margin-bottom: 2rem;
126
  }
127
  .stat-card {
128
- position: relative; padding: 1.3rem 1.2rem;
129
- transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
130
  }
131
  .stat-card:hover {
132
- transform: translateY(-2px);
133
- border-color: rgba(255, 255, 255, 0.3);
134
  box-shadow:
135
- 0 12px 40px rgba(0, 0, 0, 0.4),
136
- inset 0 1px 0 rgba(255, 255, 255, 0.2),
137
- inset 0 -1px 0 rgba(255, 255, 255, 0.05);
 
 
 
138
  }
139
  .stat-label {
140
- font-size: 0.65rem; color: rgba(255,255,255,0.4);
141
- text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem;
 
142
  }
143
  .stat-value {
144
- font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums;
145
- background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.7));
146
- -webkit-background-clip: text; -webkit-text-fill-color: transparent;
147
- background-clip: text;
148
  }
149
  .stat-sub {
150
- font-size: 0.7rem; color: rgba(255,255,255,0.35);
151
  margin-top: 0.35rem; line-height: 1.4;
152
  font-variant-numeric: tabular-nums;
153
  }
154
 
155
- /* Progress bar — liquid glass style */
156
  .progress-bar {
157
- height: 4px; background: rgba(255,255,255,0.08);
158
- border-radius: 2px; margin-top: 0.6rem; overflow: hidden;
 
159
  }
160
  .progress-fill {
161
- height: 100%; border-radius: 2px;
162
  transition: width 0.8s ease;
163
  position: relative;
 
164
  }
165
  .progress-fill::after {
166
  content: ''; position: absolute;
167
- top: 0; right: 0; width: 20px; height: 100%;
168
- background: rgba(255,255,255,0.4);
169
- filter: blur(4px); border-radius: 2px;
170
  }
171
- .fill-green { background: linear-gradient(90deg, #34d399, #059669); }
172
- .fill-yellow { background: linear-gradient(90deg, #fbbf24, #d97706); }
173
- .fill-red { background: linear-gradient(90deg, #f87171, #dc2626); }
174
 
175
  /* ===== INFO TABLE ===== */
176
  .section-title {
177
- font-size: 0.85rem; color: rgba(255,255,255,0.5);
178
- margin-bottom: 0.6rem; padding-left: 0.2rem;
179
- }
180
- .info-list {
181
- position: relative; overflow: hidden;
182
  }
 
183
  .info-row {
184
  display: flex; justify-content: space-between; align-items: center;
185
- padding: 0.7rem 1.2rem;
186
- border-bottom: 1px solid rgba(255,255,255,0.06);
187
  font-size: 0.85rem;
188
  }
189
  .info-row:last-child { border-bottom: none; }
190
- .info-key { color: rgba(255,255,255,0.45); }
191
  .info-val {
192
- color: rgba(255,255,255,0.85); font-weight: 500;
193
- text-align: right; font-family: 'SF Mono', 'Fira Code', monospace;
194
  font-size: 0.78rem;
195
  }
196
 
197
  /* ===== FOOTER ===== */
198
  .footer {
199
  text-align: center; margin-top: 3rem;
200
- color: rgba(255,255,255,0.2); font-size: 0.7rem;
201
  }
202
- .footer a { color: rgba(167,139,250,0.6); text-decoration: none; }
203
- .footer a:hover { color: rgba(167,139,250,0.9); }
204
 
205
  /* ===== RESPONSIVE ===== */
206
  @media (max-width: 600px) {
207
- .container { padding: 1.25rem 0.75rem 2rem; }
208
- .stats { grid-template-columns: 1fr 1fr; }
209
- .info-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 0.6rem 1rem; }
210
  .header h1 { font-size: 1.5rem; }
211
- .stat-value { font-size: 1.6rem; }
 
 
212
  }
213
  </style>
214
  </head>
215
  <body>
216
- <div class="bg-gradient"></div>
217
- <div class="orb orb-1"></div>
218
- <div class="orb orb-2"></div>
219
- <div class="orb orb-3"></div>
 
 
 
220
 
221
  <div class="container">
222
 
 
10
  body {
11
  font-family: -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
12
  min-height: 100vh;
13
+ background: #f2f2f7;
14
+ color: #1d1d1f;
15
+ -webkit-font-smoothing: antialiased;
16
  }
17
 
18
+ /* ===== LIQUID BACKGROUND ===== */
19
+ .liquid-bg {
20
+ position: fixed; inset: 0; z-index: 0; overflow: hidden;
21
+ background: linear-gradient(180deg, #f8f8fc 0%, #eeeef5 100%);
 
 
 
 
 
 
 
 
 
 
22
  }
23
 
24
+ .blob {
25
+ position: absolute; border-radius: 50%;
26
+ filter: blur(60px); opacity: 0.5;
27
+ mix-blend-mode: multiply;
28
+ animation: drift 20s ease-in-out infinite alternate;
 
29
  }
30
+ .blob-1 { width: 500px; height: 500px; background: linear-gradient(135deg, #c4b5fd, #a5b4fc); top: -15%; left: -10%; animation-delay: 0s; }
31
+ .blob-2 { width: 450px; height: 450px; background: linear-gradient(135deg, #fbcfe8, #fda4af); bottom: -10%; right: -10%; animation-delay: -7s; }
32
+ .blob-3 { width: 400px; height: 400px; background: linear-gradient(135deg, #a5f3fc, #a78bfa); top: 50%; left: 40%; animation-delay: -14s; opacity: 0.35; }
33
+ .blob-4 { width: 350px; height: 350px; background: linear-gradient(135deg, #fde68a, #fdba74); top: 20%; right: 20%; animation-delay: -3s; opacity: 0.3; }
34
+
35
+ @keyframes drift {
36
+ 0% { transform: translate(0, 0) scale(1) rotate(0deg); }
37
+ 33% { transform: translate(40px, -30px) scale(1.1) rotate(30deg); }
38
+ 66% { transform: translate(-30px, 40px) scale(0.9) rotate(-20deg); }
39
+ 100% { transform: translate(20px, 10px) scale(1.05) rotate(10deg); }
40
  }
41
 
42
  .container {
43
  position: relative; z-index: 1;
44
+ max-width: 900px; margin: 0 auto;
45
+ padding: 2.5rem 1.25rem 3rem;
46
  }
47
 
48
  /* ===== LIQUID GLASS ===== */
49
  .glass {
50
+ position: relative;
51
  background: linear-gradient(
52
  135deg,
53
+ rgba(255, 255, 255, 0.72) 0%,
54
+ rgba(255, 255, 255, 0.55) 30%,
55
+ rgba(255, 255, 255, 0.45) 70%,
56
+ rgba(255, 255, 255, 0.68) 100%
57
  );
58
+ backdrop-filter: blur(60px) saturate(200%) brightness(1.05);
59
+ -webkit-backdrop-filter: blur(60px) saturate(200%) brightness(1.05);
60
+ border: 1px solid rgba(255, 255, 255, 0.65);
61
+ border-radius: 24px;
62
  box-shadow:
63
+ 0 2px 4px rgba(0, 0, 0, 0.04),
64
+ 0 8px 24px rgba(0, 0, 0, 0.06),
65
+ inset 0 1px 0 rgba(255, 255, 255, 0.9),
66
+ inset 0 -1px 0 rgba(255, 255, 255, 0.3),
67
+ inset 1px 0 0 rgba(255, 255, 255, 0.4),
68
+ inset -1px 0 0 rgba(255, 255, 255, 0.4);
69
  overflow: hidden;
70
  }
71
 
72
+ /* Liquid glass edge refraction */
73
  .glass::before {
74
  content: '';
75
  position: absolute; inset: 0;
76
+ border-radius: 24px;
77
  background: linear-gradient(
78
  135deg,
79
+ rgba(255,255,255,0.5) 0%,
80
+ rgba(255,255,255,0.15) 25%,
81
+ transparent 55%,
82
+ rgba(255,255,255,0.08) 80%,
83
+ rgba(255,255,255,0.3) 100%
84
+ );
85
+ pointer-events: none;
86
+ }
87
+
88
+ /* Inner highlight streak */
89
+ .glass::after {
90
+ content: '';
91
+ position: absolute;
92
+ top: 0; left: 0; right: 0;
93
+ height: 50%; border-radius: 24px 24px 0 0;
94
+ background: linear-gradient(
95
+ 180deg,
96
+ rgba(255,255,255,0.5) 0%,
97
+ transparent 100%
98
  );
99
  pointer-events: none;
100
  }
 
103
  .header {
104
  text-align: center;
105
  margin-bottom: 2rem;
106
+ padding: 1.8rem 1rem;
107
+ border-radius: 28px;
 
108
  }
109
  .header h1 {
110
  font-size: 2rem;
111
  font-weight: 700;
112
+ background: linear-gradient(135deg, #7c3aed, #6366f1, #3b82f6, #06b6d4);
113
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
114
  background-clip: text;
115
+ margin-bottom: 0.4rem;
116
  }
117
  .header-sub {
118
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
119
  flex-wrap: wrap;
120
  }
121
  .status-dot {
122
+ width: 7px; height: 7px; background: #10b981; border-radius: 50%;
123
+ animation: pulse 2s ease-in-out infinite;
124
  }
125
  @keyframes pulse {
126
+ 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
127
+ 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
128
  }
129
+ .status-text { font-size: 0.8rem; color: #10b981; font-weight: 600; }
130
+ .refresh-info { font-size: 0.7rem; color: rgba(0,0,0,0.3); }
131
 
132
  /* ===== STAT CARDS ===== */
133
  .stats {
134
+ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
135
+ gap: 0.85rem; margin-bottom: 2rem;
136
  }
137
  .stat-card {
138
+ padding: 1.25rem 1.1rem;
139
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
140
  }
141
  .stat-card:hover {
142
+ transform: translateY(-2px) scale(1.01);
 
143
  box-shadow:
144
+ 0 4px 8px rgba(0, 0, 0, 0.06),
145
+ 0 16px 40px rgba(0, 0, 0, 0.1),
146
+ inset 0 1px 0 rgba(255, 255, 255, 0.95),
147
+ inset 0 -1px 0 rgba(255, 255, 255, 0.5),
148
+ inset 1px 0 0 rgba(255, 255, 255, 0.6),
149
+ inset -1px 0 0 rgba(255, 255, 255, 0.6);
150
  }
151
  .stat-label {
152
+ font-size: 0.65rem; color: rgba(0,0,0,0.35);
153
+ text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem;
154
+ font-weight: 600;
155
  }
156
  .stat-value {
157
+ font-size: 1.9rem; font-weight: 700;
158
+ color: #1d1d1f;
159
+ font-variant-numeric: tabular-nums;
160
+ letter-spacing: -0.02em;
161
  }
162
  .stat-sub {
163
+ font-size: 0.68rem; color: rgba(0,0,0,0.35);
164
  margin-top: 0.35rem; line-height: 1.4;
165
  font-variant-numeric: tabular-nums;
166
  }
167
 
168
+ /* Progress bar — glass pill */
169
  .progress-bar {
170
+ height: 5px; background: rgba(0,0,0,0.06);
171
+ border-radius: 3px; margin-top: 0.6rem; overflow: hidden;
172
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
173
  }
174
  .progress-fill {
175
+ height: 100%; border-radius: 3px;
176
  transition: width 0.8s ease;
177
  position: relative;
178
+ overflow: hidden;
179
  }
180
  .progress-fill::after {
181
  content: ''; position: absolute;
182
+ top: 0; right: 0; width: 18px; height: 100%;
183
+ background: rgba(255,255,255,0.5);
184
+ filter: blur(4px); border-radius: 3px;
185
  }
186
+ .fill-green { background: linear-gradient(90deg, #34d399, #10b981, #059669); box-shadow: 0 1px 4px rgba(16,185,129,0.3); }
187
+ .fill-yellow { background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706); box-shadow: 0 1px 4px rgba(245,158,11,0.3); }
188
+ .fill-red { background: linear-gradient(90deg, #f87171, #ef4444, #dc2626); box-shadow: 0 1px 4px rgba(239,68,68,0.3); }
189
 
190
  /* ===== INFO TABLE ===== */
191
  .section-title {
192
+ font-size: 0.8rem; color: rgba(0,0,0,0.35);
193
+ margin-bottom: 0.6rem; padding-left: 0.3rem;
194
+ font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
 
 
195
  }
196
+ .info-list { padding: 0; }
197
  .info-row {
198
  display: flex; justify-content: space-between; align-items: center;
199
+ padding: 0.8rem 1.3rem;
200
+ border-bottom: 1px solid rgba(0,0,0,0.04);
201
  font-size: 0.85rem;
202
  }
203
  .info-row:last-child { border-bottom: none; }
204
+ .info-key { color: rgba(0,0,0,0.4); font-weight: 500; }
205
  .info-val {
206
+ color: #1d1d1f; font-weight: 600;
207
+ text-align: right; font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
208
  font-size: 0.78rem;
209
  }
210
 
211
  /* ===== FOOTER ===== */
212
  .footer {
213
  text-align: center; margin-top: 3rem;
214
+ color: rgba(0,0,0,0.2); font-size: 0.7rem;
215
  }
216
+ .footer a { color: rgba(124,58,237,0.4); text-decoration: none; font-weight: 500; }
217
+ .footer a:hover { color: rgba(124,58,237,0.7); }
218
 
219
  /* ===== RESPONSIVE ===== */
220
  @media (max-width: 600px) {
221
+ .container { padding: 1.5rem 0.75rem 2rem; }
222
+ .stats { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
223
+ .info-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 0.7rem 1.1rem; }
224
  .header h1 { font-size: 1.5rem; }
225
+ .stat-value { font-size: 1.5rem; }
226
+ .stat-label { font-size: 0.6rem; }
227
+ .stat-card { padding: 1rem 0.9rem; }
228
  }
229
  </style>
230
  </head>
231
  <body>
232
+ <!-- Liquid background -->
233
+ <div class="liquid-bg">
234
+ <div class="blob blob-1"></div>
235
+ <div class="blob blob-2"></div>
236
+ <div class="blob blob-3"></div>
237
+ <div class="blob blob-4"></div>
238
+ </div>
239
 
240
  <div class="container">
241