don't use blur if unsupported

This commit is contained in:
Rhiannon Morris 2020-08-30 16:47:25 +02:00
parent 91af2d9411
commit 8b268f835a

View file

@ -72,9 +72,17 @@ body {
border-radius: 0.5em; border-radius: 0.5em;
} }
#cw ~ * { @supports (filter: blur(50px)) {
filter: blur(50px); #cw ~ * {
opacity: 65%; opacity: 65%;
filter: blur(50px);
}
#cw {
/* it doesn't matter if this is unsupported because
* either way the thing will be hidden */
mix-blend-mode: multiply;
}
} }
.nsfw-label::after { .nsfw-label::after {