From 8b268f835acc28cb838a857e2ba53ab0b97c9138 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Sun, 30 Aug 2020 16:47:25 +0200 Subject: [PATCH] don't use blur if unsupported --- style/shiny/single.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/style/shiny/single.css b/style/shiny/single.css index 34c70d0..8f20a50 100644 --- a/style/shiny/single.css +++ b/style/shiny/single.css @@ -72,9 +72,17 @@ body { border-radius: 0.5em; } -#cw ~ * { - filter: blur(50px); - opacity: 65%; +@supports (filter: blur(50px)) { + #cw ~ * { + 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 {