aboutsummaryrefslogtreecommitdiff
path: root/174bg/handbook-vitepress
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-07-12 08:51:37 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-07-12 08:51:37 +0100
commit9040bad688d325e1aa2ac0ed85342ad8e641c520 (patch)
tree7cdb7628131d6986ee82042146dd54ba9c4807b3 /174bg/handbook-vitepress
parent6d8a79ef390dfd6e1763900029f92ae572e739b9 (diff)
downloadunnamed-group-9040bad688d325e1aa2ac0ed85342ad8e641c520.tar
unnamed-group-9040bad688d325e1aa2ac0ed85342ad8e641c520.tar.gz
unnamed-group-9040bad688d325e1aa2ac0ed85342ad8e641c520.tar.bz2
unnamed-group-9040bad688d325e1aa2ac0ed85342ad8e641c520.tar.xz
unnamed-group-9040bad688d325e1aa2ac0ed85342ad8e641c520.zip
refine backdrop-filter for nav bar and sidebar to prevent double-blurring
Diffstat (limited to '174bg/handbook-vitepress')
-rw-r--r--174bg/handbook-vitepress/.vitepress/theme/style.css9
1 files changed, 6 insertions, 3 deletions
diff --git a/174bg/handbook-vitepress/.vitepress/theme/style.css b/174bg/handbook-vitepress/.vitepress/theme/style.css
index a55ad93..3df7396 100644
--- a/174bg/handbook-vitepress/.vitepress/theme/style.css
+++ b/174bg/handbook-vitepress/.vitepress/theme/style.css
@@ -80,10 +80,13 @@ body {
background-attachment: fixed;
}
-/* Nav bar and sidebar become frosted glass panels over that grid. */
+/* Nav bar and sidebar become frosted glass panels over that grid. Only blur
+ on the outer elements - `.content-body` sits *inside* `.VPNavBar`, so
+ giving it its own `backdrop-filter` too double-blurs the (already blurred)
+ layer beneath it, which compounds into a flat near-black block instead of
+ a translucent panel. */
.VPNavBar,
-.VPSidebar,
-.VPNavBar .content-body {
+.VPSidebar {
backdrop-filter: blur(10px);
}