hexo-theme-solitude 1.5.0 → 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 (151) 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 -5
  11. package/languages/zh-CN.yml +0 -2
  12. package/languages/zh-TW.yml +0 -2
  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 +6 -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 +3 -2
  32. package/layout/includes/widgets/home/postList.pug +11 -5
  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/helper/stylus.js +11 -3
  59. package/scripts/tags/card.js +1 -1
  60. package/scripts/tags/mermaid.js +9 -0
  61. package/scripts/tags/tabs.js +2 -2
  62. package/source/css/_global/animation.styl +1 -1
  63. package/source/css/_global/index.styl +27 -27
  64. package/source/css/_layout/basic.styl +18 -18
  65. package/source/css/_layout/header.styl +67 -67
  66. package/source/css/_layout/index.styl +14 -14
  67. package/source/css/_mode/index.styl +88 -88
  68. package/source/css/_page/_about/author.styl +5 -5
  69. package/source/css/_page/_about/buff.styl +1 -1
  70. package/source/css/_page/_about/careers.styl +1 -1
  71. package/source/css/_page/_about/contentinfo.styl +2 -2
  72. package/source/css/_page/_about/game.styl +2 -2
  73. package/source/css/_page/_about/like.styl +2 -2
  74. package/source/css/_page/_about/myphoto.styl +1 -1
  75. package/source/css/_page/_about/oneself.styl +2 -2
  76. package/source/css/_page/_about/reward.styl +11 -11
  77. package/source/css/_page/_about/skills.styl +2 -2
  78. package/source/css/_page/_about/statistic.styl +4 -4
  79. package/source/css/_page/_about/tenyear.styl +4 -4
  80. package/source/css/_page/_gallery/index.styl +7 -7
  81. package/source/css/_page/_home/category-bar.styl +11 -8
  82. package/source/css/_page/_home/home-top.styl +16 -16
  83. package/source/css/_page/_home/index.styl +1 -1
  84. package/source/css/_page/_home/pagination.styl +22 -22
  85. package/source/css/_page/_home/recent-post.styl +22 -15
  86. package/source/css/_page/category.styl +11 -11
  87. package/source/css/_page/douban.styl +10 -10
  88. package/source/css/_page/equipment.styl +10 -10
  89. package/source/css/_page/error.styl +3 -3
  90. package/source/css/_page/google.styl +32 -0
  91. package/source/css/_page/index.styl +4 -1
  92. package/source/css/_page/links.styl +27 -27
  93. package/source/css/_page/moment.styl +22 -22
  94. package/source/css/_page/music.styl +16 -14
  95. package/source/css/_page/says.styl +21 -21
  96. package/source/css/_page/share.styl +25 -25
  97. package/source/css/_page/tag.styl +12 -12
  98. package/source/css/_widgets/_aside/allinfo.styl +12 -12
  99. package/source/css/_widgets/_aside/flip.styl +3 -6
  100. package/source/css/_widgets/_aside/index.styl +4 -4
  101. package/source/css/_widgets/_aside/info.styl +27 -27
  102. package/source/css/_widgets/_aside/newPost.styl +5 -5
  103. package/source/css/_widgets/_aside/toc.styl +7 -7
  104. package/source/css/_widgets/_comment/index.styl +7 -7
  105. package/source/css/_widgets/_comment/twikoo.styl +66 -50
  106. package/source/css/_widgets/_comment/waline.styl +45 -44
  107. package/source/css/_widgets/_extra/console.styl +30 -29
  108. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  109. package/source/css/_widgets/_extra/music.styl +11 -11
  110. package/source/css/_widgets/_extra/pace.styl +2 -2
  111. package/source/css/_widgets/_extra/rightmenu.styl +8 -8
  112. package/source/css/_widgets/_mixins/article-sort.styl +7 -7
  113. package/source/css/_widgets/_mixins/footer.styl +31 -29
  114. package/source/css/_widgets/_mixins/keyboard.styl +8 -8
  115. package/source/css/_widgets/_mixins/other.styl +4 -4
  116. package/source/css/_widgets/_mixins/sidebar.styl +20 -20
  117. package/source/css/_widgets/_post/_highlight/index.styl +16 -16
  118. package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
  119. package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
  120. package/source/css/_widgets/_post/commentBarrage.styl +13 -13
  121. package/source/css/_widgets/_post/content.styl +27 -26
  122. package/source/css/_widgets/_post/copyright.styl +11 -11
  123. package/source/css/_widgets/_post/meta.styl +27 -27
  124. package/source/css/_widgets/_post/pagination.styl +13 -13
  125. package/source/css/_widgets/_post/postAI.styl +18 -18
  126. package/source/css/_widgets/_post/relatedPost.styl +8 -8
  127. package/source/css/_widgets/_post/tools.styl +30 -30
  128. package/source/css/_widgets/_search/algolia-search.styl +18 -18
  129. package/source/css/_widgets/_search/local-search.styl +22 -22
  130. package/source/css/_widgets/_tags/button.styl +1 -1
  131. package/source/css/_widgets/_tags/card.styl +12 -12
  132. package/source/css/_widgets/_tags/fold.styl +11 -11
  133. package/source/css/_widgets/_tags/index.styl +26 -26
  134. package/source/css/_widgets/_tags/link.styl +10 -9
  135. package/source/css/_widgets/_tags/mermaid.styl +4 -0
  136. package/source/css/_widgets/_tags/note.styl +2 -2
  137. package/source/css/_widgets/_tags/tabs.styl +10 -10
  138. package/source/css/_widgets/_tags/timeline.styl +5 -5
  139. package/source/img/logo.png +0 -0
  140. package/source/js/comment/twikoo_commentBarrage.js +1 -1
  141. package/source/js/comment/waline_commentBarrage.js +1 -1
  142. package/source/js/covercolor/api.js +18 -18
  143. package/source/js/covercolor/local.js +18 -18
  144. package/source/js/main.js +5 -5
  145. package/source/js/music.js +1 -12
  146. package/source/js/sco-ai.min.js +1 -1
  147. package/source/js/search/algolia.js +7 -7
  148. package/source/js/tw_cn.js +2 -2
  149. package/source/js/universe.min.js +5 -0
  150. package/source/js/utils.js +2 -2
  151. package/source/js/waterfall.min.js +1 -0
