clean-jsdoc-theme 3.3.4 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/.eslintignore +4 -4
  2. package/.eslintrc.js +3 -3
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +43 -43
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +27 -27
  5. package/.github/pull_request_template.md +16 -16
  6. package/.github/workflows/codeql-analysis.yml +67 -67
  7. package/.prettierignore +2 -2
  8. package/.prettierrc +5 -5
  9. package/.stylelintignore +3 -3
  10. package/.stylelintrc +23 -23
  11. package/.travis.yml +30 -30
  12. package/CHANGELOG.md +232 -216
  13. package/CODE_OF_CONDUCT.md +76 -76
  14. package/CODE_OF_CONDUCT_HINDI.md +46 -46
  15. package/CONTRIBUTING.md +24 -24
  16. package/LICENSE +21 -21
  17. package/README.md +439 -546
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +62 -60
  21. package/minify.js +48 -0
  22. package/package.json +50 -46
  23. package/publish.js +1131 -1197
  24. package/static/fonts/Inconsolata-Regular.ttf +0 -0
  25. package/static/fonts/OpenSans-Regular.ttf +0 -0
  26. package/static/fonts/WorkSans-Bold.ttf +0 -0
  27. package/static/scripts/core.js +576 -0
  28. package/static/scripts/core.min.js +23 -0
  29. package/static/scripts/resize.js +90 -85
  30. package/static/scripts/search.js +244 -77
  31. package/static/scripts/search.min.js +11 -0
  32. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  33. package/static/scripts/third-party/fuse.js +8 -8
  34. package/static/scripts/third-party/hljs-line-num.js +1 -0
  35. package/static/scripts/third-party/hljs.js +1173 -0
  36. package/static/scripts/third-party/popper.js +6 -0
  37. package/static/scripts/third-party/tippy.js +2 -0
  38. package/static/scripts/third-party/tocbot.js +1 -0
  39. package/static/styles/clean-jsdoc-theme-base.css +941 -393
  40. package/static/styles/clean-jsdoc-theme-dark.css +411 -324
  41. package/static/styles/clean-jsdoc-theme-light.css +392 -319
  42. package/static/styles/clean-jsdoc-theme.min.css +1 -0
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +190 -189
  45. package/tmpl/details.tmpl +208 -208
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +40 -38
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +72 -34
  50. package/tmpl/layout.tmpl +146 -165
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +42 -43
  53. package/tmpl/method.tmpl +139 -140
  54. package/tmpl/mobile-sidebar.tmpl +21 -0
  55. package/tmpl/navbar-actions.tmpl +19 -0
  56. package/tmpl/navbar-menu.tmpl +21 -0
  57. package/tmpl/navbar.tmpl +14 -0
  58. package/tmpl/params.tmpl +124 -124
  59. package/tmpl/properties.tmpl +109 -109
  60. package/tmpl/returns.tmpl +18 -18
  61. package/tmpl/search.tmpl +17 -0
  62. package/tmpl/sidebar-items.tmpl +24 -0
  63. package/tmpl/sidebar-title.tmpl +10 -0
  64. package/tmpl/sidebar.tmpl +9 -0
  65. package/tmpl/source.tmpl +12 -7
  66. package/tmpl/toc.tmpl +4 -0
  67. package/tmpl/tutorial.tmpl +19 -19
  68. package/tmpl/type.tmpl +6 -6
  69. package/helpers/navbarBuilder.js +0 -0
  70. package/static/fonts/MavenPro-Regular.ttf +0 -0
  71. package/static/fonts/Montserrat-Regular.ttf +0 -0
  72. package/static/fonts/Muli-Black.ttf +0 -0
  73. package/static/fonts/OFL-hind.txt +0 -93
  74. package/static/fonts/OFL-montserrat.txt +0 -93
  75. package/static/scripts/fix-code-block.js +0 -53
  76. package/static/scripts/fix-navbar.js +0 -25
  77. package/static/scripts/linenumber.js +0 -25
  78. package/static/scripts/misc.js +0 -217
  79. package/static/scripts/third-party/lang-css.js +0 -2
  80. package/static/scripts/third-party/prettify.js +0 -28
  81. package/static/styles/reset.css +0 -351
  82. package/static/styles/third-party/ionicons.min.css +0 -11
  83. package/static/styles/third-party/prettify-jsdoc.css +0 -111
  84. package/static/styles/third-party/prettify-tomorrow.css +0 -5
