From 5b2f2a1466ddf442aa078279effc5007548057c0 Mon Sep 17 00:00:00 2001 From: Valeriy Date: Sun, 20 Jan 2019 16:06:24 +0300 Subject: [PATCH] fix(client): night mode for challenges --- client/src/components/layouts/night.css | 28 +++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/client/src/components/layouts/night.css b/client/src/components/layouts/night.css index bad4728115..fb8b00553a 100644 --- a/client/src/components/layouts/night.css +++ b/client/src/components/layouts/night.css @@ -8,7 +8,8 @@ color: #006400; } -.night .btn-invert:hover, .night .btn-invert:focus { +.night .btn-invert:hover, +.night .btn-invert:focus { background-color: #006400; color: #ddd; } @@ -17,15 +18,34 @@ color: #ddd; } -.night input, .night textarea { +.night input, +.night textarea { background-color: #ddd; color: #333; } -.night #top-right-nav li > a, .night #top-right-nav li > span { +.night #top-right-nav li > a, +.night #top-right-nav li > span { color: #ddd; } .night .btn.btn-primary { color: #ddd; -} \ No newline at end of file +} + +.night .challenge-preview { + background: #fff; +} +.night .test-result:nth-child(2n + 1) { + color: #fff; + background: #2a2a2a; +} +.night .challenge-instructions blockquote, +.night blockquote, +.night pre { + background: #222; +} +.night code { + background-color: #242424; + color: #02a902; +}