@@ -7,8 +7,8 @@
7
7
  margin-left -15rem
8
8
  padding 1rem
9
9
  width 30rem
10
- box-shadow var(--sco-shadow-lightblack)
11
- background var(--sco-card-bg)
10
+ box-shadow var(--efu-shadow-lightblack)
11
+ background var(--efu-card-bg)
12
12
  border var(--style-border)
13
13
  transition 0.3s
14
14
  border-radius 8px
@@ -16,7 +16,7 @@
16
16
 
17
17
  &:hover
18
18
  border var(--style-border-hover)
19
- box-shadow var(--sco-shadow-theme)
19
+ box-shadow var(--efu-shadow-theme)
20
20
  +maxWidth768()
21
21
  border none
22
22
 
@@ -34,13 +34,13 @@
34
34
  margin-bottom 8px
35
35
 
36
36
  .algolia-tips
37
- color var(--sco-secondtext)
37
+ color var(--efu-secondtext)
38
38
  right 0
39
39
  margin-left auto
40
40
  opacity .8
41
41
 
42
42
  .search-close-button
43
- color var(--sco-secondtext)
43
+ color var(--efu-secondtext)
44
44
  font-size 1.4em
45
45
  line-height 1
46
46
  cursor pointer
@@ -50,7 +50,7 @@
50
50
  transition .3s
51
51
 
52
52
  &:hover
53
- color var(--sco-main)
53
+ color var(--efu-main)
54
54
 
55
55
  .algolia-tips-text
56
56
  margin-left .4rem
@@ -72,8 +72,8 @@
72
72
  outline 0
73
73
  border var(--style-border)
74
74
  border-radius 8px
75
- background var(--sco-secondbg)
76
- color var(--sco-fontcolor)
75
+ background var(--efu-secondbg)
76
+ color var(--efu-fontcolor)
77
77
 
78
78
  &:focus
79
79
  border var(--style-border-hover)
@@ -100,7 +100,7 @@
100
100
  margin 0
