From a57431168e846db73ac9f420271000c9d679f915 Mon Sep 17 00:00:00 2001 From: Balazs Tasi Date: Wed, 29 Apr 2026 10:22:58 +0200 Subject: [PATCH] fix(site): stabilize page background Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- site/styles.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/site/styles.css b/site/styles.css index 5c995bc..4708d7a 100644 --- a/site/styles.css +++ b/site/styles.css @@ -185,10 +185,20 @@ body { margin: 0; font-family: var(--mono); - background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 55%, var(--bg-bottom) 100%); + background: var(--bg); color: var(--ink); min-height: 100vh; position: relative; + isolation: isolate; +} + +body::before { + content: ""; + position: fixed; + inset: 0; + background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 55%, var(--bg-bottom) 100%); + pointer-events: none; + z-index: -1; } a {