From 239e37b7d8c3a9fdf4d465f91bd7df727c53cdb5 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 4 Sep 2021 09:57:28 +0200 Subject: 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. --- sass/style.sass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-2-gb3c3