From 6fa89b74242e298c2fad12d9a6eeec988d5bd7f0 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Mon, 29 Jan 2024 08:59:23 +0200 Subject: [PATCH] Improve code block looks --- static/rouge.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/rouge.css b/static/rouge.css index c753d5c..695a9d4 100644 --- a/static/rouge.css +++ b/static/rouge.css @@ -1,3 +1,13 @@ +/* My customizations for code blocks */ + +pre:has(code) { + margin-bottom: 1rem !important; + padding: 1rem; + border-radius: 10px; +} + +/* End */ + .highlight table td { padding: 5px; }