md-editor-v3 6.5.2 → 6.5.4

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.
package/lib/preview.css CHANGED
@@ -1,2252 +1,4 @@
1
- @charset "UTF-8";
2
- .md-editor .md-editor-preview {
3
- --md-theme-color: var(--md-color);
4
- --md-theme-color-reverse: #eee;
5
- --md-theme-color-hover: #eee;
6
- --md-theme-color-hover-inset: #ddd;
7
- --md-theme-link-color: #2d8cf0;
8
- --md-theme-link-hover-color: #73d13d;
9
- --md-theme-border-color: #e6e6e6;
10
- --md-theme-border-color-reverse: #bebebe;
11
- --md-theme-border-color-inset: #d6d6d6;
12
- --md-theme-bg-color: #fff;
13
- --md-theme-bg-color-inset: #ececec;
14
- --md-theme-code-copy-tips-color: inherit;
15
- --md-theme-code-copy-tips-bg-color: #fff;
16
- --md-theme-code-active-color: #61aeee;
17
- --md-theme-radius-s: 2px;
18
- --md-theme-radius-m: 5px;
19
- }
20
-
21
- .md-editor-dark .md-editor-preview {
22
- --md-theme-color: var(--md-color);
23
- --md-theme-color-reverse: #222;
24
- --md-theme-color-hover: #191919;
25
- --md-theme-color-hover-inset: #444;
26
- --md-theme-link-color: #2d8cf0;
27
- --md-theme-link-hover-color: #73d13d;
28
- --md-theme-border-color: #2d2d2d;
29
- --md-theme-border-color-reverse: #e6e6e6;
30
- --md-theme-border-color-inset: #5a5a5a;
31
- --md-theme-bg-color: #000;
32
- --md-theme-bg-color-inset: #111;
33
- --md-theme-code-copy-tips-color: inherit;
34
- --md-theme-code-copy-tips-bg-color: #3a3a3a;
35
- --md-theme-code-active-color: #e6c07b;
36
- --md-theme-radius-s: 2px;
37
- --md-theme-radius-m: 5px;
38
- }
39
-
40
- .md-editor .md-editor-admonition-note {
41
- --md-admonition-color: #212121;
42
- --md-admonition-bg-color: #FFFFFF;
43
- --md-admonition-border-color: rgb(166.2, 166.2, 166.2);
44
- }
45
-
46
- .md-editor .md-editor-admonition-tip {
47
- --md-admonition-color: #616161;
48
- --md-admonition-bg-color: #F5F5F5;
49
- --md-admonition-border-color: rgb(185.8, 185.8, 185.8);
50
- }
51
-
52
- .md-editor .md-editor-admonition-info {
53
- --md-admonition-color: #424242;
54
- --md-admonition-bg-color: #F0F0F0;
55
- --md-admonition-border-color: rgb(170.4, 170.4, 170.4);
56
- }
57
-
58
- .md-editor .md-editor-admonition-quote {
59
- --md-admonition-color: #455a64;
60
- --md-admonition-bg-color: #eceff1;
61
- --md-admonition-border-color: rgb(169.2, 179.4, 184.6);
62
- }
63
-
64
- .md-editor .md-editor-admonition-abstract {
65
- --md-admonition-color: #0288d1;
66
- --md-admonition-bg-color: #e1f5fe;
67
- --md-admonition-border-color: rgb(135.8, 201.4, 236);
68
- }
69
-
70
- .md-editor .md-editor-admonition-attention {
71
- --md-admonition-color: #1e88e5;
72
- --md-admonition-bg-color: #e3f2fd;
73
- --md-admonition-border-color: rgb(148.2, 199.6, 243.4);
74
- }
75
-
76
- .md-editor .md-editor-admonition-example {
77
- --md-admonition-color: #5e35b1;
78
- --md-admonition-bg-color: #ede7f6;
79
- --md-admonition-border-color: rgb(179.8, 159.8, 218.4);
80
- }
81
-
82
- .md-editor .md-editor-admonition-hint {
83
- --md-admonition-color: #00897B;
84
- --md-admonition-bg-color: #E0F2F1;
85
- --md-admonition-border-color: rgb(134.4, 200, 193.8);
86
- }
87
-
88
- .md-editor .md-editor-admonition-success {
89
- --md-admonition-color: #388e3c;
90
- --md-admonition-bg-color: #e8f5e9;
91
- --md-admonition-border-color: rgb(161.6, 203.8, 163.8);
92
- }
93
-
94
- .md-editor .md-editor-admonition-question {
95
- --md-admonition-color: #f9a825;
96
- --md-admonition-bg-color: #fffde7;
97
- --md-admonition-border-color: rgb(252.6, 219, 153.4);
98
- }
99
-
100
- .md-editor .md-editor-admonition-caution {
101
- --md-admonition-color: #fb8c00;
102
- --md-admonition-bg-color: #fff8e1;
103
- --md-admonition-border-color: rgb(253.4, 204.8, 135);
104
- }
105
-
106
- .md-editor .md-editor-admonition-warning {
107
- --md-admonition-color: #f57c00;
108
- --md-admonition-bg-color: #fff3e0;
109
- --md-admonition-border-color: rgb(251, 195.4, 134.4);
110
- }
111
-
112
- .md-editor .md-editor-admonition-danger {
113
- --md-admonition-color: #d84315;
114
- --md-admonition-bg-color: #ffebee;
115
- --md-admonition-border-color: rgb(239.4, 167.8, 151.2);
116
- }
117
-
118
- .md-editor .md-editor-admonition-failure {
119
- --md-admonition-color: #d32f2f;
120
- --md-admonition-bg-color: #fee2e6;
121
- --md-admonition-border-color: rgb(236.8, 154.4, 156.8);
122
- }
123
-
124
- .md-editor .md-editor-admonition-bug {
125
- --md-admonition-color: #c31a1a;
126
- --md-admonition-bg-color: #fddadd;
127
- --md-admonition-border-color: rgb(229.8, 141.2, 143);
128
- }
129
-
130
- .md-editor .md-editor-admonition-error {
131
- --md-admonition-color: #b71c1c;
132
- --md-admonition-bg-color: #fdd2d6;
133
- --md-admonition-border-color: rgb(225, 137.2, 139.6);
134
- }
135
-
136
- .md-editor-dark .md-editor-admonition-note {
137
- --md-admonition-color: #E0E0E0;
138
- --md-admonition-bg-color: #1E1E1E;
139
- --md-admonition-border-color: rgb(107.6, 107.6, 107.6);
140
- }
141
-
142
- .md-editor-dark .md-editor-admonition-tip {
143
- --md-admonition-color: #B0B0B0;
144
- --md-admonition-bg-color: #262626;
145
- --md-admonition-border-color: rgb(93.2, 93.2, 93.2);
146
- }
147
-
148
- .md-editor-dark .md-editor-admonition-info {
149
- --md-admonition-color: #B3B3B3;
150
- --md-admonition-bg-color: #2B2B2B;
151
- --md-admonition-border-color: rgb(97.4, 97.4, 97.4);
152
- }
153
-
154
- .md-editor-dark .md-editor-admonition-quote {
155
- --md-admonition-color: #b0bec5;
156
- --md-admonition-bg-color: #263238;
157
- --md-admonition-border-color: rgb(93.2, 106, 112.4);
158
- }
159
-
160
- .md-editor-dark .md-editor-admonition-abstract {
161
- --md-admonition-color: #81d4fa;
162
- --md-admonition-bg-color: #012f45;
163
- --md-admonition-border-color: rgb(52.2, 113, 141.4);
164
- }
165
-
166
- .md-editor-dark .md-editor-admonition-attention {
167
- --md-admonition-color: #64b5f6;
168
- --md-admonition-bg-color: #102a4c;
169
- --md-admonition-border-color: rgb(49.6, 97.6, 144);
170
- }
171
-
172
- .md-editor-dark .md-editor-admonition-example {
173
- --md-admonition-color: #9575cd;
174
- --md-admonition-bg-color: #271b52;
175
- --md-admonition-border-color: rgb(83, 63, 131.2);
176
- }
177
-
178
- .md-editor-dark .md-editor-admonition-hint {
179
- --md-admonition-color: #4DB6AC;
180
- --md-admonition-bg-color: #003D3A;
181
- --md-admonition-border-color: rgb(30.8, 109.4, 103.6);
182
- }
183
-
184
- .md-editor-dark .md-editor-admonition-success {
185
- --md-admonition-color: #81c784;
186
- --md-admonition-bg-color: #1b5e20;
187
- --md-admonition-border-color: rgb(67.8, 136, 72);
188
- }
189
-
190
- .md-editor-dark .md-editor-admonition-question {
191
- --md-admonition-color: #ffd54f;
192
- --md-admonition-bg-color: #3e2f00;
193
- --md-admonition-border-color: rgb(139.2, 113.4, 31.6);
194
- }
195
-
196
- .md-editor-dark .md-editor-admonition-caution {
197
- --md-admonition-color: #ffcc80;
198
- --md-admonition-bg-color: #3e2600;
199
- --md-admonition-border-color: rgb(139.2, 104.4, 51.2);
200
- }
201
-
202
- .md-editor-dark .md-editor-admonition-warning {
203
- --md-admonition-color: #ffb74d;
204
- --md-admonition-bg-color: #3d2600;
205
- --md-admonition-border-color: rgb(138.6, 96, 30.8);
206
- }
207
-
208
- .md-editor-dark .md-editor-admonition-danger {
209
- --md-admonition-color: #ef9a9a;
210
- --md-admonition-bg-color: #3c0000;
211
- --md-admonition-border-color: rgb(131.6, 61.6, 61.6);
212
- }
213
-
214
- .md-editor-dark .md-editor-admonition-failure {
215
- --md-admonition-color: #ef9a9a;
216
- --md-admonition-bg-color: #3c0900;
217
- --md-admonition-border-color: rgb(131.6, 67, 61.6);
218
- }
219
-
220
- .md-editor-dark .md-editor-admonition-bug {
221
- --md-admonition-color: #e68381;
222
- --md-admonition-bg-color: #300000;
223
- --md-admonition-border-color: rgb(120.8, 52.4, 51.6);
224
- }
225
-
226
- .md-editor-dark .md-editor-admonition-error {
227
- --md-admonition-color: #ef5350;
228
- --md-admonition-bg-color: #300000;
229
- --md-admonition-border-color: rgb(124.4, 33.2, 32);
230
- }
231
-
232
- .md-editor-preview .md-editor-admonition {
233
- background-color: var(--md-admonition-bg-color);
234
- border: 1px solid var(--md-admonition-border-color);
235
- border-radius: var(--md-theme-radius-m);
236
- color: var(--md-admonition-color);
237
- display: flow-root;
238
- font-size: 14px;
239
- font-weight: 400;
240
- margin: 1rem 0;
241
- padding: 1em 1em 0.5em;
242
- page-break-inside: avoid;
243
- }
244
-
245
- .md-editor-preview .md-editor-admonition-title {
246
- margin: 0;
247
- padding: 0;
248
- position: relative;
249
- font-weight: 700;
250
- }
251
-
252
- .md-editor-preview .md-editor-admonition p {
253
- margin: 0.5em 0;
254
- padding: 0;
255
- }
256
-
257
- .md-editor-preview .md-editor-admonition p:first-of-type {
258
- margin-block-start: 0;
259
- }
260
-
261
- .md-editor-preview .md-editor-admonition + p:empty, .md-editor-preview .md-editor-admonition + p:empty + p:empty {
262
- display: none;
263
- }
264
-
265
- .md-editor-preview .md-editor-mermaid {
266
- overflow: hidden;
267
- line-height: normal;
268
- }
269
-
270
- .md-editor-preview .md-editor-mermaid p {
271
- line-height: normal;
272
- }
273
-
274
- .md-editor-preview .md-editor-mermaid:not([data-processed]) {
275
- white-space: pre;
276
- }
277
-
278
- .md-editor-preview [class=md-editor-mermaid][data-grab] {
279
- cursor: grab;
280
- }
281
-
282
- .md-editor-preview [class=md-editor-mermaid][data-grab]:active {
283
- cursor: grabbing;
284
- }
285
-
286
- .md-editor-preview [class=md-editor-mermaid][data-processed] {
287
- position: relative;
288
- display: flex;
289
- justify-content: center;
290
- align-items: center;
291
- }
292
-
293
- .md-editor-preview [class=md-editor-mermaid][data-processed] svg {
294
- transform-origin: top left;
295
- }
296
-
297
- .md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action {
298
- position: absolute;
299
- inset-block-start: 10px;
300
- inset-inline-end: 10px;
301
- z-index: 1;
302
- opacity: 0;
303
- transition: opacity 0.3s;
304
- cursor: pointer;
305
- display: flex;
306
- gap: 8px;
307
- }
308
-
309
- .md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg {
310
- padding: 6px;
311
- border-radius: 4px;
312
- background-color: var(--md-bk-color-outstand);
313
- }
314
-
315
- .md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action {
316
- opacity: 1;
317
- }
318
-
319
- .md-editor-katex-block {
320
- text-align: center;
321
- margin: 20px;
322
- }
323
-
324
- .md-editor-katex-inline, .md-editor-katex-block {
325
- display: none;
326
- direction: ltr;
327
- }
328
-
329
- .md-editor-katex-inline[data-processed] {
330
- display: initial;
331
- }
332
-
333
- .md-editor-katex-block[data-processed] {
334
- display: block;
335
- }
336
-
337
- .md-editor .md-editor-preview {
338
- --md-theme-code-inline-color: #3594f7;
339
- --md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);
340
- --md-theme-code-inline-radius: var(--md-theme-radius-s);
341
- --md-theme-code-block-color: #a9b7c6;
342
- --md-theme-code-block-bg-color: #282c34;
343
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
344
- --md-theme-code-block-radius: var(--md-theme-radius-m);
345
- }
346
-
347
- .md-editor-dark .md-editor-preview {
348
- --md-theme-code-inline-color: #3594f7;
349
- --md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);
350
- --md-theme-code-inline-radius: var(--md-theme-radius-s);
351
- --md-theme-code-block-color: #a9b7c6;
352
- --md-theme-code-block-bg-color: #1a1a1a;
353
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
354
- --md-theme-code-block-radius: var(--md-theme-radius-m);
355
- }
356
-
357
- .md-editor-preview code {
358
- direction: ltr;
359
- color: var(--md-theme-code-inline-color);
360
- background-color: var(--md-theme-code-inline-bg-color);
361
- border-radius: var(--md-theme-code-inline-radius);
362
- padding: 2px 4px;
363
- line-height: 22px;
364
- }
365
-
366
- .md-editor-preview .md-editor-code {
367
- color: var(--md-theme-code-block-color);
368
- font-size: 12px;
369
- line-height: 1;
370
- margin: 20px 0;
371
- position: relative;
372
- }
373
-
374
- .md-editor-preview .md-editor-code input[type=radio], .md-editor-preview .md-editor-code input[type=radio] + pre, .md-editor-preview .md-editor-code input[type=radio] + span.md-editor-code-lang {
375
- display: none;
376
- }
377
-
378
- .md-editor-preview .md-editor-code input:checked + pre, .md-editor-preview .md-editor-code input:checked + span.md-editor-code-lang {
379
- display: block;
380
- }
381
-
382
- .md-editor-preview .md-editor-code input:checked + label {
383
- border-block-end: 1px solid;
384
- color: var(--md-theme-code-active-color);
385
- }
386
-
387
- .md-editor-preview .md-editor-code .md-editor-code-head {
388
- display: grid;
389
- grid-template: "1fr 1fr";
390
- justify-content: space-between;
391
- height: 32px;
392
- width: 100%;
393
- font-size: 12px;
394
- background-color: var(--md-theme-code-before-bg-color);
395
- margin-block-end: 0;
396
- border-start-start-radius: var(--md-theme-code-block-radius);
397
- border-start-end-radius: var(--md-theme-code-block-radius);
398
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
399
- list-style: none;
400
- position: sticky;
401
- top: 0;
402
- z-index: 10000;
403
- }
404
-
405
- .md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker {
406
- display: none;
407
- }
408
-
409
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag {
410
- margin-inline-start: 12px;
411
- }
412
-
413
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span {
414
- display: inline-block;
415
- width: 10px;
416
- height: 10px;
417
- border-radius: 50%;
418
- margin-block-start: 11px;
419
- }
420
-
421
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1) {
422
- background-color: #ec6a5e;
423
- }
424
-
425
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2) {
426
- background-color: #f4bf4f;
427
- }
428
-
429
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3) {
430
- background-color: #61c554;
431
- }
432
-
433
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span + span {
434
- margin-inline-start: 4px;
435
- }
436
-
437
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label {
438
- box-sizing: border-box;
439
- white-space: nowrap;
440
- user-select: none;
441
- background-color: var(--md-theme-code-block-bg-color);
442
- margin-block-start: 8px;
443
- padding: 0;
444
- }
445
-
446
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li {
447
- line-height: 1;
448
- list-style: none;
449
- display: inline-block;
450
- position: relative;
451
- vertical-align: super;
452
- margin: 0;
453
- }
454
-
455
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label {
456
- cursor: pointer;
457
- user-select: none;
458
- display: inline-block;
459
- font-size: 14px;
460
- }
461
-
462
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li + li {
463
- margin-inline-start: 12px;
464
- }
465
-
466
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action {
467
- display: flex;
468
- align-items: center;
469
- }
470
-
471
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action > * {
472
- margin-inline-end: 10px;
473
- }
474
-
475
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang {
476
- line-height: 32px;
477
- }
478
-
479
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) {
480
- cursor: pointer;
481
- line-height: 32px;
482
- position: initial;
483
- }
484
-
485
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon {
486
- width: 15px;
487
- height: 15px;
488
- display: inline-block;
489
- vertical-align: sub;
490
- }
491
-
492
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] {
493
- cursor: pointer;
494
- line-height: 1;
495
- position: relative;
496
- }
497
-
498
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon {
499
- width: 15px;
500
- height: 15px;
501
- display: inline-block;
502
- vertical-align: sub;
503
- }
504
-
505
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before {
506
- content: attr(data-tips);
507
- color: var(--md-theme-code-copy-tips-color);
508
- background-color: var(--md-theme-code-copy-tips-bg-color);
509
- position: absolute;
510
- font-size: 12px;
511
- font-family: sans-serif;
512
- width: max-content;
513
- text-align: center;
514
- padding: 4px;
515
- border-radius: var(--md-theme-radius-s);
516
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
517
- inset-inline-start: -10px;
518
- inset-block-start: 50%;
519
- transform: translate(-100%, -50%);
520
- }
521
-
522
- [dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before {
523
- transform: translate(100%, -50%);
524
- }
525
-
526
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after {
527
- content: "";
528
- color: var(--md-theme-code-copy-tips-bg-color);
529
- position: absolute;
530
- width: 0;
531
- height: 0;
532
- border: 5px solid rgba(0, 0, 0, 0);
533
- border-inline-end-width: 0;
534
- border-inline-start-color: currentColor;
535
- inset-inline-start: -10px;
536
- inset-block-start: 50%;
537
- transform: translate(0, -50%);
538
- filter: drop-shadow(4px 0 2px rgba(0, 0, 0, 0.2));
539
- }
540
-
541
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before, .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after {
542
- visibility: hidden;
543
- transition: 0.3s;
544
- }
545
-
546
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::before, .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::after {
547
- visibility: visible;
548
- }
549
-
550
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips {
551
- margin-inline-end: 12px;
552
- }
553
-
554
- .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon, .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont {
555
- width: 16px;
556
- height: 16px;
557
- font-size: 16px;
558
- display: inline-block;
559
- vertical-align: sub;
560
- transition: transform 0.1s;
561
- transform: rotate(0);
562
- }
563
-
564
- [dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon, [dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont {
565
- transform: rotate(180deg);
566
- }
567
-
568
- .md-editor-preview .md-editor-code pre {
569
- position: relative;
570
- margin: 0;
571
- }
572
-
573
- .md-editor-preview .md-editor-code pre code {
574
- font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
575
- font-size: 14px;
576
- color: var(--md-theme-code-block-color);
577
- background-color: var(--md-theme-code-before-bg-color);
578
- display: block;
579
- line-height: 1.6;
580
- overflow: auto;
581
- padding: 1em;
582
- position: relative;
583
- border-start-start-radius: 0;
584
- border-start-end-radius: 0;
585
- border-end-start-radius: var(--md-theme-code-block-radius);
586
- border-end-end-radius: var(--md-theme-code-block-radius);
587
- }
588
-
589
- .md-editor-preview .md-editor-code pre code .md-editor-code-block {
590
- display: inline-block;
591
- width: 100%;
592
- overflow: auto;
593
- vertical-align: bottom;
594
- color: var(--md-theme-code-block-color);
595
- }
596
-
597
- .md-editor-preview details.md-editor-code .md-editor-code-head {
598
- cursor: pointer;
599
- }
600
-
601
- .md-editor-preview details.md-editor-code:not(open) .md-editor-code-head {
602
- border-end-start-radius: var(--md-theme-code-block-radius);
603
- border-end-end-radius: var(--md-theme-code-block-radius);
604
- }
605
-
606
- .md-editor-preview details.md-editor-code[open] .md-editor-code-head {
607
- border-end-start-radius: 0;
608
- border-end-end-radius: 0;
609
- }
610
-
611
- .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon, .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont {
612
- transform: rotate(-90deg);
613
- }
614
-
615
- [dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon, [dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont {
616
- transform: rotate(270deg);
617
- }
618
-
619
- .md-editor-scrn span[rn-wrapper] {
620
- position: absolute;
621
- pointer-events: none;
622
- font-size: 100%;
623
- inset-block-start: 1em;
624
- inset-inline-start: 0;
625
- width: 3em;
626
- letter-spacing: -1px;
627
- user-select: none;
628
- counter-reset: linenumber;
629
- }
630
-
631
- .md-editor-scrn span[rn-wrapper] > span {
632
- display: block;
633
- pointer-events: none;
634
- counter-increment: linenumber;
635
- }
636
-
637
- .md-editor-scrn span[rn-wrapper] > span::before {
638
- color: #999;
639
- display: block;
640
- padding-inline-end: 0.5em;
641
- text-align: right;
642
- content: counter(linenumber);
643
- }
644
-
645
- .md-editor-scrn pre code {
646
- padding-inline-start: 3.5em !important;
647
- }
648
-
649
- .md-editor-preview figure {
650
- margin: 0 0 1em 0;
651
- display: inline-flex;
652
- flex-direction: column;
653
- text-align: center;
654
- }
655
-
656
- .md-editor-preview figure figcaption {
657
- color: var(--md-theme-color);
658
- font-size: 0.875em;
659
- margin-block-start: 5px;
660
- }
661
-
662
- .md-editor .md-editor-preview {
663
- --md-theme-heading-color: var(--md-theme-color);
664
- --md-theme-heading-border: none;
665
- --md-theme-heading-1-color: var(--md-theme-heading-color);
666
- --md-theme-heading-1-border: var(--md-theme-heading-border);
667
- --md-theme-heading-2-color: var(--md-theme-heading-color);
668
- --md-theme-heading-2-border: var(--md-theme-heading-border);
669
- --md-theme-heading-3-color: var(--md-theme-heading-color);
670
- --md-theme-heading-3-border: var(--md-theme-heading-border);
671
- --md-theme-heading-4-color: var(--md-theme-heading-color);
672
- --md-theme-heading-4-border: var(--md-theme-heading-border);
673
- --md-theme-heading-5-color: var(--md-theme-heading-color);
674
- --md-theme-heading-5-border: var(--md-theme-heading-border);
675
- --md-theme-heading-6-color: var(--md-theme-heading-color);
676
- --md-theme-heading-6-border: var(--md-theme-heading-border);
677
- }
678
-
679
- .md-editor-preview h1, .md-editor-preview h2, .md-editor-preview h3, .md-editor-preview h4, .md-editor-preview h5, .md-editor-preview h6 {
680
- position: relative;
681
- word-break: break-all;
682
- margin: 1.4em 0 0.8em 0;
683
- font-weight: bold;
684
- }
685
-
686
- .md-editor-preview h1 a, .md-editor-preview h2 a, .md-editor-preview h3 a, .md-editor-preview h4 a, .md-editor-preview h5 a, .md-editor-preview h6 a {
687
- color: inherit;
688
- }
689
-
690
- .md-editor-preview h1 a:hover, .md-editor-preview h2 a:hover, .md-editor-preview h3 a:hover, .md-editor-preview h4 a:hover, .md-editor-preview h5 a:hover, .md-editor-preview h6 a:hover {
691
- color: inherit;
692
- }
693
-
694
- .md-editor-preview h1 {
695
- color: var(--md-theme-heading-1-color);
696
- border-block-end: var(--md-theme-heading-1-border);
697
- }
698
-
699
- .md-editor-preview h2 {
700
- color: var(--md-theme-heading-2-color);
701
- border-block-end: var(--md-theme-heading-2-border);
702
- }
703
-
704
- .md-editor-preview h3 {
705
- color: var(--md-theme-heading-3-color);
706
- border-block-end: var(--md-theme-heading-3-border);
707
- }
708
-
709
- .md-editor-preview h4 {
710
- color: var(--md-theme-heading-4-color);
711
- border-block-end: var(--md-theme-heading-4-border);
712
- }
713
-
714
- .md-editor-preview h5 {
715
- color: var(--md-theme-heading-5-color);
716
- border-block-end: var(--md-theme-heading-5-border);
717
- }
718
-
719
- .md-editor-preview h6 {
720
- color: var(--md-theme-heading-6-color);
721
- border-block-end: var(--md-theme-heading-6-border);
722
- }
723
-
724
- .md-editor-preview h1 {
725
- font-size: 2em;
726
- }
727
-
728
- .md-editor-preview h2 {
729
- font-size: 1.5em;
730
- }
731
-
732
- .md-editor-preview h3 {
733
- font-size: 1.25em;
734
- }
735
-
736
- .md-editor-preview h4 {
737
- font-size: 1em;
738
- }
739
-
740
- .md-editor-preview h5 {
741
- font-size: 0.875em;
742
- }
743
-
744
- .md-editor-preview h6 {
745
- font-size: 0.85em;
746
- }
747
-
748
- .md-editor-preview hr {
749
- height: 1px;
750
- margin: 10px 0;
751
- border: none;
752
- border-block-start: 1px solid var(--md-theme-border-color);
753
- }
754
-
755
- .md-editor-preview a {
756
- color: var(--md-theme-link-color);
757
- text-decoration: none;
758
- transition: color 0.1s;
759
- }
760
-
761
- .md-editor-preview a:hover {
762
- color: var(--md-theme-link-hover-color);
763
- }
764
-
765
- .md-editor-preview a:empty::before {
766
- content: attr(href);
767
- }
768
-
769
- .md-editor-preview ol, .md-editor-preview ul {
770
- padding-inline-start: 2em;
771
- }
772
-
773
- .md-editor-preview ol .task-list-item, .md-editor-preview ul .task-list-item {
774
- list-style-type: none;
775
- }
776
-
777
- .md-editor-preview ol .task-list-item input, .md-editor-preview ul .task-list-item input {
778
- margin-inline-start: -1.5em;
779
- margin-inline-end: 0.1em;
780
- }
781
-
782
- .md-editor-preview img {
783
- max-width: 100%;
784
- }
785
-
786
- .md-editor-preview p:empty {
787
- display: none;
788
- }
789
-
790
- .md-editor .md-editor-preview {
791
- --md-theme-quote-color: var(--md-theme-color);
792
- --md-theme-quote-border: none;
793
- --md-theme-quote-bg-color: inherit;
794
- }
795
-
796
- .md-editor-preview blockquote {
797
- padding: 0 1em;
798
- color: var(--md-theme-quote-color);
799
- border-inline-start: var(--md-theme-quote-border);
800
- background-color: var(--md-theme-quote-bg-color);
801
- }
802
-
803
- .md-editor .md-editor-preview {
804
- --md-theme-table-stripe-color: #fafafa;
805
- --md-theme-table-tr-bg-color: inherit;
806
- --md-theme-table-td-border-color: var(--md-theme-border-color);
807
- }
808
-
809
- .md-editor-dark .md-editor-preview {
810
- --md-theme-table-stripe-color: #0c0c0c;
811
- --md-theme-table-tr-bg-color: inherit;
812
- --md-theme-table-td-border-color: var(--md-theme-border-color);
813
- }
814
-
815
- .md-editor-preview table tr {
816
- background-color: var(--md-theme-table-tr-bg-color);
817
- }
818
-
819
- .md-editor-preview table tr th, .md-editor-preview table tr td {
820
- border: 1px solid var(--md-theme-table-td-border-color);
821
- }
822
-
823
- .md-editor-preview table tr:nth-child(2n) {
824
- background-color: var(--md-theme-table-stripe-color);
825
- }
826
-
827
- .md-editor-preview {
828
- color: var(--md-theme-color);
829
- }
830
-
831
- .md-editor-preview ::-webkit-scrollbar {
832
- width: 6px;
833
- height: 6px;
834
- }
835
-
836
- .md-editor-preview ::-webkit-scrollbar-button:vertical {
837
- display: none;
838
- }
839
-
840
- .md-editor-preview ::-webkit-scrollbar-corner, .md-editor-preview ::-webkit-scrollbar-track, .md-editor-preview ::-webkit-scrollbar-thumb {
841
- border-radius: 2px;
842
- }
843
-
844
- .md-editor .md-editor-preview ::-webkit-scrollbar-corner, .md-editor .md-editor-preview ::-webkit-scrollbar-track {
845
- background-color: #e2e2e2;
846
- }
847
-
848
- .md-editor .md-editor-preview ::-webkit-scrollbar-thumb {
849
- background-color: rgba(0, 0, 0, 0.3019607843);
850
- }
851
-
852
- .md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover {
853
- background-color: rgba(0, 0, 0, 0.3490196078);
854
- }
855
-
856
- .md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active {
857
- background-color: rgba(0, 0, 0, 0.3803921569);
858
- }
859
-
860
- .md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner, .md-editor-dark .md-editor-preview ::-webkit-scrollbar-track {
861
- background-color: #0f0f0f;
862
- }
863
-
864
- .md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb {
865
- background-color: #2d2d2d;
866
- }
867
-
868
- .md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover {
869
- background-color: #3a3a3a;
870
- }
871
-
872
- .md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active {
873
- background-color: #3a3a3a;
874
- }
875
-
876
- .md-editor div.default-theme {
877
- --md-theme-code-copy-tips-color: #141414;
878
- }
879
-
880
- .md-editor-dark div.default-theme {
881
- --md-theme-code-copy-tips-color: inherit;
882
- }
883
-
884
- div.default-theme img {
885
- margin: 0 auto;
886
- box-sizing: border-box;
887
- }
888
-
889
- div.default-theme a {
890
- display: inline-flex;
891
- line-height: 1;
892
- border-block-end: none;
893
- }
894
-
895
- div.default-theme a:hover {
896
- border-block-end: 1px solid;
897
- }
898
-
899
- div.default-theme a[target=_blank] {
900
- align-items: center;
901
- }
902
-
903
- div.default-theme a[target=_blank]::after {
904
- content: "";
905
- display: inline-block;
906
- width: 16px;
907
- height: 16px;
908
- margin-inline-start: 2px;
909
- background-color: currentColor;
910
- mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');
911
- mask-size: contain;
912
- mask-repeat: no-repeat;
913
- }
914
-
915
- div.default-theme ol, div.default-theme ul {
916
- margin: 0.6em 0;
917
- }
918
-
919
- div.default-theme ol li, div.default-theme ul li {
920
- line-height: 1.6;
921
- margin: 0.5em 0;
922
- }
923
-
924
- div.default-theme p {
925
- line-height: 1.6;
926
- margin: 0.5rem 0;
927
- }
928
-
929
- .md-editor div.default-theme {
930
- --md-theme-quote-border: 5px solid #35b378;
931
- --md-theme-quote-bg-color: var(--md-theme-bg-color-inset);
932
- }
933
-
934
- div.default-theme blockquote {
935
- margin: 20px 0;
936
- padding: 0 1.2em;
937
- line-height: 2em;
938
- display: flow-root;
939
- }
940
-
941
- .md-editor default-theme {
942
- --md-theme-table-stripe-color: #fafafa;
943
- }
944
-
945
- .md-editor-dark default-theme {
946
- --md-theme-table-stripe-color: #0c0c0c;
947
- }
948
-
949
- div.default-theme table {
950
- overflow: auto;
951
- border-spacing: 0;
952
- border-collapse: collapse;
953
- margin-block-end: 1em;
954
- margin-block-start: 1em;
955
- }
956
-
957
- div.default-theme table tr th, div.default-theme table tr td {
958
- word-wrap: break-word;
959
- padding: 8px 14px;
960
- }
961
-
962
- div.default-theme table tbody tr:hover {
963
- background-color: var(--md-theme-color-hover);
964
- }
965
-
966
- div.default-theme blockquote table {
967
- line-height: initial;
968
- }
969
-
970
- div.default-theme blockquote table tr th, div.default-theme blockquote table tr td {
971
- border-color: var(--md-theme-border-color-inset);
972
- }
973
-
974
- div.default-theme blockquote table tbody tr:nth-child(n) {
975
- background-color: inherit;
976
- }
977
-
978
- div.default-theme blockquote table tbody tr:hover {
979
- background-color: var(--md-theme-color-hover-inset);
980
- }
981
-
982
- .md-editor div.vuepress-theme {
983
- --md-theme-code-inline-color: #d63200;
984
- --md-theme-code-inline-bg-color: #f8f8f8;
985
- --md-theme-code-block-color: #747384;
986
- --md-theme-code-block-bg-color: #f8f8f8;
987
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
988
- --md-theme-code-block-radius: 2px;
989
- }
990
-
991
- .md-editor-dark div.vuepress-theme {
992
- --md-theme-code-inline-color: #e06c75;
993
- --md-theme-code-inline-bg-color: #1a1a1a;
994
- --md-theme-code-block-color: #999;
995
- --md-theme-code-block-bg-color: #1a1a1a;
996
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
997
- --md-theme-code-block-radius: 2px;
998
- }
999
-
1000
- div.vuepress-theme code {
1001
- padding: 3px 5px;
1002
- margin: 0 2px;
1003
- }
1004
-
1005
- div.vuepress-theme .md-editor-code pre {
1006
- font-size: 0.875em;
1007
- margin: 0 0 1em;
1008
- }
1009
-
1010
- div.vuepress-theme .md-editor-code pre code {
1011
- white-space: pre;
1012
- padding: 22px 1em;
1013
- margin: 0;
1014
- }
1015
-
1016
- div.vuepress-theme .md-editor-code pre code span[rn-wrapper] {
1017
- top: 22px;
1018
- }
1019
-
1020
- .md-editor div.vuepress-theme {
1021
- --md-theme-heading-color: #273849;
1022
- --md-theme-heading-2-border: 1px solid var(--md-theme-border-color);
1023
- }
1024
-
1025
- .md-editor-dark div.vuepress-theme {
1026
- --md-theme-heading-color: #999;
1027
- --md-theme-heading-2-border: 1px solid var(--md-theme-border-color);
1028
- }
1029
-
1030
- div.vuepress-theme h1, div.vuepress-theme h2, div.vuepress-theme h3, div.vuepress-theme h4, div.vuepress-theme h5, div.vuepress-theme h6 {
1031
- font-weight: 600;
1032
- line-height: 1.45;
1033
- position: relative;
1034
- margin-block-start: 1em;
1035
- }
1036
-
1037
- div.vuepress-theme h1 {
1038
- font-size: 2.2em;
1039
- margin: 1em 0;
1040
- }
1041
-
1042
- div.vuepress-theme h2 {
1043
- font-size: 1.65em;
1044
- padding-block-end: 0.3em;
1045
- }
1046
-
1047
- div.vuepress-theme h3 {
1048
- line-height: 1.35em;
1049
- }
1050
-
1051
- .md-editor div.vuepress-theme {
1052
- --md-theme-link-color: #42b983;
1053
- }
1054
-
1055
- div.vuepress-theme a {
1056
- font-weight: 600;
1057
- }
1058
-
1059
- div.vuepress-theme ul, div.vuepress-theme ol {
1060
- position: relative;
1061
- line-height: 1.4em;
1062
- margin: 1.2em 0;
1063
- z-index: 1;
1064
- }
1065
-
1066
- div.vuepress-theme ul li, div.vuepress-theme ol li {
1067
- margin: 1.2em 0;
1068
- }
1069
-
1070
- div.vuepress-theme p {
1071
- word-spacing: 0.05em;
1072
- line-height: 1.6em;
1073
- margin: 1.2em 0;
1074
- position: relative;
1075
- }
1076
-
1077
- .md-editor div.vuepress-theme {
1078
- --md-theme-quote-border: 4px solid #42b983;
1079
- }
1080
-
1081
- div.vuepress-theme blockquote {
1082
- margin: 2em 0;
1083
- padding-inline-start: 20px;
1084
- }
1085
-
1086
- div.vuepress-theme blockquote p {
1087
- margin-inline-start: 0;
1088
- margin-block-start: 1.2em;
1089
- margin-block-end: 0;
1090
- padding: 0;
1091
- }
1092
-
1093
- .md-editor div.vuepress-theme {
1094
- --md-theme-table-td-border-color: #dfe2e5;
1095
- --md-theme-table-stripe-color: #f6f8fa;
1096
- }
1097
-
1098
- .md-editor-dark div.vuepress-theme {
1099
- --md-theme-table-td-border-color: #2d2d2d;
1100
- --md-theme-table-stripe-color: #0c0c0c;
1101
- }
1102
-
1103
- div.vuepress-theme table {
1104
- border-collapse: collapse;
1105
- margin: 1rem 0;
1106
- display: block;
1107
- overflow-x: auto;
1108
- }
1109
-
1110
- div.vuepress-theme table tr th, div.vuepress-theme table tr td {
1111
- padding: 0.6em 1em;
1112
- }
1113
-
1114
- .md-editor div.vuepress-theme {
1115
- --md-theme-color: #304455;
1116
- }
1117
-
1118
- .md-editor-dark div.vuepress-theme {
1119
- --md-theme-color: #999;
1120
- }
1121
-
1122
- div.vuepress-theme {
1123
- font-size: 16px;
1124
- color: var(--md-theme-color);
1125
- }
1126
-
1127
- div.vuepress-theme em {
1128
- color: #4f5959;
1129
- padding: 0 6px 0 4px;
1130
- }
1131
-
1132
- .md-editor div.github-theme {
1133
- --md-theme-code-inline-color: inherit;
1134
- --md-theme-code-inline-bg-color: #eff1f2;
1135
- --md-theme-code-inline-radius: 6px;
1136
- --md-theme-code-block-color: inherit;
1137
- --md-theme-code-block-bg-color: #f6f8fa;
1138
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
1139
- --md-theme-code-block-radius: 6px;
1140
- }
1141
-
1142
- .md-editor-dark div.github-theme {
1143
- --md-theme-code-inline-color: #c9d1d9;
1144
- --md-theme-code-inline-bg-color: #2d3339;
1145
- --md-theme-code-inline-radius: 6px;
1146
- --md-theme-code-block-color: #a9b7c6;
1147
- --md-theme-code-block-bg-color: #161b22;
1148
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
1149
- --md-theme-code-block-radius: 6px;
1150
- }
1151
-
1152
- div.github-theme code {
1153
- padding: 0.2em 0.4em;
1154
- margin: 0;
1155
- }
1156
-
1157
- div.github-theme pre code {
1158
- padding: 22px 1em;
1159
- margin-block-end: 0;
1160
- word-break: normal;
1161
- letter-spacing: 1px;
1162
- }
1163
-
1164
- .md-editor div.github-theme {
1165
- --md-theme-heading-color: inherit;
1166
- --md-theme-heading-6-color: #2d3339;
1167
- --md-theme-heading-1-border: 1px solid #d9dee4;
1168
- --md-theme-heading-2-border: 1px solid #d9dee4;
1169
- }
1170
-
1171
- .md-editor-dark div.github-theme {
1172
- --md-theme-heading-color: #c9d1d9;
1173
- --md-theme-heading-6-color: #768390;
1174
- --md-theme-heading-1-border: 1px solid #373e47;
1175
- --md-theme-heading-2-border: 1px solid #373e47;
1176
- }
1177
-
1178
- div.github-theme h1, div.github-theme h2, div.github-theme h3, div.github-theme h4, div.github-theme h5, div.github-theme h6 {
1179
- margin-block-start: 24px;
1180
- margin-block-end: 16px;
1181
- font-weight: 600;
1182
- line-height: 1.25;
1183
- }
1184
-
1185
- div.github-theme h1 {
1186
- padding-block-end: 0.3em;
1187
- font-size: 2em;
1188
- }
1189
-
1190
- div.github-theme h2 {
1191
- padding-block-end: 0.3em;
1192
- font-size: 1.5em;
1193
- }
1194
-
1195
- div.github-theme h3 {
1196
- font-size: 1.25em;
1197
- }
1198
-
1199
- div.github-theme h4 {
1200
- font-size: 1em;
1201
- }
1202
-
1203
- div.github-theme h5 {
1204
- font-size: 0.875em;
1205
- }
1206
-
1207
- div.github-theme h6 {
1208
- font-size: 0.85em;
1209
- }
1210
-
1211
- .md-editor div.github-theme {
1212
- --md-theme-heading-bg-color: #fff;
1213
- }
1214
-
1215
- .md-editor-dark div.github-theme {
1216
- --md-theme-heading-bg-color: #22272e;
1217
- }
1218
-
1219
- div.github-theme img {
1220
- background-color: var(--md-theme-heading-bg-color);
1221
- }
1222
-
1223
- .md-editor div.github-theme {
1224
- --md-theme-link-color: #539bf5;
1225
- --md-theme-link-hover-color: #539bf5;
1226
- }
1227
-
1228
- div.github-theme a:hover {
1229
- text-decoration: underline;
1230
- }
1231
-
1232
- div.github-theme ol li + li, div.github-theme ul li + li {
1233
- margin-block-start: 0.25em;
1234
- }
1235
-
1236
- .md-editor div.github-theme {
1237
- --md-theme-quote-color: #57606a;
1238
- --md-theme-quote-border: 0.25em solid #d0d7de;
1239
- }
1240
-
1241
- .md-editor-dark div.github-theme {
1242
- --md-theme-quote-color: #8b949e;
1243
- --md-theme-quote-border: 0.25em solid #444c56;
1244
- }
1245
-
1246
- div.github-theme blockquote {
1247
- margin: 0;
1248
- padding: 0 1em;
1249
- }
1250
-
1251
- .md-editor div.github-theme {
1252
- --md-theme-table-stripe-color: #f7f8fa;
1253
- --md-theme-table-tr-bg-color: #fff;
1254
- --md-theme-table-td-border-color: #d0d7de;
1255
- }
1256
-
1257
- .md-editor-dark div.github-theme {
1258
- --md-theme-table-stripe-color: #161b22;
1259
- --md-theme-table-tr-bg-color: transparent;
1260
- --md-theme-table-td-border-color: #30363d;
1261
- }
1262
-
1263
- div.github-theme table {
1264
- display: block;
1265
- max-width: 100%;
1266
- overflow: auto;
1267
- border-spacing: 0;
1268
- border-collapse: collapse;
1269
- }
1270
-
1271
- div.github-theme table tr th, div.github-theme table tr td {
1272
- padding: 6px 13px;
1273
- }
1274
-
1275
- .md-editor div.github-theme {
1276
- --md-theme-color: #222;
1277
- }
1278
-
1279
- .md-editor-dark div.github-theme {
1280
- --md-theme-color: #c9d1d9;
1281
- }
1282
-
1283
- div.github-theme {
1284
- line-height: 1.5;
1285
- color: var(--md-theme-color);
1286
- }
1287
-
1288
- div.github-theme p, div.github-theme blockquote, div.github-theme ul, div.github-theme ol, div.github-theme dl, div.github-theme table, div.github-theme pre, div.github-theme details {
1289
- margin-block-start: 0;
1290
- margin-block-end: 16px;
1291
- }
1292
-
1293
- .md-editor div.cyanosis-theme {
1294
- --md-theme-code-inline-color: var(--md-theme-code-color);
1295
- --md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);
1296
- --md-theme-code-block-color: var(--md-theme-base-color);
1297
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
1298
- }
1299
-
1300
- .md-editor-dark div.cyanosis-theme {
1301
- --md-theme-code-inline-color: var(--md-theme-code-color);
1302
- --md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);
1303
- --md-theme-code-block-color: var(--md-theme-base-color);
1304
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
1305
- }
1306
-
1307
- div.cyanosis-theme code {
1308
- padding: 0.065em 0.4em;
1309
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1310
- overflow-x: auto;
1311
- }
1312
-
1313
- div.cyanosis-theme code::selection {
1314
- background-color: var(--md-theme-slct-codebg-color);
1315
- }
1316
-
1317
- div.cyanosis-theme .md-editor-code pre {
1318
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1319
- }
1320
-
1321
- div.cyanosis-theme .md-editor-code pre code {
1322
- padding: 11px 12px 22px;
1323
- margin: 0;
1324
- word-break: normal;
1325
- line-height: 1.75;
1326
- }
1327
-
1328
- div.cyanosis-theme .md-editor-code pre code span[rn-wrapper] {
1329
- top: 11px;
1330
- }
1331
-
1332
- .md-editor div.cyanosis-theme {
1333
- --md-theme-heading-color: var(--md-theme-title-color);
1334
- }
1335
-
1336
- div.cyanosis-theme h1 {
1337
- padding-block-end: 4px;
1338
- margin-block-start: 36px;
1339
- margin-block-end: 10px;
1340
- font-size: 30px;
1341
- line-height: 1.5;
1342
- transition: color 0.35s;
1343
- }
1344
-
1345
- div.cyanosis-theme h2 {
1346
- position: relative;
1347
- padding-inline-start: 10px;
1348
- padding-inline-end: 10px;
1349
- padding-block-end: 10px;
1350
- margin-block-start: 36px;
1351
- margin-block-end: 10px;
1352
- font-size: 24px;
1353
- line-height: 1.5;
1354
- border-block-end: 1px solid var(--md-theme-border-color-2);
1355
- transition: color 0.35s;
1356
- }
1357
-
1358
- div.cyanosis-theme h2::before {
1359
- content: "「";
1360
- position: absolute;
1361
- inset-block-start: -6px;
1362
- inset-inline-start: -14px;
1363
- }
1364
-
1365
- div.cyanosis-theme h2::after {
1366
- content: "」";
1367
- position: relative;
1368
- inset-block-start: 6px;
1369
- inset-inline-end: auto;
1370
- }
1371
-
1372
- div.cyanosis-theme h3 {
1373
- position: relative;
1374
- padding-block-end: 0;
1375
- margin-block-start: 30px;
1376
- margin-block-end: 10px;
1377
- font-size: 20px;
1378
- line-height: 1.5;
1379
- padding-inline-start: 6px;
1380
- transition: color 0.35s;
1381
- }
1382
-
1383
- div.cyanosis-theme h3::before {
1384
- content: "»";
1385
- padding-inline-end: 6px;
1386
- color: var(--md-theme-strong-color);
1387
- }
1388
-
1389
- div.cyanosis-theme h4 {
1390
- padding-block-end: 0;
1391
- margin-block-start: 24px;
1392
- margin-block-end: 10px;
1393
- font-size: 16px;
1394
- line-height: 1.5;
1395
- padding-inline-start: 6px;
1396
- transition: color 0.35s;
1397
- }
1398
-
1399
- div.cyanosis-theme h5 {
1400
- padding-block-end: 0;
1401
- margin-block-start: 18px;
1402
- margin-block-end: 10px;
1403
- font-size: 14px;
1404
- line-height: 1.5;
1405
- padding-inline-start: 6px;
1406
- transition: color 0.35s;
1407
- }
1408
-
1409
- div.cyanosis-theme h6 {
1410
- padding-block-end: 0;
1411
- margin-block-start: 12px;
1412
- margin-block-end: 10px;
1413
- font-size: 12px;
1414
- line-height: 1.5;
1415
- padding-inline-start: 6px;
1416
- transition: color 0.35s;
1417
- }
1418
-
1419
- div.cyanosis-theme h1::selection, div.cyanosis-theme h2::selection, div.cyanosis-theme h3::selection, div.cyanosis-theme h4::selection, div.cyanosis-theme h5::selection, div.cyanosis-theme h6::selection {
1420
- color: var(--md-theme-slct-title-color);
1421
- background-color: var(--md-theme-slct-titlebg-color);
1422
- }
1423
-
1424
- @media (max-width: 720px) {
1425
- div.cyanosis-theme h1 {
1426
- font-size: 24px;
1427
- }
1428
- div.cyanosis-theme h2 {
1429
- font-size: 20px;
1430
- }
1431
- div.cyanosis-theme h3 {
1432
- font-size: 18px;
1433
- }
1434
- }
1435
- .md-editor div.cyanosis-theme {
1436
- --md-theme-link-color: var(--md-theme-link-color);
1437
- --md-theme-link-hover-color: var(--md-theme-linkh-color);
1438
- }
1439
-
1440
- div.cyanosis-theme a {
1441
- position: relative;
1442
- display: inline-block;
1443
- text-decoration: none;
1444
- border-block-end: 1px solid var(--md-theme-border-color);
1445
- }
1446
-
1447
- div.cyanosis-theme a:hover {
1448
- border-block-end-color: var(--md-theme-linkh-color);
1449
- }
1450
-
1451
- div.cyanosis-theme a:active {
1452
- color: var(--md-theme-linkh-color);
1453
- }
1454
-
1455
- div.cyanosis-theme a::after {
1456
- position: absolute;
1457
- content: "";
1458
- inset-block-start: 100%;
1459
- inset-inline-start: 0;
1460
- width: 100%;
1461
- opacity: 0;
1462
- border-block-end: 1px solid var(--md-theme-border-color);
1463
- transition: top 0.3s, opacity 0.3s;
1464
- transform: translate3d(0, 0, 0);
1465
- }
1466
-
1467
- div.cyanosis-theme a:hover::after {
1468
- top: 0;
1469
- opacity: 1;
1470
- border-block-end-color: var(--md-theme-linkh-color);
1471
- }
1472
-
1473
- div.cyanosis-theme ol, div.cyanosis-theme ul {
1474
- margin: 0;
1475
- }
1476
-
1477
- div.cyanosis-theme ol li, div.cyanosis-theme ul li {
1478
- margin-block-end: 0;
1479
- list-style: inherit;
1480
- }
1481
-
1482
- div.cyanosis-theme ol li .task-list-item, div.cyanosis-theme ul li .task-list-item {
1483
- list-style: none;
1484
- }
1485
-
1486
- div.cyanosis-theme ol li .task-list-item ul, div.cyanosis-theme ol li .task-list-item ol, div.cyanosis-theme ul li .task-list-item ul, div.cyanosis-theme ul li .task-list-item ol {
1487
- margin-block-start: 0;
1488
- }
1489
-
1490
- div.cyanosis-theme ol ul, div.cyanosis-theme ol ol, div.cyanosis-theme ul ul, div.cyanosis-theme ul ol {
1491
- margin-block-start: 4px;
1492
- }
1493
-
1494
- div.cyanosis-theme ol li {
1495
- padding-inline-start: 6px;
1496
- }
1497
-
1498
- div.cyanosis-theme ol li::selection, div.cyanosis-theme ul li::selection {
1499
- color: var(--md-theme-slct-text-color);
1500
- background-color: var(--md-theme-slct-bg-color);
1501
- }
1502
-
1503
- div.cyanosis-theme .task-list-item-checkbox {
1504
- position: relative;
1505
- }
1506
-
1507
- div.cyanosis-theme .contains-task-list input[type=checkbox]::before {
1508
- content: "";
1509
- position: absolute;
1510
- inset-block-start: 0;
1511
- inset-inline-start: 0;
1512
- inset-inline-end: 0;
1513
- inset-block-end: 0;
1514
- width: inherit;
1515
- height: inherit;
1516
- background: #f0f8ff;
1517
- border: 1px solid #add6ff;
1518
- border-radius: var(--md-theme-radius-s);
1519
- box-sizing: border-box;
1520
- z-index: 1;
1521
- }
1522
-
1523
- div.cyanosis-theme .contains-task-list input[type=checkbox][checked]::after {
1524
- content: "✓";
1525
- position: absolute;
1526
- inset-block-start: -12px;
1527
- inset-inline-start: 0;
1528
- inset-inline-end: 0;
1529
- inset-block-end: 0;
1530
- width: 0;
1531
- height: 0;
1532
- color: #f55;
1533
- font-size: 20px;
1534
- font-weight: 700;
1535
- z-index: 2;
1536
- }
1537
-
1538
- div.cyanosis-theme p {
1539
- line-height: inherit;
1540
- margin-block-start: 16px;
1541
- margin-block-end: 16px;
1542
- }
1543
-
1544
- div.cyanosis-theme p::selection {
1545
- color: var(--md-theme-slct-text-color);
1546
- background-color: var(--md-theme-slct-bg-color);
1547
- }
1548
-
1549
- .md-editor div.cyanosis-theme {
1550
- --md-theme-quote-color: var(--md-theme-blockquote-color);
1551
- --md-theme-quote-border: 4px solid var(--md-theme-strong-color);
1552
- --md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color);
1553
- }
1554
-
1555
- div.cyanosis-theme blockquote {
1556
- padding: 1px 20px;
1557
- margin: 22px 0;
1558
- transition: color 0.35s;
1559
- }
1560
-
1561
- div.cyanosis-theme blockquote::after {
1562
- display: block;
1563
- content: "";
1564
- }
1565
-
1566
- div.cyanosis-theme blockquote > p {
1567
- margin: 10px 0;
1568
- }
1569
-
1570
- div.cyanosis-theme blockquote > b, div.cyanosis-theme blockquote > strong {
1571
- color: var(--md-theme-strong-color);
1572
- }
1573
-
1574
- div.cyanosis-theme table {
1575
- display: inline-block !important;
1576
- width: auto;
1577
- max-width: 100%;
1578
- overflow: auto;
1579
- border: 1px solid var(--md-theme-table-border-color);
1580
- border-spacing: 0;
1581
- border-collapse: collapse;
1582
- }
1583
-
1584
- div.cyanosis-theme table thead {
1585
- color: #000;
1586
- text-align: left;
1587
- background: #f6f6f6;
1588
- }
1589
-
1590
- div.cyanosis-theme table tr:nth-child(2n) {
1591
- background-color: var(--md-theme-table-tr-nc-color);
1592
- }
1593
-
1594
- div.cyanosis-theme table tr:hover {
1595
- background-color: var(--md-theme-table-trh-color);
1596
- }
1597
-
1598
- div.cyanosis-theme table th, div.cyanosis-theme table td {
1599
- padding: 12px 8px;
1600
- line-height: 24px;
1601
- border: 1px solid var(--md-theme-table-border-color);
1602
- }
1603
-
1604
- div.cyanosis-theme table th {
1605
- color: var(--md-theme-table-tht-color);
1606
- background-color: var(--md-theme-table-th-color);
1607
- }
1608
-
1609
- div.cyanosis-theme table td {
1610
- min-width: 120px;
1611
- }
1612
-
1613
- div.cyanosis-theme table thead th::selection {
1614
- background-color: rgba(0, 0, 0, 0);
1615
- }
1616
-
1617
- div.cyanosis-theme table tbody td::selection {
1618
- background-color: var(--md-theme-slct-bg-color);
1619
- }
1620
-
1621
- .md-editor div.cyanosis-theme {
1622
- --md-theme-base-color:#353535;
1623
- --md-theme-title-color:#005bb7;
1624
- --md-theme-strong-color:#2196f3;
1625
- --md-theme-em-color:#4fc3f7;
1626
- --md-theme-del-color:#ccc;
1627
- --md-theme-link-color:#3da8f5;
1628
- --md-theme-linkh-color:#007fff;
1629
- --md-theme-border-color:#bedcff;
1630
- --md-theme-border-color-2:#ececec;
1631
- --md-theme-bg-color:#fff;
1632
- --md-theme-blockquote-color:#8c8c8c;
1633
- --md-theme-blockquote-bg-color:#f0fdff;
1634
- --md-theme-code-color:#c2185b;
1635
- --md-theme-code-bg-color:#fff4f4;
1636
- --md-theme-code-block-bg-color:#f8f8f8;
1637
- --md-theme-table-border-color:#c3e0fd;
1638
- --md-theme-table-th-color:#dff0ff;
1639
- --md-theme-table-tht-color:#005bb7;
1640
- --md-theme-table-tr-nc-color:#f7fbff;
1641
- --md-theme-table-trh-color:#e0edf7;
1642
- --md-theme-slct-title-color:#005bb7;
1643
- --md-theme-slct-titlebg-color:rgba(175,207,247,.25);
1644
- --md-theme-slct-text-color:#c80000;
1645
- --md-theme-slct-bg-color:rgba(175,207,247,.25);
1646
- --md-theme-slct-del-color:#999;
1647
- --md-theme-slct-elbg-color:#e8ebec;
1648
- --md-theme-slct-codebg-color:#ffeaeb;
1649
- --md-theme-slct-prebg-color:rgba(160,200,255,.25);
1650
- }
1651
-
1652
- .md-editor-dark div.cyanosis-theme {
1653
- --md-theme-base-color:#cacaca;
1654
- --md-theme-title-color:#ddd;
1655
- --md-theme-strong-color:#fe9900;
1656
- --md-theme-em-color:#ffd28e;
1657
- --md-theme-del-color:#ccc;
1658
- --md-theme-link-color:#ffb648;
1659
- --md-theme-linkh-color:#fe9900;
1660
- --md-theme-border-color:#ffe3ba;
1661
- --md-theme-border-color-2:#ffcb7b;
1662
- --md-theme-bg-color:#2f2f2f;
1663
- --md-theme-blockquote-color:#c7c7c7;
1664
- --md-theme-blockquote-bg-color:rgba(255,199,116,.1);
1665
- --md-theme-code-color:#000;
1666
- --md-theme-code-bg-color:#ffcb7b;
1667
- --md-theme-code-block-bg-color:rgba(30,25,18,.5);
1668
- --md-theme-table-border-color:#fe9900;
1669
- --md-theme-table-th-color:#ffb648;
1670
- --md-theme-table-tht-color:#000;
1671
- --md-theme-table-tr-nc-color:#6d5736;
1672
- --md-theme-table-trh-color:#947443;
1673
- --md-theme-slct-title-color:#000;
1674
- --md-theme-slct-titlebg-color:#fe9900;
1675
- --md-theme-slct-text-color:#00c888;
1676
- --md-theme-slct-bg-color:rgba(175,207,247,.25);
1677
- --md-theme-slct-del-color:#999;
1678
- --md-theme-slct-elbg-color:#000;
1679
- --md-theme-slct-codebg-color:#ffcb7b;
1680
- --md-theme-slct-prebg-color:rgba(160,200,255,.25);
1681
- }
1682
-
1683
- div.cyanosis-theme {
1684
- word-break: break-word;
1685
- line-height: 1.75;
1686
- font-weight: 400;
1687
- overflow-x: hidden;
1688
- color: var(--md-theme-base-color);
1689
- transition: color 0.35s;
1690
- }
1691
-
1692
- div.cyanosis-theme hr {
1693
- position: relative;
1694
- width: 98%;
1695
- height: 1px;
1696
- margin-block-start: 32px;
1697
- margin-block-end: 32px;
1698
- background-image: linear-gradient(90deg, var(--md-theme-link-color), rgba(255, 0, 0, 0.3), rgba(37, 163, 65, 0.3), rgba(255, 0, 0, 0.3), var(--md-theme-link-color));
1699
- border-width: 0;
1700
- overflow: visible;
1701
- }
1702
-
1703
- div.cyanosis-theme b, div.cyanosis-theme strong {
1704
- color: var(--md-theme-strong-color);
1705
- }
1706
-
1707
- div.cyanosis-theme i, div.cyanosis-theme em {
1708
- color: var(--md-theme-em-color);
1709
- }
1710
-
1711
- div.cyanosis-theme del {
1712
- color: var(--md-theme-del-color);
1713
- }
1714
-
1715
- div.cyanosis-theme details > summary {
1716
- outline: none;
1717
- color: var(--md-theme-title-color);
1718
- font-size: 20px;
1719
- font-weight: bolder;
1720
- border-block-end: 1px solid var(--md-theme-border-color);
1721
- cursor: pointer;
1722
- }
1723
-
1724
- div.cyanosis-theme details > p {
1725
- padding: 10px 20px;
1726
- margin: 10px 0 0;
1727
- color: #666;
1728
- background-color: var(--md-theme-blockquote-bg-color);
1729
- border: 2px dashed var(--md-theme-strong-color);
1730
- }
1731
-
1732
- div.cyanosis-theme a::selection, div.cyanosis-theme b::selection, div.cyanosis-theme strong::selection, div.cyanosis-theme i::selection, div.cyanosis-theme em::selection {
1733
- background-color: var(--md-theme-slct-elbg-color);
1734
- }
1735
-
1736
- div.cyanosis-theme del::selection {
1737
- color: var(--md-theme-slct-del-color);
1738
- background-color: var(--md-theme-slct-elbg-color);
1739
- }
1740
-
1741
- .md-editor div.mk-cute-theme {
1742
- --md-theme-code-inline-color: #4ec9b0;
1743
- --md-theme-code-inline-bg-color: #282c34;
1744
- --md-theme-code-block-color: #4ec9b0;
1745
- --md-theme-code-block-bg-color: #282c34;
1746
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
1747
- --md-theme-code-block-radius: 10px;
1748
- }
1749
-
1750
- .md-editor-dark div.mk-cute-theme {
1751
- --md-theme-code-inline-color: #4ec9b0;
1752
- --md-theme-code-inline-bg-color: #282c34;
1753
- --md-theme-code-block-color: #4ec9b0;
1754
- --md-theme-code-block-bg-color: #282c34;
1755
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
1756
- --md-theme-code-block-radius: 10px;
1757
- }
1758
-
1759
- div.mk-cute-theme code {
1760
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1761
- overflow-x: auto;
1762
- padding: 0.14em 0.46em;
1763
- margin: 0 4px;
1764
- }
1765
-
1766
- div.mk-cute-theme .md-editor-code pre code {
1767
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1768
- padding: 22px;
1769
- margin: 0;
1770
- word-break: normal;
1771
- line-height: 1.75;
1772
- }
1773
-
1774
- div.mk-cute-theme .md-editor-code pre code span[rn-wrapper] {
1775
- top: 22px;
1776
- }
1777
-
1778
- .md-editor div.mk-cute-theme {
1779
- --md-theme-heading-color: #36ace1;
1780
- }
1781
-
1782
- div.mk-cute-theme h1::before, div.mk-cute-theme h2::before, div.mk-cute-theme h3::before, div.mk-cute-theme h4::before, div.mk-cute-theme h5::before, div.mk-cute-theme h6::before {
1783
- content: "";
1784
- display: block;
1785
- position: absolute;
1786
- inset-inline-start: 0;
1787
- inset-block-start: 0;
1788
- inset-block-end: 0;
1789
- margin: auto;
1790
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);
1791
- animation: spin 2s linear 0s infinite;
1792
- }
1793
-
1794
- div.mk-cute-theme h1 {
1795
- position: relative;
1796
- font-size: 30px;
1797
- padding: 12px 38px;
1798
- margin: 30px 0;
1799
- }
1800
-
1801
- div.mk-cute-theme h1::before {
1802
- width: 30px;
1803
- height: 30px;
1804
- background-size: 30px 30px;
1805
- }
1806
-
1807
- div.mk-cute-theme h2 {
1808
- position: relative;
1809
- font-size: 24px;
1810
- padding: 12px 36px;
1811
- margin: 28px 0;
1812
- }
1813
-
1814
- div.mk-cute-theme h2::before {
1815
- width: 28px;
1816
- height: 28px;
1817
- background-size: 28px 28px;
1818
- }
1819
-
1820
- div.mk-cute-theme h3 {
1821
- position: relative;
1822
- font-size: 18px;
1823
- padding: 4px 32px;
1824
- margin: 26px 0;
1825
- }
1826
-
1827
- div.mk-cute-theme h3::before {
1828
- width: 24px;
1829
- height: 24px;
1830
- background-size: 24px 24px;
1831
- }
1832
-
1833
- div.mk-cute-theme h4 {
1834
- position: relative;
1835
- padding: 4px 28px;
1836
- font-size: 16px;
1837
- margin: 22px 0;
1838
- }
1839
-
1840
- div.mk-cute-theme h4::before {
1841
- width: 20px;
1842
- height: 20px;
1843
- background-size: 20px 20px;
1844
- }
1845
-
1846
- div.mk-cute-theme h5 {
1847
- position: relative;
1848
- padding: 4px 26px;
1849
- font-size: 15px;
1850
- margin: 20px 0;
1851
- }
1852
-
1853
- div.mk-cute-theme h5::before {
1854
- width: 18px;
1855
- height: 18px;
1856
- background-size: 18px 18px;
1857
- }
1858
-
1859
- div.mk-cute-theme h6 {
1860
- position: relative;
1861
- padding: 4px 22px;
1862
- font-size: 14px;
1863
- margin: 16px 0;
1864
- }
1865
-
1866
- div.mk-cute-theme h6::before {
1867
- width: 16px;
1868
- height: 16px;
1869
- background-size: 16px 16px;
1870
- }
1871
-
1872
- @media (max-width: 720px) {
1873
- div.mk-cute-theme h1 {
1874
- font-size: 24px;
1875
- }
1876
- div.mk-cute-theme h2 {
1877
- font-size: 20px;
1878
- }
1879
- div.mk-cute-theme h3 {
1880
- font-size: 18px;
1881
- }
1882
- }
1883
- .md-editor div.mk-cute-theme {
1884
- --md-theme-link-color: #409eff;
1885
- --md-theme-link-hover-color: #007bff;
1886
- }
1887
-
1888
- div.mk-cute-theme a {
1889
- display: inline-block;
1890
- border-block-end: 1px solid #409eff;
1891
- }
1892
-
1893
- div.mk-cute-theme a:hover, div.mk-cute-theme a:active {
1894
- border-block-end: 1px solid #007bff;
1895
- }
1896
-
1897
- div.mk-cute-theme ol li, div.mk-cute-theme ul li {
1898
- margin-block-end: 0;
1899
- list-style: inherit;
1900
- }
1901
-
1902
- div.mk-cute-theme ol li .task-list-item, div.mk-cute-theme ul li .task-list-item {
1903
- list-style: none;
1904
- }
1905
-
1906
- div.mk-cute-theme ol li .task-list-item ul, div.mk-cute-theme ol li .task-list-item ol, div.mk-cute-theme ul li .task-list-item ul, div.mk-cute-theme ul li .task-list-item ol {
1907
- margin-block-start: 0;
1908
- }
1909
-
1910
- div.mk-cute-theme ol ul, div.mk-cute-theme ol ol, div.mk-cute-theme ul ul, div.mk-cute-theme ul ol {
1911
- margin-block-start: 3px;
1912
- }
1913
-
1914
- div.mk-cute-theme ol li {
1915
- padding-inline-start: 6px;
1916
- }
1917
-
1918
- div.mk-cute-theme p {
1919
- line-height: inherit;
1920
- margin-block-start: 22px;
1921
- margin-block-end: 22px;
1922
- }
1923
-
1924
- .md-editor div.mk-cute-theme {
1925
- --md-theme-quote-color: #fff;
1926
- --md-theme-quote-border: 4px solid #409eff;
1927
- --md-theme-quote-bg-color: rgba(54, 172, 225, 0.75);
1928
- }
1929
-
1930
- .md-editor-dark div.mk-cute-theme {
1931
- --md-theme-quote-color: inherit;
1932
- --md-theme-quote-border: 4px solid #265d97;
1933
- --md-theme-quote-bg-color: rgba(18, 80, 108, 0.75);
1934
- }
1935
-
1936
- div.mk-cute-theme blockquote {
1937
- position: relative;
1938
- padding: 8px 26px;
1939
- margin: 16px 0;
1940
- border-radius: var(--md-theme-radius-m);
1941
- }
1942
-
1943
- div.mk-cute-theme blockquote::before {
1944
- content: "❝";
1945
- inset-block-start: 10px;
1946
- inset-inline-start: 8px;
1947
- color: #409eff;
1948
- font-size: 20px;
1949
- line-height: 1;
1950
- font-weight: 700;
1951
- position: absolute;
1952
- opacity: 0.7;
1953
- }
1954
-
1955
- div.mk-cute-theme blockquote::after {
1956
- content: "❞";
1957
- font-size: 20px;
1958
- position: absolute;
1959
- inset-inline-end: 8px;
1960
- inset-block-end: 0;
1961
- color: #409eff;
1962
- opacity: 0.7;
1963
- }
1964
-
1965
- div.mk-cute-theme blockquote > p, div.mk-cute-theme blockquote ul li, div.mk-cute-theme blockquote ol li {
1966
- color: var(--md-theme-quote-color);
1967
- }
1968
-
1969
- .md-editor div.mk-cute-theme {
1970
- --md-theme-table-color: #000;
1971
- --md-theme-table-border-color: #f6f6f6;
1972
- --md-theme-table-thead-bg-color: #f6f6f6;
1973
- --md-theme-table-stripe-color: #fcfcfc;
1974
- }
1975
-
1976
- .md-editor-dark div.mk-cute-theme {
1977
- --md-theme-table-color: inherit;
1978
- --md-theme-table-border-color: #1c1c1c;
1979
- --md-theme-table-thead-bg-color: rgba(28, 28, 28, 0.631372549);
1980
- --md-theme-table-stripe-color: rgba(28, 28, 28, 0.631372549);
1981
- }
1982
-
1983
- div.mk-cute-theme table {
1984
- display: inline-block;
1985
- width: auto;
1986
- max-width: 100%;
1987
- overflow: auto;
1988
- border: solid 1px var(--md-theme-table-border-color);
1989
- }
1990
-
1991
- div.mk-cute-theme table thead {
1992
- background-color: var(--md-theme-table-thead-bg-color);
1993
- color: var(--md-theme-table-color);
1994
- text-align: left;
1995
- }
1996
-
1997
- div.mk-cute-theme table tr th, div.mk-cute-theme table tr td {
1998
- padding: 12px 7px;
1999
- line-height: 24px;
2000
- border: none;
2001
- }
2002
-
2003
- div.mk-cute-theme table tr td {
2004
- min-width: 120px;
2005
- }
2006
-
2007
- div.mk-cute-theme blockquote table tbody {
2008
- color: var(--md-theme-color);
2009
- }
2010
-
2011
- div.mk-cute-theme blockquote table tr {
2012
- background-color: var(--md-theme-table-stripe-color);
2013
- }
2014
-
2015
- @keyframes spin {
2016
- 0% {
2017
- transform: rotate(0);
2018
- }
2019
- 100% {
2020
- transform: rotate(360deg);
2021
- }
2022
- }
2023
- .md-editor div.mk-cute-theme {
2024
- --md-theme-color: #36ace1;
2025
- background-image: linear-gradient(90deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%);
2026
- }
2027
-
2028
- .md-editor-dark div.mk-cute-theme {
2029
- background-image: linear-gradient(90deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%);
2030
- --md-theme-bg-color-scrollbar-thumb: #4d4d4d;
2031
- }
2032
-
2033
- div.mk-cute-theme {
2034
- word-break: break-word;
2035
- line-height: 1.75;
2036
- font-weight: 400;
2037
- overflow-x: hidden;
2038
- background-size: 20px 20px;
2039
- background-position: center center;
2040
- }
2041
-
2042
- div.mk-cute-theme hr {
2043
- position: relative;
2044
- width: 98%;
2045
- height: 1px;
2046
- border: none;
2047
- margin-block-start: 32px;
2048
- margin-block-end: 32px;
2049
- background-image: linear-gradient(to right, #36ace1, #dff0fe, #36ace1);
2050
- overflow: visible;
2051
- }
2052
-
2053
- div.mk-cute-theme del {
2054
- color: #36ace1;
2055
- }
2056
-
2057
- .md-editor div.smart-blue-theme {
2058
- --md-theme-code-inline-color: #d63200;
2059
- --md-theme-code-inline-bg-color: #fff5f5;
2060
- --md-theme-code-block-color: #333;
2061
- --md-theme-code-block-bg-color: #f8f8f8;
2062
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
2063
- }
2064
-
2065
- .md-editor-dark div.smart-blue-theme {
2066
- --md-theme-code-inline-color: #e06c75;
2067
- --md-theme-code-inline-bg-color: #1a1a1a;
2068
- --md-theme-code-block-color: #999;
2069
- --md-theme-code-block-bg-color: #1a1a1a;
2070
- --md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);
2071
- }
2072
-
2073
- div.smart-blue-theme code {
2074
- overflow-x: auto;
2075
- padding: 0.065em 0.4em;
2076
- }
2077
-
2078
- div.smart-blue-theme .md-editor-code pre {
2079
- font-family: Menlo, Monaco, Consolas, Courier New, monospace;
2080
- }
2081
-
2082
- div.smart-blue-theme .md-editor-code pre code {
2083
- padding: 22px 12px;
2084
- margin: 0;
2085
- word-break: normal;
2086
- }
2087
-
2088
- div.smart-blue-theme .md-editor-code pre code span[rn-wrapper] {
2089
- top: 22px;
2090
- }
2091
-
2092
- .md-editor div.smart-blue-theme {
2093
- --md-theme-heading-color: #135ce0;
2094
- }
2095
-
2096
- div.smart-blue-theme h1, div.smart-blue-theme h2, div.smart-blue-theme h3, div.smart-blue-theme h4, div.smart-blue-theme h5, div.smart-blue-theme h6 {
2097
- padding: 30px 0;
2098
- margin: 0;
2099
- }
2100
-
2101
- div.smart-blue-theme h1 a, div.smart-blue-theme h2 a, div.smart-blue-theme h3 a, div.smart-blue-theme h4 a, div.smart-blue-theme h5 a, div.smart-blue-theme h6 a {
2102
- border: none;
2103
- }
2104
-
2105
- div.smart-blue-theme h1 {
2106
- position: relative;
2107
- text-align: center;
2108
- font-size: 22px;
2109
- margin: 50px 0;
2110
- }
2111
-
2112
- div.smart-blue-theme h2 {
2113
- position: relative;
2114
- font-size: 20px;
2115
- border-inline-start: 4px solid;
2116
- padding: 0 0 0 10px;
2117
- margin: 30px 0;
2118
- }
2119
-
2120
- div.smart-blue-theme h3 {
2121
- font-size: 16px;
2122
- }
2123
-
2124
- div.smart-blue-theme img {
2125
- margin: 0 auto;
2126
- }
2127
-
2128
- .md-editor div.smart-blue-theme {
2129
- --md-theme-link-color: #036aca;
2130
- }
2131
-
2132
- .md-editor-dark div.smart-blue-theme {
2133
- --md-theme-link-color: #2d7dc7;
2134
- }
2135
-
2136
- div.smart-blue-theme a {
2137
- font-weight: 400;
2138
- }
2139
-
2140
- div.smart-blue-theme ul, div.smart-blue-theme ol {
2141
- margin-block-start: 1em;
2142
- }
2143
-
2144
- div.smart-blue-theme li {
2145
- line-height: 2;
2146
- margin-block-end: 0;
2147
- list-style: inherit;
2148
- }
2149
-
2150
- div.smart-blue-theme p {
2151
- line-height: 2;
2152
- font-weight: 400;
2153
- }
2154
-
2155
- div.smart-blue-theme * + p {
2156
- margin-block-start: 16px;
2157
- }
2158
-
2159
- .md-editor div.smart-blue-theme {
2160
- --md-theme-quote-color: #666;
2161
- --md-theme-quote-bg-color: #fff9f9;
2162
- --md-theme-quote-border-color: #b2aec5;
2163
- }
2164
-
2165
- .md-editor-dark div.smart-blue-theme {
2166
- --md-theme-quote-color: #999;
2167
- --md-theme-quote-bg-color: #2a2a2a;
2168
- --md-theme-quote-border-color: #0063bb;
2169
- }
2170
-
2171
- div.smart-blue-theme blockquote {
2172
- background-color: var(--md-theme-quote-bg-color);
2173
- margin: 2em 0;
2174
- padding: 2px 20px;
2175
- border-inline-start: 4px solid var(--md-theme-quote-border-color);
2176
- }
2177
-
2178
- div.smart-blue-theme blockquote p {
2179
- color: var(--md-theme-quote-color);
2180
- line-height: 2;
2181
- }
2182
-
2183
- .md-editor div.smart-blue-theme {
2184
- --md-theme-table-td-border-color: #dfe2e5;
2185
- --md-theme-table-stripe-color: #f6f8fa;
2186
- }
2187
-
2188
- .md-editor-dark div.smart-blue-theme {
2189
- --md-theme-table-td-border-color: #2d2d2d;
2190
- --md-theme-table-stripe-color: #0c0c0c;
2191
- }
2192
-
2193
- div.smart-blue-theme table {
2194
- border-collapse: collapse;
2195
- margin: 1rem 0;
2196
- overflow-x: auto;
2197
- }
2198
-
2199
- div.smart-blue-theme table tr th, div.smart-blue-theme table tr td {
2200
- padding: 0.6em 1em;
2201
- }
2202
-
2203
- div.smart-blue-theme blockquote table {
2204
- line-height: initial;
2205
- }
2206
-
2207
- div.smart-blue-theme blockquote table tr th, div.smart-blue-theme blockquote table tr td {
2208
- border-color: var(--md-theme-border-color-inset);
2209
- }
2210
-
2211
- div.smart-blue-theme blockquote table tbody tr:nth-child(n) {
2212
- background-color: inherit;
2213
- }
2214
-
2215
- .md-editor div.smart-blue-theme {
2216
- --md-theme-color: #595959;
2217
- }
2218
-
2219
- .md-editor div.smart-blue-theme {
2220
- background-image: linear-gradient(90deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%);
2221
- }
2222
-
2223
- .md-editor-dark div.smart-blue-theme {
2224
- --md-theme-color: #999;
2225
- }
2226
-
2227
- .md-editor-dark div.smart-blue-theme {
2228
- background-image: linear-gradient(90deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%), linear-gradient(360deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%);
2229
- }
2230
-
2231
- div.smart-blue-theme {
2232
- color: var(--md-theme-color);
2233
- font-family: -apple-system, system-ui, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
2234
- background-size: 20px 20px;
2235
- background-position: center center;
2236
- }
2237
-
2238
- div.smart-blue-theme strong {
2239
- color: #036aca;
2240
- }
2241
-
2242
- div.smart-blue-theme em strong {
2243
- color: #036aca;
2244
- }
2245
-
2246
- div.smart-blue-theme hr {
2247
- border-block-start: 1px solid #135ce0;
2248
- }
2249
-
1
+ @import '@vavt/markdown-theme/css/all.css';
2250
2
  [dir=rtl] .md-editor-catalog {
2251
3
  direction: rtl;
2252
4
  }
@@ -2351,7 +103,7 @@ div.smart-blue-theme hr {
2351
103
  height: auto !important;
2352
104
  z-index: 10000;
2353
105
  }
2354
- svg.md-editor-icon {
106
+ .md-editor svg.md-editor-icon {
2355
107
  width: 16px;
2356
108
  height: 16px;
2357
109
  padding-block: 4px;
@@ -2361,10 +113,9 @@ svg.md-editor-icon {
2361
113
  display: block;
2362
114
  box-sizing: content-box;
2363
115
  }
2364
-
2365
- .md-editor .lucide-list-icon,
2366
- .md-editor .lucide-list-ordered-icon,
2367
- .md-editor .lucide-list-todo-icon {
116
+ .md-editor .lucide-list,
117
+ .md-editor .lucide-list-ordered,
118
+ .md-editor .lucide-list-todo {
2368
119
  width: 18px;
2369
120
  height: 18px;
2370
121
  padding-block: 3px;
@@ -2396,12 +147,19 @@ svg.md-editor-icon {
2396
147
  color: var(--md-color);
2397
148
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, ui-sans-serif, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
2398
149
  }
2399
- .md-editor-modal-container .lucide-xicon {
150
+ .md-editor-modal-container .lucide-x {
2400
151
  width: 20px;
2401
152
  height: 20px;
2402
153
  padding-block: 2px;
2403
154
  padding-inline: 2px;
2404
155
  }
156
+ .md-editor-modal-container .lucide-minimize-2,
157
+ .md-editor-modal-container .lucide-maximize-2 {
158
+ width: 18px;
159
+ height: 18px;
160
+ padding-block: 2px;
161
+ padding-inline: 2px;
162
+ }
2405
163
 
2406
164
  .md-editor-previewOnly {
2407
165
  border: none;