101
101
  padding-left 10px
102
102
  font-size 14px
103
- color var(--sco-gray)
103
+ color var(--efu-gray)
104
104
 
105
105
  .algolia-hit-item-link
106
106
  width auto
@@ -111,9 +111,9 @@
111
111
  font-weight bold
112
112
 
113
113
  mark
114
- color var(--sco-theme)
114
+ color var(--efu-theme)
115
115
  font-style normal
116
- background var(--sco-card-bg)
116
+ background var(--efu-card-bg)
117
117
 
118
118
  .ais-Hits--empty
119
119
  text-align center
@@ -131,7 +131,7 @@
131
131
 
132
132
  a
133
133
  border-radius 4px
134
- color var(--sco-white)
134
+ color var(--efu-white)
135
135
  cursor pointer
136
136
  display inline-block
137
137
  min-width 1.2rem
@@ -141,13 +141,13 @@
141
141
  .search-dialog__title
142
142
  font-weight 700
143
143
  padding 0 0 0.7rem
144
- color var(--sco-main)
144
+ color var(--efu-main)
145
145
  font-size 1.4em
146
146
  line-height 1
147
147
 
148
148
  #algolia-tips
149
149
  padding-top 12px
150
- color var(--sco-secondtext)
150
+ color var(--efu-secondtext)
151
151
  right 0
152
152
  margin auto
153
153
 
@@ -163,7 +163,7 @@
163
163
  backdrop-filter blur(12px)
164
164
  -webkit-backdrop-filter blur(12px)
165
165
  transform translateZ(0)
166
- background var(--sco-maskbgdeep)
166
+ background var(--efu-maskbgdeep)
167
167
 
168
168
  #algolia-hits
169
169
  .tag-list
@@ -174,8 +174,8 @@
174
174
  border var(--style-border-always)
175
175
 
176
176
  &:hover
177
- background var(--sco-main)
178
- color var(--sco-white)
177
+ background var(--efu-main)
178
+ color var(--efu-white)
179
179
 
180
180
  .ais-Pagination-item--selected a
181
- background var(--sco-main)
181
+ background var(--efu-main)
@@ -7,8 +7,8 @@
7
7
  margin-left -15rem
8
8
  padding 1rem
9
9
  width 30rem
10
- box-shadow var(--sco-shadow-lightblack)
11
- background var(--sco-card-bg)
10
+ box-shadow var(--efu-shadow-lightblack)
11
+ background var(--efu-card-bg)
12
12
  border var(--style-border)
13
13
  transition 0.3s
14
14
  border-radius 8px
@@ -16,7 +16,7 @@
16
16
 
17
17
  &:hover
18
18
  border var(--style-border-hover)
19
- box-shadow var(--sco-shadow-theme)
19
+ box-shadow var(--efu-shadow-theme)
20
20
  +maxWidth768()
21
21
  border none
22
22
 
@@ -30,7 +30,7 @@
30
30
 
31
31
  .search-dialog-title
32
32
  font-weight 700
33
- color var(--sco-main)
33
+ color var(--efu-main)
34
34
  padding 0 0 0.7rem
35
35
  font-size 1.4em
36
36
  line-height 1
@@ -39,14 +39,14 @@
39
39
  position absolute
40
40
  top 0.8rem
41
41
  right 1rem
42
- color var(--sco-gray)
42
+ color var(--efu-gray)
43
43
  font-size 1.4em
44
44
  line-height 1
45
45
  cursor pointer
46
46
  transition color .2s ease-in-out 0s
47
47
 
48
48
  &:hover
49
- color var(--sco-main)
49
+ color var(--efu-main)
50
50
 
51
51
  #search-results
52
52
  max-height calc(80vh - 130px)
@@ -66,10 +66,10 @@
66
66
  display block
67
67
 
68
68
  &:hover
69
- color var(--sco-hovertext)
69
+ color var(--efu-hovertext)
70
70
 
71
71
  em
72
- color var(--sco-theme)
72
+ color var(--efu-theme)
73
73
  font-style normal
74
74
 
75
75
  +maxWidth768()
@@ -82,7 +82,7 @@
82
82
  text-align center
