maybe fixed dark mode

This commit is contained in:
2026-03-08 21:40:50 -07:00
parent 61d383119e
commit 824dd8b18c
+59 -7
View File
@@ -1,14 +1,22 @@
#root { :root {
margin: 0; color-scheme: light dark;
width: 100%; }
display: flex;
justify-content: center; * {
box-sizing: border-box;
} }
body { body {
margin: 0; margin: 0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
background: #f5f7fb; background: #f5f7fb;
color: #111;
}
#root {
width: 100%;
display: flex;
justify-content: center;
} }
.page { .page {
@@ -42,16 +50,19 @@ body {
.card { .card {
padding: 40px; padding: 40px;
max-width: 640px; max-width: 640px;
background: white; background: #ffffff;
border-radius: 12px; border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.08);
} }
.seal { .seal {
font-size: 60px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.seal img {
max-width: 120px;
}
.statement { .statement {
color: #444; color: #444;
line-height: 1.5; line-height: 1.5;
@@ -60,6 +71,7 @@ body {
.name { .name {
font-size: 2rem; font-size: 2rem;
margin: 20px 0 10px; margin: 20px 0 10px;
color: #111;
} }
.result { .result {
@@ -87,3 +99,43 @@ body {
color: #888; color: #888;
font-size: 0.9rem; font-size: 0.9rem;
} }
/* Optional dark mode support */
@media (prefers-color-scheme: dark) {
body {
background: #0f1115;
color: #e8e8e8;
}
.tagline {
color: #aaa;
}
.card {
background: #1c1f26;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.statement {
color: #ccc;
}
.name {
color: #fff;
}
.fineprint {
color: #999;
}
.footer {
color: #999;
}
.badge {
background: #ffe06b;
border-color: #d4b000;
color: #222;
}
}