From fa035bb4d35e08d48e981fe37125d9d7a54e728d Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Thu, 16 Jul 2026 12:18:09 +0200 Subject: [PATCH] fix(docs): keep the hero glyph in the background .VPHome had no stacking context, so the z-index:0 ::after glyph painted over the hero content. Isolate .VPHome and drop the glyph to z-index:-1. --- docs/.vitepress/theme/custom.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index da953e4..6577435 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -18,6 +18,7 @@ * mangle it. */ .VPHome { position: relative; + isolation: isolate; /* content-column width, and the gutter from the viewport edge in to it — defined once so the glow and glyph stay anchored to the same column. */ --btv-col: 1152px; @@ -37,7 +38,7 @@ no-repeat top center / contain; opacity: 0.14; pointer-events: none; - z-index: 0; + z-index: -1; } @media (max-width: 768px) { .VPHome::after {