Night sky background with shooting stars on every page
Faint twinkling stars and, on average every 6 seconds, a gold shooting star, on a fixed canvas behind all content: anything with its own background (bands, cards, the header) covers it, so the meteor passes under them. With reduced motion only still stars are drawn. Replaces the home page hero's own starfield. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html, body { margin: 0; }
|
||||
/* The night sky behind everything (components/NightSky.tsx): drawn over the
|
||||
page background, under all content, so anything with its own background
|
||||
covers it. */
|
||||
.night-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
|
||||
body {
|
||||
min-height: 100vh;
|
||||
overflow-x: clip; /* nothing may push the page sideways on a phone */
|
||||
|
||||
Reference in New Issue
Block a user