From d8af5be86bad5df91b7c4b8e6393063d1ddd5983 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sun, 19 Jul 2020 08:11:42 -0400 Subject: Improve code block legibility in highlight shortcode --- static/css/style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index db2c31e..162e1f8 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -229,19 +229,18 @@ blockquote { } code { - background-color: #dee5e9; - color: #00416a; font-family: "Fira Code", "Courier New", Courier, monospace; padding: 0.1em 0.2em 0.1em 0.2em; } pre { - background-color: #dee5e9; + background-color: #00416a; border: 1px solid #ccc; border-radius: 5px; + color: #dee5e9; font-size: 0.8em; margin: 2em auto; - overflow-x: scroll; + overflow-x: auto; padding: 1em; width: 100%; } -- cgit v1.2.3