From 0ef5fec3b6a7b3686c184a1daa8ed9ab5bb81bbe Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Sat, 31 Oct 2020 22:55:58 -0400 Subject: [PATCH] Fixes --- static/style.css | 14 ++++++++++++++ templates/fragments/navbar.j2 | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index e8208f4..fa1772e 100644 --- a/static/style.css +++ b/static/style.css @@ -52,7 +52,21 @@ padding: 20px; } +#article pre { + background-color: #fdf6e3; + color: #657b83; + border-radius: 5px; + padding: 5px; +} + @media (prefers-color-scheme: dark) { + #article pre { + background-color: #002b36; + color: #839496; + border-radius: 5px; + padding: 5px; + } + #sidebar { padding-left: 20px; background-color: #1a1d20; diff --git a/templates/fragments/navbar.j2 b/templates/fragments/navbar.j2 index de30d14..e6363a0 100644 --- a/templates/fragments/navbar.j2 +++ b/templates/fragments/navbar.j2 @@ -25,7 +25,7 @@ {% else %}