hexo-theme-solitude 1.4.6 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/CONTRIBUTING.md +16 -3
  2. package/README.md +2 -2
  3. package/README_EN.md +2 -2
  4. package/_config.yml +155 -230
  5. package/languages/en-US.yml +5 -2
  6. package/languages/zh-CN.yml +5 -2
  7. package/languages/zh-TW.yml +5 -2
  8. package/layout/404.pug +2 -2
  9. package/layout/includes/footer.pug +8 -6
  10. package/layout/includes/head/config.pug +7 -7
  11. package/layout/includes/head/opengraph.pug +5 -4
  12. package/layout/includes/head/pwa.pug +2 -3
  13. package/layout/includes/inject/body.pug +17 -19
  14. package/layout/includes/inject/head.pug +3 -2
  15. package/layout/includes/mixins/pagination.pug +1 -1
  16. package/layout/includes/nav.pug +3 -3
  17. package/layout/includes/page/says.pug +44 -7
  18. package/layout/includes/sidebar.pug +1 -1
  19. package/layout/includes/widgets/aside/asideInfoCard.pug +4 -3
  20. package/layout/includes/widgets/home/banner.pug +11 -4
  21. package/layout/includes/widgets/home/bbTimeList.pug +13 -7
  22. package/layout/includes/widgets/home/categoryGroup.pug +11 -8
  23. package/layout/includes/widgets/home/hometop.pug +1 -2
  24. package/layout/includes/widgets/home/postList.pug +3 -3
  25. package/layout/includes/widgets/nav/group.pug +13 -0
  26. package/layout/includes/widgets/nav/menu.pug +20 -16
  27. package/layout/includes/widgets/page/about/award.pug +1 -1
  28. package/layout/includes/widgets/page/banner.pug +8 -13
  29. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  30. package/layout/includes/widgets/page/links/linksCard.pug +0 -1
  31. package/layout/includes/widgets/third-party/comments/waline.pug +2 -0
  32. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +2 -2
  33. package/layout/includes/widgets/third-party/news-comment/waline.pug +2 -2
  34. package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -1
  35. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  36. package/layout/index.pug +6 -6
  37. package/layout/page.pug +0 -2
  38. package/package.json +1 -1
  39. package/plugins.yml +0 -5
  40. package/scripts/event/init.js +18 -17
  41. package/scripts/event/welcome.js +1 -1
  42. package/scripts/generator/gallery.js +29 -27
  43. package/scripts/helper/getArchiveLength.js +5 -9
  44. package/scripts/helper/related_post.js +28 -39
  45. package/scripts/helper/stylus.js +23 -8
  46. package/source/css/_global/animation.styl +313 -0
  47. package/source/css/_layout/basic.styl +10 -1
  48. package/source/css/_layout/header.styl +5 -5
  49. package/source/css/_layout/index.styl +0 -1
  50. package/source/css/_page/_about/skills.styl +1 -1
  51. package/source/css/_page/_home/category-bar.styl +14 -14
  52. package/source/css/_page/_home/home-top.styl +57 -45
  53. package/source/css/_page/_home/recent-post.styl +1 -1
  54. package/source/css/_page/equipment.styl +3 -2
  55. package/source/css/_page/home.styl +0 -15
  56. package/source/css/_page/index.styl +0 -2
  57. package/source/css/_page/links.styl +9 -8
  58. package/source/css/_page/says.styl +1 -2
  59. package/source/css/_page/share.styl +30 -67
  60. package/source/css/_widgets/_aside/index.styl +1 -1
  61. package/source/css/_widgets/_aside/info.styl +1 -1
  62. package/source/css/_widgets/_comment/twikoo.styl +4 -6
  63. package/source/css/_widgets/_comment/waline.styl +435 -72
  64. package/source/css/_widgets/_extra/console.styl +1 -1
  65. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  66. package/source/css/_widgets/_mixins/footer.styl +1 -1
  67. package/source/css/_widgets/_post/content.styl +1 -11
  68. package/source/css/_widgets/_post/meta.styl +2 -2
  69. package/source/css/_widgets/_post/relatedPost.styl +1 -1
  70. package/source/css/_widgets/_post/tools.styl +1 -1
  71. package/source/css/_widgets/_search/algolia-search.styl +4 -2
  72. package/source/css/_widgets/_tags/note.styl +4 -0
  73. package/source/css/index.styl +0 -1
  74. package/source/js/comment/twikoo_commentBarrage.js +76 -75
  75. package/source/js/covercolor/local.js +11 -10
  76. package/source/js/main.js +27 -35
  77. package/source/js/music.js +89 -49
  78. package/layout/includes/page/rss.pug +0 -20
  79. package/layout/includes/widgets/home/bb/json.pug +0 -25
  80. package/layout/includes/widgets/home/bb/local.pug +0 -20
  81. package/layout/includes/widgets/home/bb/memos.pug +0 -28
  82. package/layout/includes/widgets/nav/left.pug +0 -10
  83. package/layout/includes/widgets/page/says/json.pug +0 -82
  84. package/layout/includes/widgets/page/says/local.pug +0 -44
  85. package/layout/includes/widgets/page/says/memos.pug +0 -111
  86. package/source/css/_global/animation.css +0 -813
  87. package/source/css/_page/rss.styl +0 -82
