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; - } } }