|
| 1 | +.tsd-typography h4, |
| 2 | +.tsd-typography .tsd-index-panel h3, |
| 3 | +.tsd-index-panel .tsd-typography h3, |
| 4 | +.tsd-typography h5, |
| 5 | +.tsd-typography h6 { |
| 6 | + margin: 1.2em 0 0.4em 0; |
| 7 | +} |
| 8 | + |
| 9 | +code { |
| 10 | + padding: 4px 6px; |
| 11 | + border-radius: 4px; |
| 12 | +} |
| 13 | + |
| 14 | +pre { |
| 15 | + border-radius: 4px; |
| 16 | + padding: 8px 12px; |
| 17 | + border: none; |
| 18 | + overflow-x: auto; |
| 19 | +} |
| 20 | + |
| 21 | +.tsd-page-toolbar { |
| 22 | + border-bottom: none; |
| 23 | + background: color-mix(in srgb, var(--color-background-secondary), transparent 20%); |
| 24 | + box-shadow: 0px -148px 86px 86px #000000; |
| 25 | +} |
| 26 | + |
| 27 | +.tsd-page-toolbar .tsd-toolbar-contents { |
| 28 | + padding: 8px 2rem; |
| 29 | +} |
| 30 | + |
| 31 | +.tsd-page-toolbar:before { |
| 32 | + width: 100%; |
| 33 | + position: absolute; |
| 34 | + content: ""; |
| 35 | + height: 100%; |
| 36 | + z-index: -1; |
| 37 | + backdrop-filter: blur(6px); |
| 38 | +} |
| 39 | + |
| 40 | +@media (min-width: 1200px) { |
| 41 | + .page-menu, |
| 42 | + .site-menu { |
| 43 | + top: 82px; |
| 44 | + } |
| 45 | +} |
| 46 | + |
| 47 | +.tsd-navigation a, |
| 48 | +.tsd-navigation summary > span, |
| 49 | +.tsd-page-navigation a { |
| 50 | + margin: 4px 0px; |
| 51 | + padding: 0.25rem 0.55rem 0.25rem 0.3rem; |
| 52 | + border-radius: 4px; |
| 53 | +}.tsd-navigation a:not(:has(> svg)), |
| 54 | +.tsd-navigation summary > span:not(:has(> svg)), |
| 55 | +.tsd-page-navigation a:not(:has(> svg)) { |
| 56 | + padding: 0.25rem 0.55rem 0.25rem 0.4rem; |
| 57 | +} |
| 58 | + |
| 59 | +.tsd-navigation a:hover, |
| 60 | +.tsd-navigation summary > span:hover, |
| 61 | +.tsd-page-navigation a:hover { |
| 62 | + /*opacity: 0.8;*/ |
| 63 | + text-decoration: none; |
| 64 | + background-color: color-mix(in srgb, currentColor 12%, transparent); |
| 65 | +} |
| 66 | + |
| 67 | +.tsd-navigation a.current, |
| 68 | +.tsd-page-navigation a.current { |
| 69 | + border-radius: 4px; |
| 70 | +} |
| 71 | +.tsd-navigation a.current:hover, |
| 72 | +.tsd-page-navigation a.current:hover { |
| 73 | + border-radius: 4px; |
| 74 | + background-color: color-mix(in srgb, var(--color-active-menu-item), transparent 16%); |
| 75 | +} |
| 76 | + |
| 77 | +pre { |
| 78 | + position: relative; |
| 79 | +} |
| 80 | + |
| 81 | +pre > button { |
| 82 | + background-color: color-mix(in srgb, currentColor 12%, transparent); |
| 83 | + border: none; |
| 84 | + padding: 6px 12px; |
| 85 | + border-radius: 4px; |
| 86 | + cursor: pointer; |
| 87 | + backdrop-filter: blur(6px); |
| 88 | + max-height: calc(100% - 8px * 2); |
| 89 | + display: flex; |
| 90 | + flex-direction: row; |
| 91 | + align-items: center; |
| 92 | + box-sizing: border-box; |
| 93 | + top: 8px; |
| 94 | + right: 8px; |
| 95 | +} |
| 96 | +pre > button:hover { |
| 97 | + background-color: color-mix(in srgb, currentColor 18%, transparent); |
| 98 | +} |
| 99 | + |
| 100 | +h3 > svg { |
| 101 | + vertical-align: middle; |
| 102 | + margin-inline-end: 6px; |
| 103 | + transform-origin: 48% 38%; |
| 104 | +} |
| 105 | + |
| 106 | +h5 > svg { |
| 107 | + vertical-align: middle; |
| 108 | + margin-inline-end: 6px; |
| 109 | + transform-origin: 48% 38%; |
| 110 | +} |
| 111 | + |
| 112 | +#tsd-search { |
| 113 | + border-radius: 4px; |
| 114 | +} |
| 115 | + |
| 116 | +ul.tsd-hierarchy>li { |
| 117 | + margin: 12px 0px; |
| 118 | + list-style: disc; |
| 119 | +} |
| 120 | + |
| 121 | +ul.tsd-hierarchy { |
| 122 | + padding-inline-start: 24px; |
| 123 | +} |
| 124 | + |
| 125 | +code.tsd-tag { |
| 126 | + border: none; |
| 127 | + box-shadow: 0px 0px 8px -2px var(--color-accent); |
| 128 | +} |
| 129 | + |
| 130 | +h1 code.tsd-tag:first-of-type { |
| 131 | + margin-left: 0.55em; |
| 132 | +} |
| 133 | + |
| 134 | +.tsd-page-toolbar a.title:hover { |
| 135 | + text-decoration: none; |
| 136 | + background-color: color-mix(in srgb, currentColor 12%, transparent); |
| 137 | + padding: 4px 8px; |
| 138 | + margin: -4px -8px; |
| 139 | + border-radius: 4px; |
| 140 | +} |
| 141 | + |
| 142 | +a.tsd-index-link { |
| 143 | + padding: 4px !important; |
| 144 | +} |
| 145 | + |
| 146 | +a.tsd-index-link:hover { |
| 147 | + text-decoration: none; |
| 148 | + background-color: color-mix(in srgb, currentColor 12%, transparent); |
| 149 | + border-radius: 8px; |
| 150 | +} |
| 151 | + |
| 152 | +h1:not(.tsd-anchor-link, .tsd-returns-title) > a:hover, |
| 153 | +h2:not(.tsd-anchor-link, .tsd-returns-title) > a:hover, |
| 154 | +h3:not(.tsd-anchor-link, .tsd-returns-title) > a:hover, |
| 155 | +h4:not(.tsd-anchor-link, .tsd-returns-title) > a:hover, |
| 156 | +h5:not(.tsd-anchor-link, .tsd-returns-title) > a:hover, |
| 157 | +h6:not(.tsd-anchor-link, .tsd-returns-title) > a:hover { |
| 158 | + text-decoration: none; |
| 159 | + color: var(--color-text); |
| 160 | +} |
| 161 | + |
| 162 | +h1:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before, |
| 163 | +h2:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before, |
| 164 | +h3:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before, |
| 165 | +h4:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before, |
| 166 | +h5:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before, |
| 167 | +h6:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before { |
| 168 | + content: ""; |
| 169 | + position: absolute; |
| 170 | + height: calc(1ex + (1lh - 1ex)/2); |
| 171 | + margin-top: calc(0.2 * 1ex); |
| 172 | + margin-left: -8px; |
| 173 | + width: 3px; |
| 174 | + background-color: currentColor; |
| 175 | + border-radius: 9999px; |
| 176 | + opacity: 0.4; |
| 177 | + pointer-events: none; |
| 178 | +} |
| 179 | + |
| 180 | +#tsd-search.has-focus { |
| 181 | + background-color: color-mix(in srgb, var(--color-accent), transparent 60%); |
| 182 | +} |
| 183 | + |
| 184 | +#tsd-search .field input { |
| 185 | + padding: 12px 16px; |
| 186 | +} |
| 187 | + |
| 188 | +#tsd-search .results li { |
| 189 | + padding: 0px 16px; |
| 190 | +} |
| 191 | + |
| 192 | +#tsd-search .results li { |
| 193 | + padding: 0px 16px; |
| 194 | + background-color: color-mix(in srgb, var(--color-background), transparent 20%); |
| 195 | +} |
| 196 | + |
| 197 | +#tsd-search .results li:nth-child(even) { |
| 198 | + background-color: color-mix(in srgb, var(--color-background), transparent 20%); |
| 199 | +} |
| 200 | + |
| 201 | +#tsd-search .results li.current, |
| 202 | +#tsd-search .results li:hover { |
| 203 | + background-color: color-mix(in srgb, var(--color-accent), transparent 20%); |
| 204 | +} |
| 205 | + |
| 206 | +#tsd-search.has-focus .results { |
| 207 | + backdrop-filter: blur(6px); |
| 208 | +} |
| 209 | + |
| 210 | +.container-main { |
| 211 | + margin-top: 16px; |
| 212 | +} |
0 commit comments