summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2021-09-04 09:57:28 +0200
committerWolfgang Müller2021-09-04 09:57:28 +0200
commit239e37b7d8c3a9fdf4d465f91bd7df727c53cdb5 (patch)
treebb775f8d2f7cf95d3f22701a1699d3383427e27b
parent6ae65265b707f73a573a2da8918f02117eaa3120 (diff)
downloadzunzuncito-239e37b7d8c3a9fdf4d465f91bd7df727c53cdb5.tar.gz
sass: Draw a border around pre
Instead of just indenting the pre block, it is more visually pleasing and clear to draw a border around it. That way, code blocks are clearly delineated from text.
-rw-r--r--sass/style.sass4
1 files changed, 3 insertions, 1 deletions
diff --git a/sass/style.sass b/sass/style.sass
index f914171..3c0ef83 100644
--- a/sass/style.sass
+++ b/sass/style.sass
@@ -71,7 +71,9 @@ h2.title
@include spacer
pre
- margin-left: 1rem
+ border: 1px solid var(--border-color-light)
+ box-shadow: 0px 0px 2px var(--border-color-light)
+ padding: .5em
overflow: auto
code