mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-06 12:54:18 +01:00
Periscope and lookout binoculars get the start screen's look (day, dusk, night with stars and moon, clouds, rain, snow, fog, steel silhouettes with lit rims). The Remote Crew bridge gets the lookout's binoculars; the browser periscope draws the uConsole's generated silhouettes. uConsole and browser stations use the turquoise phosphor and night blue with corner brackets. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
84 lines
2.2 KiB
CSS
84 lines
2.2 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
/* NATO affiliation colours, shared by lists, badges and canvas symbols
|
|
(same values as the uConsole theme). */
|
|
--aff-unknown: #f3c577;
|
|
--aff-friend: #81c5ff;
|
|
--aff-neutral: #8fdfab;
|
|
--aff-hostile: #ff9090;
|
|
|
|
/* Surfaces: the start screen's night blue, darkest behind the instruments. */
|
|
--scope: #03070f;
|
|
--bg-0: #03080e;
|
|
--bg-1: #060e16;
|
|
--bg-2: #09151d;
|
|
--bg-3: #0e1f28;
|
|
--bg-4: #153038;
|
|
--line-faint: #0d1c22;
|
|
--line: #162e36;
|
|
--line-strong: #28605a;
|
|
|
|
/* Text: bright for live values, dim for labels, faint for legends/history. */
|
|
--text: #d6ece5;
|
|
--text-dim: #84a7a0;
|
|
--text-faint: #55726d;
|
|
|
|
/* Signal colours. Live data is the start screen's turquoise phosphor,
|
|
attention amber, alarms red. */
|
|
--live: #6ee4c0;
|
|
--live-strong: #96ffcd;
|
|
--live-2: #5fdea8;
|
|
--caution: #f0b64a;
|
|
--alarm: #ff5b55;
|
|
--alarm-2: #ff8a3d;
|
|
--info: #7fb6ff;
|
|
--plot-ink: #ffa0e6;
|
|
--live-bg: #0a2a28;
|
|
--caution-bg: #2c2112;
|
|
--alarm-bg: #33110f;
|
|
--on-live: #03201a;
|
|
--on-alarm: #1a0605;
|
|
--shadow: #000000;
|
|
|
|
/* Night scene of the start screen behind dialogs: sky, horizon, sea. */
|
|
--night-sky: #03070f;
|
|
--night-horizon: #142c3e;
|
|
--night-sea: #0a2c3a;
|
|
--night-deep: #02090f;
|
|
|
|
/* Names read by the canvas code (core/palette.js). */
|
|
--bg: var(--bg-0);
|
|
--panel: var(--bg-2);
|
|
--muted: var(--text-dim);
|
|
--accent: var(--live);
|
|
--amber: var(--caution);
|
|
--red: var(--alarm);
|
|
--blue: var(--info);
|
|
--green: var(--live-2);
|
|
--plot: var(--plot-ink);
|
|
--scope-bg: var(--scope);
|
|
|
|
/* Type: Inter for prose and controls, JetBrains Mono for numbers. */
|
|
--font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
|
|
--font-xs: .72rem;
|
|
--font-sm: .8rem;
|
|
--font-md: .875rem;
|
|
--font-lg: 1rem;
|
|
|
|
/* Geometry. */
|
|
--gap: .5rem;
|
|
--gap-lg: .75rem;
|
|
--radius: 3px;
|
|
--bar-h: 2.75rem;
|
|
--control-h: 2.25rem;
|
|
--dock-left-w: clamp(15rem, 15vw, 22rem);
|
|
--dock-right-w: clamp(21rem, 23vw, 32rem);
|
|
--dock-detail-w: clamp(20rem, 18vw, 30rem);
|
|
--dock-boat-w: clamp(30rem, 46vw, 70rem);
|
|
--rail-w: 2.5rem;
|
|
--z-menu: 30;
|
|
--z-overlay: 40;
|
|
--z-toast: 60;
|
|
}
|