|
28 | 28 | --ifm-color-primary-lightest: #4fddbf; |
29 | 29 | --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); |
30 | 30 | } |
| 31 | + |
31 | 32 | html[data-theme="light"] body { |
32 | 33 | color: #221f1c; |
33 | 34 | } |
| 35 | + |
34 | 36 | html[data-theme="light"] footer.footer { |
35 | 37 | background-color: #fcf4e4; |
36 | 38 | } |
| 39 | + |
37 | 40 | html[data-theme="light"] nav.navbar--fixed-top { |
38 | 41 | background-color: #fcf4e4; |
39 | 42 | } |
| 43 | + |
40 | 44 | html[data-theme="light"] header.heroBanner_src-pages-index-module { |
41 | 45 | background-color: #9bdcfb; |
42 | 46 | color: #221f1c; |
@@ -64,6 +68,10 @@ html[data-theme="light"] header.heroBanner_src-pages-index-module { |
64 | 68 | vertical-align: middle; |
65 | 69 | } |
66 | 70 |
|
| 71 | +.scalar-api-reference .badge { |
| 72 | + text-transform: unset; |
| 73 | +} |
| 74 | + |
67 | 75 | .badge--web { |
68 | 76 | background-color: #3578e5; |
69 | 77 | color: white; |
@@ -114,3 +122,28 @@ extra spacing keeps it from overlapping with cookies button */ |
114 | 122 | } |
115 | 123 |
|
116 | 124 | @import url("./_shiki.css"); |
| 125 | + |
| 126 | +/* Align the Scalar API reference typography with the rest of the docs. */ |
| 127 | +:root { |
| 128 | + --scalar-font-size-1: var(--ifm-h3-font-size); |
| 129 | + --scalar-font-size-2: var(--ifm-h4-font-size); |
| 130 | + --scalar-font-size-3: 0.9375rem; |
| 131 | + --scalar-font-size-4: 0.9rem; |
| 132 | + --scalar-font-size-5: 0.85rem; |
| 133 | + --scalar-font-size-6: 0.8rem; |
| 134 | + --scalar-font-size-7: 0.75rem; |
| 135 | + |
| 136 | + --scalar-paragraph: 0.9375rem; |
| 137 | + --scalar-small: 0.9rem; |
| 138 | + --scalar-mini: 0.75rem; |
| 139 | + |
| 140 | + --scalar-heading-1: var(--ifm-h1-font-size); |
| 141 | + --scalar-heading-2: var(--ifm-h2-font-size); |
| 142 | + --scalar-heading-3: var(--ifm-h3-font-size); |
| 143 | + --scalar-heading-4: var(--ifm-h4-font-size); |
| 144 | + --scalar-heading-5: var(--ifm-h5-font-size); |
| 145 | + --scalar-heading-6: var(--ifm-h6-font-size); |
| 146 | + |
| 147 | + --scalar-font: var(--ifm-font-family-base); |
| 148 | + --scalar-font-code: var(--ifm-font-family-monospace); |
| 149 | +} |
0 commit comments