From 3bc840e3c25b0f888a275caf5ff158f3c1209772 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 8 Jun 2020 15:04:12 +0100 Subject: [PATCH] Updating TOC --- data/panaetius-theme/assets.json | 2 +- layouts/post/single.html | 2 +- src/scss/toc.scss | 16 +++++++++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/data/panaetius-theme/assets.json b/data/panaetius-theme/assets.json index c9b275a..41c7668 100644 --- a/data/panaetius-theme/assets.json +++ b/data/panaetius-theme/assets.json @@ -9,7 +9,7 @@ "js": "2.lazyload.1168fc21175de558d316.min.js" }, "main": { - "css": "main.793c393487568a4fd1c3.min.css", + "css": "main.8722ce3e6e2f5196027f.min.css", "js": "main.de04e43a25a1ed226095.min.js" }, "vendors~app": { diff --git a/layouts/post/single.html b/layouts/post/single.html index 1938c7d..0845bca 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -63,7 +63,7 @@
diff --git a/src/scss/toc.scss b/src/scss/toc.scss index 6473eb3..423fd4d 100644 --- a/src/scss/toc.scss +++ b/src/scss/toc.scss @@ -7,9 +7,23 @@ div.toc-sidebar { padding-top: 500%; padding-bottom: 500%; margin-right: 5%; + font-size: 0.9em; + + & ul { + // margin-left: -40px; + } & li { list-style: none; - padding-bottom: 5px; + // margin-left: -38px; + padding-bottom: 10px; + } +} + +#TableOfContents > ul { + margin-left: -40px; + + & > li ul { + margin-left: -15px; } }