|
1 | 1 | #content-area {
|
| 2 | + --font-mono: var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* via Mintlify theme */ |
| 3 | + |
2 | 4 | h5 {
|
3 | 5 | font-weight: 500;
|
4 | 6 | }
|
|
16 | 18 | min-width: 800px;
|
17 | 19 | }
|
18 | 20 |
|
| 21 | + |
19 | 22 | /*** Add automatic section numbers to headings and table of contents items ***/
|
20 | 23 |
|
21 | 24 | #enable-section-numbers {
|
@@ -84,3 +87,107 @@ body:has(#enable-section-numbers) {
|
84 | 87 | "." counter(h5-counter) "." counter(h6-counter) " ";
|
85 | 88 | }
|
86 | 89 | }
|
| 90 | + |
| 91 | + |
| 92 | +/*** Page: schema reference ***/ |
| 93 | + |
| 94 | +#schema-reference { |
| 95 | + display: none; |
| 96 | +} |
| 97 | + |
| 98 | +body:has(#schema-reference) { |
| 99 | + .tsd-comment { |
| 100 | + :is(p, ul, ol):first-child { |
| 101 | + margin-top: 0; |
| 102 | + } |
| 103 | + |
| 104 | + :is(p, ul, ol):last-child { |
| 105 | + margin-bottom: 0; |
| 106 | + } |
| 107 | + } |
| 108 | + |
| 109 | + .tsd-signature { |
| 110 | + font-family: var(--font-mono); |
| 111 | + font-size: 0.875rem; |
| 112 | + line-height: 1.5rem; |
| 113 | + |
| 114 | + /* Based on code blocks rendered by Mintlify **on the production site**. */ |
| 115 | + margin: 1.25rem 0; |
| 116 | + border: 1px solid; |
| 117 | + border-color: light-dark(rgb(var(--gray-950)/.1), rgba(255, 255, 255, 0.1)); |
| 118 | + border-radius: 1rem; |
| 119 | + padding: 1rem 0.875rem; |
| 120 | + |
| 121 | + a { |
| 122 | + font-weight: normal; |
| 123 | + border-bottom: none; |
| 124 | + text-decoration: underline; |
| 125 | + |
| 126 | + &:hover { |
| 127 | + text-decoration-thickness: 2px; |
| 128 | + } |
| 129 | + } |
| 130 | + |
| 131 | + a[href="#"] { |
| 132 | + pointer-events: none; |
| 133 | + color: inherit; |
| 134 | + text-decoration: none; |
| 135 | + } |
| 136 | + |
| 137 | + .tsd-signature-keyword { |
| 138 | + color: light-dark(rgb(207, 34, 46), #9CDCFE); |
| 139 | + } |
| 140 | + |
| 141 | + :is(.tsd-kind-interface, .tsd-kind-type-alias):not(.tsd-signature-type) { |
| 142 | + color: light-dark(rgb(149, 56, 0), #4EC9B0); |
| 143 | + } |
| 144 | + |
| 145 | + .tsd-signature-type:not(.tsd-kind-interface, .tsd-kind-type-alias) { |
| 146 | + color: light-dark(rgb(5, 80, 174), #DCDCAA); |
| 147 | + } |
| 148 | + } |
| 149 | + |
| 150 | + .tsd-member { |
| 151 | + margin: 1.25rem 0; |
| 152 | + |
| 153 | + [data-typedoc-h="3"] { |
| 154 | + margin: 0.5rem 0; |
| 155 | + |
| 156 | + font-family: var(--font-mono); |
| 157 | + font-weight: 700; |
| 158 | + |
| 159 | + scroll-margin-top: 5rem; |
| 160 | + } |
| 161 | + |
| 162 | + & > .tsd-comment { |
| 163 | + margin-left: 1.25rem; |
| 164 | + } |
| 165 | + |
| 166 | + .tsd-type-declaration { |
| 167 | + [data-typedoc-h="4"] { |
| 168 | + display: none; |
| 169 | + } |
| 170 | + |
| 171 | + [data-typedoc-h="4"] + ul { |
| 172 | + margin-top: 0; |
| 173 | + } |
| 174 | + |
| 175 | + [data-typedoc-h="5"] { |
| 176 | + font-family: var(--font-mono); |
| 177 | + font-size: 0.875rem; |
| 178 | + font-weight: 500; |
| 179 | + |
| 180 | + width: fit-content; |
| 181 | + padding: 0.125em 0.5em; |
| 182 | + background-color: light-dark(rgb(var(--gray-100)/.5), rgb(255 255 255/.05)); |
| 183 | + } |
| 184 | + } |
| 185 | + |
| 186 | + .tsd-anchor-icon, |
| 187 | + .tsd-tag, |
| 188 | + .tsd-signature, |
| 189 | + .tsd-sources { |
| 190 | + display: none; |
| 191 | + } |
| 192 | + } |
| 193 | +} |
0 commit comments