From 3fc2bcbbd0ddf775edc3a472ad6c26e706b4280b Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Sun, 11 Jul 2021 04:58:16 +0100 Subject: [PATCH] Add left indent for definition lists Use padding to make the lists stand out from surrounding text. --- assets/scss/_custom.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss index 8047d4025b..0d16e16d29 100644 --- a/assets/scss/_custom.scss +++ b/assets/scss/_custom.scss @@ -721,3 +721,13 @@ figure { } } } + +// Indent definition lists +dl { + padding-left: 1.5em; + + // Add vertical space before definitions + > *:not(dt) + dt, dt:first-child { + margin-top: 1.5em; + } +}