From 8bd4b4c8d3a28cba220297b7686128781ea6b3af Mon Sep 17 00:00:00 2001 From: Julio Estrada Date: Wed, 25 Sep 2024 22:46:30 -0400 Subject: [PATCH] adjust Antora TOC - add gap between article and TOC - refine padding on TOC links - move current-page nav icon further left Addresses boostorg/website-v2-docs#317 --- boostlook.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/boostlook.css b/boostlook.css index 2eae2ad..10f1ac6 100644 --- a/boostlook.css +++ b/boostlook.css @@ -548,7 +548,7 @@ html.toc-hidden .boostlook:not(:has(.doc)) { top: 38%; width: 16px; height: 16px; - margin-left: -1rem; + margin-left: -1.25rem; background-image: var(--bl-caret-svg); background-repeat: no-repeat; background-position: center center; @@ -570,4 +570,15 @@ html.toc-hidden .boostlook:not(:has(.doc)) { border-color: var(--bl-code-border-color); } +/* Layout */ +.boostlook .article .content { + gap: 1rem; +} + +/* Table of Contents */ +.boostlook .toc .toc-menu a { + border-left: 0; + padding: .25rem 0 0 0; +} + /*----------------- Styles specific to Antora Templates end -----------------*/ \ No newline at end of file