chiark / gitweb /
Improve layout of Markdown-generated code blocks
authorColin Watson <cjwatson@debian.org>
Fri, 3 May 2024 15:08:28 +0000 (16:08 +0100)
committerColin Watson <cjwatson@debian.org>
Fri, 3 May 2024 15:08:28 +0000 (16:08 +0100)
pelicanconf.py
static/tweaks.css [new file with mode: 0644]

index b452933a24df169f26be8fc89c6a00faaeb701b4..d71f66f2b1c60bcbd62d6c1c12beb213ab0586e3 100644 (file)
@@ -37,6 +37,7 @@ M_CSS_FILES = [
     'static/source-sans-pro.css',
     'static/source-code-pro.css',
     'static/m-light.css',
+    'static/tweaks.css',
     ]
 M_THEME_COLOR = '#cb4b16'
 
diff --git a/static/tweaks.css b/static/tweaks.css
new file mode 100644 (file)
index 0000000..d7ff038
--- /dev/null
@@ -0,0 +1,6 @@
+/* Additional tweaks on top of m.css. */
+
+/* Improve layout of Markdown-generated code blocks. */
+div.highlight {
+        margin-bottom: 1rem;
+}