Space Engine-style viewport with cockpit frame, glyph rail, console overlays for orbits/wormhole/decay/reconstitute.
78 lines
1.5 KiB
CSS
78 lines
1.5 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=JetBrains+Mono:wght@400;500&display=swap");
|
|
@import "tailwindcss";
|
|
|
|
@theme {
|
|
--color-space-950: #04050c;
|
|
--color-space-900: #0a0e1f;
|
|
--color-space-800: #141a36;
|
|
--color-space-700: #1e2647;
|
|
--color-star-100: #eef1ff;
|
|
--color-star-200: #c9d2f5;
|
|
--color-star-300: #94a3d4;
|
|
--color-star-400: #6b7ab8;
|
|
--color-orbit-amber: #f0c468;
|
|
--color-orbit-green: #4ade9a;
|
|
--color-orbit-red: #f87171;
|
|
--color-wormhole-violet: #a78bfa;
|
|
--font-sans: "DM Sans", system-ui, sans-serif;
|
|
--font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
}
|
|
|
|
html {
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
@layer utilities {
|
|
.font-mono {
|
|
font-family: var(--font-mono);
|
|
}
|
|
.scrollbar-none {
|
|
scrollbar-width: none;
|
|
}
|
|
.scrollbar-none::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.stars-drift {
|
|
animation: drift 120s linear infinite;
|
|
}
|
|
|
|
@keyframes drift {
|
|
from {
|
|
transform: translateY(0);
|
|
}
|
|
to {
|
|
transform: translateY(-120px);
|
|
}
|
|
}
|
|
|
|
.vignette::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.scanlines::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.04;
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
transparent,
|
|
transparent 2px,
|
|
rgba(255, 255, 255, 0.15) 3px
|
|
);
|
|
}
|