chore: generate documentation
[poolifier.git] / docs / assets / style.css
1 :root {
2 /* Light */
3 --light-color-background: #f2f4f8;
4 --light-color-background-secondary: #eff0f1;
5 --light-color-warning-text: #222;
6 --light-color-background-warning: #e6e600;
7 --light-color-icon-background: var(--light-color-background);
8 --light-color-accent: #c5c7c9;
9 --light-color-text: #222;
10 --light-color-text-aside: #707070;
11 --light-color-link: #1f70c2;
12
13 --light-color-ts-project: #b111c9;
14 --light-color-ts-module: var(--light-color-ts-project);
15 --light-color-ts-namespace: var(--light-color-ts-project);
16 --light-color-ts-enum: #7e6f15;
17 --light-color-ts-enum-member: var(--light-color-ts-enum);
18 --light-color-ts-variable: #4760ec;
19 --light-color-ts-function: #572be7;
20 --light-color-ts-class: #1f70c2;
21 --light-color-ts-interface: #108024;
22 --light-color-ts-constructor: var(--light-color-ts-class);
23 --light-color-ts-property: var(--light-color-ts-variable);
24 --light-color-ts-method: var(--light-color-ts-function);
25 --light-color-ts-call-signature: var(--light-color-ts-method);
26 --light-color-ts-index-signature: var(--light-color-ts-property);
27 --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
28 --light-color-ts-parameter: var(--light-color-ts-variable);
29 /* type literal not included as links will never be generated to it */
30 --light-color-ts-type-parameter: var(--light-color-ts-type-alias);
31 --light-color-ts-accessor: var(--light-color-ts-property);
32 --light-color-ts-get-signature: var(--light-color-ts-accessor);
33 --light-color-ts-set-signature: var(--light-color-ts-accessor);
34 /* object literal not included as it is not used and will be removed in 0.25 */
35 --light-color-ts-type-alias: #d51270;
36 /* reference not included as links will be colored with the kind that it points to */
37
38 --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
39 --light-color-scheme: light;
40
41 /* Dark */
42 --dark-color-background: #2b2e33;
43 --dark-color-background-secondary: #1e2024;
44 --dark-color-background-warning: #bebe00;
45 --dark-color-warning-text: #222;
46 --dark-color-icon-background: var(--dark-color-background-secondary);
47 --dark-color-accent: #9096a2;
48 --dark-color-text: #f5f5f5;
49 --dark-color-text-aside: #dddddd;
50 --dark-color-link: #00aff4;
51
52 --dark-color-ts-project: #e14dff;
53 --dark-color-ts-module: var(--dark-color-ts-project);
54 --dark-color-ts-namespace: var(--dark-color-ts-project);
55 --dark-color-ts-enum: #f4d93e;
56 --dark-color-ts-enum-member: var(--dark-color-ts-enum);
57 --dark-color-ts-variable: #4d68ff;
58 --dark-color-ts-function: #9772ff;
59 --dark-color-ts-class: #61b0ff;
60 --dark-color-ts-interface: #6cff87;
61 --dark-color-ts-constructor: var(--dark-color-ts-class);
62 --dark-color-ts-property: var(--dark-color-ts-variable);
63 --dark-color-ts-method: var(--dark-color-ts-function);
64 --dark-color-ts-call-signature: var(--dark-color-ts-method);
65 --dark-color-ts-index-signature: var(--dark-color-ts-property);
66 --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
67 --dark-color-ts-parameter: var(--dark-color-ts-variable);
68 /* type literal not included as links will never be generated to it */
69 --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
70 --dark-color-ts-accessor: var(--dark-color-ts-property);
71 --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
72 --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
73 /* object literal not included as it is not used and will be removed in 0.25 */
74 --dark-color-ts-type-alias: #ff6492;
75 /* reference not included as links will be colored with the kind that it points to */
76
77 --dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
78 --dark-color-scheme: dark;
79 }
80
81 @media (prefers-color-scheme: light) {
82 :root {
83 --color-background: var(--light-color-background);
84 --color-background-secondary: var(--light-color-background-secondary);
85 --color-background-warning: var(--light-color-background-warning);
86 --color-warning-text: var(--light-color-warning-text);
87 --color-icon-background: var(--light-color-icon-background);
88 --color-accent: var(--light-color-accent);
89 --color-text: var(--light-color-text);
90 --color-text-aside: var(--light-color-text-aside);
91 --color-link: var(--light-color-link);
92
93 --color-ts-module: var(--light-color-ts-module);
94 --color-ts-namespace: var(--light-color-ts-namespace);
95 --color-ts-enum: var(--light-color-ts-enum);
96 --color-ts-enum-member: var(--light-color-ts-enum-member);
97 --color-ts-variable: var(--light-color-ts-variable);
98 --color-ts-function: var(--light-color-ts-function);
99 --color-ts-class: var(--light-color-ts-class);
100 --color-ts-interface: var(--light-color-ts-interface);
101 --color-ts-constructor: var(--light-color-ts-constructor);
102 --color-ts-property: var(--light-color-ts-property);
103 --color-ts-method: var(--light-color-ts-method);
104 --color-ts-call-signature: var(--light-color-ts-call-signature);
105 --color-ts-index-signature: var(--light-color-ts-index-signature);
106 --color-ts-constructor-signature: var(
107 --light-color-ts-constructor-signature
108 );
109 --color-ts-parameter: var(--light-color-ts-parameter);
110 --color-ts-type-parameter: var(--light-color-ts-type-parameter);
111 --color-ts-accessor: var(--light-color-ts-accessor);
112 --color-ts-get-signature: var(--light-color-ts-get-signature);
113 --color-ts-set-signature: var(--light-color-ts-set-signature);
114 --color-ts-type-alias: var(--light-color-ts-type-alias);
115
116 --external-icon: var(--light-external-icon);
117 --color-scheme: var(--light-color-scheme);
118 }
119 }
120
121 @media (prefers-color-scheme: dark) {
122 :root {
123 --color-background: var(--dark-color-background);
124 --color-background-secondary: var(--dark-color-background-secondary);
125 --color-background-warning: var(--dark-color-background-warning);
126 --color-warning-text: var(--dark-color-warning-text);
127 --color-icon-background: var(--dark-color-icon-background);
128 --color-accent: var(--dark-color-accent);
129 --color-text: var(--dark-color-text);
130 --color-text-aside: var(--dark-color-text-aside);
131 --color-link: var(--dark-color-link);
132
133 --color-ts-module: var(--dark-color-ts-module);
134 --color-ts-namespace: var(--dark-color-ts-namespace);
135 --color-ts-enum: var(--dark-color-ts-enum);
136 --color-ts-enum-member: var(--dark-color-ts-enum-member);
137 --color-ts-variable: var(--dark-color-ts-variable);
138 --color-ts-function: var(--dark-color-ts-function);
139 --color-ts-class: var(--dark-color-ts-class);
140 --color-ts-interface: var(--dark-color-ts-interface);
141 --color-ts-constructor: var(--dark-color-ts-constructor);
142 --color-ts-property: var(--dark-color-ts-property);
143 --color-ts-method: var(--dark-color-ts-method);
144 --color-ts-call-signature: var(--dark-color-ts-call-signature);
145 --color-ts-index-signature: var(--dark-color-ts-index-signature);
146 --color-ts-constructor-signature: var(
147 --dark-color-ts-constructor-signature
148 );
149 --color-ts-parameter: var(--dark-color-ts-parameter);
150 --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
151 --color-ts-accessor: var(--dark-color-ts-accessor);
152 --color-ts-get-signature: var(--dark-color-ts-get-signature);
153 --color-ts-set-signature: var(--dark-color-ts-set-signature);
154 --color-ts-type-alias: var(--dark-color-ts-type-alias);
155
156 --external-icon: var(--dark-external-icon);
157 --color-scheme: var(--dark-color-scheme);
158 }
159 }
160
161 html {
162 color-scheme: var(--color-scheme);
163 }
164
165 body {
166 margin: 0;
167 }
168
169 :root[data-theme="light"] {
170 --color-background: var(--light-color-background);
171 --color-background-secondary: var(--light-color-background-secondary);
172 --color-background-warning: var(--light-color-background-warning);
173 --color-warning-text: var(--light-color-warning-text);
174 --color-icon-background: var(--light-color-icon-background);
175 --color-accent: var(--light-color-accent);
176 --color-text: var(--light-color-text);
177 --color-text-aside: var(--light-color-text-aside);
178 --color-link: var(--light-color-link);
179
180 --color-ts-module: var(--light-color-ts-module);
181 --color-ts-namespace: var(--light-color-ts-namespace);
182 --color-ts-enum: var(--light-color-ts-enum);
183 --color-ts-enum-member: var(--light-color-ts-enum-member);
184 --color-ts-variable: var(--light-color-ts-variable);
185 --color-ts-function: var(--light-color-ts-function);
186 --color-ts-class: var(--light-color-ts-class);
187 --color-ts-interface: var(--light-color-ts-interface);
188 --color-ts-constructor: var(--light-color-ts-constructor);
189 --color-ts-property: var(--light-color-ts-property);
190 --color-ts-method: var(--light-color-ts-method);
191 --color-ts-call-signature: var(--light-color-ts-call-signature);
192 --color-ts-index-signature: var(--light-color-ts-index-signature);
193 --color-ts-constructor-signature: var(
194 --light-color-ts-constructor-signature
195 );
196 --color-ts-parameter: var(--light-color-ts-parameter);
197 --color-ts-type-parameter: var(--light-color-ts-type-parameter);
198 --color-ts-accessor: var(--light-color-ts-accessor);
199 --color-ts-get-signature: var(--light-color-ts-get-signature);
200 --color-ts-set-signature: var(--light-color-ts-set-signature);
201 --color-ts-type-alias: var(--light-color-ts-type-alias);
202
203 --external-icon: var(--light-external-icon);
204 --color-scheme: var(--light-color-scheme);
205 }
206
207 :root[data-theme="dark"] {
208 --color-background: var(--dark-color-background);
209 --color-background-secondary: var(--dark-color-background-secondary);
210 --color-background-warning: var(--dark-color-background-warning);
211 --color-warning-text: var(--dark-color-warning-text);
212 --color-icon-background: var(--dark-color-icon-background);
213 --color-accent: var(--dark-color-accent);
214 --color-text: var(--dark-color-text);
215 --color-text-aside: var(--dark-color-text-aside);
216 --color-link: var(--dark-color-link);
217
218 --color-ts-module: var(--dark-color-ts-module);
219 --color-ts-namespace: var(--dark-color-ts-namespace);
220 --color-ts-enum: var(--dark-color-ts-enum);
221 --color-ts-enum-member: var(--dark-color-ts-enum-member);
222 --color-ts-variable: var(--dark-color-ts-variable);
223 --color-ts-function: var(--dark-color-ts-function);
224 --color-ts-class: var(--dark-color-ts-class);
225 --color-ts-interface: var(--dark-color-ts-interface);
226 --color-ts-constructor: var(--dark-color-ts-constructor);
227 --color-ts-property: var(--dark-color-ts-property);
228 --color-ts-method: var(--dark-color-ts-method);
229 --color-ts-call-signature: var(--dark-color-ts-call-signature);
230 --color-ts-index-signature: var(--dark-color-ts-index-signature);
231 --color-ts-constructor-signature: var(
232 --dark-color-ts-constructor-signature
233 );
234 --color-ts-parameter: var(--dark-color-ts-parameter);
235 --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
236 --color-ts-accessor: var(--dark-color-ts-accessor);
237 --color-ts-get-signature: var(--dark-color-ts-get-signature);
238 --color-ts-set-signature: var(--dark-color-ts-set-signature);
239 --color-ts-type-alias: var(--dark-color-ts-type-alias);
240
241 --external-icon: var(--dark-external-icon);
242 --color-scheme: var(--dark-color-scheme);
243 }
244
245 .always-visible,
246 .always-visible .tsd-signatures {
247 display: inherit !important;
248 }
249
250 h1,
251 h2,
252 h3,
253 h4,
254 h5,
255 h6 {
256 line-height: 1.2;
257 }
258
259 h1 {
260 font-size: 1.875rem;
261 margin: 0.67rem 0;
262 }
263
264 h2 {
265 font-size: 1.5rem;
266 margin: 0.83rem 0;
267 }
268
269 h3 {
270 font-size: 1.25rem;
271 margin: 1rem 0;
272 }
273
274 h4 {
275 font-size: 1.05rem;
276 margin: 1.33rem 0;
277 }
278
279 h5 {
280 font-size: 1rem;
281 margin: 1.5rem 0;
282 }
283
284 h6 {
285 font-size: 0.875rem;
286 margin: 2.33rem 0;
287 }
288
289 .uppercase {
290 text-transform: uppercase;
291 }
292
293 pre {
294 white-space: pre;
295 white-space: pre-wrap;
296 word-wrap: break-word;
297 }
298
299 dl,
300 menu,
301 ol,
302 ul {
303 margin: 1em 0;
304 }
305
306 dd {
307 margin: 0 0 0 40px;
308 }
309
310 .container {
311 max-width: 1700px;
312 padding: 0 2rem;
313 }
314
315 /* Footer */
316 .tsd-generator {
317 border-top: 1px solid var(--color-accent);
318 padding-top: 1rem;
319 padding-bottom: 1rem;
320 max-height: 3.5rem;
321 }
322
323 .tsd-generator > p {
324 margin-top: 0;
325 margin-bottom: 0;
326 padding: 0 1rem;
327 }
328
329 .container-main {
330 margin: 0 auto;
331 /* toolbar, footer, margin */
332 min-height: calc(100vh - 41px - 56px - 4rem);
333 }
334
335 @keyframes fade-in {
336 from {
337 opacity: 0;
338 }
339 to {
340 opacity: 1;
341 }
342 }
343 @keyframes fade-out {
344 from {
345 opacity: 1;
346 visibility: visible;
347 }
348 to {
349 opacity: 0;
350 }
351 }
352 @keyframes fade-in-delayed {
353 0% {
354 opacity: 0;
355 }
356 33% {
357 opacity: 0;
358 }
359 100% {
360 opacity: 1;
361 }
362 }
363 @keyframes fade-out-delayed {
364 0% {
365 opacity: 1;
366 visibility: visible;
367 }
368 66% {
369 opacity: 0;
370 }
371 100% {
372 opacity: 0;
373 }
374 }
375 @keyframes pop-in-from-right {
376 from {
377 transform: translate(100%, 0);
378 }
379 to {
380 transform: translate(0, 0);
381 }
382 }
383 @keyframes pop-out-to-right {
384 from {
385 transform: translate(0, 0);
386 visibility: visible;
387 }
388 to {
389 transform: translate(100%, 0);
390 }
391 }
392 body {
393 background: var(--color-background);
394 font-family: "Segoe UI", sans-serif;
395 font-size: 16px;
396 color: var(--color-text);
397 }
398
399 a {
400 color: var(--color-link);
401 text-decoration: none;
402 }
403 a:hover {
404 text-decoration: underline;
405 }
406 a.external[target="_blank"] {
407 background-image: var(--external-icon);
408 background-position: top 3px right;
409 background-repeat: no-repeat;
410 padding-right: 13px;
411 }
412
413 code,
414 pre {
415 font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
416 padding: 0.2em;
417 margin: 0;
418 font-size: 0.875rem;
419 border-radius: 0.8em;
420 }
421
422 pre {
423 padding: 10px;
424 border: 0.1em solid var(--color-accent);
425 }
426 pre code {
427 padding: 0;
428 font-size: 100%;
429 }
430
431 blockquote {
432 margin: 1em 0;
433 padding-left: 1em;
434 border-left: 4px solid gray;
435 }
436
437 .tsd-typography {
438 line-height: 1.333em;
439 }
440 .tsd-typography ul {
441 list-style: square;
442 padding: 0 0 0 20px;
443 margin: 0;
444 }
445 .tsd-typography h4,
446 .tsd-typography .tsd-index-panel h3,
447 .tsd-index-panel .tsd-typography h3,
448 .tsd-typography h5,
449 .tsd-typography h6 {
450 font-size: 1em;
451 margin: 0;
452 }
453 .tsd-typography h5,
454 .tsd-typography h6 {
455 font-weight: normal;
456 }
457 .tsd-typography p,
458 .tsd-typography ul,
459 .tsd-typography ol {
460 margin: 1em 0;
461 }
462
463 .tsd-breadcrumb {
464 margin: 0;
465 padding: 0;
466 color: var(--color-text-aside);
467 }
468 .tsd-breadcrumb a {
469 color: var(--color-text-aside);
470 text-decoration: none;
471 }
472 .tsd-breadcrumb a:hover {
473 text-decoration: underline;
474 }
475 .tsd-breadcrumb li {
476 display: inline;
477 }
478 .tsd-breadcrumb li:after {
479 content: " / ";
480 }
481
482 .tsd-comment-tags {
483 display: flex;
484 flex-direction: column;
485 }
486 dl.tsd-comment-tag-group {
487 display: flex;
488 align-items: center;
489 overflow: hidden;
490 margin: 0.5em 0;
491 }
492 dl.tsd-comment-tag-group dt {
493 display: flex;
494 margin-right: 0.5em;
495 font-size: 0.875em;
496 font-weight: normal;
497 }
498 dl.tsd-comment-tag-group dd {
499 margin: 0;
500 }
501 code.tsd-tag {
502 padding: 0.25em 0.4em;
503 border: 0.1em solid var(--color-accent);
504 margin-right: 0.25em;
505 font-size: 70%;
506 }
507 h1 code.tsd-tag:first-of-type {
508 margin-left: 0.25em;
509 }
510
511 dl.tsd-comment-tag-group dd:before,
512 dl.tsd-comment-tag-group dd:after {
513 content: " ";
514 }
515 dl.tsd-comment-tag-group dd pre,
516 dl.tsd-comment-tag-group dd:after {
517 clear: both;
518 }
519 dl.tsd-comment-tag-group p {
520 margin: 0;
521 }
522
523 .tsd-panel.tsd-comment .lead {
524 font-size: 1.1em;
525 line-height: 1.333em;
526 margin-bottom: 2em;
527 }
528 .tsd-panel.tsd-comment .lead:last-child {
529 margin-bottom: 0;
530 }
531
532 .tsd-filter-visibility h4 {
533 font-size: 1rem;
534 padding-top: 0.75rem;
535 padding-bottom: 0.5rem;
536 margin: 0;
537 }
538 .tsd-filter-item:not(:last-child) {
539 margin-bottom: 0.5rem;
540 }
541 .tsd-filter-input {
542 display: flex;
543 width: fit-content;
544 width: -moz-fit-content;
545 align-items: center;
546 user-select: none;
547 -webkit-user-select: none;
548 -moz-user-select: none;
549 -ms-user-select: none;
550 cursor: pointer;
551 }
552 .tsd-filter-input input[type="checkbox"] {
553 cursor: pointer;
554 position: absolute;
555 width: 1.5em;
556 height: 1.5em;
557 opacity: 0;
558 }
559 .tsd-filter-input input[type="checkbox"]:disabled {
560 pointer-events: none;
561 }
562 .tsd-filter-input svg {
563 cursor: pointer;
564 width: 1.5em;
565 height: 1.5em;
566 margin-right: 0.5em;
567 border-radius: 0.33em;
568 /* Leaving this at full opacity breaks event listeners on Firefox.
569 Don't remove unless you know what you're doing. */
570 opacity: 0.99;
571 }
572 .tsd-filter-input input[type="checkbox"]:focus + svg {
573 transform: scale(0.95);
574 }
575 .tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
576 transform: scale(1);
577 }
578 .tsd-checkbox-background {
579 fill: var(--color-accent);
580 }
581 input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
582 stroke: var(--color-text);
583 }
584 .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
585 fill: var(--color-background);
586 stroke: var(--color-accent);
587 stroke-width: 0.25rem;
588 }
589 .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
590 stroke: var(--color-accent);
591 }
592
593 .tsd-theme-toggle {
594 padding-top: 0.75rem;
595 }
596 .tsd-theme-toggle > h4 {
597 display: inline;
598 vertical-align: middle;
599 margin-right: 0.75rem;
600 }
601
602 .tsd-hierarchy {
603 list-style: square;
604 margin: 0;
605 }
606 .tsd-hierarchy .target {
607 font-weight: bold;
608 }
609
610 .tsd-panel-group.tsd-index-group {
611 margin-bottom: 0;
612 }
613 .tsd-index-panel .tsd-index-list {
614 list-style: none;
615 line-height: 1.333em;
616 margin: 0;
617 padding: 0.25rem 0 0 0;
618 overflow: hidden;
619 display: grid;
620 grid-template-columns: repeat(3, 1fr);
621 column-gap: 1rem;
622 grid-template-rows: auto;
623 }
624 @media (max-width: 1024px) {
625 .tsd-index-panel .tsd-index-list {
626 grid-template-columns: repeat(2, 1fr);
627 }
628 }
629 @media (max-width: 768px) {
630 .tsd-index-panel .tsd-index-list {
631 grid-template-columns: repeat(1, 1fr);
632 }
633 }
634 .tsd-index-panel .tsd-index-list li {
635 -webkit-page-break-inside: avoid;
636 -moz-page-break-inside: avoid;
637 -ms-page-break-inside: avoid;
638 -o-page-break-inside: avoid;
639 page-break-inside: avoid;
640 }
641
642 .tsd-flag {
643 display: inline-block;
644 padding: 0.25em 0.4em;
645 border-radius: 4px;
646 color: var(--color-comment-tag-text);
647 background-color: var(--color-comment-tag);
648 text-indent: 0;
649 font-size: 75%;
650 line-height: 1;
651 font-weight: normal;
652 }
653
654 .tsd-anchor {
655 position: relative;
656 top: -100px;
657 }
658
659 .tsd-member {
660 position: relative;
661 }
662 .tsd-member .tsd-anchor + h3 {
663 display: flex;
664 align-items: center;
665 margin-top: 0;
666 margin-bottom: 0;
667 border-bottom: none;
668 }
669
670 .tsd-navigation.settings {
671 margin: 1rem 0;
672 }
673 .tsd-navigation a,
674 .tsd-page-navigation a {
675 display: inline-flex;
676 align-items: center;
677 padding: 0.25rem;
678 color: var(--color-text);
679 text-decoration: none;
680 box-sizing: border-box;
681 }
682 .tsd-navigation a {
683 /* why 3rem? No idea, but it seems to work. */
684 width: calc(100% - 3rem);
685 }
686 .tsd-page-navigation a {
687 /* why is this different? */
688 width: 100%;
689 }
690 .tsd-navigation a.current,
691 .tsd-page-navigation a.current {
692 background: var(--color-accent);
693 }
694 .tsd-navigation a:hover,
695 .tsd-page-navigation a:hover {
696 text-decoration: underline;
697 }
698 .tsd-navigation ul,
699 .tsd-page-navigation ul {
700 margin: 0;
701 padding: 0;
702 list-style: none;
703 }
704 .tsd-navigation li,
705 .tsd-page-navigation li {
706 padding: 0;
707 max-width: 100%;
708 }
709 .tsd-nested-navigation > li > a {
710 margin-left: 3rem;
711 }
712 .tsd-nested-navigation > li > details {
713 margin-left: 1.5rem;
714 }
715 .tsd-small-nested-navigation > li > a {
716 margin-left: 1.5rem;
717 }
718 .tsd-small-nested-navigation > li > details {
719 margin-left: 0;
720 }
721 .tsd-page-navigation ul {
722 padding-left: 1.75rem;
723 }
724
725 #tsd-sidebar-links a {
726 margin-top: 0;
727 margin-bottom: 0.5rem;
728 line-height: 1.25rem;
729 }
730 #tsd-sidebar-links a:last-of-type {
731 margin-bottom: 0;
732 }
733
734 a.tsd-index-link {
735 padding: 0.25rem 0 !important;
736 font-size: 1rem;
737 line-height: 1.25rem;
738 display: inline-flex;
739 align-items: center;
740 }
741 .tsd-accordion-summary,
742 .tsd-accordion-summary a {
743 user-select: none;
744 -moz-user-select: none;
745 -webkit-user-select: none;
746 -ms-user-select: none;
747
748 display: flex;
749 align-items: center;
750 cursor: pointer;
751 }
752 .tsd-accordion-summary > * {
753 margin-top: 0;
754 margin-bottom: 0;
755 padding-top: 0;
756 padding-bottom: 0;
757 }
758 .tsd-accordion-summary::-webkit-details-marker {
759 display: none;
760 }
761 .tsd-index-accordion .tsd-accordion-summary svg {
762 margin-right: 0.25rem;
763 }
764 .tsd-index-content > :not(:first-child) {
765 margin-top: 0.75rem;
766 }
767 .tsd-index-heading {
768 margin-top: 1.5rem;
769 margin-bottom: 0.75rem;
770 }
771
772 .tsd-kind-icon {
773 margin-right: 0.5rem;
774 width: 1.25rem;
775 height: 1.25rem;
776 min-width: 1.25rem;
777 min-height: 1.25rem;
778 }
779 .tsd-kind-icon path {
780 transform-origin: center;
781 transform: scale(1.1);
782 }
783 .tsd-signature > .tsd-kind-icon {
784 margin-right: 0.8rem;
785 }
786
787 .tsd-panel {
788 margin-bottom: 2.5rem;
789 }
790 .tsd-panel.tsd-member {
791 margin-bottom: 4rem;
792 }
793 .tsd-panel:empty {
794 display: none;
795 }
796 .tsd-panel > h1,
797 .tsd-panel > h2,
798 .tsd-panel > h3 {
799 margin: 1.5rem -1.5rem 0.75rem -1.5rem;
800 padding: 0 1.5rem 0.75rem 1.5rem;
801 }
802 .tsd-panel > h1.tsd-before-signature,
803 .tsd-panel > h2.tsd-before-signature,
804 .tsd-panel > h3.tsd-before-signature {
805 margin-bottom: 0;
806 border-bottom: none;
807 }
808
809 .tsd-panel-group {
810 margin: 4rem 0;
811 }
812 .tsd-panel-group.tsd-index-group {
813 margin: 2rem 0;
814 }
815 .tsd-panel-group.tsd-index-group details {
816 margin: 2rem 0;
817 }
818
819 #tsd-search {
820 transition: background-color 0.2s;
821 }
822 #tsd-search .title {
823 position: relative;
824 z-index: 2;
825 }
826 #tsd-search .field {
827 position: absolute;
828 left: 0;
829 top: 0;
830 right: 2.5rem;
831 height: 100%;
832 }
833 #tsd-search .field input {
834 box-sizing: border-box;
835 position: relative;
836 top: -50px;
837 z-index: 1;
838 width: 100%;
839 padding: 0 10px;
840 opacity: 0;
841 outline: 0;
842 border: 0;
843 background: transparent;
844 color: var(--color-text);
845 }
846 #tsd-search .field label {
847 position: absolute;
848 overflow: hidden;
849 right: -40px;
850 }
851 #tsd-search .field input,
852 #tsd-search .title,
853 #tsd-toolbar-links a {
854 transition: opacity 0.2s;
855 }
856 #tsd-search .results {
857 position: absolute;
858 visibility: hidden;
859 top: 40px;
860 width: 100%;
861 margin: 0;
862 padding: 0;
863 list-style: none;
864 box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
865 }
866 #tsd-search .results li {
867 padding: 0 10px;
868 background-color: var(--color-background);
869 }
870 #tsd-search .results li:nth-child(even) {
871 background-color: var(--color-background-secondary);
872 }
873 #tsd-search .results li.state {
874 display: none;
875 }
876 #tsd-search .results li.current,
877 #tsd-search .results li:hover {
878 background-color: var(--color-accent);
879 }
880 #tsd-search .results a {
881 display: block;
882 }
883 #tsd-search .results a:before {
884 top: 10px;
885 }
886 #tsd-search .results span.parent {
887 color: var(--color-text-aside);
888 font-weight: normal;
889 }
890 #tsd-search.has-focus {
891 background-color: var(--color-accent);
892 }
893 #tsd-search.has-focus .field input {
894 top: 0;
895 opacity: 1;
896 }
897 #tsd-search.has-focus .title,
898 #tsd-search.has-focus #tsd-toolbar-links a {
899 z-index: 0;
900 opacity: 0;
901 }
902 #tsd-search.has-focus .results {
903 visibility: visible;
904 }
905 #tsd-search.loading .results li.state.loading {
906 display: block;
907 }
908 #tsd-search.failure .results li.state.failure {
909 display: block;
910 }
911
912 #tsd-toolbar-links {
913 position: absolute;
914 top: 0;
915 right: 2rem;
916 height: 100%;
917 display: flex;
918 align-items: center;
919 justify-content: flex-end;
920 }
921 #tsd-toolbar-links a {
922 margin-left: 1.5rem;
923 }
924 #tsd-toolbar-links a:hover {
925 text-decoration: underline;
926 }
927
928 .tsd-signature {
929 margin: 0 0 1rem 0;
930 padding: 1rem 0.5rem;
931 border: 1px solid var(--color-accent);
932 font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
933 font-size: 14px;
934 overflow-x: auto;
935 }
936
937 .tsd-signature-symbol {
938 color: var(--color-text-aside);
939 font-weight: normal;
940 }
941
942 .tsd-signature-type {
943 font-style: italic;
944 font-weight: normal;
945 }
946
947 .tsd-signatures {
948 padding: 0;
949 margin: 0 0 1em 0;
950 list-style-type: none;
951 }
952 .tsd-signatures .tsd-signature {
953 margin: 0;
954 border-color: var(--color-accent);
955 border-width: 1px 0;
956 transition: background-color 0.1s;
957 }
958 .tsd-description .tsd-signatures .tsd-signature {
959 border-width: 1px;
960 }
961
962 ul.tsd-parameter-list,
963 ul.tsd-type-parameter-list {
964 list-style: square;
965 margin: 0;
966 padding-left: 20px;
967 }
968 ul.tsd-parameter-list > li.tsd-parameter-signature,
969 ul.tsd-type-parameter-list > li.tsd-parameter-signature {
970 list-style: none;
971 margin-left: -20px;
972 }
973 ul.tsd-parameter-list h5,
974 ul.tsd-type-parameter-list h5 {
975 font-size: 16px;
976 margin: 1em 0 0.5em 0;
977 }
978 .tsd-sources {
979 margin-top: 1rem;
980 font-size: 0.875em;
981 }
982 .tsd-sources a {
983 color: var(--color-text-aside);
984 text-decoration: underline;
985 }
986 .tsd-sources ul {
987 list-style: none;
988 padding: 0;
989 }
990
991 .tsd-page-toolbar {
992 position: sticky;
993 z-index: 1;
994 top: 0;
995 left: 0;
996 width: 100%;
997 color: var(--color-text);
998 background: var(--color-background-secondary);
999 border-bottom: 1px var(--color-accent) solid;
1000 transition: transform 0.3s ease-in-out;
1001 }
1002 .tsd-page-toolbar a {
1003 color: var(--color-text);
1004 text-decoration: none;
1005 }
1006 .tsd-page-toolbar a.title {
1007 font-weight: bold;
1008 }
1009 .tsd-page-toolbar a.title:hover {
1010 text-decoration: underline;
1011 }
1012 .tsd-page-toolbar .tsd-toolbar-contents {
1013 display: flex;
1014 justify-content: space-between;
1015 height: 2.5rem;
1016 margin: 0 auto;
1017 }
1018 .tsd-page-toolbar .table-cell {
1019 position: relative;
1020 white-space: nowrap;
1021 line-height: 40px;
1022 }
1023 .tsd-page-toolbar .table-cell:first-child {
1024 width: 100%;
1025 }
1026 .tsd-page-toolbar .tsd-toolbar-icon {
1027 box-sizing: border-box;
1028 line-height: 0;
1029 padding: 12px 0;
1030 }
1031
1032 .tsd-widget {
1033 display: inline-block;
1034 overflow: hidden;
1035 opacity: 0.8;
1036 height: 40px;
1037 transition: opacity 0.1s, background-color 0.2s;
1038 vertical-align: bottom;
1039 cursor: pointer;
1040 }
1041 .tsd-widget:hover {
1042 opacity: 0.9;
1043 }
1044 .tsd-widget.active {
1045 opacity: 1;
1046 background-color: var(--color-accent);
1047 }
1048 .tsd-widget.no-caption {
1049 width: 40px;
1050 }
1051 .tsd-widget.no-caption:before {
1052 margin: 0;
1053 }
1054
1055 .tsd-widget.options,
1056 .tsd-widget.menu {
1057 display: none;
1058 }
1059 input[type="checkbox"] + .tsd-widget:before {
1060 background-position: -120px 0;
1061 }
1062 input[type="checkbox"]:checked + .tsd-widget:before {
1063 background-position: -160px 0;
1064 }
1065
1066 img {
1067 max-width: 100%;
1068 }
1069
1070 .tsd-anchor-icon {
1071 display: inline-flex;
1072 align-items: center;
1073 margin-left: 0.5rem;
1074 vertical-align: middle;
1075 color: var(--color-text);
1076 }
1077
1078 .tsd-anchor-icon svg {
1079 width: 1em;
1080 height: 1em;
1081 visibility: hidden;
1082 }
1083
1084 .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1085 visibility: visible;
1086 }
1087
1088 .deprecated {
1089 text-decoration: line-through;
1090 }
1091
1092 .warning {
1093 padding: 1rem;
1094 color: var(--color-warning-text);
1095 background: var(--color-background-warning);
1096 }
1097
1098 .tsd-kind-project {
1099 color: var(--color-ts-project);
1100 }
1101 .tsd-kind-module {
1102 color: var(--color-ts-module);
1103 }
1104 .tsd-kind-namespace {
1105 color: var(--color-ts-namespace);
1106 }
1107 .tsd-kind-enum {
1108 color: var(--color-ts-enum);
1109 }
1110 .tsd-kind-enum-member {
1111 color: var(--color-ts-enum-member);
1112 }
1113 .tsd-kind-variable {
1114 color: var(--color-ts-variable);
1115 }
1116 .tsd-kind-function {
1117 color: var(--color-ts-function);
1118 }
1119 .tsd-kind-class {
1120 color: var(--color-ts-class);
1121 }
1122 .tsd-kind-interface {
1123 color: var(--color-ts-interface);
1124 }
1125 .tsd-kind-constructor {
1126 color: var(--color-ts-constructor);
1127 }
1128 .tsd-kind-property {
1129 color: var(--color-ts-property);
1130 }
1131 .tsd-kind-method {
1132 color: var(--color-ts-method);
1133 }
1134 .tsd-kind-call-signature {
1135 color: var(--color-ts-call-signature);
1136 }
1137 .tsd-kind-index-signature {
1138 color: var(--color-ts-index-signature);
1139 }
1140 .tsd-kind-constructor-signature {
1141 color: var(--color-ts-constructor-signature);
1142 }
1143 .tsd-kind-parameter {
1144 color: var(--color-ts-parameter);
1145 }
1146 .tsd-kind-type-literal {
1147 color: var(--color-ts-type-literal);
1148 }
1149 .tsd-kind-type-parameter {
1150 color: var(--color-ts-type-parameter);
1151 }
1152 .tsd-kind-accessor {
1153 color: var(--color-ts-accessor);
1154 }
1155 .tsd-kind-get-signature {
1156 color: var(--color-ts-get-signature);
1157 }
1158 .tsd-kind-set-signature {
1159 color: var(--color-ts-set-signature);
1160 }
1161 .tsd-kind-type-alias {
1162 color: var(--color-ts-type-alias);
1163 }
1164
1165 /* if we have a kind icon, don't color the text by kind */
1166 .tsd-kind-icon ~ span {
1167 color: var(--color-text);
1168 }
1169
1170 * {
1171 scrollbar-width: thin;
1172 scrollbar-color: var(--color-accent) var(--color-icon-background);
1173 }
1174
1175 *::-webkit-scrollbar {
1176 width: 0.75rem;
1177 }
1178
1179 *::-webkit-scrollbar-track {
1180 background: var(--color-icon-background);
1181 }
1182
1183 *::-webkit-scrollbar-thumb {
1184 background-color: var(--color-accent);
1185 border-radius: 999rem;
1186 border: 0.25rem solid var(--color-icon-background);
1187 }
1188
1189 /* mobile */
1190 @media (max-width: 769px) {
1191 .tsd-widget.options,
1192 .tsd-widget.menu {
1193 display: inline-block;
1194 }
1195
1196 .container-main {
1197 display: flex;
1198 }
1199 html .col-content {
1200 float: none;
1201 max-width: 100%;
1202 width: 100%;
1203 }
1204 html .col-sidebar {
1205 position: fixed !important;
1206 overflow-y: auto;
1207 -webkit-overflow-scrolling: touch;
1208 z-index: 1024;
1209 top: 0 !important;
1210 bottom: 0 !important;
1211 left: auto !important;
1212 right: 0 !important;
1213 padding: 1.5rem 1.5rem 0 0;
1214 width: 75vw;
1215 visibility: hidden;
1216 background-color: var(--color-background);
1217 transform: translate(100%, 0);
1218 }
1219 html .col-sidebar > *:last-child {
1220 padding-bottom: 20px;
1221 }
1222 html .overlay {
1223 content: "";
1224 display: block;
1225 position: fixed;
1226 z-index: 1023;
1227 top: 0;
1228 left: 0;
1229 right: 0;
1230 bottom: 0;
1231 background-color: rgba(0, 0, 0, 0.75);
1232 visibility: hidden;
1233 }
1234
1235 .to-has-menu .overlay {
1236 animation: fade-in 0.4s;
1237 }
1238
1239 .to-has-menu .col-sidebar {
1240 animation: pop-in-from-right 0.4s;
1241 }
1242
1243 .from-has-menu .overlay {
1244 animation: fade-out 0.4s;
1245 }
1246
1247 .from-has-menu .col-sidebar {
1248 animation: pop-out-to-right 0.4s;
1249 }
1250
1251 .has-menu body {
1252 overflow: hidden;
1253 }
1254 .has-menu .overlay {
1255 visibility: visible;
1256 }
1257 .has-menu .col-sidebar {
1258 visibility: visible;
1259 transform: translate(0, 0);
1260 display: flex;
1261 flex-direction: column;
1262 gap: 1.5rem;
1263 max-height: 100vh;
1264 padding: 1rem 2rem;
1265 }
1266 .has-menu .tsd-navigation {
1267 max-height: 100%;
1268 }
1269 }
1270
1271 /* one sidebar */
1272 @media (min-width: 770px) {
1273 .container-main {
1274 display: grid;
1275 grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
1276 grid-template-areas: "sidebar content";
1277 margin: 2rem auto;
1278 }
1279
1280 .col-sidebar {
1281 grid-area: sidebar;
1282 }
1283 .col-content {
1284 grid-area: content;
1285 padding: 0 1rem;
1286 }
1287 }
1288 @media (min-width: 770px) and (max-width: 1399px) {
1289 .col-sidebar {
1290 max-height: calc(100vh - 2rem - 42px);
1291 overflow: auto;
1292 position: sticky;
1293 top: 42px;
1294 padding-top: 1rem;
1295 }
1296 .site-menu {
1297 margin-top: 1rem;
1298 }
1299 }
1300
1301 /* two sidebars */
1302 @media (min-width: 1200px) {
1303 .container-main {
1304 grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem);
1305 grid-template-areas: "sidebar content toc";
1306 }
1307
1308 .col-sidebar {
1309 display: contents;
1310 }
1311
1312 .page-menu {
1313 grid-area: toc;
1314 padding-left: 1rem;
1315 }
1316 .site-menu {
1317 grid-area: sidebar;
1318 }
1319
1320 .site-menu {
1321 margin-top: 1rem 0;
1322 }
1323
1324 .page-menu,
1325 .site-menu {
1326 max-height: calc(100vh - 2rem - 42px);
1327 overflow: auto;
1328 position: sticky;
1329 top: 42px;
1330 }
1331 }