From 8d3fd01c2aa7d9e77e3c430002380a3623b6fdae Mon Sep 17 00:00:00 2001 From: rNLKJA <62606765+rNLKJA@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:28:16 +1100 Subject: [PATCH] Update globals.css --- public/styles/globals.css | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/public/styles/globals.css b/public/styles/globals.css index 1d7c9d6..9284954 100644 --- a/public/styles/globals.css +++ b/public/styles/globals.css @@ -168,3 +168,60 @@ html { .cursor-right { cursor: e-resize; /* or your custom right arrow cursor */ } + +.main { + width: 100vw; + min-height: 100vh; + position: fixed; + display: flex; + justify-content: center; + padding: 120px 24px 160px 24px; + pointer-events: none; +} + +.main:before { + background: radial-gradient(circle, rgba(2, 0, 36, 0) 0, #fafafa 100%); + position: absolute; + content: ""; + z-index: 2; + width: 100%; + height: 100%; + top: 0; +} + +.main:after { + content: ""; + background-image: url("/assets/images/grid.svg"); + z-index: 1; + position: absolute; + width: 100%; + height: 100%; + top: 0; + opacity: 0.4; + filter: invert(1); +} + +.gradient { + height: fit-content; + z-index: 3; + width: 100%; + max-width: 640px; + background-image: radial-gradient( + at 27% 37%, + hsla(215, 98%, 61%, 1) 0px, + transparent 0% + ), + radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 1) 0px, transparent 50%), + radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 1) 0px, transparent 50%), + radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%), + radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%), + radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%), + radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%); + position: absolute; + content: ""; + width: 100%; + height: 100%; + filter: blur(100px) saturate(150%); + top: 80px; + opacity: 0.15; +}