Skip to content

Commit

Permalink
css: fix transparency of dropdown menu (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik authored Jul 10, 2024
1 parent 3ba330d commit c46af36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,13 @@
.menu-close {
margin-right: 1rem !important;
}

/* Fix transparency of menu */
.backdrop-blur {
--tw-backdrop-blur: blur(8px);
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
--tw-backdrop-brightness: brightness(7);
--tw-backdrop-opacity: opacity(0.9);
}

0 comments on commit c46af36

Please sign in to comment.