From 7f921591d26e8a48c6da269e66c353d9738732c2 Mon Sep 17 00:00:00 2001 From: Nicolas Perriault Date: Sun, 23 Apr 2017 22:17:44 +0200 Subject: [PATCH] Improve CW reveal styles. --- public/style.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/public/style.css b/public/style.css index 86fad1b..b5b97d6 100644 --- a/public/style.css +++ b/public/style.css @@ -42,9 +42,6 @@ body { .notification.follow > p { margin-bottom: 0; } -.notification .spoiled { - display: none; -} .panel-heading { font-weight: bold; @@ -174,15 +171,19 @@ body { text-align: center; margin-top: .5em; font-weight: normal; - background: #222; + background: #252525; color: #fff; padding: .3em; - border: 1px solid #444; + border: 1px solid #363636; cursor: pointer; } +.spoiled input[type=checkbox] + label + .spoiled-content { + display: none; +} .spoiled input[type=checkbox]:checked + label + .spoiled-content { + display: block; height: auto; opacity: 1; padding: 10px; @@ -194,9 +195,10 @@ body { opacity: 0; padding: 10px; background: #333; - border: 1px solid #777; + border: 1px solid #444; border-radius: 4px; transition: all .6s; + margin-bottom: 5px; } /* Draft form */