Skip to content

Commit 38da6f5

Browse files
committed
Inter + sidebar adjustments
1 parent ec1f6b9 commit 38da6f5

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

docusaurus/src/css/custom.css

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@
1818
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1919

2020
/* custom overides from codacy*/
21-
--ifm-font-family-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
22-
}
21+
--ifm-font-family-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
22+
--ifm-toc-border-color: var(--ifm-color-emphasis-200);
2323

24-
/* Keep swizzled SVG icons aligned with text and sized consistently. */
25-
.navbar__item svg,
26-
.footer__link-item svg {
27-
vertical-align: -0.125em;
24+
/* overriding the arrow in the sidebar */
25+
--ifm-menu-link-sublist-icon: url("data:image/svg+xml;utf8,<svg viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M21.5397 17.5397C20.9261 18.1534 19.9311 18.1534 19.3174 17.5397L11 9.22234L2.6826 17.5397C2.06892 18.1534 1.07394 18.1534 0.460263 17.5397C-0.153418 16.9261 -0.153418 15.9311 0.460263 15.3174L9.88883 5.88883C10.5025 5.27515 11.4975 5.27515 12.1112 5.88883L21.5397 15.3174C22.1534 15.9311 22.1534 16.9261 21.5397 17.5397Z' fill='%237689AD'/></svg>");
2826
}
2927

3028
/* For readability concerns, you should choose a lighter palette in dark mode. */
@@ -37,12 +35,28 @@
3735
--ifm-color-primary-lighter: #32d8b4;
3836
--ifm-color-primary-lightest: #4fddbf;
3937
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
38+
39+
--ifm-toc-border-color: var(--ifm-color-empaphis-200);
4040
}
4141

4242
.table-of-contents__left-border {
4343
border: none;
4444
}
4545

46+
.menu__link--sublist-caret::after {
47+
background: var(--ifm-menu-link-sublist-icon) 50% / 1rem 1rem;
48+
background-repeat: no-repeat;
49+
}
50+
51+
.navbar {
52+
box-shadow: none;
53+
border-bottom: 1px solid var(--ifm-toc-border-color);
54+
}
55+
56+
.menu {
57+
padding: 0.5rem
58+
}
59+
4660
.nav-multistep {
4761
margin: 1rem 0 1.25rem;
4862
padding: 1rem;

0 commit comments

Comments
 (0)