From f792f2b1649091bc8028e0de735096567b748718 Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 1 Jul 2026 14:06:22 +0100 Subject: [PATCH] fix: restore lightbox fixed positioning on GitHub Pages site The body > *:not(#bg-canvas) rule carried ID-level specificity (1,0,1) which overrode .lightbox's position:fixed and z-index:1000, leaving the overlay stuck in document flow and invisible. Excluding #lightbox from that rule lets the lightbox CSS take effect correctly. Co-Authored-By: Claude Sonnet 4.6 --- docs/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/style.css b/docs/style.css index 155cebd..52ea359 100644 --- a/docs/style.css +++ b/docs/style.css @@ -28,7 +28,7 @@ pointer-events: none; } -body > *:not(#bg-canvas) { +body > *:not(#bg-canvas):not(#lightbox) { position: relative; z-index: 1; }