diff options
author | Wolfgang Müller | 2021-09-04 09:57:28 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-09-04 09:57:28 +0200 |
commit | 239e37b7d8c3a9fdf4d465f91bd7df727c53cdb5 (patch) | |
tree | bb775f8d2f7cf95d3f22701a1699d3383427e27b | |
parent | 6ae65265b707f73a573a2da8918f02117eaa3120 (diff) | |
download | zunzuncito-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.sass | 4 |
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 |