83
83
 
84
84
  .pagination-item
85
- color var(--sco-fontcolor)
85
+ color var(--efu-fontcolor)
86
86
  display inline-block
87
87
  min-width 1.2rem
88
88
  height 1.2rem
@@ -91,28 +91,28 @@
91
91
  cursor pointer
92
92
 
93
93
  &:hover
94
- color var(--sco-main)
94
+ color var(--efu-main)
95
95
 
96
96
  &.select
97
97
  border-radius 4px
98
- background var(--sco-main)
99
- color var(--sco-white)
98
+ background var(--efu-main)
99
+ color var(--efu-white)
100
100
  cursor default
101
101
 
102
102
  &:hover
103
- color var(--sco-white)
103
+ color var(--efu-white)
104
104
 
105
105
  #search-tips
106
106
  padding-top 12px
107
- color var(--sco-secondtext)
107
+ color var(--efu-secondtext)
108
108
  right 0
109
109
  margin auto
110
110
 
111
111
  .search-result-count
112
- color var(--sco-gray)
112
+ color var(--efu-gray)
113
113
 
114
114
  b
115
- color var(--sco-main)
115
+ color var(--efu-main)
116
116
 
117
117
  .search-box
118
118
  position relative
@@ -129,9 +129,9 @@
129
129
  border var(--style-border)
130
130
  padding 0.25rem 0.7rem;
131
131
  outline 0
132
- background var(--sco-secondbg)
133
- color var(--sco-fontcolor)
134
- caret-color var(--sco-theme)
132
+ background var(--efu-secondbg)
133
+ color var(--efu-fontcolor)
134
+ caret-color var(--efu-theme)
135
135
 
136
136
  #search-mask
137
137
  position fixed
@@ -142,7 +142,7 @@
142
142
  backdrop-filter blur(12px)
143
143
  -webkit-backdrop-filter blur(12px)
144
144
  transform translateZ(0)
145
- background var(--sco-maskbgdeep)
145
+ background var(--efu-maskbgdeep)
146
146
 
147
147
  #search-hits
148
148
  .tag-list
@@ -153,5 +153,5 @@
153
153
  border var(--style-border-always)
154
154
 
155
155
  &:hover
156
- background var(--sco-main)
157
- color var(--sco-white)
156
+ background var(--efu-main)
157
+ color var(--efu-white)
@@ -11,7 +11,7 @@
11
11
  border-radius 20px
12
12
  margin 0 4px 6px
13
13
  font-weight bold
14
- border 1px solid var(--sco-main-op)
14
+ border 1px solid var(--efu-main-op)
15
15
  overflow hidden
16
16
  font-size 15px
17
17
 
@@ -23,30 +23,30 @@
23
23
 
24
24
  &.card-red
25
25
  background rgba(238, 125, 121, 0.1)
26
- border 1px solid var(--sco-red)
27
- color var(--sco-red)
26
+ border 1px solid var(--efu-red)
27
+ color var(--efu-red)
28
28
 
29
29
  &.card-green
30
30
  background rgb(240 253 244)
31
- border 1px solid var(--sco-green)
32
- color var(--sco-green)
31
+ border 1px solid var(--efu-green)
32
+ color var(--efu-green)
33
33
 
34
34
  &.card-blue
35
35
  background rgb(240 248 253)
36
- border 1px solid var(--sco-blue)
37
- color var(--sco-blue)
36
+ border 1px solid var(--efu-blue)
37
+ color var(--efu-blue)
38
38
 
39
39
  &.card-yellow
40
40
  background rgb(255 251 240)
41
- border 1px solid var(--sco-yellow)
42
- color var(--sco-yellow)
41
+ border 1px solid var(--efu-yellow)
42
+ color var(--efu-yellow)
43
43
 
44
44
  &.card-purple
45
45
  background rgb(243 240 253)
46
- border 1px solid var(--sco-purple)
47
- color var(--sco-purple)
46
+ border 1px solid var(--efu-purple)
47
+ color var(--efu-purple)
48
48
 
49
49
  &.card-cyan
50
50
  background rgb(240 253 253)
