From cac1c55c6f1693cb16308a5ef5f1d481f15cf1c1 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 14 Jul 2021 14:25:18 +0300 Subject: feat: add code-blocks styling --- style.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index 00d7707..1a3ffc4 100644 --- a/style.css +++ b/style.css @@ -61,20 +61,22 @@ code { font-size: 85%; margin: 0; padding: 4px; - background: black; + background: #121212; border-radius: 4px; } pre { margin: 1em 0; overflow: auto; + border: 1px solid rgba(255, 255, 255, 0.12); + padding: 8px 4px; } pre code { - padding: 0; overflow: visible; } .sourceCode { - background-color: transparent; - overflow: visible; + background-color: transparent; + overflow: visible; + border-radius: 4px; } hr { background-color: #1a1a1a; -- cgit v1.2.3