From 011a5ace7a7f22fb8ab5ee8ab73d1807e7d56311 Mon Sep 17 00:00:00 2001 From: Matt Vanderpol Date: Tue, 17 Dec 2024 14:42:43 -0800 Subject: [PATCH] Sidebar tweaks --- src/css/custom.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/css/custom.css b/src/css/custom.css index 4719f312..0329739e 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -54,6 +54,11 @@ --ifm-section-divider-color: rgba(4, 24, 52, 0.3); } +/* Use selector for specificity */ +html.docs-wrapper { + --doc-sidebar-width: 370px; +} + /* Use selector for specificity */ html[data-theme=light] { --docsearch-searchbox-background: #fff; @@ -113,6 +118,7 @@ figure figcaption { .theme-doc-sidebar-menu { font-size: 1.125rem; + font-weight: 400; } .theme-doc-sidebar-menu > .theme-doc-sidebar-item-link:first-child { @@ -129,7 +135,7 @@ figure figcaption { } .theme-doc-sidebar-menu .menu__list-item:not(:first-child) { - margin-top: 0.75rem; + margin-top: 1rem; } .theme-doc-sidebar-menu .menu__caret:before { @@ -349,6 +355,7 @@ html[data-theme='dark'] .footer .footer__bottom::before { .menu[class*=menu_] { padding-left: 1.75rem; + padding-right: 2rem; } .theme-doc-sidebar-container {