51
- border 1px solid var(--sco-cyan)
52
- color var(--sco-cyan)
51
+ border 1px solid var(--efu-cyan)
52
+ color var(--efu-cyan)
@@ -14,10 +14,10 @@ details:not(.tk-admin-config-group)
14
14
  summary
15
15
  position absolute
16
16
  padding .5rem 1rem
17
- background var(--sco-card-bg)
17
+ background var(--efu-card-bg)
18
18
  margin 0
19
19
  transition .3s
20
- box-shadow var(--sco-shadow-border)
20
+ box-shadow var(--efu-shadow-border)
21
21
  left 0
22
22
  width 100%
23
23
  font-weight 700
@@ -31,20 +31,20 @@ details:not(.tk-admin-config-group)
31
31
 
32
32
  &:hover
33
33
  cursor pointer
34
- background var(--sco-main)
35
- color var(--sco-white)
34
+ background var(--efu-main)
35
+ color var(--efu-white)
36
36
  transition .3s
37
- box-shadow var(--sco-shadow-main)
37
+ box-shadow var(--efu-shadow-main)
38
38
 
39
39
  &:focus
40
40
  outline 0
41
41
 
42
42
  &::marker
43
- color var(--sco-main)
43
+ color var(--efu-main)
44
44
  transition .3s
45
45
 
46
46
  &:hover::marker
47
- color var(--sco-white)
47
+ color var(--efu-white)
48
48
 
49
49
  &:hover:after
50
50
  position absolute
@@ -62,14 +62,14 @@ details:not(.tk-admin-config-group)
62
62
  border-radius 12px
63
63
  border var(--style-border-hover-always)
64
64
  padding 0 1.5rem
65
- background var(--sco-card-bg)
65
+ background var(--efu-card-bg)
66
66
 
67
67
  summary
68
- background var(--sco-main)
69
- color var(--sco-white)
68
+ background var(--efu-main)
69
+ color var(--efu-white)
70
70
 
71
71
  &::marker
72
- color var(--sco-white)
72
+ color var(--efu-white)
73
73
 
74
74
  &:hover:after
75
75
  content '-'
@@ -1,61 +1,61 @@
1
1
  .bg-red
2
- background-color var(--sco-red)
3
- color var(--sco-white)
2
+ background-color var(--efu-red)
3
+ color var(--efu-white)
4
4
 
5
5
  .bg-green
6
- background-color var(--sco-green)
7
- color var(--sco-white)
6
+ background-color var(--efu-green)
7
+ color var(--efu-white)
8
8
 
9
9
  .bg-blue
10
- background-color var(--sco-blue)
11
- color var(--sco-white)
10
+ background-color var(--efu-blue)
11
+ color var(--efu-white)
12
12
 
13
13
  .bg-yellow
14
- background-color var(--sco-yellow)
14
+ background-color var(--efu-yellow)
15
15
 
16
16
  .bg-pink
17
- background-color var(--sco-pink)
18
- color var(--sco-white)
17
+ background-color var(--efu-pink)
18
+ color var(--efu-white)
19
19
 
20
20
  .bg-purple
21
- background-color var(--sco-purple)
22
- color var(--sco-white)
21
+ background-color var(--efu-purple)
22
+ color var(--efu-white)
23
23
 
24
24
  .bg-orange
25
- background-color var(--sco-orange)
26
- color var(--sco-white)
25
+ background-color var(--efu-orange)
26
+ color var(--efu-white)
27
27
 
28
28
  .bg-cyan
29
- background-color var(--sco-cyan)
30
- color var(--sco-white)
29
+ background-color var(--efu-cyan)
30
+ color var(--efu-white)
31
31
 
32
32
  .bg-gray
33
- background-color var(--sco-gray)
34
- color var(--sco-white)
33
+ background-color var(--efu-gray)
34
+ color var(--efu-white)
35
35
 
36
36
  .red
37
- color var(--sco-red)
37
+ color var(--efu-red)
38
38
 
39
39
  .green
40
- color var(--sco-green)
40
+ color var(--efu-green)
41
41
 
42
42
  .blue
43
- color var(--sco-blue)
43
+ color var(--efu-blue)
44
44
 
45
45
  .yellow
