From cb3d538a54e1603cc168ccf9a9e7854dba0abd71 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 18 Nov 2023 11:16:11 -0800 Subject: [PATCH] Table of contents styling and spacing --- assets/styles/root/002_layout.css | 8 ++++++++ assets/styles/root/050_typography.css | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/assets/styles/root/002_layout.css b/assets/styles/root/002_layout.css index 7f4288c..a21fa6a 100644 --- a/assets/styles/root/002_layout.css +++ b/assets/styles/root/002_layout.css @@ -77,6 +77,10 @@ } @layer layout { + aside#table-of-contents { + grid-column: content-start / content-end; + } + blockquote { --line-width: 4px; @@ -106,6 +110,10 @@ padding: var(--body-item-spacing); } + details > summary + #TableOfContents { + margin-top: 1rem; + } + fieldset { box-sizing: border-box; padding: var(--body-item-spacing); diff --git a/assets/styles/root/050_typography.css b/assets/styles/root/050_typography.css index 2121d0a..aba2e1d 100644 --- a/assets/styles/root/050_typography.css +++ b/assets/styles/root/050_typography.css @@ -171,6 +171,10 @@ white-space: pre; } + #TableOfContents ul { + list-style-type: none; + } + .social { letter-spacing: 2px; }