From 40f1da5e8e04731db21745a38e0fac77f2e8ffd9 Mon Sep 17 00:00:00 2001 From: Leon Bowie Date: Fri, 29 Mar 2024 16:07:16 +1300 Subject: [PATCH] fix: remove green gradient on left --- src/components/starlight/Hero.astro | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/starlight/Hero.astro b/src/components/starlight/Hero.astro index 0bef613c..0f93b40a 100644 --- a/src/components/starlight/Hero.astro +++ b/src/components/starlight/Hero.astro @@ -104,12 +104,14 @@ const { title, tagline, actions } = hero!; :global([data-has-hero] .main-pane) { --cell-size: 3.5rem; background: - radial-gradient(var(--sl-color-green-low), transparent 40%) no-repeat -170vw -55vh / - 250vw 250vh, - radial-gradient(closest-side, var(--sl-color-green-low), transparent) - no-repeat calc(100% + var(--cell-size) * 6) - calc(var(--cell-size) * -7) / calc(var(--cell-size) * 12) - calc(var(--cell-size) * 19); + /* radial-gradient(var(--sl-color-green-low), transparent 40%) no-repeat -170vw -55vh / + 250vw 250vh, */ radial-gradient( + closest-side, + var(--sl-color-green-low), + transparent + ) + no-repeat calc(100% + var(--cell-size) * 6) calc(var(--cell-size) * -7) / + calc(var(--cell-size) * 12) calc(var(--cell-size) * 19); } .hero {