46
- color var(--sco-yellow)
46
+ color var(--efu-yellow)
47
47
 
48
48
  .pink
49
- color var(--sco-pink)
49
+ color var(--efu-pink)
50
50
 
51
51
  .purple
52
- color var(--sco-purple)
52
+ color var(--efu-purple)
53
53
 
54
54
  .orange
55
- color var(--sco-orange)
55
+ color var(--efu-orange)
56
56
 
57
57
  .cyan
58
- color var(--sco-cyan)
58
+ color var(--efu-cyan)
59
59
 
60
60
  .gray
61
- color var(--sco-gray)
61
+ color var(--efu-gray)
@@ -1,5 +1,5 @@
1
1
  #article-container .tag-Link
2
- background var(--sco-secondbg)
2
+ background var(--efu-secondbg)
3
3
  border-radius 8px !important
4
4
  display flex
5
5
  border var(--style-border)
@@ -8,19 +8,20 @@
8
8
  border-width 1px !important
9
9
  margin-top 1rem
10
10
 
11
- /#article-container a.tag-Link:not(.headerlink):hover
12
- border var(--style-border-hover)
11
+ &:hover
12
+ color var(--efu-main) !important
13
+ border var(--style-border-hover) !important
13
14
 
14
15
  .tag-link-tips
15
16
  border-bottom var(--style-border-always)
16
17
  padding-bottom 4px
17
18
  font-size .6rem
18
- color var(--sco-gray)
19
+ color var(--efu-gray)
19
20
  font-weight 400
20
21
  pointer-events none
21
22
 
22
23
  &:hover .tag-link-tips
23
- color var(--sco-card-bg)
24
+ color var(--efu-card-bg)
24
25
  opacity .6
25
26
 
26
27
  .tag-link-bottom
@@ -36,7 +37,7 @@
36
37
  height 60px
37
38
  background-size cover !important
38
39
  border-radius 8px
39
- background var(--sco-card-bg)
40
+ background var(--efu-card-bg)
40
41
  pointer-events none
41
42
  display flex
42
43
 
@@ -44,7 +45,7 @@
44
45
  padding 0
45
46
  margin auto
46
47
  font-size 24px
47
- color var(--sco-fontcolor)
48
+ color var(--efu-fontcolor)
48
49
 
49
50
  .tag-link-right
50
51
  margin-left 1rem
@@ -63,7 +64,7 @@
63
64
 
64
65
  .tag-link-sitename
65
66
  font-size .7rem
66
- color var(--sco-gray)
67
+ color var(--efu-gray)
67
68
  font-weight 400
68
69
  margin-top 8px
69
70
  pointer-events none
@@ -73,7 +74,7 @@
73
74
  white-space nowrap
74
75
 
75
76
  &:hover .tag-link-bottom .tag-link-right .tag-link-sitename
76
- color var(--sco-card-bg)
77
+ color var(--efu-card-bg)
77
78
  opacity .6
78
79
 
79
80
  .tag-link-bottom i
