don't use blur if unsupported
This commit is contained in:
parent
91af2d9411
commit
8b268f835a
1 changed files with 11 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue