|
1 | | -.site-menu .tsd-navigation > a[href='modules.html'] { |
2 | | - display: none !important; |
| 1 | +/* |
| 2 | + Force the light theme |
| 3 | +*/ |
| 4 | +:root { |
| 5 | + color-scheme: light; |
3 | 6 | } |
4 | 7 |
|
5 | | -.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-summary { |
6 | | - display: none !important; |
7 | | -} |
8 | | - |
9 | | -.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-details { |
10 | | - display: block !important; |
11 | | -} |
12 | | - |
13 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation { |
14 | | - margin-left: 0 !important; |
15 | | -} |
16 | | - |
17 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > details > summary, |
18 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > a { |
19 | | - font-weight: 600; |
20 | | - padding: 0.88rem !important; |
21 | | -} |
22 | | - |
23 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation .tsd-accordion-summary { |
24 | | - display: flex !important; |
25 | | -} |
26 | | - |
27 | | -.site-menu .tsd-navigation > a[href='modules.html'] { |
28 | | - display: none !important; |
29 | | -} |
30 | | - |
31 | | -.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-summary { |
32 | | - display: none !important; |
33 | | -} |
34 | | - |
35 | | -.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-details { |
36 | | - display: block !important; |
37 | | -} |
38 | | - |
39 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation { |
40 | | - margin-left: 0 !important; |
| 8 | +/* |
| 9 | + Hide the index group |
| 10 | +*/ |
| 11 | +.tsd-panel-group.tsd-index-group { |
| 12 | + display: none; |
41 | 13 | } |
42 | 14 |
|
43 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > details > summary, |
44 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > a { |
45 | | - font-weight: 600; |
46 | | - padding: 0.88rem !important; |
| 15 | +/* |
| 16 | + Hide the hierarchy panel |
| 17 | +*/ |
| 18 | +.tsd-panel.tsd-hierarchy { |
| 19 | + display: none; |
47 | 20 | } |
48 | 21 |
|
49 | | -.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation .tsd-accordion-summary { |
50 | | - display: flex !important; |
| 22 | +/* |
| 23 | + Remove bullet points from the Type declaration |
| 24 | +*/ |
| 25 | +.tsd-type-declaration > .tsd-parameters { |
| 26 | + margin: 0; |
| 27 | + padding: 0; |
| 28 | + list-style-type: none; |
51 | 29 | } |
52 | 30 |
|
53 | | -.tsd-navigation.settings { |
54 | | - display: none !important; |
| 31 | +/* |
| 32 | + Customize the parameter list to be a table instead of a list |
| 33 | +*/ |
| 34 | +.tsd-parameter-list { |
| 35 | + display: table; |
| 36 | + width: 100%; |
| 37 | + list-style-type: none; |
| 38 | + padding: 0; |
| 39 | + border-collapse: collapse; |
| 40 | + font-size: 0.95rem; |
| 41 | + border: 1px solid #e0e0e0; |
| 42 | + border-radius: 6px; |
| 43 | + overflow: hidden; |
55 | 44 | } |
56 | 45 |
|
57 | | -.tsd-filter-visibility { |
58 | | - display: none !important; |
| 46 | +.tsd-parameter-list li { |
| 47 | + display: table-row; |
| 48 | + background-color: #fcfcfc; |
59 | 49 | } |
60 | 50 |
|
61 | | -.tsd-theme-toggle { |
62 | | - display: none !important; |
| 51 | +.tsd-parameter-list li > * { |
| 52 | + display: table-cell; |
| 53 | + padding: 0.75rem 1rem; |
| 54 | + border-bottom: 1px solid #e0e0e0; |
63 | 55 | } |
64 | 56 |
|
65 | | -.tsd-panel-group.tsd-index-group { |
| 57 | +/* Hide empty table cells to avoid taking space */ |
| 58 | +.tsd-parameter-list li > *:empty { |
66 | 59 | display: none; |
67 | 60 | } |
68 | 61 |
|
69 | | -.tsd-panel.tsd-hierarchy { |
70 | | - display: none; |
| 62 | +/* |
| 63 | + Customize the member panel to be a card |
| 64 | +*/ |
| 65 | +.tsd-panel.tsd-member { |
| 66 | + display: flex; |
| 67 | + flex-direction: column; |
| 68 | + background-color: #fff; |
| 69 | + border: 1px solid #ddd; |
| 70 | + border-radius: 0.5rem; |
| 71 | + padding: 1rem; |
| 72 | + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); |
| 73 | + max-width: 100%; |
| 74 | + margin-bottom: 1rem; |
71 | 75 | } |
0 commit comments