From 2d076e318a763631f3a74ab32eda13687f91bc95 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Aug 2021 22:23:55 +0200 Subject: [PATCH] Add styling for table of contents --- static/src/scss/style.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 8612979..e8a42e8 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -65,3 +65,25 @@ footer { } } } + +#TableOfContents { + font-size: $font-size-base; + + ul { + list-style-type: none; + } + + & > ul { + margin-bottom: 0; + padding-left: $spacer; + + li { + text-indent: -5px; + + &::before { + margin-right: 5px; + content: "-"; + } + } + } +}