From be2c37491f69ad3ec143d290896921496d68684a Mon Sep 17 00:00:00 2001 From: Randell Dawson Date: Fri, 26 Apr 2019 09:08:18 -0700 Subject: [PATCH] fix: use triple backticks around code --- client/src/components/layouts/night.css | 6 ++++++ .../Challenges/components/challenge-description.css | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) 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; +}