@@ -1,813 +0,0 @@
1
- @keyframes barrageIn {
2
- 0% {
3
- transform: translateY(20px);
4
- opacity: 0
5
- }
6
-
7
- 100% {
8
- transform: translateY(0);
9
- opacity: 1
10
- }
11
- }
12
-
13
- @keyframes barrageOut {
14
- 0% {
15
- transform: translateY(0);
16
- opacity: 1
17
- }
18
-
19
- 100% {
20
- transform: translateY(20px);
21
- opacity: 0
22
- }
23
- }
24
-
25
- @-webkit-keyframes scroll-down-effect {
26
- 0% {
27
- top: 0;
28
- opacity: .4
29
- }
30
-
31
- 50% {
32
- top: -16px;
33
- opacity: 1;
34
- filter: none
35
- }
36
-
37
- 100% {
38
- top: 0;
39
- opacity: .4
40
- }
41
- }
42
-
43
- @keyframes scroll-down-effect {
44
- 0% {
45
- top: 0;
46
- opacity: .4
47
- }
48
-
49
- 50% {
50
- top: -16px;
51
- opacity: 1;
52
- filter: none
53
- }
54
-
55
- 100% {
56
- top: 0;
57
- opacity: .4
58
- }
59
- }
60
-
61
- @-webkit-keyframes header-effect {
62
- 0% {
63
- opacity: 0;
64
- transform: translateY(-50px)
65
- }
66
-
67
- 100% {
68
- opacity: 1;
69
- filter: none;
70
- transform: translateY(0)
71
- }
72
- }
73
-
74
- @keyframes header-effect {
75
- 0% {
76
- opacity: 0;
77
- transform: translateY(-50px)
78
- }
79
-
80
- 100% {
81
- opacity: 1;
82
- filter: none;
83
- transform: translateY(0)
84
- }
85
- }
86
-
87
- @-webkit-keyframes headerNoOpacity {
88
- 0% {
89
- transform: translateY(-50px)
90
- }
91
-
92
- 100% {
93
- transform: translateY(0)
94
- }
95
- }
96
-
97
- @keyframes headerNoOpacity {
98
- 0% {
99
- transform: translateY(-50px)
100
- }
101
-
102
- 100% {
103
- transform: translateY(0)
104
- }
105
- }
106
-
107
- @-webkit-keyframes bottom-top {
108
- 0% {
109
- opacity: 0;
110
- margin-top: 50px
111
- }
112
-
113
- 100% {
114
- opacity: 1;
115
- filter: none;
116
- margin-top: 0
117
- }
118
- }
119
-
120
- @keyframes bottom-top {
121
- 0% {
122
- opacity: 0;
123
- margin-top: 50px
124
- }
125
-
126
- 100% {
127
- opacity: 1;
128
- filter: none;
129
- margin-top: 0
130
- }
131
- }
132
-
133
- @-webkit-keyframes titlescale {
134
- 0% {
135
- opacity: 0;
136
- transform: scale(.7)
137
- }
138
-
139
- 100% {
140
- opacity: 1;
141
- filter: none;
142
- transform: scale(1)
143
- }
144
- }
145
-
146
- @keyframes titlescale {
147
- 0% {
148
- opacity: 0;
149
- transform: scale(.7)
150
- }
151
-
152
- 100% {
153
- opacity: 1;
154
- filter: none;
155
- transform: scale(1)
156
- }
157
- }
158
-
159
- @-webkit-keyframes search_close {
160
- 0% {
161
- transform: translateY(0);
162
- opacity: 1
163
- }
164
-
165
- 100% {
166
- transform: translateY(20px);
167
- opacity: 0
168
- }
169
- }
170
-
171
- @keyframes search_close {
172
- 0% {
173
- transform: translateY(0);
174
- opacity: 1
175
- }
176
-
177
- 100% {
178
- transform: translateY(20px);
179
- opacity: 0
180
- }
181
- }
182
-
183
- @-webkit-keyframes to_show {
184
- 0% {
185
- opacity: 0
186
- }
187
-
188
- 100% {
189
- opacity: 1;
190
- filter: none
191
- }
192
- }
193
-
194
- @keyframes to_show {
195
- 0% {
196
- opacity: 0
197
- }
198
-
199
- 100% {
200
- opacity: 1;
201
- filter: none
202
- }
203
- }
204
-
205
- @-webkit-keyframes to_hide {
206
- 0% {
207
- opacity: 1;
208
- filter: none
209
- }
210
-
211
- 100% {
212
- opacity: 0
213
- }
214
- }
215
-
216
- @keyframes to_hide {
217
- 0% {
218
- opacity: 1;
219
- filter: none
220
- }
221
-
222
- 100% {
223
- opacity: 0
224
- }
225
- }
226
-
227
- @-webkit-keyframes ribbon_to_show {
228
- 0% {
229
- opacity: 0
230
- }
231
-
232
- 100% {
233
- opacity: .6
234
- }
235
- }
236
-
237
- @keyframes ribbon_to_show {
238
- 0% {
239
- opacity: 0
240
- }
241
-
242
- 100% {
243
- opacity: .6
244
- }
245
- }
246
-
247
- @-webkit-keyframes avatar_turn_around {
248
- 0% {
249
- transform: rotate(0)
250
- }
251
-
252
- 100% {
253
- transform: rotate(360deg)
254
- }
255
- }
256
-
257
- @keyframes avatar_turn_around {
258
- 0% {
259
- transform: rotate(0)
260
- }
261
-
262
- 100% {
263
- transform: rotate(360deg)
264
- }
265
- }
266
-
267
- @-webkit-keyframes sub_menus {
268
- 0% {
269
- opacity: 0;
270
- transform: translateY(10px)
271
- }
272
-
273
- 100% {
274
- opacity: 1;
275
- filter: none;
276
- transform: translateY(0)
277
- }
278
- }
279
-
280
- @keyframes sub_menus {
281
- 0% {
282
- opacity: 0;
283
- transform: translateY(10px)
284
- }
285
-
286
- 100% {
287
- opacity: 1;
288
- filter: none;
289
- transform: translateY(0)
290
- }
291
- }
292
-
293
- @-webkit-keyframes donate_effcet {
294
- 0% {
295
- opacity: 0;
296
- transform: translateY(-20px)
297
- }
298
-
299
- 100% {
300
- opacity: 1;
301
- filter: none;
302
- transform: translateY(0)
303
- }
304
- }
305
-
306
- @keyframes donate_effcet {
307
- 0% {
308
- opacity: 0;
309
- transform: translateY(-20px)
310
- }
311
-
312
- 100% {
313
- opacity: 1;
314
- filter: none;
315
- transform: translateY(0)
316
- }
317
- }
318
-
319
- @-webkit-keyframes announ_animation {
320
- 0%, 100% {
321
- transform: scale(1);
322
- filter: blur(0)
323
- }
324
-
325
- 50% {
326
- transform: scale(1.2);
327
- filter: blur(20px)
328
- }
329
- }
330
-
331
- @keyframes announ_animation {
332
- 0%, 100% {
333
- transform: scale(1);
334
- filter: blur(0)
335
- }
336
-
337
- 50% {
338
- transform: scale(1.2);
339
- filter: blur(20px)
340
- }
341
- }
342
-
343
- @-webkit-keyframes sidebarItem {
344
- 0% {
345
- transform: translateX(200px)
346
- }
347
-
348
- 100% {
349
- transform: translateX(0)
350
- }
351
- }
352
-
353
- @keyframes sidebarItem {
354
- 0% {
355
- transform: translateX(200px)
356
- }
357
-
358
- 100% {
359
- transform: translateX(0)
360
- }
361
- }
362
-
363
- @keyframes sco-spin {
364
- 0% {
365
- transform: rotate(0)
366
- }
367
-
368
- 100% {
369
- transform: rotate(360deg)
370
- }
371
- }
372
-
373
- @-webkit-keyframes code-expand-key {
374
- 0% {
375
- opacity: .6
376
- }
377
-
378
- 50% {
379
- opacity: .1
380
- }
381
-
382
- 100% {
383
- opacity: .6
384
- }
385
- }
386
-
387
- @keyframes code-expand-key {
388
- 0% {
389
- opacity: .6
390
- }
391
-
392
- 50% {
393
- opacity: .1
394
- }
395
-
396
- 100% {
397
- opacity: .6
398
- }
399
- }
400
-
401
- @keyframes slide-in {
402
- from {
403
- transform: translateY(20px);
404
- opacity: 0
405
- }
406
-
407
- to {
408
- transform: translateY(0);
409
- opacity: 1
410
- }
411
- }
412
-
413
- @keyframes slide-in-op {
414
- from {
415
- opacity: 0
416
- }
417
-
418
- to {
419
- opacity: 1
420
- }
421
- }
422
-
423
- @-webkit-keyframes more-btn-move {
424
- 0%, 100% {
425
- transform: translateX(0)
426
- }
427
-
428
- 50% {
429
- transform: translateX(3px)
430
- }
431
- }
432
-
433
- @keyframes more-btn-move {
434
- 0%, 100% {
435
- transform: translateX(0)
436
- }
437
-
438
- 50% {
439
- transform: translateX(3px)
440
- }
441
- }
442
-
443
- @-webkit-keyframes toc-open {
444
- 0% {
445
- transform: scale(.7)
446
- }
447
-
448
- 100% {
449
- transform: scale(1)
450
- }
451
- }
452
-
453
- @keyframes toc-open {
454
- 0% {
455
- transform: scale(.7)
456
- }
457
-
458
- 100% {
459
- transform: scale(1)
460
- }
461
- }
462
-
463
- @-webkit-keyframes toc-close {
464
- 0% {
465
- transform: scale(1)
466
- }
467
-
468
- 100% {
469
- transform: scale(.7)
470
- }
471
- }
472
-
473
- @keyframes toc-close {
474
- 0% {
475
- transform: scale(1)
476
- }
477
-
478
- 100% {
479
- transform: scale(.7)
480
- }
481
- }
482
-
483
- @-webkit-keyframes configure-clockwise {
484
- 0% {
485
- transform: rotate(0)
486
- }
487
-
488
- 25% {
489
- transform: rotate(90deg)
490
- }
491
-
492
- 50% {
493
- transform: rotate(180deg)
494
- }
495
-
496
- 75% {
497
- transform: rotate(270deg)
498
- }
499
-
500
- 100% {
501
- transform: rotate(360deg)
502
- }
503
- }
504
-
505
- @keyframes configure-clockwise {
506
- 0% {
507
- transform: rotate(0)
508
- }
509
-
510
- 25% {
511
- transform: rotate(90deg)
512
- }
513
-
514
- 50% {
515
- transform: rotate(180deg)
516
- }
517
-
518
- 75% {
519
- transform: rotate(270deg)
520
- }
521
-
522
- 100% {
523
- transform: rotate(360deg)
524
- }
525
- }
526
-
527
- @-webkit-keyframes configure-xclockwise {
528
- 0% {
529
- transform: rotate(45deg)
530
- }
531
-
532
- 25% {
533
- transform: rotate(-45deg)
534
- }
535
-
536
- 50% {
537
- transform: rotate(-135deg)
538
- }
539
-
540
- 75% {
541
- transform: rotate(-225deg)
542
- }
543
-
544
- 100% {
545
- transform: rotate(-315deg)
546
- }
547
- }
548
-
549
- @keyframes configure-xclockwise {
550
- 0% {
551
- transform: rotate(45deg)
552
- }
553
-
554
- 25% {
555
- transform: rotate(-45deg)
556
- }
557
-
558
- 50% {
559
- transform: rotate(-135deg)
560
- }
561
-
562
- 75% {
563
- transform: rotate(-225deg)
564
- }
565
-
566
- 100% {
567
- transform: rotate(-315deg)
568
- }
569
- }
570
-
571
- @-webkit-keyframes tabshow {
572
- 0% {
573
- transform: translateY(15px)
574
- }
575
-
576
- 100% {
577
- transform: translateY(0)
578
- }
579
- }
580
-
581
- @keyframes tabshow {
582
- 0% {
583
- transform: translateY(15px)
584
- }
585
-
586
- 100% {
587
- transform: translateY(0)
588
- }
589
- }
590
-
591
- @-webkit-keyframes playingShadow {
592
- 0% {
593
- box-shadow: 0 0 12px -6px var(--sco-none)
594
- }
595
-
596
- 50% {
597
- box-shadow: 0 0 12px 0 var(--sco-main)
598
- }
599
-
600
- 100% {
601
- box-shadow: 0 0 12px -6px var(--sco-none)
602
- }
603
- }
604
-
605
- @-webkit-keyframes changeright {
606
- 0% {
607
- -webkit-transform: rotate(0) scale(1.1);
608
- box-shadow: 0 0 2px #ffffff00
609
- }
610
-
611
- 25% {
612
- -webkit-transform: rotate(90deg) scale(1.1);
613
- box-shadow: 0 0 10px #fff
614
- }
615
-
616
- 50% {
617
- -webkit-transform: rotate(180deg) scale(1.1);
618
- box-shadow: 0 0 2px #ffffff00
619
- }
620
-
621
- 75% {
622
- -webkit-transform: rotate(270deg) scale(1.1);
623
- box-shadow: 0 0 10px #fff
624
- }
625
-
626
- 100% {
627
- -webkit-transform: rotate(360deg) scale(1.1);
628
- box-shadow: 0 0 2px #ffffff00
629
- }
630
- }
631
-
632
- @-webkit-keyframes lightBar {
633
- 0% {
634
- opacity: .1
635
- }
636
-
637
- 60% {
638
- opacity: .3
639
- }
640
-
641
- 100% {
642
- opacity: .1
643
- }
644
- }
645
-
646
- @keyframes snackbar-progress {
647
- from {
648
- width: 0
649
- }
650
-
651
- to {
652
- width: 100%
653
- }
654
- }
655
-
656
- @keyframes move-forever {
657
- 0% {
658
- transform: translate3d(-90px, 0, 0)
659
- }
660
-
661
- 100% {
662
- transform: translate3d(85px, 0, 0)
663
- }
664
- }
665
-
666
- @keyframes rowup {
667
- from {
668
- transform: translateX(0)
669
- }
670
-
671
- to {
672
- transform: translateX(-50%)
673
- }
674
- }
675
-
676
- @keyframes gradient {
677
- 0% {
678
- background-position: 0 50%
679
- }
680
-
681
- 50% {
682
- background-position: 100% 50%
683
- }
684
-
685
- 100% {
686
- background-position: 0 50%
687
- }
688
- }
689
-
690
- @keyframes commonTipsIn {
691
- 0% {
692
- top: -50px;
693
- opacity: 0
694
- }
695
-
696
- 100% {
697
- top: -60px;
698
- opacity: 1
699
- }
700
- }
701
-
702
- @keyframes commonTriangleIn {
703
- 0% {
704
- transform: translate(-50%, -36px);
705
- opacity: 0
706
- }
707
-
708
- 100% {
709
- transform: translate(-50%, -46px);
710
- opacity: 1
711
- }
712
- }
713
-
714
- @keyframes owoIn {
715
- 0% {
716
- transform: translate(0, -95%);
717
- opacity: 0
718
- }
719
-
720
- 100% {
721
- transform: translate(0, -105%);
722
- opacity: 1
723
- }
724
- }
725
-
726
- @keyframes light_tag {
727
- 0% {
728
- transform: skewx(0);
729
- -o-transform: skewx(0);
730
- -moz-transform: skewx(0);
731
- -webkit-transform: skewx(0);
732
- left: -150px
733
- }
734
-
735
- 99% {
736
- transform: skewx(-25deg);
737
- -o-transform: skewx(-25deg);
738
- -moz-transform: skewx(-25deg);
739
- -webkit-transform: skewx(-25deg);
740
- left: 50px
741
- }
742
- }
743
-
744
- @keyframes floating {
745
- 0% {
746
- transform: translate(0, -4px)
747
- }
748
-
749
- 50% {
750
- transform: translate(0, 4px)
751
- }
752
-
753
- 100% {
754
- transform: translate(0, -4px)
755
- }
756
- }
757
-
758
- @media screen and (min-width: 768px) {
759
- @keyframes showCover {
760
- from {
761
- opacity: 0;
762
- transform: rotate(10deg) translateY(-8%) scale(1.8);
763
- }
764
- to {
765
- opacity: 0.5;
766
- transform: rotate(10deg) translateY(-10%) scale(2);
767
- }
768
- }
769
- }
770
-
771
- @keyframes blinking-cursor {
772
- 0% {
773
- transform: scale(.6)
774
- }
775
-
776
- 25% {
777
- transform: scale(1)
778
- }
779
-
780
- 50% {
781
- transform: scale(.6)
782
- }
783
-
784
- 75% {
785
- transform: scale(1)
786
- }
787
-
788
- 100% {
789
- transform: scale(.6)
790
- }
791
- }
792
-
793
- @keyframes AILoading {
794
- 0% {
795
- opacity: 1
796
- }
797
-
798
- 25% {
799
- opacity: .3
800
- }
801
-
802
- 50% {
803
- opacity: 1
804
- }
805
-
806
- 75% {
807
- opacity: .3
808
- }
809
-
810
- 100% {
811
- opacity: 1
812
- }
813
- }