Commit graph

9 commits

Author SHA1 Message Date
0e6d352dca
Rework the CRT raster, glow and flicker effects
The three effects had drifted apart from each other and from the token
system. Consolidate them behind --crt-* tokens and fix what was broken.

- The animated text-shadow silently overrode the static one, so
  reduce-motion users saw a 5px white glow and everyone else a 3px
  currentColor glow. Both now come from one declaration, with the
  aberration offset factored out into --crt-shift.
- Step the aberration instead of tweening it. text-shadow is not
  compositable and this one inherits to every glyph, so the smooth
  version repainted the whole document at refresh rate.
- The flicker was invisible: a near-black tint at an effective alpha of
  0.008-0.096 over a black background, a peak lift of under 2/255.
  Retint with the accent at ~3%.
- Anchor the vignette to the viewport. It was sized to body's box, which
  is document-height, so on long pages the bloom sat off-screen.
- Pin the overlays with position: fixed rather than painting
  document-sized layers, and give the grille hard stops so it is three
  stripes rather than a smooth R->G->B ramp.
- Scale the raster pitch down at >=2dppx, where a 2px scanline is 4
  device px and resamples into moire at fractional DPR.
- Raise --color-mg to oklch(0.62): at 0.5 it was 3.5:1 on the
  background and 1.7:1 over the vignette centre. Halve the vignette
  alpha via its own token, keeping --color-accent-transparent at 50%
  for ProjectCard's glow.

Collapses the two keyframe blocks from 193 lines to 40.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 17:39:05 -07:00
89cfe7bdec
fix subpixel shift when link hover brackets appear 2026-07-20 12:11:29 -07:00
c959f0d848
Add @media queries for a11y and also add small settings nav so users can
toggle a11y features between on / off / system.
2026-07-18 14:46:55 -07:00
dbc7cb105a
integrate parallax into index and tidy up 2026-07-11 14:07:22 -07:00
441056cabc
more dev work 2026-07-11 11:06:10 -07:00
da4925753d
Rename content slot to main, remove h1 from header for better
Some checks failed
Build And Deploy / build-and-deploy (push) Has been cancelled
accessibility, and unify SVG fill color to #fff

Update BaseLayout to use a header <p> for the website title, rename the
main slot/id to
"main", and update all pages to match. Add CSS rule svg { fill:
currentColor }
and size header > p the same as h1. Fix a minor comment typo.
2026-03-22 13:56:24 -07:00
75a413621d
Update CRT effect
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m44s
Add animated text glow, 'screen door' overlay, and flicker effect.
Remove unncessary comments.
2026-03-08 00:19:16 -08:00
2548a84e0b
Add GoatCounter count.js component (as goat.js), MIT license logo
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 5m19s
(mit.svg), and htmz assets (htmz.js and htmz.dev.js). Add LICENSE file
containing this project's MIT license and 3rd-party component licenses.
2026-03-07 22:38:34 -08:00
0350a4b8e3
Modularize CSS; add reset, theme and fonts
Introduce reset.css and theme.css and refactor style.css
to import them via layers; add Unscii font files and preload links.
Add RSS XSL/CSS and a css-test page; remove legacy snes.min.css.
Tweak BaseLayout and contact layout (preloads, grid gaps). Rename index.astro to parallax.astro and
created new basic index page. Improve input styles and contact form placeholders
2026-02-01 10:08:58 -08:00