diff --git a/pelican/themes/notmyidea/static/css/main.css b/pelican/themes/notmyidea/static/css/main.css
index 510928e2..2e2aee48 100644
--- a/pelican/themes/notmyidea/static/css/main.css
+++ b/pelican/themes/notmyidea/static/css/main.css
@@ -113,6 +113,12 @@ dd {margin-left: 1.5em;}
pre{background-color: rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;}
+@media (prefers-color-scheme: dark) {
+ pre {
+ background: rgb(38, 38, 38);
+ }
+}
+
/* Quotes */
blockquote {
margin: 20px;
diff --git a/pelican/themes/notmyidea/templates/github.html b/pelican/themes/notmyidea/templates/github.html
index 46bad0a2..3504dd91 100644
--- a/pelican/themes/notmyidea/templates/github.html
+++ b/pelican/themes/notmyidea/templates/github.html
@@ -1,18 +1,18 @@
{% if GITHUB_URL %}
-
+
{% if GITHUB_POSITION != "left" %}
- Fork me on GitHub
+ Fork me on GitHub
{% else %}
- Fork me on GitHub
+ Fork me on GitHub
{% endif %}
{% endif %}