Louder retro effects, less Chicago, smoother menu
Mirror to Gitea / mirror (push) Skipped

Bake grungy treatments into photos (toon/cel shading with ink outlines,
dithered pixel art, photocopy, riso misprint, faded vintage with dust and
scratches) via tools/fx.py, and add a live WebGL shader (CRT, VHS,
pixel-resolve, toon) used on hero images. Add glitch and RGB-split type,
camcorder OSD, manga speed lines, sparkles, speech bubbles, checker strips,
TV test-pattern placeholders and a CRT power-off/on page transition.

Keep the L-train menu and line colors but drop the other Chicago
references (star logo, skyline hero, flag footer, Chicago postcard).

Fix menu lag: grain overlay no longer uses a blend mode, the header drops
its backdrop blur, menu layers are GPU-promoted, and background effects
pause while the menu is open.
This commit is contained in:
Johan Sandoval committed 2026-10-08 16:48:00 +00:00
1 parent 61f55e2568
commit a8d193cde0
41 files changed
+1119 -185

No files matched your search

+18 -5
View File
@@ -11,6 +11,7 @@
@import './tokens.css' layer(tokens);
@import './themes/index.css' layer(tokens);
@import './fx.css' layer(components);
/*
* Page-specific styles go in the page's own <style> block (Astro scopes it).
@@ -82,16 +83,28 @@
isolation: isolate;
}
/* paper grain */
/* film grain: a tiled noise PNG on its own GPU layer, jittered with transforms
only (no blend modes, so it never forces full-screen repaints) */
body::before {
content: '';
position: fixed;
inset: 0;
inset: -64px;
z-index: 9998;
pointer-events: none;
opacity: var(--grain);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
mix-blend-mode: multiply;
opacity: calc(var(--grain) * 1.6);
background: url('/fx/grain.png') 0 0 / 128px 128px;
will-change: transform;
animation: grain-jitter 0.6s steps(1) infinite;
}
@keyframes grain-jitter {
0% { transform: translate(0, 0); }
20% { transform: translate(-37px, 21px); }
40% { transform: translate(18px, -44px); }
60% { transform: translate(-12px, 33px); }
80% { transform: translate(41px, 9px); }
}
html.menu-open body::before {
animation-play-state: paused;
}
/* CRT scanlines (themes opt in with --scanlines: 1) */