mirror of
https://github.com/jlengrand/moderne-docs.git
synced 2026-03-10 08:31:21 +00:00
Sidebar tweaks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user