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 %}