Skip to content

Commit 0fec095

Browse files
committed
Reduce spacing of sidebar
1 parent 148574a commit 0fec095

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

src/css/custom.css

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
--ifm-heading-font-weight: 400;
3939
--ifm-heading-line-height: 1;
4040
--ifm-heading-color: #041834;
41-
--ifm-font-weight-bold: 500;
41+
--ifm-font-weight-bold: 600;
4242
--ifm-footer-padding-vertical: 2.375rem;
4343
--ifm-footer-background-color: transparent;
4444
--ifm-breadcrumb-separator: url("data:image/svg+xml, %3Csvg%20width=%228%22%20height=%2213%22%20viewBox=%220%200%208%2013%22%20fill=%22none%22%20xmlns=%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d=%22M1%2012L7%206.5L1%201%22%20stroke=%22%23415067%22%20stroke-width=%221.25%22%2F%3E%0A%3C%2Fsvg%3E%0A");
@@ -120,43 +120,21 @@ figure figcaption {
120120

121121
.navbar .navbar__link {
122122
font-weight: 400;
123-
font-size: 1.125rem;
124123
}
125124
.navbar .navbar__link svg {
126125
display: none;
127126
}
128127

129128
.theme-doc-sidebar-menu {
130-
font-size: 1.125rem;
129+
font-size: 1rem;
131130
font-weight: 400;
132131
}
133132

134-
.theme-doc-sidebar-menu > .theme-doc-sidebar-item-link:first-child {
135-
margin-top: 1.5rem;
136-
}
137-
138133
.theme-doc-sidebar-item-link > strong {
139134
text-transform: uppercase;
140135
color: var(--ifm-heading-color);
141136
}
142137

143-
.theme-doc-sidebar-item-link + .theme-doc-sidebar-item-category {
144-
margin-top: 2rem;
145-
}
146-
147-
.theme-doc-sidebar-menu .menu__list-item:not(:first-child) {
148-
margin-top: 0.75rem;
149-
}
150-
151-
.theme-doc-sidebar-menu .menu__list-item[class*=menuHtmlItem_] {
152-
margin-block: 1rem;
153-
font-size: 1rem;
154-
}
155-
156-
.theme-doc-sidebar-menu .menu__list-item[class*=menuHtmlItem_]:not(:nth-child(2)) {
157-
margin-top: 2.5rem;
158-
}
159-
160138
.theme-doc-sidebar-menu .menu__caret:before {
161139
background-image: url("data:image/svg+xml, %3Csvg%20width=%228%22%20height=%2213%22%20viewBox=%220%200%208%2013%22%20fill=%22none%22%20xmlns=%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d=%22M1%2012L7%206.5L1%201%22%20stroke=%22%23415067%22%20stroke-width=%221.25%22%2F%3E%0A%3C%2Fsvg%3E%0A");
162140
background-repeat: no-repeat;

0 commit comments

Comments
 (0)