Skip to content

Commit a6df3e7

Browse files
committed
docs: styling
1 parent b36ce39 commit a6df3e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docusaurus/src/css/custom.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
--ifm-color-primary-light: #91c9f9;
2222
--ifm-color-primary-lighter: #bcf7fc;
2323
--ifm-color-primary-lightest: #e9fff8;
24+
--ifm-font-base-color: rgb(50, 67, 93);
25+
--ifm-tabs-color: var(--ifm-font-base-color);
2426
--color-highlight: #d73300;
2527
--ifm-color-warning-ultralight: #fdfbed;
2628
--ifm-line-height-base: 1.6;
@@ -43,6 +45,14 @@
4345
--ifm-badge-padding-horizontal: 0.5rem;
4446
--ifm-badge-padding-vertical: 0.4rem;
4547
--ifm-footer-link-hover-color: inherit;
48+
--ifm-global-shadow-md: none;
49+
}
50+
51+
@media (max-width: 400px) {
52+
:root {
53+
--ifm-spacing-horizontal: 1rem;
54+
--ifm-font-size-base: 16px;
55+
}
4656
}
4757

4858
html[data-theme='dark'] {
@@ -169,6 +179,10 @@ a.footnote-ref {
169179
text-decoration: underline;
170180
}
171181

182+
.prism-code {
183+
border-radius: 4px;
184+
}
185+
172186
.prism-code .token-line {
173187
opacity: 0.1;
174188
transition: opacity 350ms ease 350ms;

0 commit comments

Comments
 (0)