Skip to content

Commit 44bf96e

Browse files
style: mode compact doc and move nav tweak do custom style root
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 7383c04 commit 44bf96e

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

src/css/docusaurus.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,22 @@
33
--ifm-global-shadow-lw: none;
44
--ifm-tabs-padding-vertical: 0.25rem;
55
--ifm-tabs-color-active: #ff5df9;
6+
--ifm-menu-link-padding-vertical: 0.3rem;
7+
--ifm-toc-padding-vertical: 0.3rem;
8+
9+
&[data-theme] {
10+
--doc-sidebar-width: 16vw;
11+
}
612

713
&[data-theme="dark"] {
814
--ifm-hover-overlay: rgba(255, 255, 255, 0.1);
915
}
1016
}
1117

18+
nav {
19+
font-size: var(--font-size-navbar);
20+
}
21+
1222
.container {
1323
@media (min-width: 1440px) {
1424
max-width: 1640px;
@@ -146,3 +156,7 @@ table {
146156
.dropdown__menu {
147157
border: 1px solid var(--ifm-toc-border-color);
148158
}
159+
160+
.menu__caret:before {
161+
background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem;
162+
}

src/css/search.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
nav {
2-
font-size: var(--font-size-navbar);
3-
42
div[class*="navbarSearchContainer"] {
53
padding-left: 4px;
64
}

0 commit comments

Comments
 (0)