Skip to content

Commit

Permalink
fix: remove green gradient on left
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkflame72 committed Mar 29, 2024
1 parent 331dd27 commit 40f1da5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/starlight/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 40f1da5

Please sign in to comment.