Skip to content

Commit ec1f6b9

Browse files
committed
theme: use inter
1 parent 732639c commit ec1f6b9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docusaurus/src/css/custom.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* bundles Infima by default. Infima is a CSS framework designed to
44
* work well for content-centric websites.
55
*/
6+
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
67

78
/* You can override the default Infima variables here. */
89
:root {
@@ -13,8 +14,17 @@
1314
--ifm-color-primary-light: #33925d;
1415
--ifm-color-primary-lighter: #359962;
1516
--ifm-color-primary-lightest: #3cad6e;
16-
--ifm-code-font-size: 95%;
17+
--ifm-font-size-base: 87.5%;
1718
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
19+
20+
/* 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+
}
23+
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;
1828
}
1929

2030
/* For readability concerns, you should choose a lighter palette in dark mode. */
@@ -29,6 +39,10 @@
2939
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3040
}
3141

42+
.table-of-contents__left-border {
43+
border: none;
44+
}
45+
3246
.nav-multistep {
3347
margin: 1rem 0 1.25rem;
3448
padding: 1rem;

0 commit comments

Comments
 (0)