hexo-theme-solitude 1.4.0 → 1.4.2

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 (59) hide show
  1. package/_config.yml +66 -15
  2. package/languages/en-US.yml +3 -2
  3. package/languages/zh-CN.yml +3 -2
  4. package/layout/404.pug +1 -1
  5. package/layout/includes/console.pug +4 -0
  6. package/layout/includes/head/config.pug +1 -1
  7. package/layout/includes/head.pug +1 -1
  8. package/layout/includes/inject/body.pug +6 -5
  9. package/layout/includes/keyboard.pug +65 -0
  10. package/layout/includes/layout.pug +4 -0
  11. package/layout/includes/page/about.pug +1 -1
  12. package/layout/includes/page/album.pug +56 -0
  13. package/layout/includes/page/gallery.pug +11 -0
  14. package/layout/includes/page/links.pug +2 -0
  15. package/layout/includes/page/moment.pug +28 -0
  16. package/layout/includes/widgets/page/moments/angle.pug +19 -0
  17. package/layout/includes/widgets/page/says/json.pug +2 -4
  18. package/layout/includes/widgets/page/says/local.pug +3 -7
  19. package/layout/includes/widgets/page/says/memos.pug +2 -4
  20. package/layout/includes/widgets/third-party/search/algolia-search.pug +20 -15
  21. package/layout/includes/widgets/third-party/search/local-search.pug +3 -0
  22. package/layout/page.pug +6 -0
  23. package/package.json +1 -1
  24. package/plugins.yml +6 -2
  25. package/source/css/_global/index.styl +1 -5
  26. package/source/css/_layout/basic.styl +6 -2
  27. package/source/css/_mode/index.styl +6 -1
  28. package/source/css/_page/about/author.styl +94 -0
  29. package/source/css/_page/about/buff.styl +34 -0
  30. package/source/css/_page/about/careers.styl +27 -0
  31. package/source/css/_page/about/contentinfo.styl +78 -0
  32. package/source/css/_page/about/game.styl +41 -0
  33. package/source/css/_page/about/index.styl +39 -1
  34. package/source/css/_page/about/like.styl +29 -0
  35. package/source/css/_page/about/maxim.styl +23 -0
  36. package/source/css/_page/about/myphoto.styl +34 -0
  37. package/source/css/_page/about/oneself.styl +91 -0
  38. package/source/css/_page/about/personalities.styl +25 -0
  39. package/source/css/_page/about/reward.styl +113 -0
  40. package/source/css/_page/about/skills.styl +75 -0
  41. package/source/css/_page/about/statistic.styl +55 -0
  42. package/source/css/_page/gallery/index.styl +96 -0
  43. package/source/css/_page/index.styl +24 -4
  44. package/source/css/_page/moment.styl +4 -2
  45. package/source/css/_widgets/_comment/twikoo.styl +20 -17
  46. package/source/css/_widgets/_mixins/keyboard.styl +59 -0
  47. package/source/css/_widgets/_search/algolia-search.styl +37 -16
  48. package/source/css/_widgets/_search/local-search.styl +18 -2
  49. package/source/css/_widgets/_tags/link.styl +1 -1
  50. package/source/css/_widgets/index.styl +4 -0
  51. package/source/css/index.styl +0 -1
  52. package/source/js/covercolor/api.js +22 -21
  53. package/source/js/covercolor/local.js +21 -15
  54. package/source/js/main.js +15 -1
  55. package/source/js/search/algolia.js +4 -2
  56. package/source/js/search/local.js +3 -1
  57. package/source/js/utils.js +1 -1
  58. package/source/css/_page/about.styl +0 -773
  59. package/source/img/avatar.png +0 -0
