Files
the-nexus/style.css
Groq (probation) c70b6e87be
Some checks failed
Deploy Nexus / deploy (push) Failing after 4s
[groq] Research: NotebookLM — create audio overview of SOUL.md as podcast (#293) (#381)
Co-authored-by: Groq (probation) <groq@noreply.143.198.27.163>
Co-committed-by: Groq (probation) <groq@noreply.143.198.27.163>
2026-03-24 13:05:24 +00:00

587 lines
11 KiB
CSS

/* === DESIGN SYSTEM — NEXUS === */
:root {
--color-bg: #000008;
--color-primary: #4488ff;
--color-secondary: #334488;
--color-text: #ccd6f6;
--color-text-muted: #4a5568;
--font-body: 'Courier New', monospace;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
overflow: hidden;
width: 100vw;
height: 100vh;
}
canvas {
display: block;
position: fixed;
top: 0;
left: 0;
}
/* Matrix rain sits behind the Three.js renderer */
#matrix-rain {
z-index: 0;
opacity: 0.18;
}
/* === HUD === */
.hud-controls {
z-index: 10;
}
/* === AUDIO TOGGLE === */
#audio-toggle {
font-size: 14px;
background-color: var(--color-primary);
color: var(--color-bg);
padding: 4px 8px;
border: none;
border-radius: 4px;
font-family: var(--font-body);
transition: background-color 0.3s ease;
cursor: pointer;
}
#audio-toggle:hover {
background-color: var(--color-secondary);
}
#podcast-toggle {
margin-left: 8px;
background-color: var(--color-accent);
color: var(--color-bg);
padding: 4px 8px;
border: none;
border-radius: 4px;
font-family: var(--font-body);
transition: background-color 0.3s ease;
cursor: pointer;
}
#podcast-toggle.active {
background-color: #0066cc;
color: var(--color-bg);
}
#podcast-toggle:hover {
background-color: var(--color-primary);
}
#soul-toggle {
background-color: var(--color-secondary);
color: var(--color-text);
}
#audio-toggle.muted {
background-color: var(--color-text-muted);
}
/* === DEBUG MODE === */
#debug-toggle {
margin-left: 8px;
}
/* === SESSION EXPORT === */
#export-session {
margin-left: 8px;
background-color: var(--color-secondary);
color: var(--color-text);
padding: 4px 8px;
border: none;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
font-family: var(--font-body);
transition: background-color 0.2s ease;
}
#podcast-toggle {
margin-left: 8px;
background-color: var(--color-accent);
color: var(--color-bg);
padding: 4px 8px;
border: none;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
font-family: var(--font-body);
transition: background-color 0.3s ease;
}
#podcast-toggle.active {
background-color: #0066cc;
}
#podcast-toggle:disabled {
opacity: 0.6;
cursor: not-allowed;
}
}
#podcast-toggle:hover {
background-color: var(--color-primary);
}
#podcast-toggle:hover {
background-color: var(--color-primary);
}
#export-session:hover {
background-color: var(--color-primary);
color: var(--color-bg);
}
.collision-box {
outline: 2px solid red;
outline-offset: 2px;
}
.light-source {
outline: 2px dashed yellow;
outline-offset: 2px;
}
/* === OVERVIEW MODE === */
#overview-indicator {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: var(--color-primary);
font-family: var(--font-body);
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
pointer-events: none;
z-index: 20;
border: 1px solid var(--color-primary);
padding: 4px 10px;
background: rgba(0, 0, 8, 0.6);
white-space: nowrap;
animation: overview-pulse 2s ease-in-out infinite;
}
#overview-indicator.visible {
display: block;
}
.overview-hint {
margin-left: 12px;
color: var(--color-text-muted);
font-size: 10px;
}
@keyframes overview-pulse {
0%, 100% { opacity: 0.7; }
50% { opacity: 1; }
}
/* === PHOTO MODE === */
body.photo-mode .hud-controls {
display: none;
}
body.photo-mode #overview-indicator {
display: none !important;
}
#photo-indicator {
display: none;
position: fixed;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
color: var(--color-primary);
font-family: var(--font-body);
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
pointer-events: none;
z-index: 20;
border: 1px solid var(--color-primary);
padding: 4px 12px;
background: rgba(0, 0, 8, 0.5);
white-space: nowrap;
animation: overview-pulse 2s ease-in-out infinite;
}
#photo-indicator.visible {
display: block;
}
.photo-hint {
margin-left: 12px;
color: var(--color-text-muted);
font-size: 10px;
letter-spacing: 0.1em;
}
#photo-focus {
color: var(--color-primary);
}
/* === ZOOM-TO-OBJECT INDICATOR === */
#zoom-indicator {
display: none;
position: fixed;
top: 16px;
left: 50%;
transform: translateX(-50%);
color: var(--color-accent);
font-family: var(--font-body);
font-size: 11px;
letter-spacing: 0.2em;
text-transform: uppercase;
pointer-events: none;
z-index: 20;
border: 1px solid var(--color-accent);
padding: 4px 12px;
background: rgba(0, 0, 8, 0.6);
white-space: nowrap;
animation: overview-pulse 2s ease-in-out infinite;
}
#zoom-indicator.visible {
display: block;
}
.zoom-hint {
margin-left: 12px;
color: var(--color-text-muted);
font-size: 10px;
}
/* === WEATHER HUD === */
#weather-hud {
position: fixed;
bottom: 14px;
left: 14px;
display: flex;
align-items: center;
gap: 6px;
background: rgba(0, 6, 20, 0.72);
border: 1px solid rgba(68, 136, 255, 0.35);
border-radius: 6px;
padding: 5px 10px;
font-family: var(--font-body);
font-size: 12px;
color: var(--color-text);
z-index: 10;
pointer-events: none;
transition: opacity 0.5s ease;
}
#weather-icon {
font-size: 16px;
}
#weather-temp {
color: var(--color-primary);
font-weight: bold;
min-width: 40px;
}
#weather-desc {
color: var(--color-text-muted);
font-size: 11px;
}
/* === SOVEREIGNTY EASTER EGG === */
#sovereignty-msg {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ffd700;
font-family: var(--font-body);
font-size: 13px;
letter-spacing: 0.3em;
text-transform: uppercase;
pointer-events: none;
z-index: 30;
border: 1px solid #ffd700;
padding: 8px 20px;
background: rgba(0, 0, 8, 0.7);
white-space: nowrap;
text-align: center;
}
#sovereignty-msg.visible {
display: block;
animation: sovereignty-flash 2.5s ease-out forwards;
}
@keyframes sovereignty-flash {
0% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
15% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
40% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
/* === BITCOIN BLOCK HEIGHT === */
#block-height-display {
position: fixed;
bottom: 12px;
right: 12px;
z-index: 20;
font-family: var(--font-body);
font-size: 11px;
letter-spacing: 0.15em;
color: var(--color-primary);
background: rgba(0, 0, 8, 0.7);
border: 1px solid var(--color-secondary);
padding: 4px 10px;
pointer-events: none;
white-space: nowrap;
}
.block-height-label {
color: var(--color-text-muted);
margin-right: 6px;
font-size: 10px;
}
#block-height-value {
color: var(--color-primary);
}
#block-height-display.fresh #block-height-value {
animation: block-flash 0.6s ease-out;
}
@keyframes block-flash {
0% { color: #ffffff; text-shadow: 0 0 8px #4488ff; }
100% { color: var(--color-primary); text-shadow: none; }
}
/* === CRT / CYBERPUNK OVERLAY === */
.crt-overlay {
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: none;
background:
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.04));
background-size: 100% 4px, 4px 100%;
animation: flicker 0.15s infinite;
box-shadow: inset 0 0 100px rgba(0,0,0,0.9);
}
@keyframes flicker {
0% { opacity: 0.95; }
50% { opacity: 1; }
100% { opacity: 0.98; }
}
.crt-overlay::after {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(18, 16, 16, 0.1);
opacity: 0;
z-index: 999;
pointer-events: none;
animation: crt-pulse 4s linear infinite;
}
@keyframes crt-pulse {
0% { opacity: 0.05; }
50% { opacity: 0.15; }
100% { opacity: 0.05; }
}
/* === THE OATH OVERLAY === */
#oath-overlay {
display: none;
position: fixed;
inset: 0;
z-index: 50;
background: rgba(0, 0, 8, 0.82);
align-items: center;
justify-content: center;
}
#oath-overlay.visible {
display: flex;
animation: oath-fade-in 1.2s ease forwards;
}
@keyframes oath-fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
#oath-inner {
max-width: 560px;
width: 90%;
padding: 40px 48px;
border: 1px solid #ffd700;
box-shadow: 0 0 60px rgba(255, 215, 0, 0.15), inset 0 0 40px rgba(255, 215, 0, 0.04);
background: rgba(0, 4, 16, 0.9);
position: relative;
}
#oath-inner::before {
content: '';
position: absolute;
inset: 4px;
border: 1px solid rgba(255, 215, 0, 0.2);
pointer-events: none;
}
#oath-title {
font-family: var(--font-body);
font-size: 11px;
letter-spacing: 0.5em;
text-transform: uppercase;
color: #ffd700;
margin-bottom: 32px;
text-align: center;
opacity: 0.9;
}
#oath-text {
font-family: var(--font-body);
font-size: 15px;
line-height: 1.9;
color: #e8e8f8;
min-height: 220px;
white-space: pre-wrap;
}
#oath-text .oath-line {
display: block;
opacity: 0;
transform: translateY(6px);
animation: oath-line-in 0.6s ease forwards;
}
#oath-text .oath-line.blank {
height: 0.8em;
}
@keyframes oath-line-in {
to { opacity: 1; transform: translateY(0); }
}
#oath-hint {
font-family: var(--font-body);
font-size: 10px;
letter-spacing: 0.2em;
color: var(--color-text-muted);
text-align: center;
margin-top: 28px;
text-transform: uppercase;
}
/* === TIME-LAPSE MODE === */
#timelapse-indicator {
display: none;
position: fixed;
bottom: 44px;
left: 50%;
transform: translateX(-50%);
color: #00ffcc;
font-family: var(--font-body);
font-size: 11px;
letter-spacing: 0.15em;
text-transform: uppercase;
pointer-events: none;
z-index: 20;
border: 1px solid #00ffcc;
padding: 6px 14px 8px;
background: rgba(0, 8, 24, 0.85);
white-space: nowrap;
text-align: center;
}
#timelapse-indicator.visible {
display: flex;
align-items: center;
gap: 6px;
animation: timelapse-glow 1.5s ease-in-out infinite alternate;
}
@keyframes timelapse-glow {
from { box-shadow: 0 0 6px rgba(0, 255, 204, 0.3); }
to { box-shadow: 0 0 16px rgba(0, 255, 204, 0.75); }
}
.timelapse-label {
color: #00ffcc;
font-size: 11px;
}
#timelapse-clock {
color: #ffffff;
font-size: 15px;
font-weight: bold;
min-width: 38px;
text-align: center;
font-variant-numeric: tabular-nums;
}
.timelapse-track {
width: 110px;
height: 4px;
background: rgba(0, 255, 204, 0.18);
border-radius: 2px;
overflow: hidden;
}
#timelapse-bar {
height: 100%;
background: #00ffcc;
border-radius: 2px;
width: 0%;
transition: width 0.12s linear;
}
.timelapse-hint {
color: var(--color-text-muted);
font-size: 10px;
letter-spacing: 0.08em;
}
#timelapse-btn {
margin-left: 8px;
background-color: var(--color-secondary);
color: var(--color-text);
padding: 4px 8px;
border: none;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
font-family: var(--font-body);
transition: background-color 0.2s ease;
}
#timelapse-btn:hover {
background-color: #00664433;
color: #00ffcc;
}
#timelapse-btn.active {
background-color: rgba(0, 255, 204, 0.15);
color: #00ffcc;
border: 1px solid #00ffcc;
}