Skip to content

Commit 9529a6c

Browse files
authored
Website Update
1 parent e2631a1 commit 9529a6c

1 file changed

Lines changed: 9 additions & 16 deletions

File tree

docs/assets/css/style.css

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,34 +85,27 @@ body.page-home {
8585

8686
.site-atmosphere {
8787
position: fixed;
88-
top: 50%;
89-
left: 0;
90-
right: 0;
91-
width: 100%;
92-
height: 170lvh;
93-
transform: translateY(-50%);
88+
inset: 0;
9489
z-index: 0;
9590
pointer-events: none;
96-
overflow: visible;
91+
overflow: hidden;
92+
isolation: isolate;
9793
}
9894

9995
.site-atmosphere__layer {
10096
position: absolute;
10197
inset: 0;
10298
background:
103-
radial-gradient(72% 58% at 22% 26%, rgba(255, 157, 77, 0.11), rgba(255, 157, 77, 0) 70%),
104-
radial-gradient(64% 54% at 78% 34%, rgba(82, 104, 255, 0.1), rgba(82, 104, 255, 0) 72%),
105-
radial-gradient(78% 66% at 56% 100%, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 72%),
106-
linear-gradient(180deg, rgba(6, 6, 8, 0.1) 0%, rgba(6, 6, 8, 0.035) 40%, rgba(6, 6, 8, 0.16) 100%);
99+
radial-gradient(64% 52% at 22% 24%, rgba(255, 157, 77, 0.11) 0%, rgba(255, 157, 77, 0.085) 28%, rgba(255, 157, 77, 0.028) 52%, rgba(255, 157, 77, 0) 70%),
100+
radial-gradient(58% 48% at 78% 32%, rgba(82, 104, 255, 0.1) 0%, rgba(82, 104, 255, 0.076) 30%, rgba(82, 104, 255, 0.024) 54%, rgba(82, 104, 255, 0) 72%),
101+
radial-gradient(72% 58% at 56% 94%, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.016) 38%, rgba(255, 255, 255, 0) 68%),
102+
linear-gradient(180deg, rgba(6, 6, 8, 0.08) 0%, rgba(6, 6, 8, 0.03) 42%, rgba(6, 6, 8, 0.14) 100%);
107103
opacity: var(--site-atmosphere-opacity);
108104
will-change: opacity;
105+
-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
106+
mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
109107
}
110108

111-
@supports (-webkit-touch-callout: none) {
112-
.site-atmosphere {
113-
height: 182lvh;
114-
}
115-
}
116109

117110
body.no-scroll {
118111
overflow: hidden;

0 commit comments

Comments
 (0)