Skip to content

Commit 1a01548

Browse files
committed
Revert "Add perspective radial gradient glow to hero section"
This reverts commit dc43cf5.
1 parent dc43cf5 commit 1a01548

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

css/style.css

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -316,20 +316,16 @@ a {
316316
.hero-wrapper::before {
317317
content: '';
318318
position: absolute;
319-
top: -50%;
320-
left: -50%;
321-
width: 300%;
322-
height: 300%;
323-
transform: perspective(800px) rotateX(30deg) rotateY(15deg);
324-
transform-origin: top left;
319+
top: -30%;
320+
left: -15%;
321+
width: 80%;
322+
height: 100%;
325323
background: radial-gradient(
326-
ellipse at 15% 15%,
327-
rgba(59, 130, 246, 0.35) 0%,
328-
rgba(59, 130, 246, 0.12) 15%,
329-
transparent 35%
324+
ellipse at center,
325+
var(--hero-glow) 0%,
326+
transparent 65%
330327
);
331328
pointer-events: none;
332-
z-index: 0;
333329
}
334330

335331
.hero {

0 commit comments

Comments
 (0)