hexo-theme-solitude 1.9.3 → 1.10.1

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 (46) hide show
  1. package/.github/screenshot.webp +0 -0
  2. package/README.md +7 -5
  3. package/README_en-US.md +7 -5
  4. package/README_zh-Hant.md +7 -5
  5. package/_config.yml +18 -7
  6. package/languages/default.yml +1 -0
  7. package/languages/en.yml +1 -0
  8. package/languages/zh-CN.yml +1 -0
  9. package/languages/zh-TW.yml +1 -0
  10. package/layout/includes/body/gadsense.pug +2 -2
  11. package/layout/includes/footer.pug +12 -11
  12. package/layout/includes/inject/head.pug +2 -2
  13. package/layout/includes/widgets/aside/asideAdsense.pug +5 -0
  14. package/layout/includes/widgets/aside/asideCustom.pug +4 -3
  15. package/layout/includes/widgets/aside/asideSwitch.pug +2 -0
  16. package/layout/includes/widgets/home/categoryBar.pug +6 -2
  17. package/layout/includes/widgets/home/postList.pug +2 -2
  18. package/layout/post.pug +5 -0
  19. package/package.json +1 -1
  20. package/scripts/event/merge_config.js +355 -321
  21. package/source/css/_comments/comment.styl +2 -0
  22. package/source/css/_comments/twikoo.styl +16 -37
  23. package/source/css/_global/index.styl +13 -6
  24. package/source/css/_layout/aside.styl +8 -1
  25. package/source/css/_layout/footer.styl +27 -28
  26. package/source/css/_layout/other.styl +0 -3
  27. package/source/css/_mode/index.styl +2 -0
  28. package/source/css/_page/_about/reward.styl +1 -6
  29. package/source/css/_page/_home/category-bar.styl +28 -8
  30. package/source/css/_page/_home/home-top.styl +3 -0
  31. package/source/css/_page/music.styl +54 -71
  32. package/source/css/_post/ads.styl +4 -0
  33. package/source/css/_post/index.styl +4 -1
  34. package/source/css/_post/tools.styl +3 -0
  35. package/source/css/_tags/mermaid.styl +4 -1
  36. package/source/img/error_load.webp +0 -0
  37. package/source/img/loading.gif +0 -0
  38. package/source/js/main.js +1 -1
  39. package/source/js/music.js +1 -0
  40. package/.github/screenshot.png +0 -0
  41. package/README_fr.md +0 -90
  42. package/README_ja.md +0 -88
  43. package/source/img/error_load.png +0 -0
  44. package/source/img/pwa/favicon_128.ico +0 -0
  45. package/source/img/pwa/favicon_256.ico +0 -0
  46. package/source/img/pwa/favicon_512.ico +0 -0
@@ -159,6 +159,8 @@ div#post-comment
159
159
  overflow hidden
160
160
  animation owoIn .3s cubic-bezier(.42, 0, .3, 1.11)
161
161
  padding 1rem
162
+ +maxWidth768()
163
+ display none !important
162
164
 
163
165
  if hexo-config('twikoo.style') && 'Twikoo' in hexo-config('comment.use')
164
166
  @import 'twikoo.styl'
@@ -443,12 +443,14 @@ button.el-button.tk-cancel.el-button--default.el-button--small
443
443
  border-radius 8px !important
444
444
  color var(--efu-fontcolor) !important
445
445
 
446
- @media screen and (max-width: 768px)
447
- .OwO .OwO-body
448
- width 300px
449
446
 
450
447
  .OwO
448
+ &.OwO-open
449
+ .OwO-body
450
+ animation .3s ease .1s 1 normal both running donate_effcet
451
451
  .OwO-body
452
+ z-index 102
453
+ width 500px
452
454
  border var(--style-border-always) !important
453
455
  border-radius 8px !important
454
456
  overflow hidden
@@ -456,26 +458,12 @@ button.el-button.tk-cancel.el-button--default.el-button--small
456
458
  backdrop-filter saturate(180%) blur(10px)
457
459
  -webkit-backdrop-filter blur(10px)
458
460
  transform translateZ(0)
461
+ +maxWidth768()
462
+ width 300px
459
463
 
460
464
  .OwO-bar
461
465
  border-top none !important
462
466
 
463
- .OwO-items
464
- .OwO-item:hover
465
- box-shadow var(--efu-shadow-lightblack) !important
466
- border-radius 8px
467
-
468
- #twikoo > div.tk-comments > div.tk-submit > div.tk-row.actions > div > div.tk-action-icon.OwO.OwO-open > div.OwO-body > div > ul > li > span
469
- line-height 48px
470
- font-size 28px
471
-
472
- .OwO
473
- &.OwO-open
474
- .OwO-body
475
- animation .3s ease .1s 1 normal both running donate_effcet
476
-
477
- .OwO-body
478
- .OwO-bar
479
467
  .OwO-packages
480
468
  li
481
469
  margin-right 0 !important
@@ -485,6 +473,15 @@ button.el-button.tk-cancel.el-button--default.el-button--small
485
473
  li:hover
486
474
  transition .3s
487
475
 
476
+ .OwO-items
477
+ .OwO-item:hover
478
+ box-shadow var(--efu-shadow-lightblack) !important
479
+ border-radius 8px
480
+
481
+ #twikoo > div.tk-comments > div.tk-submit > div.tk-row.actions > div > div.tk-action-icon.OwO.OwO-open > div.OwO-body > div > ul > li > span
482
+ line-height 48px
483
+ font-size 28px
484
+
488
485
  .OwO-packages
489
486
  background var(--efu-background)
490
487
  padding-left 8px !important
@@ -504,24 +501,6 @@ button.el-button.tk-cancel.el-button--default.el-button--small
504
501
  .OwO-packages
505
502
  li
506
503
  line-height 45px !important
507
- z-index 102
508
- width 500px
509
-
510
- #owo-big
511
- position fixed
512
- align-items center
513
- background-color var(--efu-card-bg)
514
- border var(--style-border-always)
515
- border-radius 10px
516
- z-index 9999
517
- display none
518
- transform translate(0, -105%)
519
- overflow hidden
520
- animation owoIn .3s cubic-bezier(.42, 0, .3, 1.11)
521
- padding 1rem
522
-
523
- img
524
- width 100%
525
504
 
526
505
  .tk-replies
527
506
  .tk-content
@@ -249,15 +249,17 @@ input::placeholder
249
249
  margin 0 0 1rem
250
250
 
251
251
  table
252
- display block
253
252
  width 100%
254
253
  border-spacing 0
255
254
  border-collapse collapse
256
255
  empty-cells show
257
- overflow-x auto
258
256
 
259
- &::-webkit-scrollbar
260
- display none
257
+ +maxWidth768()
258
+ display block
259
+ overflow-x auto
260
+
261
+ &::-webkit-scrollbar
262
+ display none
261
263
 
262
264
  table thead
263
265
  background var(--efu-secondbg)
@@ -299,6 +301,9 @@ img:not([src]), img[src=""]
299
301
  flex-direction row
300
302
  align-items center
301
303
 
304
+ iframe
305
+ border-radius 12px
306
+
302
307
  .copy-true
303
308
  user-select all
304
309
 
@@ -323,13 +328,15 @@ li, ul
323
328
  padding 0
324
329
 
325
330
  ::-webkit-scrollbar
326
- width 6px
331
+ width 10px
327
332
  height 6px
328
333
 
329
334
  ::-webkit-scrollbar-thumb
330
- background var(--efu-scrollbar)
335
+ background var(--efu-card-border)
336
+ opacity .5
331
337
  border-radius 8px
332
338
  cursor pointer
339
+ border 2px solid var(--efu-background)
333
340
 
334
341
  ::-webkit-scrollbar-thumb:hover
335
342
  background var(--efu-main)
@@ -87,6 +87,10 @@
87
87
  color var(--efu-main)
88
88
  transform scale(1.1)
89
89
 
90
+ &:active
91
+ transform scale(.97)
92
+ opacity .8
93
+
90
94
  .card-info-social-icons
91
95
  margin 0
92
96
  display flex
@@ -894,4 +898,7 @@ backcolor = convert(hexo-config('aside.flip.backcolor'))
894
898
  transform rotateY(180deg)
895
899
  box-sizing border-box
896
900
  background url(faceback) center center no-repeat
897
- background-size 100%
901
+ background-size 100%
902
+
903
+ .card-widget.card-adsense
904
+ padding 0
@@ -15,38 +15,37 @@
15
15
  content ''
16
16
  z-index -1
17
17
 
18
- div#st-footer-bar
19
- display none
20
-
21
- a.footer-bar-link
22
- padding 4px 16px
23
- background var(--efu-secondbg)
24
- border-radius 20px
25
- margin-top 8px
26
- font-size 14px
27
- cursor pointer
28
- border var(--style-border-always)
29
18
 
30
- &:hover
31
- background var(--efu-main)
32
- color var(--efu-white)
33
- transform scale(1.1)
34
- border-color var(--efu-main)
19
+ if hexo-config('post.footer.enable')
20
+ div#st-footer-bar
21
+ display flex
22
+ flex-direction column
23
+ align-items center
24
+ margin-top 16px
25
+
26
+ a.footer-bar-link
27
+ padding 4px 16px
28
+ background var(--efu-secondbg)
29
+ border-radius 20px
30
+ margin-top 8px
31
+ font-size 14px
32
+ cursor pointer
33
+ border var(--style-border-always)
35
34
 
36
- .footer-logo
37
- font-size 24px
35
+ &:hover
36
+ background var(--efu-main)
37
+ color var(--efu-white)
38
+ transform scale(1.1)
39
+ border-color var(--efu-main)
38
40
 
39
- .footer-bar-description
40
- color var(--efu-secondtext)
41
- font-weight 700
42
- padding: 0 0.5rem
43
- text-align: center
41
+ .footer-logo
42
+ font-size 24px
44
43
 
45
- .post & div#st-footer-bar
46
- display flex
47
- flex-direction column
48
- align-items center
49
- margin-top 16px
44
+ .footer-bar-description
45
+ color var(--efu-secondtext)
46
+ font-weight 700
47
+ padding: 0 0.5rem
48
+ text-align: center
50
49
 
51
50
  #footer_deal
52
51
  justify-content center
@@ -1,7 +1,4 @@
1
1
  span.tags-punctuation
2
- margin-right 2px
3
- font-size .7rem
4
- font-weight 700
5
2
  display flex
6
3
  align-items center
7
4
 
@@ -25,6 +25,7 @@
25
25
  --efu-post-blockquote-bg #000
26
26
  --efu-post-tabs-bg #121212
27
27
  --efu-secondbg #30343f
28
+ --efu-secondbg-bg #21232a
28
29
  --efu-shadow-nav 0 5px 20px 0px rgba(28, 28, 28, 0.4)
29
30
  --efu-card-bg #1b1c20
30
31
  --efu-card-bg-op var(--efu-white-op)
@@ -70,6 +71,7 @@
70
71
  --efu-post-blockquote-bg #fafcff
71
72
  --efu-post-tabs-bg #f2f5f8
72
73
  --efu-secondbg #f7f7f9
74
+ --efu-secondbg-bg var(--efu-secondbg)
73
75
  --efu-shadow-nav 0 5px 12px -5px rgba(102, 68, 68, 0.05)
74
76
  --efu-card-bg #fff
75
77
  --efu-card-bg-op var(--efu-black-op)
@@ -39,13 +39,8 @@
39
39
  padding 8px 12px
40
40
  background var(--efu-red)
41
41
  border-radius 12px
42
- color var(--efu-white)
43
- display flex
44
- align-items center
45
42
  z-index 1
46
- transition .3s
47
- cursor pointer
48
- box-shadow none
43
+ box-shadow initial
49
44
  width fit-content
50
45
  height fit-content
51
46
  line-height 2
@@ -1,5 +1,5 @@
1
1
  #category-bar
2
- padding 0.4rem 1rem 0.4rem 0.7rem
2
+ padding .4rem .7rem
3
3
  background var(--efu-card-bg)
4
4
  border-radius 12px
5
5
  display flex
@@ -34,12 +34,27 @@
34
34
 
35
35
  .category-bar-right
36
36
  display flex
37
+ align-items center
37
38
 
38
- .category-bar-more
39
- margin-left 14px
40
- font-weight 700
39
+ .category-bar-next
40
+ margin-left 8px
41
+ cursor pointer
42
+ height 30px
43
+ width 30px
44
+ display flex
45
+ border-radius 8px
46
+ align-items center
47
+ justify-content center
48
+ transition .3s
41
49
 
42
- &:hover
50
+ .category-bar-more
51
+ margin-left 4px
52
+ font-weight 700
53
+ border-radius 8px
54
+ padding 0 8px
55
+
56
+ div:hover,a:hover
57
+ background var(--efu-secondbg-bg)
43
58
  color var(--efu-lighttext)
44
59
 
45
60
  .category-bar-items
@@ -57,8 +72,8 @@
57
72
  .category-bar-item
58
73
  &:hover
59
74
  a
60
- background var(--efu-theme)
61
- color var(--efu-white)
75
+ background var(--efu-secondbg-bg)
76
+ color var(--efu-lighttext)
62
77
 
63
78
  a
64
79
  padding .1rem .5rem
@@ -68,10 +83,15 @@
68
83
  display flex
69
84
  align-items center
70
85
  height 30px
86
+ border var(--style-border-always)
71
87
 
72
88
  &.select
73
89
  order -1
74
90
 
75
91
  a
76
92
  background var(--efu-theme)
77
- color var(--efu-white)
93
+ color var(--efu-white)
94
+
95
+ &.home
96
+ a
97
+ border initial
@@ -313,6 +313,9 @@
313
313
 
314
314
  .banner-button-group
315
315
  bottom: 1rem
316
+
317
+ +maxWidth768()
318
+ margin-right 1rem
316
319
 
317
320
  .banners-links
318
321
  display flex