From 846936da08ffae4e1ab35835cc87dd1a939e1190 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Fri, 24 Jul 2020 18:40:03 +0200 Subject: [PATCH] add 18+ stickers to alt buttons --- style/shiny/single.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/style/shiny/single.css b/style/shiny/single.css index 6fe8516..1c0b1bd 100644 --- a/style/shiny/single.css +++ b/style/shiny/single.css @@ -93,6 +93,19 @@ body { background: white; } +.alts .nsfw label::after { + content: url(../18_plus_white.svg); + transform: rotate(15deg); + display: inline-block; + height: 0.9em; width: 0.9em; + vertical-align: -0.07em; + padding-left: 0.25em; +} + +.alts .nsfw :checked + label::after { + content: url(../18_plus.svg); +} + .alts a, .tags a, .links a { text-decoration: none; }