flameresttable 1.0.106 → 1.0.107

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.
@@ -0,0 +1,746 @@
1
+ /*
2
+ * @See https://github.com/iota9star/juejin-markdown-theme-maidragon/blob/main/maidragon.scss
3
+ * @Author: iota9star
4
+ * @Date: 2023-06-12 22:11:14
5
+ * @Last Modified by: mikey.zhaopeng
6
+ * @Last Modified time: 2023-06-Fr 08:33:16
7
+ */
8
+
9
+ /* stylelint-disable */
10
+ $monospace-font: menlo, monaco, consolas, 'Courier New', monospace;
11
+ $-hover: '//cdn.jsdelivr.net/gh/iota9star/juejin-markdown-theme-maidragon@master/assets/hover.svg';
12
+ $-hat: '//cdn.jsdelivr.net/gh/iota9star/juejin-markdown-theme-maidragon@master/assets/hat.png';
13
+ $-dragon: '//cdn.jsdelivr.net/gh/iota9star/juejin-markdown-theme-maidragon@master/assets/dragon.svg';
14
+ $-float: '//cdn.jsdelivr.net/gh/iota9star/juejin-markdown-theme-maidragon@master/assets/float.png';
15
+ $-float2: '//cdn.jsdelivr.net/gh/iota9star/juejin-markdown-theme-maidragon@master/assets/float2.png';
16
+ $-yellow: #ffd913;
17
+ $-orange: #ff9b00;
18
+ $-green: #50aa32;
19
+ $-dark-green: #008403;
20
+ $-red: #fe226f;
21
+
22
+ .vuetify-pro-tiptap-editor__content.markdown-theme-maidragon {
23
+ position: relative !important;
24
+ z-index: 1 !important;
25
+ display: -webkit-box !important;
26
+ display: flex !important;
27
+ display: -moz-box !important;
28
+ display: flexbox !important;
29
+ display: flex !important;
30
+ flex-direction: column !important;
31
+ flex-direction: column !important;
32
+ flex-direction: column !important;
33
+ min-height: 500px;
34
+ overflow-x: hidden;
35
+ font-size: 14px;
36
+ text-shadow: 0 0 1px rgb(0 0 0 / 10%);
37
+ letter-spacing: 1px;
38
+ word-break: break-word;
39
+ transition: all 0.3s !important;
40
+ transition: all 0.3s !important;
41
+ transition: all 0.3s !important;
42
+ transition: all 0.3s !important;
43
+ -webkit-box-orient: vertical !important;
44
+ -webkit-box-direction: normal !important;
45
+ -moz-box-orient: vertical !important;
46
+ -moz-box-direction: normal !important;
47
+
48
+ &.__dark {
49
+ color: white !important;
50
+
51
+ &::after {
52
+ filter: invert(98%) !important;
53
+ }
54
+
55
+ blockquote {
56
+ color: #f6f6f6 !important;
57
+ }
58
+ }
59
+
60
+ &::before,
61
+ &::after {
62
+ position: absolute;
63
+ z-index: -2;
64
+ pointer-events: none;
65
+ content: '';
66
+ background-repeat: no-repeat;
67
+ background-size: contain;
68
+ background-size: contain;
69
+ background-size: contain;
70
+ will-change: transform;
71
+ }
72
+
73
+ &::before {
74
+ top: 64px;
75
+ right: -16px;
76
+ width: 360px;
77
+ height: 132px;
78
+ background-image: url($-float);
79
+ animation: floatit infinite 5.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
80
+ animation: floatit infinite 5.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
81
+ animation: floatit infinite 5.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
82
+ animation: floatit infinite 5.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
83
+ }
84
+
85
+ &::after {
86
+ bottom: 4%;
87
+ left: -64px;
88
+ width: 380px;
89
+ height: 176px;
90
+ background-image: url($-float2);
91
+ opacity: 0.87;
92
+ animation: floatit infinite 6.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
93
+ animation: floatit infinite 6.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
94
+ animation: floatit infinite 6.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
95
+ animation: floatit infinite 6.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) alternate;
96
+ }
97
+
98
+ h1,
99
+ h2,
100
+ h3,
101
+ h4,
102
+ h5,
103
+ h6 {
104
+ position: relative;
105
+ z-index: 0;
106
+ margin-top: 28px;
107
+ margin-bottom: 10px;
108
+ line-height: 1.5;
109
+ color: $-green;
110
+ text-shadow: none;
111
+
112
+ &::before,
113
+ &::after {
114
+ position: absolute;
115
+ content: '';
116
+ background-repeat: no-repeat;
117
+ background-size: contain;
118
+ background-size: contain;
119
+ background-size: contain;
120
+ }
121
+
122
+ a {
123
+ &::after {
124
+ display: none;
125
+ }
126
+ }
127
+ }
128
+
129
+ h1 {
130
+ align-self: center;
131
+ align-self: center;
132
+ margin-top: 96px;
133
+ margin-right: 64px;
134
+ margin-left: 64px;
135
+ font-size: 30px;
136
+ font-weight: bold;
137
+ stroke-width: 2px;
138
+ -ms-flex-item-align: center;
139
+
140
+ &::before {
141
+ top: -28px;
142
+ left: -40px;
143
+ width: 96px;
144
+ height: 96px;
145
+ background-image: url($-hat);
146
+ transform: rotate(-36deg);
147
+ transform: rotate(-36deg);
148
+ transform: rotate(-36deg);
149
+ transform: rotate(-36deg);
150
+ transform: rotate(-36deg);
151
+ }
152
+
153
+ &::after {
154
+ right: -78px;
155
+ bottom: 0;
156
+ z-index: -1;
157
+ width: 78px;
158
+ height: 78px;
159
+ background-image: url($-dragon);
160
+ }
161
+ }
162
+
163
+ h2,
164
+ h3,
165
+ h4,
166
+ h5,
167
+ h6 {
168
+ &::before {
169
+ z-index: -1;
170
+ display: inline-block;
171
+ background-color: rgba($-orange, 0.87);
172
+ transition: -webkit-border-radius 0.3s;
173
+ transition: border-radius 0.3s;
174
+ transition:
175
+ border-radius 0.3s,
176
+ -moz-border-radius 0.3s;
177
+ transition: -webkit-border-radius 0.3s;
178
+ transition: border-radius 0.3s;
179
+ transition:
180
+ border-radius 0.3s,
181
+ -webkit-border-radius 0.3s,
182
+ -moz-border-radius 0.3s;
183
+ }
184
+
185
+ &:hover {
186
+ &::before {
187
+ border-radius: 50%;
188
+ border-radius: 50%;
189
+ border-radius: 50%;
190
+ }
191
+ }
192
+ }
193
+
194
+ h2 {
195
+ padding-bottom: 12px;
196
+ font-size: 24px;
197
+ font-weight: bold;
198
+ border-bottom: 4px solid rgba($-green, 0.36);
199
+
200
+ &::before {
201
+ left: -4px;
202
+ width: 16px;
203
+ height: 16px;
204
+ }
205
+
206
+ &::after {
207
+ right: 0;
208
+ bottom: 0;
209
+ z-index: -1;
210
+ width: 36px;
211
+ height: 56px;
212
+ background-image: url($-dragon);
213
+ }
214
+
215
+ &:hover {
216
+ &::after {
217
+ animation: shakeit 0.3s;
218
+ animation: shakeit 0.3s;
219
+ animation: shakeit 0.3s;
220
+ animation: shakeit 0.3s;
221
+ }
222
+ }
223
+ }
224
+
225
+ h3,
226
+ h4,
227
+ h5,
228
+ h6 {
229
+ &::after {
230
+ position: absolute;
231
+ right: 0;
232
+ bottom: 0;
233
+ font-style: italic;
234
+ font-weight: bold;
235
+ line-height: 1;
236
+ color: rgba($-orange, 0.1);
237
+ text-shadow: none;
238
+ }
239
+ }
240
+
241
+ h3 {
242
+ padding-bottom: 0;
243
+ font-size: 18px;
244
+ font-weight: bold;
245
+
246
+ &::before {
247
+ left: -4px;
248
+ width: 14px;
249
+ height: 14px;
250
+ }
251
+
252
+ &::after {
253
+ font-size: 42px;
254
+ content: '3.';
255
+ }
256
+ }
257
+
258
+ h4 {
259
+ font-size: 16px;
260
+
261
+ &::before {
262
+ left: -4px;
263
+ width: 12px;
264
+ height: 12px;
265
+ }
266
+
267
+ &::after {
268
+ font-size: 36px;
269
+ content: '4.';
270
+ }
271
+ }
272
+
273
+ h5 {
274
+ font-size: 15px;
275
+
276
+ &::before {
277
+ left: -4px;
278
+ width: 10px;
279
+ height: 10px;
280
+ }
281
+
282
+ &::after {
283
+ font-size: 28px;
284
+ content: '5.';
285
+ }
286
+ }
287
+
288
+ h6 {
289
+ margin-top: 5px;
290
+
291
+ &::before {
292
+ left: -4px;
293
+ width: 8px;
294
+ height: 8px;
295
+ }
296
+
297
+ &::after {
298
+ font-size: 24px;
299
+ content: '6.';
300
+ }
301
+ }
302
+
303
+ p {
304
+ position: relative;
305
+ margin: 12px 0;
306
+ line-height: 24px;
307
+ text-align: justify;
308
+ vertical-align: middle;
309
+
310
+ &:empty::after {
311
+ content: '\00A0';
312
+ }
313
+ }
314
+
315
+ img {
316
+ position: relative;
317
+ // left: 50%;
318
+ max-width: 100%;
319
+ border-radius: 4px;
320
+ transition: all 0.36s;
321
+ // transform: translateX(0%);
322
+ will-change: transform;
323
+ display: inline-block;
324
+ float: none;
325
+
326
+ &:hover {
327
+ box-shadow: 0 0 8px rgb(80 170 50 / 10%);
328
+ // transform: translate(0%, -4px);
329
+ }
330
+
331
+ &[data-display='inline'] {
332
+ padding-right: 12px;
333
+ padding-left: 12px;
334
+ }
335
+
336
+ &[data-display='block'] {
337
+ display: block;
338
+ }
339
+
340
+ &[data-display='left'] {
341
+ float: left;
342
+ padding-right: 12px;
343
+ padding-left: 0;
344
+ }
345
+
346
+ &[data-display='right'] {
347
+ float: right;
348
+ padding-right: 0;
349
+ padding-left: 12px;
350
+ }
351
+ }
352
+
353
+ hr {
354
+ width: 100%;
355
+ margin-top: 32px;
356
+ margin-bottom: 32px;
357
+ border-top: 1px solid rgba($-green, 0.36);
358
+ border-right: none;
359
+ border-bottom: none;
360
+ border-left: none;
361
+ }
362
+
363
+ a {
364
+ position: relative;
365
+ z-index: 0;
366
+ margin: 0 4px;
367
+ font-weight: bold;
368
+ line-height: 24px;
369
+ color: $-orange;
370
+ text-decoration: none;
371
+ text-shadow: none;
372
+ transition: all 0.3s;
373
+ transition: all 0.3s;
374
+ transition: all 0.3s;
375
+ transition: all 0.3s;
376
+
377
+ &::before,
378
+ &::after {
379
+ position: absolute;
380
+ content: '';
381
+ }
382
+
383
+ &::before {
384
+ top: -3px;
385
+ right: -3px;
386
+ z-index: 1;
387
+ width: 6px;
388
+ height: 6px;
389
+ background-color: $-green;
390
+ transition: all 0.4s;
391
+ transition: all 0.4s;
392
+ transition: all 0.4s;
393
+ transition: all 0.4s;
394
+ }
395
+
396
+ &::after {
397
+ bottom: -6px;
398
+ left: 0;
399
+ width: 0;
400
+ height: 2px;
401
+ transition: all 0.3s;
402
+ transition: all 0.3s;
403
+ transition: all 0.3s;
404
+ transition: all 0.3s;
405
+ }
406
+
407
+ &:visited {
408
+ &::before {
409
+ background-color: $-yellow;
410
+ }
411
+ }
412
+
413
+ &:hover,
414
+ &:active {
415
+ color: $-red;
416
+ text-shadow: none;
417
+
418
+ &::before {
419
+ background-color: $-orange;
420
+ border-radius: 50%;
421
+ border-radius: 50%;
422
+ border-radius: 50%;
423
+ }
424
+
425
+ &::after {
426
+ width: 100%;
427
+ background-color: rgba($-green, 0.38);
428
+ }
429
+ }
430
+ }
431
+
432
+ table {
433
+ position: relative;
434
+ z-index: 0;
435
+ width: 100%;
436
+ max-width: 100%;
437
+ margin-top: 48px;
438
+ overflow: auto;
439
+ font-size: 13px;
440
+ border-collapse: collapse;
441
+ border: solid 4px rgba($-green, 0.38);
442
+
443
+ &::after {
444
+ position: absolute;
445
+ right: -12px;
446
+ bottom: 0;
447
+ z-index: -1;
448
+ width: 100%;
449
+ height: calc(100% + 48px);
450
+ content: '';
451
+ background-image: url($-dragon);
452
+ background-repeat: no-repeat;
453
+ background-position: right;
454
+ background-size: contain;
455
+ background-size: contain;
456
+ background-size: contain;
457
+ opacity: 0.24;
458
+ }
459
+
460
+ thead {
461
+ font-size: 14px;
462
+ font-weight: bold;
463
+ text-align: left;
464
+ background: rgba($-green, 0.2);
465
+ }
466
+
467
+ tr:nth-child(2n) {
468
+ background-color: rgba($-green, 0.1);
469
+ }
470
+
471
+ th,
472
+ td {
473
+ padding: 8px 12px;
474
+ line-height: 24px;
475
+ }
476
+
477
+ td {
478
+ min-width: 48px;
479
+ }
480
+ }
481
+
482
+ del {
483
+ position: relative;
484
+ z-index: 0;
485
+ text-decoration: line-through rgb(254 34 111 / 10%) 8px;
486
+ text-decoration: line-through rgb(254 34 111 / 10%) 8px;
487
+ text-decoration: line-through rgb(254 34 111 / 38%) 8px;
488
+
489
+ &:hover {
490
+ text-decoration-color: rgb(80 170 50 / 38%);
491
+ text-decoration-color: rgb(80 170 50 / 38%);
492
+ text-decoration-color: rgb(80 170 50 / 38%);
493
+ }
494
+ }
495
+
496
+ code {
497
+ position: relative;
498
+ box-sizing: border-box;
499
+ box-sizing: border-box;
500
+ box-sizing: border-box;
501
+ padding: 0 4px;
502
+ overflow-x: auto;
503
+ font-family: $monospace-font;
504
+ line-height: 24px;
505
+ color: $-dark-green;
506
+ text-shadow: none;
507
+ letter-spacing: 0;
508
+ word-break: break-word;
509
+ border: 2px solid transparent;
510
+ border-radius: 2px;
511
+ border-radius: 2px;
512
+ border-radius: 2px;
513
+ transition: all 0.3s;
514
+ transition: all 0.3s;
515
+ transition: all 0.3s;
516
+ transition: all 0.3s;
517
+
518
+ &::after {
519
+ position: absolute;
520
+ top: -3px;
521
+ right: -3px;
522
+ width: 6px;
523
+ height: 6px;
524
+ content: '';
525
+ background-color: $-red;
526
+ transition: all 0.3s;
527
+ transition: all 0.3s;
528
+ transition: all 0.3s;
529
+ transition: all 0.3s;
530
+ }
531
+
532
+ &:hover {
533
+ background-color: rgba($-green, 0.2);
534
+ border-color: $-green;
535
+
536
+ &::after {
537
+ background-color: $-orange;
538
+ border-radius: 50%;
539
+ border-radius: 50%;
540
+ border-radius: 50%;
541
+ }
542
+ }
543
+ }
544
+
545
+ pre {
546
+ position: relative;
547
+ overflow: auto;
548
+ font-family: $monospace-font;
549
+ line-height: 1.75;
550
+
551
+ >code {
552
+ display: block;
553
+ padding: 12px;
554
+ margin: 0;
555
+ overflow-x: auto;
556
+ font-size: 12px;
557
+ word-break: normal;
558
+ border: none;
559
+ border-radius: 0;
560
+ border-radius: 0;
561
+ border-radius: 0;
562
+
563
+ &::after {
564
+ display: none;
565
+ }
566
+ }
567
+ }
568
+
569
+ blockquote {
570
+ position: relative;
571
+ padding: 1.6rem;
572
+ margin: 22px 0;
573
+ color: #444;
574
+ text-shadow: none;
575
+ background-color: rgba($-green, 0.1);
576
+ border-radius: 36px 16px 16px;
577
+ border-radius: 36px 16px 16px;
578
+ border-radius: 36px 16px 16px;
579
+ transition: 0.18s cubic-bezier(0.18, 0.89, 0.52, 1.94);
580
+ transition: 0.18s cubic-bezier(0.18, 0.89, 0.52, 1.94);
581
+ transition: 0.18s cubic-bezier(0.18, 0.89, 0.52, 1.94);
582
+ transition: 0.18s cubic-bezier(0.18, 0.89, 0.52, 1.94);
583
+ will-change: transform;
584
+
585
+ &:hover {
586
+ transform: scale(1.01) rotate(1deg);
587
+ transform: scale(1.01) rotate(1deg);
588
+ transform: scale(1.01) rotate(1deg);
589
+ transform: scale(1.01) rotate(1deg);
590
+ transform: scale(1.01) rotate(1deg);
591
+ }
592
+
593
+ &::before {
594
+ position: absolute;
595
+ top: -8px;
596
+ left: -8px;
597
+ z-index: 1;
598
+ width: 36px;
599
+ height: 36px;
600
+ content: '';
601
+ background-image: url($-hover);
602
+ }
603
+
604
+ &::after {
605
+ position: absolute;
606
+ right: -16px;
607
+ bottom: 0;
608
+ display: block;
609
+ height: 56px;
610
+ font-size: 56px;
611
+ font-weight: bold;
612
+ color: $-green;
613
+ text-shadow: none;
614
+ content: '”';
615
+ }
616
+
617
+ &>p {
618
+ margin: 10px 0;
619
+ }
620
+ }
621
+
622
+ ol,
623
+ ul {
624
+ padding-left: 2rem;
625
+
626
+ li {
627
+ position: relative;
628
+ z-index: 0;
629
+ margin-bottom: 12px;
630
+ list-style: inherit;
631
+
632
+ &::marker {
633
+ color: $-green;
634
+ text-shadow: none;
635
+ }
636
+
637
+ input[type='checkbox'] {
638
+ box-sizing: border-box;
639
+ box-sizing: border-box;
640
+ box-sizing: border-box;
641
+ padding: 0;
642
+ margin: 0;
643
+ color: transparent !important;
644
+ text-shadow: none;
645
+ appearance: none;
646
+ appearance: none;
647
+ appearance: none;
648
+ background-color: transparent !important;
649
+ border: none !important;
650
+
651
+ &::before {
652
+ position: absolute;
653
+ top: 6px;
654
+ left: 0;
655
+ width: 12px;
656
+ height: 12px;
657
+ content: '';
658
+ border: 2px solid rgba($-orange, 0.87);
659
+ border-radius: 50%;
660
+ border-radius: 50%;
661
+ border-radius: 50%;
662
+ }
663
+
664
+ &:checked::after {
665
+ position: absolute;
666
+ top: 14px;
667
+ left: 4px;
668
+ z-index: 0;
669
+ width: 5px;
670
+ height: 2px;
671
+ content: '';
672
+ border-bottom: 2px solid white;
673
+ border-left: 2px solid white;
674
+ transform: translateY(-50%) rotate(-45deg);
675
+ transform: translateY(-50%) rotate(-45deg);
676
+ transform: translateY(-50%) rotate(-45deg);
677
+ transform: translateY(-50%) rotate(-45deg);
678
+ transform: translateY(-50%) rotate(-45deg);
679
+ }
680
+
681
+ &:checked::before {
682
+ background-color: $-green;
683
+ border-color: $-green;
684
+ }
685
+ }
686
+
687
+ &.task-list-item {
688
+ padding-left: 20px;
689
+ list-style: none;
690
+
691
+ ul,
692
+ ol {
693
+ margin-top: 0;
694
+ }
695
+ }
696
+ }
697
+
698
+ ul,
699
+ ol {
700
+ margin-top: 3px;
701
+ }
702
+ }
703
+
704
+ ol>li {
705
+ &::marker {
706
+ font-size: 18px;
707
+ font-weight: bold;
708
+ color: $-green;
709
+ text-shadow: none;
710
+ }
711
+ }
712
+
713
+ ol li {
714
+ padding-left: 6px;
715
+ }
716
+
717
+ @media (width <=720px) {
718
+ h1 {
719
+ font-size: 24px;
720
+ }
721
+
722
+ h2 {
723
+ font-size: 20px;
724
+ }
725
+
726
+ h3 {
727
+ font-size: 18px;
728
+ }
729
+ }
730
+ }
731
+
732
+ @keyframes shakeit {
733
+ to {
734
+ opacity: 0.01;
735
+ transform: scale(2.4);
736
+ }
737
+ }
738
+
739
+ @keyframes floatit {
740
+ to {
741
+ transform: translate(24px, 36px);
742
+ transform: translate(24px, 36px);
743
+ transform: translate(24px, 36px);
744
+ transform: translate(24px, 36px);
745
+ }
746
+ }