diff --git a/client/src/components/layouts/night.css b/client/src/components/layouts/night.css index b157e0a46e..119a227763 100644 --- a/client/src/components/layouts/night.css +++ b/client/src/components/layouts/night.css @@ -42,6 +42,12 @@ background: #222; } +.night .challenge-instructions pre, +.night .challenge-instructions pre code { + color: #c7254e; + background: #222; +} + .night code { background-color: #242424; color: #02a902; diff --git a/client/src/templates/Challenges/components/challenge-description.css b/client/src/templates/Challenges/components/challenge-description.css index ed3d2d4103..4e6aed25c3 100644 --- a/client/src/templates/Challenges/components/challenge-description.css +++ b/client/src/templates/Challenges/components/challenge-description.css @@ -2,7 +2,7 @@ font-size: 16px; } -.challenge-instructions blockquote { +.challenge-instructions blockquote, .challenge-instructions pre { background-color: #eee; color: #c7254e; padding: 10px; @@ -11,4 +11,10 @@ margin-bottom: 1.45rem; font-family: monospace; font-size: 16px; -} \ No newline at end of file +} + +.challenge-instructions pre { + border: 0; + border-radius: 0%; + word-break: normal; +}