@@ -0,0 +1,4 @@
1
+ .mermaid
2
+ display flex
3
+ flex-direction column
4
+ align-items center
@@ -33,10 +33,10 @@ $colors = {
33
33
 
34
34
  &.success:not(.no-icon)
35
35
  p
36
- color var(--sco-card-bg)
36
+ color var(--efu-card-bg)
37
37
 
38
38
  &::before
39
- font-family 'scoicon'
39
+ font-family 'solitude'
40
40
 
41
41
  &.icon
42
42
  padding-left 2.25rem
@@ -18,7 +18,7 @@
18
18
 
19
19
  &.active button
20
20
  border var(--style-border-hover-always)
21
- background var(--sco-background)
21
+ background var(--efu-background)
22
22
  border-radius 8px;
23
23
 
24
24
  &:not(.active) button:hover
@@ -29,7 +29,7 @@
29
29
  position relative
30
30
  display none
31
31
  padding 1.8rem 1.2rem
32
- background var(--sco-background)
32
+ background var(--efu-background)
33
33
  border var(--style-border-always)
34
34
 
35
35
  +maxWidth768()
@@ -48,13 +48,13 @@
48
48
  margin 1rem 0 !important
49
49
  border-radius 12px
50
50
  overflow hidden
51
- box-shadow var(--sco-shadow-border)
51
+ box-shadow var(--efu-shadow-border)
52
52
  padding 8px
53
- background var(--sco-card-bg)
53
+ background var(--efu-card-bg)
54
54
  border var(--style-border)
55
55
 
56
56
  .nav-tabs
57
- background var(--sco-card-bg)
57
+ background var(--efu-card-bg)
58
58
  padding 16px
59
59
  display flex
60
60
  justify-content center
@@ -67,7 +67,7 @@
67
67
 
68
68
  > .nav-tabs > .tab button
69
69
  -webkit-transition all 0s
70
- background var(--sco-secondbg)
70
+ background var(--efu-secondbg)
71
71
  transition .3s
72
72
  border var(--style-border-always)
73
73
  border-radius 8px
@@ -78,16 +78,16 @@
78
78
  width 100%
79
79
  justify-content center
80
80
  align-items center
81
- color var(--sco-fontcolor)
81
+ color var(--efu-fontcolor)
82
82
 
83
83
  > .nav-tabs > .tab:not(.active) button:hover
84
- background var(--sco-main)
85
- color var(--sco-white)
84
+ background var(--efu-main)
85
+ color var(--efu-white)
86
86
  transition .3s
87
87
  border var(--style-border-hover-always)
88
88
 
89
89
  .tab-item-content
90
- background var(--sco-card-bg)
90
+ background var(--efu-card-bg)
91
91
 
92
92
  #article-container .tabs
93
93
 
@@ -6,7 +6,7 @@ div.timenode
6
6
  content ''
7
7
  z-index 1
8
8
  position absolute
9
- background var(--sco-theme)
9
+ background var(--efu-theme)
10
10
  width 2px
11
11
  left 7px
12
12
 
@@ -38,13 +38,13 @@ div.timenode
38
38
  left -27px
39
39
 
40
40
  &:before
41
- background var(--sco-theme)
41
+ background var(--efu-theme)
42
42
  width 16px
43
43
  height 16px
44
44
  border-radius 8px
45
45
 
46
46
  &:after
47
- background var(--sco-card-bg)
47
+ background var(--efu-card-bg)
48
48
  margin-left 2px
49
49
  margin-top 2px
50
50
  width 12px
@@ -72,8 +72,8 @@ div.timenode
72
72
  &:hover
73
73
  .meta
74
74
  &:before
75
- background var(--sco-theme)
75
+ background var(--efu-theme)
76
76
 
77
77
  &:after
78
- background var(--sco-theme-op)
78
+ background var(--efu-theme-op)
79
79
  transform scale(1)
Binary file
@@ -82,7 +82,7 @@ function initializeCommentBarrage() {
82
82
  <a class="barrageTitle" href="javascript:sco.scrollTo('post-comment')">热评</a>
83
83
  <div class="barrageNick">${comment.nick}</div>
84
84
  <img class="barrageAvatar" src="https://cravatar.cn/avatar/${comment.mailMd5}"/>
85
- <a class="comment-barrage-close" href="javascript:sco.switchCommentBarrage();"><i class="scoicon sco-close-fill"></i></a>
85
+ <a class="comment-barrage-close" href="javascript:sco.switchCommentBarrage();"><i class="solitude st-close-fill"></i></a>
86
86
  </div>
87
87
  <a class="barrageContent" href="javascript:sco.scrollTo('${comment.id}');">${commentContent}</a>
88
88
  `;
@@ -82,7 +82,7 @@ function initializeCommentBarrage() {
82
82
  <div class="barrageNick">${comment.nick}</div>
83
83
  <img class="barrageAvatar" src="https://cravatar.cn/avatar/${comment.avatar}"/>
84
84
  <a class="comment-barrage-close" href="javascript:sco.switchCommentBarrage();">
85
- <i class="scoicon sco-close-fill"></i>
85
+ <i class="solitude st-close-fill"></i>
86
86
  </a>
87
87
  </div>
88
88
  <a class="barrageContent" href="javascript:sco.scrollTo('${comment.objectId}');">${comment.comment}</a>