Enabled backdrop filter for other browsers

This commit is contained in:
Jelle Z 2018-10-07 20:52:44 +01:00 committed by GitHub
parent 7012c5f512
commit 3520aee921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,8 +196,8 @@ a {
display: none display: none
} }
/* Webkit specific features */ /* Backdrop filter support for Webkit browsers */
@media screen and (-webkit-min-device-pixel-ratio:0) { @supports (-webkit-backdrop-filter: blur(0px)) {
.nav-wrapper { background-color: rgba(255,255,255,0.7); } .nav-wrapper { background-color: rgba(255,255,255,0.7); }
.nav-wrapper { -webkit-backdrop-filter: blur(10px); } .nav-wrapper { -webkit-backdrop-filter: blur(10px); }
#footer { background-color: rgba(255,255,255,0.7); } #footer { background-color: rgba(255,255,255,0.7); }
@ -208,8 +208,8 @@ a {
#guild-nav { -webkit-backdrop-filter: blur(10px); } #guild-nav { -webkit-backdrop-filter: blur(10px); }
} }
/* Microsoft Edge specific features */ /* Backdrop filter support for other browsers */
@supports (-ms-ime-align: auto) { @supports (backdrop-filter: blur(0px)) {
.nav-wrapper { background-color: rgba(255,255,255,0.7); } .nav-wrapper { background-color: rgba(255,255,255,0.7); }
.nav-wrapper { backdrop-filter: blur(10px); } .nav-wrapper { backdrop-filter: blur(10px); }
#footer { background-color: rgba(255,255,255,0.7); } #footer { background-color: rgba(255,255,255,0.7); }