From e0dfdece86470c38e6e08d5bd10da9aab1488f98 Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Thu, 16 Jul 2026 12:17:59 +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 87698534..2b541f86 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -18,6 +18,7 @@ * minifier can 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 {