99 lines
3 KiB
CSS
99 lines
3 KiB
CSS
/* ### Oh wait I can't say that. */
|
|
:root {
|
|
--bg-deep: #0b0e14;
|
|
--bg-panel: rgba(18, 22, 31, 0.92);
|
|
--bg-panel-solid: #12161f;
|
|
--bg-elevated: #19202e;
|
|
--bg-hover: #212a3c;
|
|
--border: #2a3449;
|
|
--border-bright: #3d4d6b;
|
|
--text: #e2e8f0;
|
|
--text-dim: #94a3b8;
|
|
--text-faint: #64748b;
|
|
--brand-blue: #60a5fa;
|
|
--brand-strong: #3498db;
|
|
--sim-accent: #60a5fa;
|
|
--sim-accent-dim: rgba(96, 165, 250, 0.25);
|
|
--sim-glow: rgba(96, 165, 250, 0.14);
|
|
--green: #34d399;
|
|
--amber: #f59e0b;
|
|
--red: #f87171;
|
|
--violet: #a78bfa;
|
|
--mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
|
|
--sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
--chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
|
|
--chamfer-sm: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
|
|
}
|
|
|
|
body[data-target="lunar"], body[data-target="moon-landing"] {
|
|
--sim-accent: #93c5fd;
|
|
--sim-accent-dim: rgba(147, 197, 253, 0.26);
|
|
--sim-glow: rgba(147, 197, 253, 0.14);
|
|
}
|
|
body[data-target="mars"] {
|
|
--sim-accent: #fb923c;
|
|
--sim-accent-dim: rgba(251, 146, 60, 0.28);
|
|
--sim-glow: rgba(251, 146, 60, 0.14);
|
|
}
|
|
body[data-target="jupiter"], body[data-target="asteroid"] {
|
|
--sim-accent: #a78bfa;
|
|
--sim-accent-dim: rgba(167, 139, 250, 0.28);
|
|
--sim-glow: rgba(167, 139, 250, 0.14);
|
|
}
|
|
body[data-target="solar"], body[data-target="l1"] {
|
|
--sim-accent: #fbbf24;
|
|
--sim-accent-dim: rgba(251, 191, 36, 0.28);
|
|
--sim-glow: rgba(251, 191, 36, 0.14);
|
|
}
|
|
|
|
body[data-weather="solar-wind"] {
|
|
--sim-accent: #38bdf8;
|
|
--sim-accent-dim: rgba(56, 189, 248, 0.30);
|
|
--sim-glow: rgba(56, 189, 248, 0.16);
|
|
}
|
|
body[data-weather="solar-storm"] {
|
|
--sim-accent: #f59e0b;
|
|
--sim-accent-dim: rgba(245, 158, 11, 0.34);
|
|
--sim-glow: rgba(245, 158, 11, 0.18);
|
|
}
|
|
body[data-weather="radiation-storm"] {
|
|
--sim-accent: #f87171;
|
|
--sim-accent-dim: rgba(248, 113, 113, 0.34);
|
|
--sim-glow: rgba(248, 113, 113, 0.18);
|
|
}
|
|
body[data-weather="micrometeoroid"] {
|
|
--sim-accent: #c084fc;
|
|
--sim-accent-dim: rgba(192, 132, 252, 0.32);
|
|
--sim-glow: rgba(192, 132, 252, 0.16);
|
|
}
|
|
body[data-dynamic-theme="off"] {
|
|
--sim-accent: var(--brand-blue);
|
|
--sim-accent-dim: rgba(96, 165, 250, 0.25);
|
|
--sim-glow: rgba(96, 165, 250, 0.14);
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
background: var(--bg-deep);
|
|
color: var(--text);
|
|
font-family: var(--sans);
|
|
font-size: 14px;
|
|
overflow: hidden;
|
|
transition: background-color 0.6s ease, color 0.3s ease;
|
|
}
|
|
|
|
body::before {
|
|
content: '';
|
|
position: fixed; inset: 0; pointer-events: none; z-index: 0;
|
|
background-image:
|
|
radial-gradient(circle at 50% 15%, var(--sim-glow), transparent 65%),
|
|
linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
|
|
background-size: 100% 100%, 44px 44px, 44px 44px;
|
|
transition: background 0.6s ease;
|
|
}
|
|
|
|
#app { height: 100vh; width: 100vw; position: relative; z-index: 1; }
|
|
#app > * { position: absolute; inset: 0; }
|