From d32ad9bca3734f2835d09caaec00a591671ef635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 20 Oct 2020 19:13:19 +0200 Subject: [PATCH] code/pre styling --- templates/main.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/templates/main.css b/templates/main.css index a0a1f22..bf74678 100644 --- a/templates/main.css +++ b/templates/main.css @@ -95,3 +95,17 @@ aside footer a { main footer { text-align: right; } + +pre, code { + background: rgb(248, 248, 252); +} + +code { + padding: .05em; +} + +pre { + padding: 1em; + overflow-x: auto; + word-wrap: normal; +} \ No newline at end of file