Sidebar tweaks

This commit is contained in:
Matt Vanderpol
2024-12-17 14:42:43 -08:00
parent b9db206525
commit 7854b28b02

View File

@@ -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 {