Glassmorphism!
Or however it's called, basically all semi-transparent elements are now blurred, see https://daudix.codeberg.page to see why I did this (if this change is still live ofc)
This commit is contained in:
@ -1,14 +1,13 @@
|
||||
#site-nav {
|
||||
-webkit-backdrop-filter: saturate(180%) blur(10px);
|
||||
backdrop-filter: saturate(180%) blur(10px);
|
||||
-webkit-backdrop-filter: var(--blur);
|
||||
backdrop-filter: var(--blur);
|
||||
background-color: var(--nav-bg);
|
||||
border-radius: 26px;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
|
||||
0px 12px 24px -16px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: var(--edge-highlight), 0px 12px 24px -16px rgba(0, 0, 0, 0.5);
|
||||
margin: 1rem auto;
|
||||
max-width: min(calc(var(--content-width) + 10rem), 90%);
|
||||
position: sticky;
|
||||
top: 1rem;
|
||||
max-width: min(calc(var(--content-width) + 10rem), 90%);
|
||||
z-index: 999;
|
||||
|
||||
nav {
|
||||
|
Reference in New Issue
Block a user