@@ -1,393 +1,941 @@
1
- @font-face {
2
- font-family: 'heading';
3
- src: url('../fonts/Muli-Black.ttf') format('truetype');
4
- }
5
-
6
- @font-face {
7
- font-family: 'body';
8
- src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
9
- }
10
-
11
- @font-face {
12
- font-family: 'code';
13
- src: url('../fonts/MavenPro-Regular.ttf') format('truetype');
14
- }
15
-
16
- /*
17
- * Padding horizontal normal
18
- */
19
-
20
- .p-h-n {
21
- padding: 0.4rem 1rem;
22
- }
23
-
24
- .main-content {
25
- /**
26
- * This should match with the width of the nav / sidebar.
27
- */
28
- margin-left: 18.75rem;
29
- overflow-x: auto;
30
- padding: 1rem 2rem;
31
- }
32
-
33
- .navbar {
34
- bottom: 0;
35
- left: 0;
36
- overflow: hidden;
37
- position: fixed;
38
- top: 0;
39
- width: 18.75rem;
40
- z-index: 10;
41
-
42
- }
43
-
44
- .navbar-ham {
45
- bottom: 1rem;
46
- cursor: pointer;
47
- display: none;
48
- height: 2.5rem;
49
- padding-top: 0.2rem;
50
- position: fixed;
51
- right: 1rem;
52
- width: 3rem;
53
- z-index: 100;
54
- }
55
-
56
- .navbar-ham .first,
57
- .navbar-ham .second,
58
- .navbar-ham .third {
59
- height: 0.125rem;
60
- left: 0.5rem;
61
- position: absolute;
62
- transition: 0.3s;
63
- width: 2rem;
64
- }
65
-
66
- .navbar-ham div {
67
- height: 2.1rem;
68
- overflow: hidden;
69
- position: relative;
70
- width: 3rem;
71
- }
72
-
73
- .navbar-ham .first {
74
- top: 0.5rem;
75
- }
76
-
77
- .navbar-ham .second {
78
- top: 1rem;
79
- }
80
-
81
- .navbar-ham .third {
82
- top: 1.5rem;
83
- }
84
-
85
- .navbar-ham.expanded .first {
86
- transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
87
- }
88
-
89
- .navbar-ham.expanded .second {
90
- transform: translateX(200%);
91
- }
92
-
93
- .navbar-ham.expanded .third {
94
- transform: rotate(135deg) translate(-0.4rem, 0.3125rem);
95
- }
96
-
97
- .navbar-resize {
98
- bottom: 0;
99
- cursor: col-resize;
100
- display: none;
101
- left: auto;
102
- position: absolute;
103
- right: 0;
104
- top: 0;
105
- width: 0.5rem;
106
- }
107
-
108
- .navbar:hover .navbar-resize {
109
- display: block;
110
- }
111
-
112
- .resize-dots-container {
113
- align-items: center;
114
- display: flex;
115
- flex-direction: column;
116
- height: 100%;
117
- justify-content: center;
118
- position: relative;
119
- }
120
-
121
- .resize-dots-container .dots {
122
- border-radius: 50%;
123
- height: 0.25rem;
124
- margin: 0.125rem 0;
125
- width: 0.25rem;
126
- }
127
-
128
-
129
- .footer {
130
- font-size: 0.8rem;
131
- margin-left: 18.75rem;
132
- margin-top: 1rem;
133
- padding: 1rem 2rem;
134
- }
135
-
136
- .navbar h1,
137
- .navbar h2,
138
- .navbar h3,
139
- .navbar h4,
140
- .navbar h5,
141
- .navbar h6 {
142
- border: 0;
143
- margin: 0;
144
- padding: 0;
145
- }
146
-
147
- .navbar-heading {
148
- display: flex;
149
- justify-content: flex-start;
150
- padding: 2rem 1rem;
151
- }
152
-
153
- .navbar-heading a:hover {
154
- text-decoration: none;
155
- }
156
-
157
- .navbar-heading-text {
158
- font-size: 1.8rem;
159
- }
160
-
161
- .search-box {
162
- margin-bottom: 1rem;
163
- padding: 0 1rem;
164
- position: relative;
165
- }
166
-
167
- .search-box-input-container {
168
- align-items: center;
169
- display: flex;
170
- padding: 0.5rem 1rem;
171
- }
172
-
173
- .search-icon {
174
- height: 1rem;
175
- width: 1rem;
176
-
177
- }
178
-
179
- .search-box-input {
180
- background-color: transparent;
181
- border: 0;
182
- display: inline-block;
183
- font-family: 'body';
184
- font-size: 1rem;
185
- margin-right: 0.5rem;
186
- outline: 0;
187
- width: 100%;
188
- }
189
-
190
- .search-item-container {
191
- left: 0;
192
- position: absolute;
193
- right: 0;
194
- /**
195
- * height of search container.
196
- */
197
- top: 2.3125rem;
198
- z-index: 10;
199
- }
200
-
201
- .search-item-ul {
202
- list-style: none;
203
- margin: 0 1rem;
204
- max-height: 18.75rem;
205
- overflow: auto;
206
- }
207
-
208
- .search-item-ul li {
209
- display: flex;
210
- }
211
-
212
- .search-item-ul a {
213
- flex: 1;
214
- font-size: 0.8rem;
215
- padding: 0.4rem 1rem;
216
- }
217
-
218
- .sidebar-main-content {
219
- margin: 1rem;
220
- overflow: auto;
221
- }
222
-
223
- .accordion {
224
- margin: 1rem 0;
225
- }
226
-
227
-
228
- .accordion-heading {
229
- cursor: pointer;
230
- display: flex;
231
- justify-content: space-between;
232
- padding-right: 1rem;
233
- }
234
-
235
- .accordion-heading svg {
236
- height: 1rem;
237
- width: 1rem;
238
- }
239
-
240
- .accordion-content {
241
- list-style: none;
242
- margin: 1rem 0;
243
- overflow: hidden;
244
- padding: 0;
245
- transition: 0.3s;
246
- }
247
-
248
- .accordion.collapsed .accordion-content {
249
- height: 0;
250
- margin: 0;
251
- }
252
-
253
- .accordion svg {
254
- transition: 0.3s;
255
- }
256
-
257
- .accordion.collapsed svg {
258
- transform: rotate(180deg);
259
- }
260
-
261
- .accordion-list {
262
- margin: 0.5rem 1rem;
263
- }
264
-
265
- .accordion-heading.child {
266
- padding: 0.5rem 1rem;
267
-
268
- }
269
-
270
- .accordion [data-type=method] {
271
- margin: 0.5rem 1rem;
272
- }
273
-
274
-
275
- .accordion.child {
276
- margin: 0;
277
- padding: 0;
278
- }
279
-
280
- .methods.accordion-content {
281
- margin: 0;
282
- }
283
-
284
-
285
- .menu-li {
286
- margin: 1rem 0;
287
- }
288
-
289
-
290
- pre {
291
- position: relative;
292
- }
293
-
294
- .pre-top-bar-container {
295
- align-items: center;
296
- display: flex;
297
- justify-content: space-between;
298
- left: 0;
299
- padding: 0.3125rem 1.5rem;
300
- position: absolute;
301
- right: 0;
302
- top: 0;
303
- }
304
-
305
- .code-copy-icon-container {
306
- align-items: center;
307
- border-radius: 50%;
308
- cursor: pointer;
309
- display: flex;
310
- height: 1.875rem;
311
- justify-content: center;
312
- transition: 0.3s;
313
- width: 1.875rem;
314
- }
315
-
316
- .code-copy-icon-container > div {
317
- margin-top: 0.25rem;
318
- position: relative;
319
- }
320
-
321
- .sm-icon {
322
- height: 1rem;
323
- width: 1rem;
324
- }
325
-
326
- .code-lang-name {
327
- font-family: 'code';
328
- font-size: 12px;
329
- }
330
-
331
- .tooltip {
332
- border-radius: 5px;
333
- opacity: 0;
334
- padding: 3px 8px;
335
- position: absolute;
336
- right: 30px;
337
- top: -2px;
338
- transform: scale(0);
339
- transition: 0.3s;
340
- }
341
-
342
- .show-tooltip {
343
- opacity: 1;
344
- transform: scale(1);
345
- }
346
-
347
- blockquote {
348
- font-size: 0.875rem;
349
- padding: 0.0625rem 1.25rem;
350
- }
351
-
352
- .allow-overflow {
353
- overflow: auto;
354
- }
355
-
356
-
357
-
358
- @media screen and (max-width: 50rem) {
359
-
360
- .navbar-ham {
361
- display: block;
362
- }
363
-
364
- .navbar {
365
- transition: 0.3s;
366
- width: 0 !important;
367
- }
368
-
369
- .navbar.expanded {
370
- right: 0;
371
- width: 100% !important;
372
- }
373
-
374
- .navbar:hover .navbar-resize,
375
- .navbar-resize {
376
- display: none;
377
- }
378
-
379
- .main-content,
380
- .footer {
381
- margin-left: 0 !important;
382
- padding: 1rem;
383
- }
384
-
385
- .method-member-container {
386
- overflow: auto;
387
- }
388
-
389
- }
390
-
391
- .rel {
392
- position: relative;
393
- }
1
+ @font-face {
2
+ font-family: 'heading';
3
+ src: url('../fonts/WorkSans-Bold.ttf') format('truetype');
4
+ }
5
+
6
+ @font-face {
7
+ font-family: 'body';
8
+ src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
9
+ }
10
+
11
+ @font-face {
12
+ font-family: 'code';
13
+ src: url('../fonts/Inconsolata-Regular.ttf') format('truetype');
14
+ }
15
+
16
+ * {
17
+ box-sizing: border-box;
18
+ margin: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ html,
23
+ body {
24
+ min-height: 100%;
25
+ width: 100%;
26
+ line-height: 1.75;
27
+ }
28
+
29
+ body {
30
+ font-family: 'body';
31
+ overflow-x: hidden;
32
+ position: relative;
33
+ }
34
+
35
+ h1,
36
+ h2,
37
+ h3,
38
+ h4,
39
+ h5,
40
+ h6 {
41
+ font-family: 'heading';
42
+ font-weight: normal;
43
+ }
44
+
45
+ h1 {
46
+ font-size: 3.5rem;
47
+ margin: 0;
48
+ }
49
+
50
+ h2 {
51
+ font-size: 2.25rem;
52
+ margin: 2rem 0 0;
53
+ }
54
+
55
+ h3 {
56
+ font-size: 2rem;
57
+ margin: 2rem 0 0;
58
+ }
59
+
60
+ h4 {
61
+ font-size: 1.5rem;
62
+ margin: 1.5rem 0 0;
63
+ }
64
+
65
+ h5 {
66
+ font-size: 1.25rem;
67
+ }
68
+
69
+ h6 {
70
+ font-size: 1rem;
71
+ }
72
+
73
+ img {
74
+ max-width: 100%;
75
+ }
76
+
77
+ a {
78
+ text-decoration: none;
79
+ }
80
+
81
+ a:hover {
82
+ text-decoration: underline;
83
+ }
84
+
85
+ /* badges */
86
+ a img {
87
+ margin-right: 0.5rem;
88
+ }
89
+
90
+ p {
91
+ margin: 1rem 0;
92
+ }
93
+
94
+ article ul {
95
+ list-style: none;
96
+ padding-left: 1rem;
97
+ }
98
+
99
+ article ul li::before {
100
+ content: '\2014\a0';
101
+ margin-right: 0.5rem;
102
+ }
103
+
104
+ article ul li,
105
+ article ol li {
106
+ padding: 0.5rem 0;
107
+ }
108
+
109
+ article ol {
110
+ padding-left: 1rem;
111
+ }
112
+
113
+ /* stylelint-disable-next-line */
114
+
115
+ .variation {
116
+ display: none;
117
+ }
118
+
119
+ .signature-attributes {
120
+ font-style: italic;
121
+ font-weight: lighter;
122
+ }
123
+
124
+ .ancestors a {
125
+ text-decoration: none;
126
+ }
127
+
128
+ .important {
129
+ font-weight: bold;
130
+ }
131
+
132
+ .yes-def {
133
+ text-indent: -1000px;
134
+ }
135
+
136
+ .signature {
137
+ font-family: 'code';
138
+ }
139
+
140
+ .name {
141
+ font-family: 'code';
142
+ font-weight: bold;
143
+ }
144
+
145
+ blockquote {
146
+ font-size: 0.875rem;
147
+ padding: 0.0625rem 1.25rem;
148
+ border-radius: 1rem;
149
+ }
150
+
151
+ .details {
152
+ border-radius: 1rem;
153
+ margin: 1rem 0;
154
+ }
155
+
156
+ .details .details-item-container {
157
+ display: flex;
158
+ padding: 1rem 2rem;
159
+ }
160
+
161
+ dt {
162
+ font-family: heading;
163
+ }
164
+
165
+ .details dt {
166
+ float: left;
167
+ min-width: 180px;
168
+ padding: 0 10px;
169
+ }
170
+
171
+ .details ul {
172
+ margin: 0;
173
+ }
174
+
175
+ .details ul {
176
+ list-style-type: none;
177
+ }
178
+
179
+ .details ul li {
180
+ display: inline-block;
181
+ margin-right: 10px;
182
+ padding: 0;
183
+ word-break: break-word;
184
+ }
185
+
186
+ .details ul li::before {
187
+ content: '';
188
+ margin: 0;
189
+ }
190
+
191
+ /* stylelint-disable-next-line */
192
+ .details ul li p {
193
+ margin: 0;
194
+ }
195
+
196
+ /* stylelint-disable */
197
+ .details pre.prettyprint {
198
+ margin: 0;
199
+ }
200
+ /* stylelint-enable */
201
+
202
+ .details .object-value {
203
+ padding-top: 0;
204
+ }
205
+
206
+ .description {
207
+ margin-bottom: 32px;
208
+ }
209
+
210
+ .method-member-container table {
211
+ margin-top: 15px;
212
+ }
213
+
214
+ .pre-div .hljs-ln {
215
+ margin: 0;
216
+ }
217
+
218
+ .code-caption {
219
+ font-size: 0.875rem;
220
+ }
221
+
222
+ .prettyprint {
223
+ font-size: 0.875rem;
224
+ overflow: auto;
225
+ }
226
+
227
+ pre.prettyprint {
228
+ margin-top: 3rem;
229
+ }
230
+
231
+ .prettyprint.source {
232
+ width: inherit;
233
+ }
234
+
235
+ .prettyprint code {
236
+ display: block;
237
+ font-size: 1rem;
238
+ line-height: 1.75;
239
+ padding: 0 0 1rem;
240
+ }
241
+
242
+ h4.name {
243
+ margin-top: 0.5rem;
244
+ }
245
+
246
+ .params,
247
+ .props,
248
+ table {
249
+ border-collapse: separate;
250
+ border-spacing: 0 0.5rem;
251
+ border-radius: 0.5rem;
252
+ font-size: 0.875rem;
253
+ margin: 0;
254
+ width: 100%;
255
+ }
256
+
257
+ table td:first-child,
258
+ .params td:first-child,
259
+ table thead th:first-child,
260
+ .params thead th:first-child,
261
+ .props thead th:first-child {
262
+ border-top-left-radius: 1rem;
263
+ border-bottom-left-radius: 1rem;
264
+ }
265
+
266
+ table td:last-child,
267
+ .params td:last-child,
268
+ table thead th:last-child,
269
+ .params thead th:last-child,
270
+ .props thead th:last-child {
271
+ border-top-right-radius: 1rem;
272
+ border-bottom-right-radius: 1rem;
273
+ }
274
+
275
+ table th,
276
+ .params th {
277
+ position: sticky;
278
+ top: 0;
279
+ }
280
+
281
+ .params .name,
282
+ .props .name,
283
+ .name code {
284
+ font-family: 'code';
285
+ font-size: 1rem;
286
+ }
287
+
288
+ .params td,
289
+ .params th,
290
+ .props td,
291
+ .props th,
292
+ th,
293
+ td {
294
+ display: table-cell;
295
+ margin: 0;
296
+ padding: 1rem 2rem;
297
+ text-align: left;
298
+ vertical-align: top;
299
+ }
300
+
301
+ .params thead tr,
302
+ .props thead tr {
303
+ font-weight: bold;
304
+ }
305
+
306
+ /* stylelint-disable */
307
+ .params .params thead tr,
308
+ .props .props thead tr {
309
+ font-weight: bold;
310
+ }
311
+
312
+ .params td.description > p:first-child,
313
+ .props td.description > p:first-child {
314
+ margin-top: 0;
315
+ padding-top: 0;
316
+ }
317
+
318
+ .params td.description > p:last-child,
319
+ .props td.description > p:last-child {
320
+ margin-bottom: 0;
321
+ padding-bottom: 0;
322
+ }
323
+
324
+ dl.param-type {
325
+ margin-bottom: 1rem;
326
+ padding-bottom: 1rem;
327
+ }
328
+
329
+ /* stylelint-enable */
330
+
331
+ .param-type dt,
332
+ .param-type dd {
333
+ display: inline-block;
334
+ }
335
+
336
+ .param-type dd {
337
+ font-family: 'code';
338
+ font-size: 1rem;
339
+ }
340
+
341
+ code {
342
+ border-radius: 0.3rem;
343
+ font-family: 'code';
344
+ font-size: 1rem;
345
+ padding: 0.1rem 0.4rem;
346
+ }
347
+
348
+ .mt-20 {
349
+ margin-top: 1.5rem;
350
+ }
351
+
352
+ .codepen-form {
353
+ bottom: 0;
354
+ position: absolute;
355
+ right: 0.6125rem;
356
+ }
357
+
358
+ .body-wrapper {
359
+ display: flex;
360
+ flex-direction: column;
361
+ height: 100vh;
362
+ position: relative;
363
+ }
364
+
365
+ .sidebar-container {
366
+ position: fixed;
367
+ display: flex;
368
+ padding: 1rem;
369
+ top: 0;
370
+ bottom: 0;
371
+ left: 0;
372
+ width: 25rem;
373
+ z-index: 10;
374
+ }
375
+
376
+ .sidebar {
377
+ border-radius: 1rem;
378
+ flex: 1;
379
+ padding: 1.5rem 0;
380
+ overflow: hidden;
381
+ display: flex;
382
+ flex-direction: column;
383
+ }
384
+
385
+ .sidebar-title {
386
+ margin: 0;
387
+ padding: 0 2rem;
388
+ text-decoration: none;
389
+ font-size: 1.5rem;
390
+ font-family: heading;
391
+ }
392
+
393
+ .sidebar-title:hover {
394
+ text-decoration: none;
395
+ }
396
+
397
+ .sidebar-items-container {
398
+ margin-top: 5rem;
399
+ overflow: auto;
400
+ flex: 1;
401
+ position: relative;
402
+ }
403
+
404
+ .sidebar-section-title {
405
+ padding: 0.5rem 2rem;
406
+ font-family: heading;
407
+ font-size: 1.25rem;
408
+ border-radius: 1rem;
409
+ }
410
+
411
+ .with-arrow {
412
+ align-items: center;
413
+ cursor: pointer;
414
+ display: flex;
415
+ }
416
+
417
+ .with-arrow div {
418
+ flex: 1;
419
+ }
420
+
421
+ .with-arrow svg {
422
+ height: 1rem;
423
+ width: 1rem;
424
+ transition: transform 0.3s;
425
+ }
426
+
427
+ .with-arrow[data-isopen='true'] svg {
428
+ transform: rotate(180deg);
429
+ }
430
+
431
+ .sidebar-section-children-container {
432
+ border-radius: 0.5rem;
433
+ overflow: hidden;
434
+ }
435
+
436
+ .sidebar-section-children a {
437
+ display: block;
438
+ width: 100%;
439
+ padding: 0.25rem 2rem;
440
+ }
441
+
442
+ .sidebar-section-children a {
443
+ text-decoration: none;
444
+ }
445
+
446
+ .with-arrow[data-isopen='false'] + .sidebar-section-children-container {
447
+ height: 0;
448
+ overflow: hidden;
449
+ }
450
+
451
+ .with-arrow[data-isopen='true'] + .sidebar-section-children-container {
452
+ height: auto;
453
+ }
454
+
455
+ .toc-container {
456
+ position: fixed;
457
+ top: 0;
458
+ right: 4rem;
459
+ bottom: 0;
460
+ width: 16rem;
461
+ z-index: 10;
462
+ }
463
+
464
+ .toc-content {
465
+ padding-top: 10rem;
466
+ display: flex;
467
+ flex-direction: column;
468
+ height: 100%;
469
+ }
470
+
471
+ #toc {
472
+ margin: 2rem 0;
473
+ flex: 1;
474
+ overflow: auto;
475
+ }
476
+
477
+ .toc-list {
478
+ padding-left: 1rem;
479
+ list-style: none;
480
+ }
481
+
482
+ .toc-link {
483
+ display: block;
484
+ white-space: nowrap;
485
+ overflow: hidden;
486
+ text-overflow: ellipsis;
487
+ width: 100%;
488
+ }
489
+
490
+ .toc-link.is-active-link {
491
+ font-family: heading;
492
+ }
493
+
494
+ .has-anchor {
495
+ position: relative;
496
+ }
497
+
498
+ .link-anchor {
499
+ padding: 0 0.5rem;
500
+ }
501
+
502
+ .has-anchor .link-anchor {
503
+ position: absolute;
504
+ left: 0;
505
+ transform: translateX(-100%);
506
+ text-decoration: none;
507
+ visibility: hidden;
508
+ }
509
+
510
+ .has-anchor:hover .link-anchor {
511
+ visibility: visible;
512
+ }
513
+
514
+ .navbar-container {
515
+ position: fixed;
516
+ z-index: 10;
517
+ top: 0;
518
+ left: 25rem;
519
+ right: 25rem;
520
+ height: 7rem;
521
+ padding-top: 1rem;
522
+ display: flex;
523
+ justify-content: center;
524
+ }
525
+
526
+ .navbar {
527
+ display: flex;
528
+ padding: 1rem 4rem 1rem 2rem;
529
+ flex: 1;
530
+ max-width: 60rem;
531
+ }
532
+
533
+ .navbar-left-items {
534
+ display: flex;
535
+ flex: 1;
536
+ }
537
+
538
+ .navbar-right-items {
539
+ display: flex;
540
+ }
541
+
542
+ .icon-button svg {
543
+ height: 1rem;
544
+ width: 1rem;
545
+ }
546
+
547
+ .icon-button {
548
+ background: transparent;
549
+ display: inline-flex;
550
+ border: 0;
551
+ padding: 0.5rem;
552
+ border-radius: 50%;
553
+ cursor: pointer;
554
+ transition: background 0.3s;
555
+ }
556
+
557
+ .navbar-right-item {
558
+ display: flex;
559
+ justify-content: center;
560
+ align-items: center;
561
+ margin: 0 0.25rem;
562
+ }
563
+
564
+ .navbar-item {
565
+ border-radius: 0.5rem;
566
+ overflow: hidden;
567
+ }
568
+
569
+ .navbar-item a {
570
+ display: inline-block;
571
+ padding: 1rem 2rem;
572
+ text-decoration: none;
573
+ transition: 0.3s;
574
+ }
575
+
576
+ .font-size-tooltip {
577
+ display: flex;
578
+ align-items: center;
579
+ margin: 0 -0.5rem;
580
+ }
581
+
582
+ .font-size-tooltip .icon-button.disabled {
583
+ pointer-events: none;
584
+ }
585
+
586
+ .main-content {
587
+ position: relative;
588
+ flex: 1;
589
+ overflow: auto;
590
+ display: flex;
591
+ flex-direction: column;
592
+ align-items: center;
593
+ padding: 7rem 25rem 0;
594
+ }
595
+
596
+ .main-wrapper {
597
+ width: 100%;
598
+ max-width: 60rem;
599
+ padding: 0 4rem 1rem;
600
+ }
601
+
602
+ .p-h-n {
603
+ padding: 0.4rem 1rem;
604
+ }
605
+
606
+ .footer {
607
+ width: 100%;
608
+ margin: 5rem 0 0 0;
609
+ border-radius: 1rem;
610
+ font-size: 0.875rem;
611
+ display: flex;
612
+ justify-content: center;
613
+ }
614
+
615
+ .source-page + .footer {
616
+ margin-top: 3rem;
617
+ }
618
+
619
+ .footer .wrapper {
620
+ flex: 1;
621
+ padding: 1rem 2rem;
622
+ max-width: 70rem;
623
+ }
624
+
625
+ pre {
626
+ position: relative;
627
+ }
628
+
629
+ .hljs table td {
630
+ background: transparent;
631
+ padding: 0 0.6125rem;
632
+ line-height: 1.5;
633
+ border-radius: 0;
634
+ }
635
+
636
+ .hljs .hljs-ln-numbers {
637
+ width: 2rem;
638
+ white-space: nowrap;
639
+ user-select: none;
640
+ padding-left: 1.5rem;
641
+ }
642
+
643
+ .pre-div {
644
+ position: relative;
645
+ border-radius: 1rem;
646
+ overflow: hidden;
647
+ margin: 2rem 0;
648
+ }
649
+
650
+ .pre-top-bar-container {
651
+ align-items: center;
652
+ display: flex;
653
+ justify-content: space-between;
654
+ left: 0;
655
+ padding: 0.3125rem 1.5rem;
656
+ position: absolute;
657
+ right: 0;
658
+ top: 0;
659
+ z-index: 1;
660
+ }
661
+
662
+ .code-copy-icon-container {
663
+ align-items: center;
664
+ border-radius: 50%;
665
+ cursor: pointer;
666
+ display: flex;
667
+ height: 1.875rem;
668
+ justify-content: center;
669
+ transition: 0.3s;
670
+ width: 1.875rem;
671
+ }
672
+
673
+ .code-copy-icon-container > div {
674
+ margin-top: 0.25rem;
675
+ position: relative;
676
+ }
677
+
678
+ .sm-icon {
679
+ height: 1rem;
680
+ width: 1rem;
681
+ }
682
+
683
+ .code-lang-name {
684
+ font-family: 'body';
685
+ font-size: 0.75rem;
686
+ }
687
+
688
+ .tooltip {
689
+ border-radius: 0.3125rem;
690
+ opacity: 0;
691
+ padding: 0.1875rem 0.5rem;
692
+ position: absolute;
693
+ right: 2rem;
694
+ top: -0.125rem;
695
+ transform: scale(0);
696
+ transition: 0.3s;
697
+ }
698
+
699
+ .show-tooltip {
700
+ opacity: 1;
701
+ transform: scale(1);
702
+ }
703
+
704
+ .allow-overflow {
705
+ overflow: auto;
706
+ }
707
+
708
+ .bold {
709
+ font-family: heading;
710
+ }
711
+
712
+ .search-container {
713
+ position: fixed;
714
+ top: 0;
715
+ bottom: 0;
716
+ right: 0;
717
+ left: 0;
718
+ justify-content: center;
719
+ z-index: 50;
720
+ align-items: flex-start;
721
+ }
722
+
723
+ .search-container .wrapper {
724
+ width: 100%;
725
+ max-width: 60rem;
726
+ padding: 4rem 2rem 2rem;
727
+ border-radius: 1rem;
728
+ margin: 3rem 25rem;
729
+ position: relative;
730
+ }
731
+
732
+ .search-close-button {
733
+ position: absolute;
734
+ top: 1rem;
735
+ right: 1rem;
736
+ }
737
+
738
+ .search-result-c {
739
+ min-height: 20rem;
740
+ max-height: 40rem;
741
+ overflow: auto;
742
+ padding: 2rem 0;
743
+ }
744
+
745
+ .search-box-c {
746
+ width: 100%;
747
+ position: relative;
748
+ display: flex;
749
+ align-items: center;
750
+ }
751
+
752
+ .search-box-c svg {
753
+ height: 1.5rem;
754
+ width: 1.5rem;
755
+ position: absolute;
756
+ left: 1.5rem;
757
+ }
758
+
759
+ .search-input {
760
+ border: none;
761
+ border-radius: 1rem;
762
+ width: 100%;
763
+ flex: 1;
764
+ padding: 1rem 2rem 1rem 4rem;
765
+ font-family: body;
766
+ font-size: 1.25rem;
767
+ }
768
+
769
+ .search-result-item {
770
+ display: block;
771
+ text-decoration: none;
772
+ padding: 1rem;
773
+ border-radius: 1rem;
774
+ margin: 1rem 0;
775
+ }
776
+
777
+ .search-result-item:hover {
778
+ text-decoration: none;
779
+ }
780
+
781
+ .search-result-item:active {
782
+ text-decoration: none;
783
+ }
784
+
785
+ .search-result-item-title {
786
+ font-family: heading;
787
+ font-size: 1.5rem;
788
+ }
789
+
790
+ .search-result-item-p {
791
+ font-size: 0.875rem;
792
+ }
793
+
794
+ .mobile-menu-icon-container {
795
+ display: none;
796
+ position: fixed;
797
+ bottom: 1.5rem;
798
+ right: 2rem;
799
+ z-index: 30;
800
+ }
801
+
802
+ .mobile-menu-icon-container .icon-button svg {
803
+ height: 2rem;
804
+ width: 2rem;
805
+ }
806
+
807
+ .mobile-sidebar-container {
808
+ position: fixed;
809
+ top: 0;
810
+ right: 0;
811
+ left: 0;
812
+ bottom: 0;
813
+ padding: 1rem;
814
+ z-index: 25;
815
+
816
+ display: none;
817
+ }
818
+
819
+ .mobile-sidebar-container.show {
820
+ display: block;
821
+ }
822
+
823
+ .mobile-sidebar-wrapper {
824
+ border-radius: 1rem;
825
+ height: 100%;
826
+ width: 100%;
827
+ display: flex;
828
+ flex-direction: column;
829
+ padding-top: 2rem;
830
+ }
831
+
832
+ .mobile-nav-links {
833
+ display: flex;
834
+ flex-wrap: wrap;
835
+ padding-top: 2rem;
836
+ }
837
+
838
+ .mobile-sidebar-items-c {
839
+ flex: 1;
840
+ overflow: auto;
841
+ }
842
+
843
+ .mobile-navbar-actions {
844
+ display: flex;
845
+ padding: 1rem;
846
+ }
847
+
848
+ @media screen and (max-width: 100em) {
849
+ .toc-container {
850
+ display: none;
851
+ }
852
+
853
+ .main-content {
854
+ padding: 7rem 0 0 25rem;
855
+ }
856
+
857
+ .search-container .wrapper {
858
+ margin-right: 1rem;
859
+ }
860
+
861
+ .navbar-container {
862
+ /* For scrollbar */
863
+ right: 1rem;
864
+ }
865
+ }
866
+
867
+ @media screen and (min-width: 65em) {
868
+ .mobile-sidebar-container.show {
869
+ display: none;
870
+ }
871
+ }
872
+
873
+ @media screen and (max-width: 65em) {
874
+ h1 {
875
+ font-size: 3rem;
876
+ }
877
+
878
+ h2 {
879
+ font-size: 2rem;
880
+ }
881
+
882
+ h3 {
883
+ font-size: 1.875;
884
+ }
885
+
886
+ h4,
887
+ h5,
888
+ h6 {
889
+ font-size: 1rem;
890
+ }
891
+
892
+ .main-wrapper {
893
+ padding: 0 1rem 1rem;
894
+ }
895
+
896
+ .search-result-c {
897
+ max-height: 25rem;
898
+ }
899
+ .mobile-menu-icon-container {
900
+ display: block;
901
+ }
902
+
903
+ .sidebar-container {
904
+ display: none;
905
+ }
906
+ .search-container .wrapper {
907
+ margin-left: 1rem;
908
+ }
909
+
910
+ .main-content {
911
+ padding-left: 0;
912
+ padding-top: 1rem;
913
+ }
914
+
915
+ .navbar-container {
916
+ display: none;
917
+ }
918
+
919
+ .source-page + .footer,
920
+ .footer {
921
+ margin-top: 2rem;
922
+ }
923
+
924
+ .has-anchor:hover .link-anchor {
925
+ visibility: hidden;
926
+ }
927
+ }
928
+
929
+ .rel {
930
+ position: relative;
931
+ }
932
+
933
+ .icon-button.codepen-button svg {
934
+ height: 1.5rem;
935
+ width: 1.5rem;
936
+ }
937
+
938
+ .table-div {
939
+ width: 100%;
940
+ overflow: auto;
941
+ }