From db9ce4e4bc0038ed1e21b0617e251e6a5a5d3c5b Mon Sep 17 00:00:00 2001 From: CactiChameleon9 <51231053+CactiChameleon9@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:46:20 +0100 Subject: [PATCH] Improve list spacing and add varying ol --- templates/_style.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/templates/_style.html b/templates/_style.html index 30e0e0c..85dfcef 100644 --- a/templates/_style.html +++ b/templates/_style.html @@ -136,19 +136,28 @@ li ul, ul li, ul ul { - margin: 0 0 0.2em 0; + margin: 0.1em 0 0.1em 0; } ul { padding: 0 0 0 2em; list-style-type: '- '; - margin: -1em 0 1.2em 0; + margin: -0.8em 0 1.2em 0; } li { - margin: -1em 0 1.2em 0; + margin: -0.8em 0 1.2em 0; } + /* 1-a-i-A-I-1 */ + ol {list-style-type: decimal;} + ol ol { list-style-type: lower-alpha;} + ol ol ol { list-style-type: lower-roman;} + ol ol ol ol { list-style-type: upper-alpha;} + ol ol ol ol ol { list-style-type: upper-roman;} + ol ol ol ol ol ol { list-style-type: decimal;} + + small { font-size: 14px; }