Skip to content

Commit 5fb3b2b

Browse files
committed
MAYBE don't use blur for backdrop that's a bit too far
1 parent e7054a5 commit 5fb3b2b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/styles.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
--bg: #261d2d;
99
--bg-1: #18121d;
1010
--bg-2: #0d0912;
11+
--bg-o-backdrop: #0d0912c4;
1112

1213
--fg: #bcb1cf;
1314
--fg-1: #e4c8f5;
@@ -271,7 +272,7 @@ footer {
271272

272273
z-index: 2;
273274

274-
transition: 1s cubic-bezier(0.76, 0, 0.24, 1) backdrop-filter;
275+
transition: 1s cubic-bezier(0.76, 0, 0.24, 1) background-color;
275276

276277
display: none;
277278
}
@@ -398,7 +399,7 @@ code {
398399
}
399400

400401
nav:not(.hidden) ~ #nav-overlay {
401-
backdrop-filter: blur(20px);
402+
background-color: var(--bg-o-backdrop);
402403
pointer-events: all;
403404
}
404405

0 commit comments

Comments
 (0)