Skip to content

Commit cd37928

Browse files
committed
fix: dark theme with full-page axolotl background
- Revert to dark background (#0c0c0c) - Axolotl covers full viewport (100vw x 100vh) instead of 80vmin - Use object-fit: cover for full-page fill - Axolotl dark/subtle (opacity 0.15, no invert filter) - Glass cells: very subtle white (rgba 255,255,255,0.06) + blur(20px) - Dark glass nav (rgba 12,12,12,0.6) - Mysterious atmosphere with dark tones
1 parent a7348d3 commit cd37928

1 file changed

Lines changed: 19 additions & 20 deletions

File tree

src/pages/index.astro

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@
139139
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
140140

141141
:root {
142-
--bg: #e8e4e0;
143-
--fg: #1a1a1a;
142+
--bg: #0c0c0c;
143+
--fg: #e0e0e0;
144144
--fg-dim: #666;
145-
--border: rgba(0, 0, 0, 0.08);
146-
--cell: rgba(255, 255, 255, 0.45);
147-
--cell-hover: rgba(255, 255, 255, 0.6);
148-
--cell-border: rgba(255, 255, 255, 0.5);
149-
--blur: 18px;
145+
--border: rgba(255, 255, 255, 0.06);
146+
--cell: rgba(255, 255, 255, 0.06);
147+
--cell-hover: rgba(255, 255, 255, 0.1);
148+
--cell-border: rgba(255, 255, 255, 0.1);
149+
--blur: 20px;
150150
}
151151

152152
body {
@@ -160,20 +160,19 @@
160160

161161
.bg-axolotl {
162162
position: fixed;
163-
top: 50%; left: 50%;
164-
transform: translate(-50%, -50%);
165-
width: 80vmin;
166-
height: 80vmin;
167-
opacity: 0.35;
163+
top: 0; left: 0;
164+
width: 100vw;
165+
height: 100vh;
166+
opacity: 0.15;
168167
pointer-events: none;
169168
z-index: 0;
170-
object-fit: contain;
169+
object-fit: cover;
171170
}
172171

173172
.nav {
174173
position: fixed; top: 0; left: 0; right: 0; height: 48px;
175174
border-bottom: 1px solid var(--border);
176-
background: rgba(255, 255, 255, 0.5);
175+
background: rgba(12, 12, 12, 0.6);
177176
backdrop-filter: blur(24px) saturate(1.3);
178177
-webkit-backdrop-filter: blur(24px) saturate(1.3);
179178
z-index: 100;
@@ -201,9 +200,9 @@
201200
padding: 48px 0 0;
202201
display: flex; flex-direction: column;
203202
gap: 1px;
204-
background: var(--border);
203+
background: rgba(255, 255, 255, 0.03);
205204
}
206-
.bento-row { display: grid; gap: 1px; background: var(--border); }
205+
.bento-row { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.03); }
207206
.cell {
208207
background: var(--cell);
209208
backdrop-filter: blur(var(--blur)) saturate(1.2);
@@ -215,14 +214,14 @@
215214
}
216215
.cell:hover {
217216
background: var(--cell-hover);
218-
border-color: rgba(255, 255, 255, 0.7);
217+
border-color: rgba(255, 255, 255, 0.15);
219218
}
220219

221220
.cell-hero {
222221
grid-column: 1 / -1;
223222
padding: 6rem 3rem;
224223
align-items: center; text-align: center;
225-
border-top: 1px solid rgba(255, 255, 255, 0.5);
224+
border-top: 1px solid rgba(255, 255, 255, 0.1);
226225
}
227226
.hero-label {
228227
font-family: 'JetBrains Mono', monospace;
@@ -253,7 +252,7 @@
253252
.row-roadmap { grid-template-columns: 1fr; }
254253
.cell-roadmap { padding: 3rem; }
255254
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 1.5rem; }
256-
.roadmap-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.2); margin-bottom: 0.75rem; }
255+
.roadmap-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); margin-bottom: 0.75rem; }
257256
.roadmap-dot--active { background: var(--fg); }
258257
.roadmap-year { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--fg-dim); margin-bottom: 0.5rem; }
259258
.roadmap-item h4 { font-size: 0.8rem; font-weight: 500; margin-bottom: 0.35rem; }
@@ -267,7 +266,7 @@
267266
}
268267
.cell-project:hover {
269268
transform: translateY(-2px);
270-
border-color: rgba(255, 255, 255, 0.7);
269+
border-color: rgba(255, 255, 255, 0.15);
271270
}
272271
.project-name { font-size: 1rem; font-weight: 500; margin-bottom: 0.35rem; }
273272
.project-desc { font-size: 0.75rem; color: var(--fg-dim); font-weight: 300; line-height: 1.6; }

0 commit comments

Comments
 (0)