From a59ef79019e7cc05165292e77fba404cef6aa87e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 28 Sep 2026 17:33:10 +0300 Subject: [PATCH 1/2] Fix code CSS in dark mode --- src/assets/styles/global.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/assets/styles/global.css b/src/assets/styles/global.css index 187d440..5f30e11 100644 --- a/src/assets/styles/global.css +++ b/src/assets/styles/global.css @@ -369,6 +369,14 @@ body { word-break: normal; } +/* Higher specificity than `.dark .prose code`, which would otherwise + paint per-line inline-code backgrounds inside code blocks in dark mode. */ +.dark .prose pre code { + background: none; + border: none; + color: inherit; +} + /* ── Images ──────────────────────────────────────── */ .prose img { From b34af45ff96f63f1180e37484eb6480e17bd01f7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 28 Sep 2026 17:34:52 +0300 Subject: [PATCH 2/2] Apply Python formatting --- content/posts/python-3140-alpha-4-is-out/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/python-3140-alpha-4-is-out/index.md b/content/posts/python-3140-alpha-4-is-out/index.md index 896bfe4..6f807e3 100644 --- a/content/posts/python-3140-alpha-4-is-out/index.md +++ b/content/posts/python-3140-alpha-4-is-out/index.md @@ -48,7 +48,7 @@ The next pre-release of Python 3.14 will be 3.14.0a5, currently scheduled for 20 In Python, you can use Greek letters as constants. For example: -``` +```python from math import pi as π def circumference(radius: float) -> float: