hexo-theme-solitude 1.5.1 → 1.5.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 (148) hide show
  1. package/.github/ISSUE_TEMPLATE/config.yml +17 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
  3. package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
  4. package/CONTRIBUTING.md +2 -13
  5. package/LICENSE +21 -674
  6. package/README.md +17 -41
  7. package/README_EN.md +14 -39
  8. package/SECURITY.md +9 -0
  9. package/_config.yml +235 -264
  10. package/languages/{en-US.yml → en.yml} +3 -4
  11. package/languages/zh-CN.yml +0 -1
  12. package/languages/zh-TW.yml +0 -1
  13. package/layout/404.pug +1 -1
  14. package/layout/includes/body/gadsense.pug +9 -0
  15. package/layout/includes/console.pug +6 -6
  16. package/layout/includes/footer.pug +13 -13
  17. package/layout/includes/inject/body.pug +10 -1
  18. package/layout/includes/inject/head.pug +4 -4
  19. package/layout/includes/mixins/pagination.pug +2 -2
  20. package/layout/includes/nav.pug +2 -2
  21. package/layout/includes/page/album.pug +9 -9
  22. package/layout/includes/page/says.pug +5 -5
  23. package/layout/includes/sidebar.pug +2 -3
  24. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  25. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  26. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  27. package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
  28. package/layout/includes/widgets/home/banner.pug +1 -1
  29. package/layout/includes/widgets/home/bbTimeList.pug +7 -7
  30. package/layout/includes/widgets/home/categoryBar.pug +5 -4
  31. package/layout/includes/widgets/home/categoryGroup.pug +1 -1
  32. package/layout/includes/widgets/home/postList.pug +8 -2
  33. package/layout/includes/widgets/home/topGroup.pug +1 -1
  34. package/layout/includes/widgets/nav/menu.pug +1 -1
  35. package/layout/includes/widgets/nav/right.pug +6 -6
  36. package/layout/includes/widgets/page/about/award.pug +3 -3
  37. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  38. package/layout/includes/widgets/page/banner.pug +1 -1
  39. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  40. package/layout/includes/widgets/page/links/banner.pug +3 -3
  41. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  42. package/layout/includes/widgets/post/award.pug +1 -1
  43. package/layout/includes/widgets/post/copyright.pug +1 -1
  44. package/layout/includes/widgets/post/post-ai.pug +1 -1
  45. package/layout/includes/widgets/post/postMeta.pug +12 -12
  46. package/layout/includes/widgets/rightside/index.pug +25 -25
  47. package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
  48. package/layout/includes/widgets/third-party/music.pug +1 -1
  49. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  50. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  51. package/layout/index.pug +2 -2
  52. package/package.json +9 -9
  53. package/plugins.yml +8 -12
  54. package/scripts/event/cdn.js +10 -0
  55. package/scripts/event/welcome.js +1 -1
  56. package/scripts/filter/lazyload.js +2 -3
  57. package/scripts/helper/related_post.js +1 -1
  58. package/scripts/tags/card.js +1 -1
  59. package/scripts/tags/mermaid.js +9 -0
  60. package/scripts/tags/tabs.js +2 -2
  61. package/source/css/_global/animation.styl +1 -1
  62. package/source/css/_global/index.styl +27 -27
  63. package/source/css/_layout/basic.styl +18 -18
  64. package/source/css/_layout/header.styl +67 -67
  65. package/source/css/_layout/index.styl +14 -14
  66. package/source/css/_mode/index.styl +88 -88
  67. package/source/css/_page/_about/author.styl +5 -5
  68. package/source/css/_page/_about/buff.styl +1 -1
  69. package/source/css/_page/_about/careers.styl +1 -1
  70. package/source/css/_page/_about/contentinfo.styl +2 -2
  71. package/source/css/_page/_about/game.styl +2 -2
  72. package/source/css/_page/_about/like.styl +2 -2
  73. package/source/css/_page/_about/myphoto.styl +1 -1
  74. package/source/css/_page/_about/oneself.styl +2 -2
  75. package/source/css/_page/_about/reward.styl +11 -11
  76. package/source/css/_page/_about/skills.styl +2 -2
  77. package/source/css/_page/_about/statistic.styl +4 -4
  78. package/source/css/_page/_about/tenyear.styl +4 -4
  79. package/source/css/_page/_gallery/index.styl +7 -7
  80. package/source/css/_page/_home/category-bar.styl +11 -8
  81. package/source/css/_page/_home/home-top.styl +16 -16
  82. package/source/css/_page/_home/index.styl +1 -1
  83. package/source/css/_page/_home/pagination.styl +22 -22
  84. package/source/css/_page/_home/recent-post.styl +22 -15
  85. package/source/css/_page/category.styl +11 -11
  86. package/source/css/_page/douban.styl +10 -10
  87. package/source/css/_page/equipment.styl +10 -10
  88. package/source/css/_page/error.styl +3 -3
  89. package/source/css/_page/google.styl +32 -0
  90. package/source/css/_page/index.styl +4 -1
  91. package/source/css/_page/links.styl +27 -27
  92. package/source/css/_page/moment.styl +22 -22
  93. package/source/css/_page/music.styl +16 -14
  94. package/source/css/_page/says.styl +21 -21
  95. package/source/css/_page/share.styl +25 -25
  96. package/source/css/_page/tag.styl +12 -12
  97. package/source/css/_widgets/_aside/allinfo.styl +12 -12
  98. package/source/css/_widgets/_aside/index.styl +4 -4
  99. package/source/css/_widgets/_aside/info.styl +27 -27
  100. package/source/css/_widgets/_aside/newPost.styl +5 -5
  101. package/source/css/_widgets/_aside/toc.styl +7 -7
  102. package/source/css/_widgets/_comment/index.styl +7 -7
  103. package/source/css/_widgets/_comment/twikoo.styl +66 -50
  104. package/source/css/_widgets/_comment/waline.styl +45 -44
  105. package/source/css/_widgets/_extra/console.styl +29 -29
  106. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  107. package/source/css/_widgets/_extra/music.styl +11 -11
  108. package/source/css/_widgets/_extra/pace.styl +2 -2
  109. package/source/css/_widgets/_extra/rightmenu.styl +8 -8
  110. package/source/css/_widgets/_mixins/article-sort.styl +7 -7
  111. package/source/css/_widgets/_mixins/footer.styl +28 -28
  112. package/source/css/_widgets/_mixins/keyboard.styl +8 -8
  113. package/source/css/_widgets/_mixins/other.styl +4 -4
  114. package/source/css/_widgets/_mixins/sidebar.styl +20 -20
  115. package/source/css/_widgets/_post/_highlight/index.styl +16 -16
  116. package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
  117. package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
  118. package/source/css/_widgets/_post/commentBarrage.styl +13 -13
  119. package/source/css/_widgets/_post/content.styl +27 -26
  120. package/source/css/_widgets/_post/copyright.styl +9 -9
  121. package/source/css/_widgets/_post/meta.styl +27 -27
  122. package/source/css/_widgets/_post/pagination.styl +13 -13
  123. package/source/css/_widgets/_post/postAI.styl +18 -18
  124. package/source/css/_widgets/_post/relatedPost.styl +8 -8
  125. package/source/css/_widgets/_post/tools.styl +30 -30
  126. package/source/css/_widgets/_search/algolia-search.styl +18 -18
  127. package/source/css/_widgets/_search/local-search.styl +22 -22
  128. package/source/css/_widgets/_tags/button.styl +1 -1
  129. package/source/css/_widgets/_tags/card.styl +12 -12
  130. package/source/css/_widgets/_tags/fold.styl +11 -11
  131. package/source/css/_widgets/_tags/index.styl +26 -26
  132. package/source/css/_widgets/_tags/link.styl +10 -9
  133. package/source/css/_widgets/_tags/mermaid.styl +4 -0
  134. package/source/css/_widgets/_tags/note.styl +2 -2
  135. package/source/css/_widgets/_tags/tabs.styl +10 -10
  136. package/source/css/_widgets/_tags/timeline.styl +5 -5
  137. package/source/img/logo.png +0 -0
  138. package/source/js/comment/twikoo_commentBarrage.js +1 -1
  139. package/source/js/comment/waline_commentBarrage.js +1 -1
  140. package/source/js/covercolor/api.js +18 -18
  141. package/source/js/covercolor/local.js +18 -18
  142. package/source/js/main.js +5 -5
  143. package/source/js/music.js +1 -12
  144. package/source/js/search/algolia.js +7 -7
  145. package/source/js/tw_cn.js +2 -2
  146. package/source/js/universe.min.js +5 -0
  147. package/source/js/utils.js +2 -2
  148. package/source/js/waterfall.min.js +1 -0
@@ -31,13 +31,13 @@
31
31
  .author-tag
32
32
  transform translate(0, -4px)
33
33
  padding 1px 8px
34
- background var(--sco-card-bg)
34
+ background var(--efu-card-bg)
35
35
  border var(--style-border-always)
36
36
  border-radius 40px
37
37
  margin-top 6px
38
38
  font-size 14px
39
39
  font-weight 700
40
- box-shadow var(--sco-shadow-lightblack)
40
+ box-shadow var(--efu-shadow-lightblack)
41
41
  animation 6s ease-in-out 0s infinite normal none running floating
42
42
 
43
43
  &:nth-child(1)
@@ -58,7 +58,7 @@
58
58
  width 180px
59
59
  height 180px
60
60
  position relative
61
- background var(--sco-secondbg)
61
+ background var(--efu-secondbg)
62
62
  user-select none
63
63
  transition .3s
64
64
 
@@ -85,10 +85,10 @@
85
85
  transition 1s
86
86
  width 30px
87
87
  height 30px
88
- background var(--sco-green)
88
+ background var(--efu-green)
89
89
  position absolute
90
90
  border-radius 50%
91
- border 5px solid var(--sco-background)
91
+ border 5px solid var(--efu-background)
92
92
  bottom 5px
93
93
  right 10px
94
94
  z-index 2
@@ -8,7 +8,7 @@
8
8
  flex-direction column
9
9
  justify-content center
10
10
  background linear-gradient(120deg, #ff27e8 0, #ff8000 100%)
11
- color var(--sco-white)
11
+ color var(--efu-white)
12
12
  background-size 200%
13
13
  animation gradient 15s ease infinite
14
14
  min-height 200px
@@ -24,4 +24,4 @@
24
24
  border-radius 16px
25
25
 
26
26
  .name
27
- color var(--sco-secondtext)
27
+ color var(--efu-secondtext)
@@ -3,7 +3,7 @@
3
3
  display flex
4
4
  flex-direction column
5
5
  justify-content center
6
- color var(--sco-white)
6
+ color var(--efu-white)
7
7
  background linear-gradient(120deg, #5b27ff 0, #00d4ff 100%)
8
8
  background-size 200%
9
9
  animation gradient 15s ease infinite
@@ -36,7 +36,7 @@
36
36
  font-family Helvetica
37
37
  line-height 1.06
38
38
  letter-spacing -.02em
39
- color var(--sco-fontcolor)
39
+ color var(--efu-fontcolor)
40
40
  margin-top 0
41
41
 
42
42
  .mask
@@ -2,7 +2,7 @@
2
2
  .author-content-item.game-apex
3
3
  min-height 300px
4
4
  overflow hidden
5
- color var(--sco-white)
5
+ color var(--efu-white)
6
6
  width 59%
7
7
 
8
8
  &::after
@@ -29,7 +29,7 @@
29
29
  width 39%
30
30
  min-height 300px
31
31
  overflow hidden
32
- color var(--sco-white)
32
+ color var(--efu-white)
33
33
 
34
34
  &::after
35
35
  box-shadow 0 -69px 203px 11px #415dc9 inset
@@ -2,7 +2,7 @@
2
2
  .author-content-item.like-technology
3
3
  background-size cover
4
4
  min-height 230px
5
- color var(--sco-white)
5
+ color var(--efu-white)
6
6
 
7
7
  &::after
8
8
  box-shadow 0 -69px 203px 11px #050b20 inset
@@ -16,7 +16,7 @@
16
16
  .author-content-item.like-music
17
17
  background-size cover
18
18
  min-height 400px
19
- color var(--sco-white)
19
+ color var(--efu-white)
20
20
  overflow hidden
21
21
 
22
22
  &::after
@@ -27,7 +27,7 @@
27
27
  bottom 0
28
28
  left 0
29
29
  width 100%
30
- background var(--sco-maskbgdeep)
30
+ background var(--efu-maskbgdeep)
31
31
  padding .5rem 2rem
32
32
  backdrop-filter saturate(180%) blur(20px)
33
33
  -webkit-backdrop-filter blur(20px)
@@ -32,7 +32,7 @@
32
32
  bottom 0
33
33
  left 0
34
34
  width 100%
35
- background var(--sco-maskbg)
35
+ background var(--efu-maskbg)
36
36
  padding 0.5rem 2rem
37
37
  backdrop-filter saturate(180%) blur(20px)
38
38
  transition 1s ease-in-out
@@ -43,7 +43,7 @@
43
43
  padding 1rem
44
44
 
45
45
  b
46
- color var(--sco-fontcolor)
46
+ color var(--efu-fontcolor)
47
47
 
48
48
  +maxWidth768()
49
49
  margin-bottom 0
@@ -3,10 +3,10 @@
3
3
  &.single.reward
4
4
  .author-content-item
5
5
  .author-content-item-title
6
- color var(--sco-red)
6
+ color var(--efu-red)
7
7
 
8
8
  .reward-list-updateDate
9
- color var(--sco-gray)
9
+ color var(--efu-gray)
10
10
  font-size 14px
11
11
 
12
12
  .author-content-item-description
@@ -30,7 +30,7 @@
30
30
  left auto
31
31
  bottom auto
32
32
  width fit-content
33
- box-shadow var(--sco-shadow-border)
33
+ box-shadow var(--efu-shadow-border)
34
34
 
35
35
  .reward-all::before
36
36
  bottom auto
@@ -38,9 +38,9 @@
38
38
 
39
39
  .reward-button
40
40
  padding 8px 12px
41
- background var(--sco-red)
41
+ background var(--efu-red)
42
42
  border-radius 12px
43
- color var(--sco-white)
43
+ color var(--efu-white)
44
44
  display flex
45
45
  align-items center
46
46
  z-index 1
@@ -65,7 +65,7 @@
65
65
  border var(--style-border-always)
66
66
  width calc((100% / 6) - .5rem)
67
67
  margin 0 .25rem .5rem .25rem
68
- box-shadow var(--sco-shadow-border)
68
+ box-shadow var(--efu-shadow-border)
69
69
  flex-direction column
70
70
  justify-content space-between
71
71
 
@@ -94,8 +94,8 @@
94
94
 
95
95
  .reward-list-item-money
96
96
  padding 4px
97
- background var(--sco-fontcolor)
98
- color var(--sco-card-bg)
97
+ background var(--efu-fontcolor)
98
+ color var(--efu-card-bg)
99
99
  font-size 12px
100
100
  line-height 1
101
101
  display flex
@@ -105,16 +105,16 @@
105
105
  margin-right 4px
106
106
  white-space nowrap
107
107
 
108
- .scoicon
108
+ .solitude
109
109
  font-size 14px
110
110
  margin-right 4px
111
111
 
112
112
  .reward-list-item-time
113
113
  font-size 12px
114
- color var(--sco-secondtext)
114
+ color var(--efu-secondtext)
115
115
  white-space nowrap
116
116
 
117
117
  .reward-list-tips
118
118
  p
119
119
  font-size 12px
120
- color var(--sco-secondtext)
120
+ color var(--efu-secondtext)
@@ -46,11 +46,11 @@
46
46
  align-items center
47
47
  margin-right 10px
48
48
  margin-top 10px
49
- background var(--sco-background)
49
+ background var(--efu-background)
50
50
  border-radius 40px
51
51
  padding 4px 12px 4px 8px
52
52
  border var(--style-border)
53
- box-shadow var(--sco-shadow-border)
53
+ box-shadow var(--efu-shadow-border)
54
54
 
55
55
  .etc
56
56
  margin-right 10px
@@ -7,7 +7,7 @@
7
7
  min-height 380px
8
8
  width 39%
9
9
  background-size cover
10
- color var(--sco-white)
10
+ color var(--efu-white)
11
11
  overflow hidden
12
12
 
13
13
  &::after
@@ -23,7 +23,7 @@
23
23
  font-size 16px
24
24
  border-radius 15px
25
25
  width 100%
26
- color var(--sco-white)
26
+ color var(--efu-white)
27
27
  display flex
28
28
  justify-content space-between
29
29
  flex-direction row
@@ -49,7 +49,7 @@
49
49
  white-space nowrap
50
50
 
51
51
  .banner-button
52
- background var(--sco-white-op)
52
+ background var(--efu-white-op)
53
53
 
54
54
  .banner-button:hover
55
- background var(--sco-theme)
55
+ background var(--efu-theme)
@@ -2,7 +2,7 @@
2
2
  position absolute
3
3
  left 0
4
4
  font-size 14px
5
- color var(--sco-card-bg)
5
+ color var(--efu-card-bg)
6
6
  font-weight bold
7
7
  top 10px
8
8
  white-space nowrap
@@ -16,11 +16,11 @@
16
16
 
17
17
  > div
18
18
  font-size 14px
19
- color var(--sco-fontcolor)
19
+ color var(--efu-fontcolor)
20
20
 
21
21
  .tenyear-timeline
22
22
  width 100%
23
- background-color var(--sco-background)
23
+ background-color var(--efu-background)
24
24
  position relative
25
25
  overflow hidden
26
26
  margin-bottom 20px
@@ -30,7 +30,7 @@
30
30
  .progress
31
31
  width 0
32
32
  height 100%
33
- background-color var(--sco-main)
33
+ background-color var(--efu-main)
34
34
  position absolute
35
35
  animation-delay -0.1s
36
36
  border-radius 0.5rem
@@ -50,14 +50,14 @@
50
50
  left 10%
51
51
  font-weight 700
52
52
  font-size 32px
53
- color var(--sco-white)
53
+ color var(--efu-white)
54
54
 
55
55
  &::after
56
56
  top 55px
57
57
  width 0
58
58
  left 0
59
59
  height 3px
60
- background var(--sco-white)
60
+ background var(--efu-white)
61
61
  content ""
62
62
  border-radius 1px
63
63
  position absolute
@@ -68,7 +68,7 @@
68
68
  top 35%
69
69
  left 100%
70
70
  width 80%
71
- color var(--sco-white)
71
+ color var(--efu-white)
72
72
  font-size 1.1em
73
73
  transition left .35s
74
74
  letter-spacing 1px
@@ -84,21 +84,21 @@
84
84
  top 8px
85
85
  padding 4px 6px
86
86
  border-radius 8px
87
- background var(--sco-black-op)
87
+ background var(--efu-black-op)
88
88
  font-size 12px
89
- color var(--sco-white)
89
+ color var(--efu-white)
90
90
  transition .3s
91
91
  z-index 1
92
92
  user-select none
93
93
 
94
- .sco-gallery-item
94
+ .st-gallery-item
95
95
  margin-bottom 24px
96
96
  overflow hidden
97
97
  border-radius 8px
98
98
  transition all .3s
99
99
  border var(--style-border-always)
100
100
 
101
- .sco-gallery-image
101
+ .st-gallery-image
102
102
  width 100%
103
103
  display block
104
104
  height auto
@@ -1,6 +1,6 @@
1
1
  #category-bar
2
2
  padding 0.4rem 1rem 0.4rem 0.7rem
3
- background var(--sco-card-bg)
3
+ background var(--efu-card-bg)
4
4
  border-radius 12px
5
5
  display flex
6
6
  white-space nowrap
@@ -22,22 +22,25 @@
22
22
  margin-bottom .75rem
23
23
  &:hover
24
24
  border var(--style-border-hover)
25
- box-shadow var(--sco-shadow-main)
25
+ box-shadow var(--efu-shadow-main)
26
26
 
27
27
  +maxWidth768()
28
28
  margin-bottom 0
29
29
  margin-top 0
30
30
  border-radius 0
31
- background var(--sco-background)
31
+ background var(--efu-background)
32
32
  padding 0.5rem 0
33
33
  border none
34
34
 
35
+ .category-bar-right
36
+ display flex
37
+
35
38
  .category-bar-more
36
39
  margin-left 14px
37
40
  font-weight 700
38
41
 
39
42
  &:hover
40
- color var(--sco-lighttext)
43
+ color var(--efu-lighttext)
41
44
 
42
45
  .category-bar-items
43
46
  white-space nowrap
@@ -54,8 +57,8 @@
54
57
  .category-bar-item
55
58
  &:hover
56
59
  a
57
- background var(--sco-theme)
58
- color var(--sco-white)
60
+ background var(--efu-theme)
61
+ color var(--efu-white)
59
62
 
60
63
  a
61
64
  padding .1rem .5rem
@@ -70,5 +73,5 @@
70
73
  order -1
71
74
 
72
75
  a
73
- background var(--sco-theme)
74
- color var(--sco-white)
76
+ background var(--efu-theme)
77
+ color var(--efu-white)
@@ -74,14 +74,14 @@
74
74
  a.categoryButton
75
75
  height 100%
76
76
  width 100%
77
- background var(--sco-card-bg)
77
+ background var(--efu-card-bg)
78
78
  border-radius 12px
79
79
  display inline-block
80
80
  text-align left
81
81
  line-height 4em
82
82
  font-weight 700
83
83
  font-size .9rem
84
- color var(--sco-white)
84
+ color var(--efu-white)
85
85
  transition all .8s cubic-bezier(.39, .575, .565, 1)
86
86
  transform scale(1)
87
87
  overflow hidden
@@ -93,7 +93,7 @@
93
93
  width 1rem
94
94
  left 21px
95
95
  height 2px
96
- background var(--sco-white)
96
+ background var(--efu-white)
97
97
  content ""
98
98
  border-radius 1px
99
99
  position absolute
@@ -144,7 +144,7 @@
144
144
  flex-direction column
145
145
  width calc(100% / 3 - 0.25rem)
146
146
  align-items flex-start
147
- background var(--sco-card-bg)
147
+ background var(--efu-card-bg)
148
148
  border-radius 12px
149
149
  overflow hidden
150
150
  height 164px
@@ -152,7 +152,7 @@
152
152
  border var(--style-border-always)
153
153
  transition .3s
154
154
  position relative
155
- box-shadow var(--sco-shadow-border)
155
+ box-shadow var(--efu-shadow-border)
156
156
 
157
157
  +maxWidth1200()
158
158
  width 200px
@@ -176,7 +176,7 @@
176
176
  img
177
177
  object-fit cover
178
178
  width 100%
179
- background var(--sco-secondbg)
179
+ background var(--efu-secondbg)
180
180
 
181
181
  .recent-post-top-text
182
182
  position absolute
@@ -184,8 +184,8 @@
184
184
  left -50px
185
185
  display flex
186
186
  z-index 1
187
- background var(--sco-theme)
188
- color var(--sco-white)
187
+ background var(--efu-theme)
188
+ color var(--efu-white)
189
189
  padding 2px 8px
190
190
  font-size .6rem
191
191
  border-radius 0 0 12px 0
@@ -210,7 +210,7 @@
210
210
  padding 0
211
211
 
212
212
  &:hover
213
- color var(--sco-fontcolor)
213
+ color var(--efu-fontcolor)
214
214
 
215
215
 
216
216
  .todayCard
@@ -223,7 +223,7 @@
223
223
  height 100%
224
224
  top 0
225
225
  right 0
226
- background var(--sco-card-bg)
226
+ background var(--efu-card-bg)
227
227
  border-radius 12px
228
228
  margin-left 0.5rem
229
229
  overflow hidden
@@ -250,7 +250,7 @@
250
250
  bottom: 2rem
251
251
  left: 2rem
252
252
  z-index: 2
253
- color: var(--sco-white)
253
+ color: var(--efu-white)
254
254
  max-width: 60%
255
255
  transition: .3s
256
256
 
@@ -281,9 +281,9 @@
281
281
  transition: .3s
282
282
 
283
283
  .banner-button
284
- background: var(--sco-white-op)
284
+ background: var(--efu-white-op)
285
285
  border-radius: 20px
286
- color: var(--sco-white)
286
+ color: var(--efu-white)
287
287
  display: flex
288
288
  align-items: center
289
289
  z-index: 1
@@ -300,8 +300,8 @@
300
300
  font-size: 22px
301
301
 
302
302
  &:hover
303
- background: var(--sco-theme)
304
- color: var(--sco-white)
303
+ background: var(--efu-theme)
304
+ color: var(--efu-white)
305
305
 
306
306
  &.hide
307
307
  .todayCard-info
@@ -335,7 +335,7 @@
335
335
  padding 8px 18px 8px 14px
336
336
  border-radius 60px
337
337
  margin-bottom 12px
338
- color var(--sco-white)
338
+ color var(--efu-white)
339
339
  width 94px
340
340
  position relative
341
341
  background-size 200%
@@ -7,7 +7,7 @@
7
7
  padding 0
8
8
  margin-top 0
9
9
 
10
- if hexo-config('hometop.banner.enable')
10
+ if hexo-config('hometop.enable')
11
11
  @import "home-top.styl"
12
12
 
13
13
  // 分类导航栏
@@ -24,9 +24,9 @@
24
24
  margin .2rem 0 1rem 0
25
25
  border-radius 12px
26
26
  line-height 2.5rem
27
- background var(--sco-card-bg)
27
+ background var(--efu-card-bg)
28
28
  border var(--style-border-always)
29
- box-shadow var(--sco-shadow-border)
29
+ box-shadow var(--efu-shadow-border)
30
30
 
31
31
  i
32
32
  +maxWidth768()
@@ -45,35 +45,35 @@
45
45
 
46
46
  +minWidth768()
47
47
  width 2rem
48
- background var(--sco-card-bg)
48
+ background var(--efu-card-bg)
49
49
  height 2rem
50
50
  line-height calc(2rem - 2px)
51
51
  border-radius 8px
52
52
  margin 0 .3rem
53
- box-shadow var(--sco-shadow-border)
53
+ box-shadow var(--efu-shadow-border)
54
54
  border var(--style-border)
55
55
  transition .3s
56
56
  &:hover
57
- color var(--sco-theme)
57
+ color var(--efu-theme)
58
58
  border var(--style-border-hover)
59
- box-shadow var(--sco-shadow-main)
59
+ box-shadow var(--efu-shadow-main)
60
60
  +maxWidth768()
61
61
  display none
62
62
 
63
63
  &.current
64
- background var(--sco-theme)
65
- color var(--sco-white)
64
+ background var(--efu-theme)
65
+ color var(--efu-white)
66
66
  border-radius 5px
67
67
 
68
68
  +minWidth768()
69
- background var(--sco-theme)
69
+ background var(--efu-theme)
70
70
  border var(--style-border-hover)
71
- box-shadow var(--sco-shadow-theme)
71
+ box-shadow var(--efu-shadow-theme)
72
72
 
73
73
  &:hover
74
- background var(--sco-theme)
75
- box-shadow var(--sco-shadow-theme)
76
- color var(--sco-white)
74
+ background var(--efu-theme)
75
+ box-shadow var(--efu-shadow-theme)
76
+ color var(--efu-white)
77
77
 
78
78
  a.extend.next, a.extend.prev
79
79
  +minWidth768()
@@ -81,8 +81,8 @@
81
81
  height 2rem
82
82
  line-height 1.9rem
83
83
  border-radius 8px
84
- background var(--sco-card-bg)
85
- box-shadow var(--sco-shadow-border)
84
+ background var(--efu-card-bg)
85
+ box-shadow var(--efu-shadow-border)
86
86
  position absolute
87
87
  border var(--style-border)
88
88
  display flex
@@ -96,9 +96,9 @@
96
96
 
97
97
  a.extend
98
98
  &:hover
99
- color var(--sco-theme)
99
+ color var(--efu-theme)
100
100
  border var(--style-border-hover)
101
- box-shadow var(--sco-shadow-main)
101
+ box-shadow var(--efu-shadow-main)
102
102
 
103
103
  &.next
104
104
  right 0
@@ -146,7 +146,7 @@
146
146
  justify-content center
147
147
  align-items center
148
148
  transition .3s
149
- background var(--sco-card-bg)
149
+ background var(--efu-card-bg)
150
150
  border var(--style-border-always)
151
151
  cursor text
152
152
  pointer-events none
@@ -156,8 +156,8 @@
156
156
  height 30px
157
157
  right 4px
158
158
  top 5px
159
- background var(--sco-card-bg)
160
- border 1px solid var(--sco-none)
159
+ background var(--efu-card-bg)
160
+ border 1px solid var(--efu-none)
161
161
  border-radius 4px
162
162
  opacity .2
163
163
 
@@ -170,8 +170,8 @@
170
170
  outline-style none
171
171
  font-size 16px
172
172
  padding-left 12px
173
- background var(--sco-secondbg)
174
- color var(--sco-fontcolor)
173
+ background var(--efu-secondbg)
174
+ color var(--efu-fontcolor)
175
175
 
176
176
  &:focus, /#pagination .toPageGroup:hover input
177
177
  border var(--style-border-hover-always)