@@ -1,773 +0,0 @@
1
- #about-page
2
- display flex
3
- padding-top 1rem
4
- flex-direction column
5
- align-items center
6
-
7
- .author-info
8
- display flex
9
- align-items center
10
- margin 0 0 16px 0
11
-
12
- .author-tag-left
13
- display flex
14
- flex-direction column
15
- align-items flex-end
16
-
17
- .author-tag
18
- &:first-child,
19
- &:last-child
20
- margin-right -16px
21
-
22
- .author-tag-right
23
- display flex
24
- flex-direction column
25
- align-items flex-start
26
-
27
- .author-tag
28
- &:first-child,
29
- &:last-child
30
- margin-left -16px
31
-
32
- +maxWidth768()
33
- .author-tag-left, .author-tag-right
34
- display none
35
-
36
- .author-tag
37
- transform translate(0, -4px)
38
- padding 1px 8px
39
- background var(--sco-card-bg)
40
- border var(--style-border-always)
41
- border-radius 40px
42
- margin-top 6px
43
- font-size 14px
44
- font-weight 700
45
- box-shadow var(--sco-shadow-lightblack)
46
- animation 6s ease-in-out 0s infinite normal none running floating
47
-
48
- &:nth-child(1)
49
- animation-delay 0s
50
-
51
- &:nth-child(2)
52
- animation-delay .6s
53
-
54
- &:nth-child(3)
55
- animation-delay 1.2s
56
-
57
- &:nth-child(4)
58
- animation-delay 1.8s
59
-
60
- .author-img
61
- margin 0 30px
62
- border-radius 50%
63
- width 180px
64
- height 180px
65
- position relative
66
- background var(--sco-secondbg)
67
- user-select none
68
- transition .3s
69
-
70
- &:hover
71
- transform scale(1.1)
72
-
73
- +maxWidth768()
74
- width 120px
75
- height 120px
76
-
77
- &::before
78
- bottom -5px
79
- right -5px
80
-
81
- img
82
- border-radius 200px
83
-
84
- &::before
85
- content ''
86
- -webkit-transition 1s
87
- -moz-transition 1s
88
- -o-transition 1s
89
- -ms-transition 1s
90
- transition 1s
91
- width 30px
92
- height 30px
93
- background var(--sco-green)
94
- position absolute
95
- border-radius 50%
96
- border 5px solid var(--sco-background)
97
- bottom 5px
98
- right 10px
99
- z-index 2
100
-
101
- .author-title
102
- font-size 2rem
103
- font-weight 700
104
- margin 1rem 0
105
- line-height 1
106
-
107
- .myInfoAndSayHello
108
- display flex
109
- flex-direction column
110
- justify-content center
111
- color var(--sco-white)
112
- background linear-gradient(120deg, #5b27ff 0, #00d4ff 100%)
113
- background-size 200%
114
- animation gradient 15s ease infinite
115
- width 59%
116
-
117
- .title1
118
- opacity .8
119
- line-height 1.3
120
-
121
- .title2
122
- font-size 36px
123
- font-weight 700
124
- line-height 1.1
125
- margin .5rem 0
126
-
127
- .inline-word
128
- word-break keep-all
129
- white-space nowrap
130
-
131
- .aboutsiteTips
132
- display flex
133
- justify-content center
134
- align-items flex-start
135
- flex-direction column
136
- width 39%
137
-
138
- h2
139
- margin-right auto
140
- font-size 36px
141
- font-family Helvetica
142
- line-height 1.06
143
- letter-spacing -.02em
144
- color var(--sco-fontcolor)
145
- margin-top 0
146
-
147
- .mask
148
- height 36px
149
- position relative
150
- overflow hidden
151
- margin-top 4px
152
-
153
- span
154
- display block
155
- box-sizing border-box
156
- position absolute
157
- top 36px
158
- padding-bottom var(--offset)
159
- background-size 100% 100%
160
- -webkit-background-clip text
161
- background-clip text
162
- -webkit-text-fill-color transparent
163
- background-repeat no-repeat
164
-
165
- &[data-show]
166
- transform translateY(-100%)
167
- transition .5s transform ease-in-out
168
-
169
- &[data-up]
170
- transform translateY(-200%)
171
- transition .5s transform ease-in-out
172
-
173
- span:nth-child(1)
174
- background-image linear-gradient(45deg, #0ecffe 50%, #07a6f1)
175
-
176
- span:nth-child(2)
177
- background-image linear-gradient(45deg, #18e198 50%, #0ec15d)
178
-
179
- span:nth-child(3)
180
- background-image linear-gradient(45deg, #8a7cfb 50%, #633e9c)
181
-
182
- span:nth-child(4)
183
- background-image linear-gradient(45deg, #fa7671 50%, #f45f7f)
184
-
185
- .author-content-item.skills
186
- display flex
187
- justify-content center
188
- align-items flex-start
189
- flex-direction column
190
- width 49%
191
- min-height 450px
192
-
193
- .tags-group-all
194
- display flex
195
- transform rotate(0)
196
- transition .3s
197
-
198
- .tags-group-wrapper
199
- margin-top 20px
200
- display flex
201
- flex-wrap nowrap
202
- animation rowup 60s linear infinite
203
-
204
- .skills-style-group
205
- position relative
206
-
207
- .skills-list
208
- display flex
209
- opacity 0
210
- transition .3s
211
- position absolute
212
- width 100%
213
- top 0
214
- left 0
215
- flex-wrap wrap
216
- flex-direction row
217
- margin-top 10px
218
-
219
- &:hover
220
- .skills-style-group
221
- .tags-group-all
222
- opacity 0
223
-
224
- .skills-list
225
- opacity 1
226
-
227
- .skill-info
228
- display flex
229
- align-items center
230
- margin-right 10px
231
- margin-top 10px
232
- background var(--sco-background)
233
- border-radius 40px
234
- padding 4px 12px 4px 8px
235
- border var(--style-border)
236
- box-shadow var(--sco-shadow-border)
237
-
238
- .etc
239
- margin-right 10px
240
- margin-top 10px
241
-
242
- .skill-icon
243
- width 32px
244
- height 32px
245
- border-radius 32px
246
- display flex
247
- align-items center
248
- justify-content center
249
- margin-right 8px
250
- user-select none
251
-
252
- img
253
- width 18px
254
- height 18px
255
-
256
- .skill-name
257
- font-weight 700
258
- line-height 1
259
-
260
- .author-content-item.careers
261
- min-height 400px
262
-
263
- img
264
- position absolute
265
- left 0
266
- bottom 20px
267
- width 100%
268
- transition .6s
269
- user-select none
270
-
271
- .careers-group
272
- margin-top 12px
273
-
274
- .careers-item
275
- display flex
276
- align-items center
277
-
278
- .circle
279
- width 16px
280
- height 16px
281
- margin-right 8px
282
- border-radius 16px
283
-
284
- .name
285
- color var(--sco-secondtext)
286
-
287
- .author-content-item.myphoto
288
- height 60%
289
- min-height 240px
290
- position relative
291
- overflow hidden
292
- width 39%
293
- display flex
294
- align-items center
295
- justify-content center
296
-
297
- img
298
- position absolute
299
- height 100%
300
- min-width 100%
301
- object-fit cover
302
- transition .6s
303
- user-select none
304
-
305
- &:hover
306
- img
307
- min-width 105%
308
- transition 2s
309
-
310
- .myphoto-title
311
- position absolute
312
- bottom 0
313
- left 0
314
- width 100%
315
- background var(--sco-maskbgdeep)
316
- padding .5rem 2rem
317
- backdrop-filter saturate(180%) blur(20px)
318
- -webkit-backdrop-filter blur(20px)
319
- transform translateZ(0)
320
-
321
- .author-content-item.personalities
322
- overflow hidden
323
- position relative
324
- width 59%
325
- +maxWidth768()
326
- min-height 360px
327
-
328
- .title2
329
- font-size 36px
330
- font-weight 700
331
- line-height 1.1
332
-
333
- .image
334
- position absolute
335
- right -40px
336
- bottom -10rem
337
- transition transform 2s cubic-bezier(.13, .45, .21, 1.02)
338
- user-select none
339
-
340
- +maxWidth768()
341
- right -70px
342
-
343
- &:hover
344
- .image
345
- transform rotate(-10deg)
346
-
347
- .author-content-item.maxim
348
- font-size 36px
349
- font-weight 700
350
- line-height 1.1
351
- display flex
352
- align-items flex-start
353
- flex-direction column
354
- justify-content center
355
- width 39%
356
-
357
- .maxim-title
358
- display flex
359
- flex-direction column
360
-
361
- span:first-child
362
- opacity 0.6
363
- margin-bottom 8px
364
-
365
- .title1
366
- opacity .8
367
- font-size .6rem
368
- margin-bottom .5rem
369
-
370
- .author-content-item.buff
371
- font-size 36px
372
- font-weight 700
373
- line-height 1.1
374
- display flex
375
- align-items flex-start
376
- flex-direction column
377
- justify-content center
378
- background linear-gradient(120deg, #ff27e8 0, #ff8000 100%)
379
- color var(--sco-white)
380
- background-size 200%
381
- animation gradient 15s ease infinite
382
- min-height 200px
383
- height fit-content
384
- width 59%
385
-
386
- .card-content
387
- display flex
388
- flex-direction column
389
- justify-content center
390
-
391
- .buff-title
392
- display flex
393
- flex-direction column
394
-
395
- span:first-child
396
- opacity 0.6
397
- margin-bottom 8px
398
-
399
- .title1
400
- opacity .8
401
- font-size .6rem
402
- margin-bottom .5rem
403
-
404
- .author-content-item.game-apex
405
- min-height 300px
406
- overflow hidden
407
- color var(--sco-white)
408
- width 59%
409
-
410
- &::after
411
- box-shadow 0 -69px 203px 11px #04120f inset
412
- position absolute
413
- content ''
414
- width 100%
415
- height 100%
416
- top 0
417
- left 0
418
-
419
- .card-content
420
- position absolute
421
- width 100%
422
- height 100%
423
- top 0
424
- left 0
425
- z-index 2
426
- display flex
427
- flex-direction column
428
- padding 1rem 2rem
429
-
430
- .author-content-item.game-jl
431
- width 39%
432
- min-height 300px
433
- overflow hidden
434
- color var(--sco-white)
435
-
436
- &::after
437
- box-shadow 0 -69px 203px 11px #415dc9 inset
438
- position absolute
439
- content ''
440
- width 100%
441
- height 100%
442
- top 0
443
- left 0
444
-
445
- .author-content-item.like-technology
446
- background-size cover
447
- min-height 230px
448
- color var(--sco-white)
449
-
450
- &::after
451
- box-shadow 0 -69px 203px 11px #050b20 inset
452
- position absolute
453
- content ''
454
- width 100%
455
- height 100%
456
- top 0
457
- left 0
458
-
459
- .author-content-item.like-music
460
- background-size cover
461
- min-height 400px
462
- color var(--sco-white)
463
- overflow hidden
464
-
465
- &::after
466
- box-shadow 0 -69px 203px 11px #0e0e0e inset
467
- position absolute
468
- content ''
469
- width 100%
470
- height 100%
471
- top 0
472
- left 0
473
-
474
- .author-content-item
475
- .card-content
476
- z-index 2
477
-
478
- .about-statistic
479
- min-height 380px
480
- width 39%
481
- background-size cover
482
- color var(--sco-white)
483
- overflow hidden
484
-
485
- &::after
486
- box-shadow 0 -159px 173px 71px #0f1114 inset
487
- position absolute
488
- content ''
489
- width 100%
490
- height 100%
491
- top 0
492
- left 0
493
-
494
- #statistic
495
- font-size 16px
496
- border-radius 15px
497
- width 100%
498
- color var(--sco-white)
499
- display flex
500
- justify-content space-between
501
- flex-direction row
502
- flex-wrap wrap
503
- margin-top 1rem
504
- margin-bottom 2rem
505
-
506
- div
507
- display flex
508
- justify-content space-between
509
- flex-direction column
510
- width 50%
511
- margin-bottom .5rem
512
-
513
- span:first-child
514
- opacity .8
515
- font-size .6rem
516
-
517
- span:last-child
518
- font-weight 700
519
- font-size 34px
520
- line-height 1
521
- white-space nowrap
522
-
523
- .banner-button
524
- background var(--sco-white-op)
525
-
526
- .banner-button:hover
527
- background var(--sco-theme)
528
-
529
- .author-content-item-group
530
- &.column
531
- display flex
532
- flex-direction column
533
- width 49%
534
- justify-content space-between
535
-
536
- +maxWidth768()
537
- width 100% !important
538
-
539
- &.mapAndInfo
540
- width 59%
541
-
542
- .author-content-item
543
- +minWidth1300()
544
- animation slide-in .6s 0s backwards
545
-
546
- &.map
547
- background var(--site-about-oneself-map--light) no-repeat center
548
- min-height 160px
549
- max-height 400px
550
- position relative
551
- overflow hidden
552
- margin-bottom 0.5rem
553
- height 60%
554
- background-size 100%
555
- transition 1s ease-in-out
556
-
557
- .map-title
558
- position absolute
559
- bottom 0
560
- left 0
561
- width 100%
562
- background var(--sco-maskbg)
563
- padding 0.5rem 2rem
564
- backdrop-filter saturate(180%) blur(20px)
565
- transition 1s ease-in-out
566
- font-size 20px
567
- transform translateZ(0)
568
-
569
- +maxWidth768()
570
- padding 1rem
571
-
572
- b
573
- color var(--sco-fontcolor)
574
-
575
- +maxWidth768()
576
- margin-bottom 0
577
-
578
- [data-theme=dark] &
579
- background var(--site-about-oneself-map--dark) no-repeat center
580
- background-size 100%
581
-
582
- &:hover
583
- background-size 120%
584
- transition 4s ease-in-out
585
- background-position-x 0
586
- background-position-y 36%
587
-
588
- .map-title
589
- bottom -100%
590
-
591
- .author-content-item.selfInfo
592
- display flex
593
- min-height 100px
594
- max-height 400px
595
- justify-content space-between
596
- align-items center
597
- flex-wrap wrap
598
- height -webkit-fill-available
599
- height 40%
600
-
601
- +maxWidth1300()
602
- height 70%
603
-
604
- div
605
- display flex
606
- flex-direction column
607
- margin .5rem 2rem .5rem 0
608
-
609
- .selfInfo-title
610
- opacity .8
611
- font-size .6rem
612
- line-height 1
613
- margin-bottom 8px
614
-
615
- .selfInfo-content
616
- font-weight 700
617
- font-size 34px
618
- line-height 1
619
-
620
- .author-content-item
621
- &.single.like-movie
622
- height 19rem
623
- background-size cover
624
- color var(--sco-white)
625
- overflow hidden
626
-
627
- &::after
628
- box-shadow 0 21px 133px 81px #1c1c1c inset
629
- position absolute
630
- content ''
631
- width 100%
632
- height 100%
633
- top 0
634
- left 0
635
-
636
- &.single.toolPage
637
- height 19rem
638
- background-size cover
639
- color var(--sco-white)
640
- overflow hidden
641
- margin-top 0
642
-
643
- .author-content-item
644
- &.single.reward
645
- .author-content-item
646
- .author-content-item-title
647
- color var(--sco-red)
648
-
649
- .reward-list-updateDate
650
- color var(--sco-gray)
651
- font-size 14px
652
-
653
- .author-content-item-description
654
- font-size 16px
655
- margin-top .5rem
656
-
657
- .reward-list-all
658
- display flex
659
- flex-wrap wrap
660
- flex-direction row
661
- margin 1rem -.25rem .5rem
662
-
663
- .post-reward
664
- position absolute
665
- right 2rem
666
- top 2rem
667
-
668
- .reward-main
669
- top 60px
670
- right 0
671
- left auto
672
- bottom auto
673
- width fit-content
674
- box-shadow var(--sco-shadow-border)
675
-
676
- .reward-all::before
677
- bottom auto
678
- top -16px
679
-
680
- .reward-button
681
- padding 8px 12px
682
- background var(--sco-red)
683
- border-radius 12px
684
- color var(--sco-white)
685
- display flex
686
- align-items center
687
- z-index 1
688
- transition .3s
689
- cursor pointer
690
- box-shadow none
691
- width fit-content
692
- height fit-content
693
- line-height 2
694
- user-select none
695
-
696
- +maxWidth768()
697
- display none
698
-
699
- &:hover
700
- .reward-button
701
- filter brightness(1.1)
702
-
703
- .reward-list-item
704
- padding 1rem
705
- border-radius 12px
706
- border var(--style-border-always)
707
- width calc((100% / 6) - .5rem)
708
- margin 0 .25rem .5rem .25rem
709
- box-shadow var(--sco-shadow-border)
710
- flex-direction column
711
- justify-content space-between
712
-
713
- +maxWidth1200()
714
- width calc((100% / 4) - .5rem)
715
-
716
- +maxWidth900()
717
- width calc((100% / 2) - .5rem)
718
-
719
- +maxWidth768()
720
- width 100%
721
-
722
- .reward-list-item-name
723
- font-size 1rem
724
- font-weight 700
725
- line-height 1
726
- margin-bottom .5rem
727
- white-space nowrap
728
- overflow hidden
729
- text-overflow ellipsis
730
-
731
- .reward-list-bottom-group
732
- display flex
733
- align-items center
734
- justify-content space-between
735
-
736
- .reward-list-item-money
737
- padding 4px
738
- background var(--sco-fontcolor)
739
- color var(--sco-card-bg)
740
- font-size 12px
741
- line-height 1
742
- border-radius 4px
743
- margin-right 4px
744
- white-space nowrap
745
-
746
- .reward-list-item-time
747
- font-size 12px
748
- color var(--sco-secondtext)
749
- white-space nowrap
750
-
751
- .reward-list-tips
752
- p
753
- font-size 12px
754
- color var(--sco-secondtext)
755
-
756
- +maxWidth1300()
757
- .author-content-item
758
- animation slide-in .6s 0s backwards
759
-
760
- .author-content
761
- display flex
762
- flex-wrap wrap
763
- justify-content space-between
764
- width 100%
765
- margin-top 1rem
766
- +maxWidth768()
767
- margin-top 0
768
-
769
- .author-content-item
770
- +maxWidth768()
771
- width 100% !important
772
- margin-top 1rem
773
- padding 1rem