-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathcustom.css
More file actions
535 lines (455 loc) · 12 KB
/
custom.css
File metadata and controls
535 lines (455 loc) · 12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #21005d;
--ifm-color-primary-dark: #1e0054;
--ifm-color-primary-darker: #1c004f;
--ifm-color-primary-darkest: #170041;
--ifm-color-primary-light: #240066;
--ifm-color-primary-lighter: #26006b;
--ifm-color-primary-lightest: #2b0079;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #cfbcff;
--ifm-color-primary-dark: #af90ff;
--ifm-color-primary-darker: #9f7aff;
--ifm-color-primary-darkest: #7037ff;
--ifm-color-primary-light: #efe8ff;
--ifm-color-primary-lighter: #fffeff;
--ifm-color-primary-lightest: #ffffff;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
.nav-link {
position: relative;
}
.nav-link::before {
content: '';
display: block;
position: absolute;
top: 0;
left: 0.5rem;
width: 2rem;
height: 2rem;
border-radius: 50%;
background-color: transparent;
z-index: -1;
transition: background-color var(--ifm-transition-fast);
}
.nav-link:hover::before,
.nav-link:active::before,
.nav-link:focus::before {
background-color: var(--ifm-color-emphasis-200);
}
.nav-link:active::before {
background-color: var(--ifm-menu-color-background-active);
}
.nav-link::after {
content: '';
display: flex;
height: 1.5rem;
width: 1.5rem;
background-repeat: no-repeat;
}
html[data-theme='dark'] .nav-link::after {
filter: invert(1);
}
.nav-discord-link::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-7 -15 85 85'%3E%3Cpath d='M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z'%3E%3C/path%3E%3C/svg%3E");
}
.nav-twitter-link::after {
background-image: url("data:image/svg+xml;charset=utf-8, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E %3C/svg%3E");
}
.nav-github-link::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 26 26'%3E%3Cpath d='M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27'%3E%3C/path%3E%3C/svg%3E");
}
.screenshots {
display: flex;
}
.screenshots img,
.tabScreenshot {
max-width: 45%;
}
.gifScreenshot {
max-width: 40%;
}
.screenshots figure>img {
max-width: 100%;
}
.gallery {
display: flex;
flex-direction: row;
}
.gallery img {
padding: 8px;
width: 33%;
}
html[data-theme='dark'] .gallery-dark,
html[data-theme='light'] .gallery-light {
display: block;
}
html[data-theme='dark'] .gallery-light,
html[data-theme='light'] .gallery-dark {
display: none;
}
.icons-list-container {
margin: 16px 0;
}
.icons-list-icon-container {
appearance: none;
border: 0;
background: 0;
outline: 0;
display: flex;
flex-direction: column;
width: 124px;
height: 124px;
align-items: center;
text-align: center;
@media (max-width: 680px) {
width: 96px;
}
}
.icons-list-icon {
display: block;
margin: 16px;
font-family: 'MaterialDesignIcons';
font-size: 48px;
color: var(--theme-text-color);
}
.icons-list-icon-name {
display: block;
font-size: 12px;
color: var(--theme-text-color);
}
.icons-list-results {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 24px 0;
&:last-child {
justify-content: flex-start;
}
}
.icons-list-searchbar {
box-sizing: border-box;
appearance: none;
border: 0;
display: block;
width: 100%;
padding: 12px;
font-size: 1em;
background-color: #f0f0f0;
border-radius: 3px;
transition: background-color 0.3s;
outline: 0;
&:focus,
&:hover {
background-color: #e7e7e7;
}
*:focus-visible {
outline: auto;
}
}
@font-face {
font-family: 'MaterialDesignIcons';
src: url('../../node_modules/@react-native-vector-icons/material-design-icons/fonts/MaterialDesignIcons.ttf') format('truetype');
}
.badge:is(a .badge) {
padding: 0px;
height: 8px;
width: 8px;
border-radius: 4px;
}
a .badge .badge-text {
display: none;
}
.badge {
background-color: black;
color: white;
font-size: 12px;
border-style: solid;
border-width: 1px;
border-radius: 15px;
padding: 6px;
}
.badge code {
background-color: rgba(0, 0, 0, 0.25);
}
[data-theme='dark'] .badge {
color: white
}
.badge-supported {
color: rgba(98, 0, 238, 1);
background-color: rgba(98, 0, 238, 0.2);
border-color: rgba(98, 0, 238, 1);
}
.badge-deprecatedProperty,
.badge-deprecated {
color: rgba(176, 0, 32, 1);
background-color: rgba(176, 0, 32, 0.2);
border-color: rgba(176, 0, 32, 1);
}
.badge-renamed {
color: rgba(0, 100, 0, 1);
background-color: rgba(0, 100, 0, 0.2);
border-color: rgba(0, 100, 0, 1);
}
.badge-platform {
color: rgb(212, 60, 14);
background-color: rgba(212, 60, 14, 0.2);
border-color: rgba(212, 60, 14, 1);
}
.showcase-gallery {
display: flex;
flex-direction: row;
flex-wrap: wrap;
min-width: 0;
}
.color-picker {
display: table;
width: 100%;
overflow: visible;
padding: 0;
}
.color-picker-cover {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,.2);
z-index: 1;
}
.color-picker-anchor {
position: relative;
display: inline-block;
}
.color-picker-popup {
position: absolute;
z-index: 3;
top: 36px;
}
.color-picker td {
padding: 8px;
}
.color-picker-button-col {
width: 168px;
}
.color-picker-button {
border: none;
border-radius: 4px;
padding: 6px 22px;
cursor: pointer;
width: 168px;
font-family: monospace;
font-size: 16px;
}
.color-picker-button-additional {
display: inline-block;
border: none;
border-radius: 4px;
padding: 6px 22px;
cursor: pointer;
width: 130px;
font-family: monospace;
font-size: 16px;
}
.color-picker-button-cancel {
display: inline-block;
border: none;
border-radius: 4px;
padding: 6px 2px;
cursor: pointer;
font-size: 16px;
width: 32px;
margin-left: 6px;
}
.color-picker-preview {
padding: 16px;
border-radius: 8px;
border-width: 1px;
border-style: solid;
}
.color-picker-preview-header {
display: flex;
flex-direction: row;
justify-content: space-between;
height: 1.4rem;
}
.color-picker-action-button {
padding: 2px 10px;
text-align: center;
border: 1px solid #ccc;
border-radius: 2px;
cursor: pointer;
margin-bottom: 8px;
}
.color-picker-name-input {
padding: 4px 6px;
border: 1px solid #ccc;
font-size: 15px;
margin-left: 6px;
}
.color-picker-schema-copy-header {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.color-picker-schema-copy-header h4 {
margin-bottom: 12px;
}
.color-picker-themes {
display: flex;
flex-wrap: wrap;
flex-direction: row;
gap: 20px;
margin-top: 20px;
}
.color-picker-themes > div {
flex: 1 0 300px;
font-size: 11px;
position: relative;
}
.color-picker-themes pre {
height: 300px;
overflow: scroll;
}
.color-picker-preview-header > div {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.color-picker-preview-header p {
font-weight: bold;
font-size: 14px;
}
.color-picker-preview-box {
padding: 6px 6px 18px 6px;
font-size: 12px;
display:block;
}
.color-picker-button:hover, .color-picker-button:focus,
.color-picker-button-additional:hover, .color-picker-button-additional:focus,
.color-picker-button-cancel:hover, .color-picker-button-cancel:focus{
opacity: 0.8;
}
@media (max-width: 680px) {
.showcase-gallery {
justify-content: center;
}
}
.showcase-image-container {
overflow: hidden;
margin: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
@media (min-width: 420px) {
.showcase-image-container {
height: 528px;
}
.showcase-image-container:hover .showcase-info,
.showcase-image-container:focus .showcase-info {
transform: translateY(-48px);
}
}
.showcase-image {
display: block;
max-height: 480px;
width: auto;
}
@media (min-width: 420px) {
.showcase-image {
height: 480px;
width: 270px;
}
}
.showcase-info {
height: 96px;
padding: 12px;
transform: translateY(0);
transition: 150ms;
}
.showcase-app-name {
font-size: 16px;
margin-top: 0;
margin-bottom: 12px;
width: 246px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.showcase-badge-container {
display: flex;
flex-direction: row;
margin-top: 16px;
padding-left: 3px;
}
.showcase-separation {
margin: 0 10px;
}
/* Switch.tsx */
.react-switch-checkbox {
height: 0;
width: 0;
visibility: hidden;
}
.react-switch-label {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
width: 45px;
height: 25px;
background: grey;
border-radius: 100px;
position: relative;
transition: background-color .2s;
}
.react-switch-label .react-switch-button {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 20px;
height: 20px;
border-radius: 20px;
transition: 0.2s;
background: #fff;
box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
}
.react-switch-checkbox:checked+.react-switch-label .react-switch-button {
left: calc(100% - 2px);
transform: translateX(-100%);
}
.react-switch-label:active .react-switch-button {
width: 20px;
}
/* DynamicColorTheme.tsx */
.color-picker-grid-column {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin-top: 20px;
gap: 6px;
height: 100%;
}
@media only screen and (min-width: 997px) and (max-width: 1280px) {
.color-picker-grid-column {
grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (max-width: 600px) {
.color-picker-grid-column {
grid-template-columns: repeat(2, 1fr);
}
}
/* ExtendsLink.tsx */
.extends {
margin-bottom: 20px;
}