Night sky background with shooting stars on every page
CI / test (push) Successful in 1m42s
CI / build (push) Successful in 5m18s
CI / deploy (push) Skipped

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:
feco
2026-11-21 21:23:52 +00:00
co-authored by Claude Opus 5.5
parent 8b8285b5d2
commit 116e4747c2
4 changed files with 149 additions and 20 deletions
+4
View File
@@ -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 */