From a61cbdade0644f90b1be08e7b8286dea9fe11896 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 31 Jul 2018 19:38:28 +0200 Subject: [PATCH] fix spoilers --- static/nryg.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/static/nryg.less b/static/nryg.less index 578db248..6c6098ef 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -43,7 +43,7 @@ blockquote { margin: 4px 0; } - .spoiler { + &.spoiler { color: transparent; border-color: @spoiler-color; background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1); @@ -60,6 +60,14 @@ blockquote { } } +pre { + margin: 0; +} + +code { + font-family: "Consolas", "Source Code Pro", monospace; +} + input[type="text"], input[type="password"] { background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1); color: @text-color; @@ -675,14 +683,6 @@ nav { .codehilite { border-radius: 4px; padding: 4px; - - pre { - margin: 0; - } - - code { - font-family: "Consolas", "Source Code Pro", monospace; - } } }