Files
the-nexus/style.css
Alexander Whitestone dc1994a1b8
Some checks failed
CI / validate (pull_request) Has been cancelled
feat: add animated energy shields around Batcave terminal (#112)
- Build full Three.js 0.183 scene: camera, lighting, star field, floor grid
- Create Batcave terminal: raised platform, desk, main + side monitors with
  flickering screen materials and point lights, keyboard, corner pillars
- Add three-layer shader-based energy shield domes with:
  - Custom GLSL hex-grid pattern, Fresnel rim effect, scan-line and ripple fx
  - AdditiveBlending + DoubleSide transparency for holographic look
  - Per-shield breathing/scale pulse keyed off uTime uniform
- Add three equatorial torus rings that pulse opacity and scale
- Add glowing energy columns on each corner pillar with PointLights
- Wire up OrbitControls, resize handler, WebSocket client

Fixes #112
2026-03-23 23:59:22 -04:00

67 lines
1.5 KiB
CSS

/* === RESET / BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--color-bg: #050510;
--color-primary: #4af0c0;
--color-secondary: #7b2fff;
--color-accent: #ff6600;
--color-warn: #ffd700;
--color-text-muted: #888888;
--font-body: 'Courier New', Courier, monospace;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
background: var(--color-bg);
color: var(--color-primary);
font-family: var(--font-body);
}
canvas {
display: block;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
}
/* === HUD BUTTONS === */
.hud-btn {
background: rgba(10, 10, 30, 0.75);
color: var(--color-primary);
border: 1px solid var(--color-primary);
border-radius: 4px;
padding: 4px 10px;
font-size: 14px;
font-family: var(--font-body);
cursor: pointer;
transition: background 0.2s, box-shadow 0.2s;
}
.hud-btn:hover {
background: rgba(74, 240, 192, 0.15);
box-shadow: 0 0 8px var(--color-primary);
}
/* === AUDIO TOGGLE (legacy compat) === */
#audio-toggle {
font-size: 14px;
background-color: rgba(10, 10, 30, 0.75);
color: var(--color-primary);
border: 1px solid var(--color-primary);
padding: 4px 8px;
border-radius: 4px;
font-family: var(--font-body);
transition: background-color 0.3s ease;
}
#audio-toggle:hover {
background-color: rgba(74, 240, 192, 0.15);
}
#audio-toggle.muted {
background-color: var(--color-text-muted);
}