style.css 34 KB

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