hexo-theme-solitude 1.2.6 → 1.3.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 (261) hide show
  1. package/CONTRIBUTING.md +41 -0
  2. package/README.md +8 -8
  3. package/README_EN.md +6 -6
  4. package/_config.yml +495 -297
  5. package/languages/en-US.yml +105 -8
  6. package/languages/zh-CN.yml +98 -1
  7. package/layout/archive.pug +3 -3
  8. package/layout/category.pug +4 -5
  9. package/layout/includes/console.pug +15 -16
  10. package/layout/includes/footer.pug +26 -28
  11. package/layout/includes/head/config.pug +27 -8
  12. package/layout/includes/head/fest.pug +22 -0
  13. package/layout/includes/head/opengraph.pug +11 -0
  14. package/layout/includes/head.pug +1 -3
  15. package/layout/includes/header.pug +1 -1
  16. package/layout/includes/inject/body.pug +33 -13
  17. package/layout/includes/inject/head.pug +30 -20
  18. package/layout/includes/layout.pug +11 -8
  19. package/layout/includes/loading.pug +1 -64
  20. package/layout/includes/mixins/articleSort.pug +4 -4
  21. package/layout/includes/mixins/pagination.pug +1 -1
  22. package/layout/includes/nav.pug +10 -10
  23. package/layout/includes/page/about.pug +1 -0
  24. package/layout/includes/page/categories.pug +3 -3
  25. package/layout/includes/page/default.pug +1 -1
  26. package/layout/includes/page/echarts.pug +3 -3
  27. package/layout/includes/page/equipment.pug +0 -1
  28. package/layout/includes/page/links.pug +5 -26
  29. package/layout/includes/page/moments.pug +0 -1
  30. package/layout/includes/page/music.pug +19 -0
  31. package/layout/includes/page/not_configured.pug +18 -0
  32. package/layout/includes/page/rss.pug +20 -22
  33. package/layout/includes/page/says.pug +1 -2
  34. package/layout/includes/page/tags.pug +3 -3
  35. package/layout/includes/page/tlink.pug +0 -1
  36. package/layout/includes/sidebar.pug +7 -7
  37. package/layout/includes/widgets/aside/aside.pug +13 -1
  38. package/layout/includes/widgets/aside/asideArchive.pug +5 -3
  39. package/layout/includes/widgets/aside/asideCustom.pug +6 -0
  40. package/layout/includes/widgets/aside/asideHistory.pug +3 -3
  41. package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
  42. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  43. package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
  44. package/layout/includes/widgets/aside/asideTag.pug +2 -2
  45. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  46. package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
  47. package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
  48. package/layout/includes/widgets/home/banner.pug +2 -2
  49. package/layout/includes/widgets/home/bbTimeList.pug +3 -3
  50. package/layout/includes/widgets/home/categoryBar.pug +3 -3
  51. package/layout/includes/widgets/home/categoryGroup.pug +2 -2
  52. package/layout/includes/widgets/home/hometop.pug +7 -7
  53. package/layout/includes/widgets/home/postList.pug +12 -8
  54. package/layout/includes/widgets/home/topGroup.pug +17 -13
  55. package/layout/includes/widgets/nav/left.pug +6 -6
  56. package/layout/includes/widgets/nav/menu.pug +4 -4
  57. package/layout/includes/widgets/nav/right.pug +14 -14
  58. package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
  59. package/layout/includes/widgets/page/about/award.pug +11 -9
  60. package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
  61. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  62. package/layout/includes/widgets/page/about/motto.pug +2 -2
  63. package/layout/includes/widgets/page/about/other.pug +10 -9
  64. package/layout/includes/widgets/page/about/personalities.pug +2 -2
  65. package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
  66. package/layout/includes/widgets/page/about/tenyear.pug +48 -0
  67. package/layout/includes/widgets/page/banner.pug +2 -2
  68. package/layout/includes/widgets/page/links/banner.pug +12 -14
  69. package/layout/includes/widgets/page/links/linksItem.pug +0 -1
  70. package/layout/includes/widgets/page/moments/angle.pug +7 -12
  71. package/layout/includes/widgets/page/moments/index.pug +7 -2
  72. package/layout/includes/widgets/post/award.pug +12 -8
  73. package/layout/includes/widgets/post/copyright.pug +16 -14
  74. package/layout/includes/widgets/post/postMeta.pug +36 -25
  75. package/layout/includes/widgets/post/postNav.pug +15 -15
  76. package/layout/includes/widgets/randomlink.pug +10 -5
  77. package/layout/includes/widgets/rightside/index.pug +9 -8
  78. package/layout/includes/widgets/third-party/ai/index.pug +12 -0
  79. package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
  80. package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
  81. package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
  82. package/layout/includes/widgets/third-party/music.pug +1 -1
  83. package/layout/includes/widgets/third-party/pjax.pug +6 -1
  84. package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
  85. package/layout/includes/widgets/third-party/search/index.pug +2 -2
  86. package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
  87. package/layout/index.pug +5 -6
  88. package/layout/page.pug +34 -29
  89. package/layout/post.pug +3 -23
  90. package/layout/tag.pug +3 -3
  91. package/package.json +2 -2
  92. package/scripts/filter/checkThemeConfig.js +0 -5
  93. package/scripts/helper/cdn.js +12 -0
  94. package/scripts/helper/page.js +13 -0
  95. package/scripts/helper/related_post.js +0 -1
  96. package/scripts/tags/button.js +21 -0
  97. package/scripts/tags/card.js +9 -0
  98. package/scripts/tags/checkbox.js +51 -0
  99. package/scripts/tags/fold.js +0 -5
  100. package/scripts/tags/image.js +75 -0
  101. package/scripts/tags/inline-image.js +12 -0
  102. package/scripts/tags/label.js +10 -0
  103. package/scripts/tags/link.js +2 -0
  104. package/scripts/tags/media.js +29 -0
  105. package/scripts/tags/span.js +17 -0
  106. package/scripts/tags/timeline.js +2 -15
  107. package/scripts/tags/u.js +7 -0
  108. package/source/css/_global/animation.css +57 -0
  109. package/source/css/_global/index.styl +5 -20
  110. package/source/css/_global/var.styl +16 -1
  111. package/source/css/_layout/{base.styl → basic.styl} +24 -116
  112. package/source/css/_layout/header.styl +203 -615
  113. package/source/css/_layout/index.styl +29 -271
  114. package/source/css/_mode/index.styl +87 -94
  115. package/source/css/_page/_home/category-bar.styl +74 -0
  116. package/source/css/_page/_home/home-top.styl +541 -0
  117. package/source/css/_page/_home/index.styl +15 -0
  118. package/source/css/_page/_home/pagination.styl +176 -0
  119. package/source/css/_page/_home/recent-post.styl +204 -0
  120. package/source/css/_page/about/index.styl +1 -0
  121. package/source/css/_page/about/tenyear.styl +56 -0
  122. package/source/css/_page/about.styl +555 -626
  123. package/source/css/_page/category.styl +95 -119
  124. package/source/css/_page/douban.styl +126 -0
  125. package/source/css/_page/equipment.styl +100 -99
  126. package/source/css/_page/error.styl +130 -146
  127. package/source/css/_page/home.styl +41 -50
  128. package/source/css/_page/index.styl +42 -10
  129. package/source/css/_page/links.styl +305 -0
  130. package/source/css/_page/moment.styl +51 -51
  131. package/source/css/_page/music.styl +506 -0
  132. package/source/css/_page/rss.styl +62 -67
  133. package/source/css/_page/says.styl +375 -344
  134. package/source/css/_page/tag.styl +15 -13
  135. package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
  136. package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
  137. package/source/css/_widgets/_aside/index.styl +96 -0
  138. package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
  139. package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
  140. package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
  141. package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
  142. package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
  143. package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
  144. package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
  145. package/source/css/_widgets/_extra/fullpage.styl +46 -0
  146. package/source/css/_widgets/_extra/music.styl +218 -0
  147. package/source/css/_widgets/_extra/pace.styl +39 -0
  148. package/source/css/_widgets/_extra/rightmenu.styl +78 -0
  149. package/source/css/_widgets/_mixins/article-sort.styl +93 -0
  150. package/source/css/_widgets/_mixins/footer.styl +273 -0
  151. package/source/css/_widgets/_mixins/other.styl +34 -0
  152. package/source/css/_widgets/_mixins/sidebar.styl +230 -0
  153. package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
  154. package/source/css/_widgets/_post/_highlight/index.styl +144 -0
  155. package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
  156. package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
  157. package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
  158. package/source/css/_widgets/_post/commentBarrage.styl +144 -0
  159. package/source/css/_widgets/_post/content.styl +152 -0
  160. package/source/css/_widgets/_post/copyright.styl +98 -0
  161. package/source/css/_widgets/_post/index.styl +20 -0
  162. package/source/css/_widgets/_post/meta.styl +420 -0
  163. package/source/css/_widgets/_post/pagination.styl +177 -0
  164. package/source/css/_widgets/_post/postAI.styl +131 -0
  165. package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
  166. package/source/css/_widgets/_post/tools.styl +249 -0
  167. package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
  168. package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
  169. package/source/css/_widgets/_tags/button.styl +60 -0
  170. package/source/css/_widgets/_tags/bvideo.styl +8 -0
  171. package/source/css/_widgets/_tags/card.styl +52 -0
  172. package/source/css/_widgets/_tags/checkbox.styl +85 -0
  173. package/source/css/_widgets/_tags/fold.styl +79 -0
  174. package/source/css/_widgets/_tags/image.styl +10 -0
  175. package/source/css/_widgets/_tags/index.styl +61 -0
  176. package/source/css/_widgets/_tags/inline-image.styl +6 -0
  177. package/source/css/_widgets/_tags/label.styl +3 -0
  178. package/source/css/_widgets/_tags/link.styl +80 -0
  179. package/source/css/_widgets/_tags/note.styl +101 -0
  180. package/source/css/_widgets/_tags/span.styl +61 -0
  181. package/source/css/_widgets/_tags/tabs.styl +105 -0
  182. package/source/css/_widgets/_tags/timeline.styl +80 -0
  183. package/source/css/_widgets/index.styl +50 -1
  184. package/source/css/index.styl +0 -25
  185. package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
  186. package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
  187. package/source/js/extend/comment/waline/commentBarrage.js +155 -0
  188. package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
  189. package/source/js/extend/search/algolia-search.js +1 -5
  190. package/source/js/extend/search/local-search.js +33 -13
  191. package/source/js/main.js +144 -163
  192. package/source/js/music.js +129 -0
  193. package/source/js/utils.js +4 -7
  194. package/source/lib/cover-color.min.js +7 -0
  195. package/source/lib/rightside.min.js +1 -0
  196. package/source/lib/sco-ai.min.js +8 -0
  197. package/source/lib/snackbar.min.css +1 -1
  198. package/source/lib/txmap.min.js +1 -0
  199. package/source/lib/view-image.min.js +1 -1
  200. package/layout/includes/widgets/aside/asidePower.pug +0 -19
  201. package/layout/includes/widgets/home/rencentPost.pug +0 -26
  202. package/source/css/_extra/rightmenu.styl +0 -83
  203. package/source/css/_layout/articleSort.styl +0 -199
  204. package/source/css/_layout/footer.styl +0 -359
  205. package/source/css/_layout/sidebar.styl +0 -226
  206. package/source/css/_page/homeTop.styl +0 -1035
  207. package/source/css/_page/link.styl +0 -433
  208. package/source/css/_post/commentBarrage.styl +0 -149
  209. package/source/css/_post/externalTags.styl +0 -694
  210. package/source/css/_post/highlight.styl +0 -96
  211. package/source/css/_post/index.styl +0 -935
  212. package/source/css/_post/pagination.styl +0 -467
  213. package/source/css/_post/postContent.styl +0 -957
  214. package/source/css/_post/reward.styl +0 -217
  215. package/source/css/_widgets/aside/index.styl +0 -156
  216. package/source/css/_widgets/aside/power.styl +0 -90
  217. package/source/img/logo-horizontal_version.png +0 -0
  218. package/source/img/pwa/16.png +0 -0
  219. package/source/img/pwa/180.png +0 -0
  220. package/source/img/pwa/192.png +0 -0
  221. package/source/img/pwa/32.png +0 -0
  222. package/source/img/pwa/512.png +0 -0
  223. package/source/img/pwa/logo.png +0 -0
  224. package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
  225. package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
  226. package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
  227. package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
  228. package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
  229. package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
  230. package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
  231. package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
  232. package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
  233. package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
  234. package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
  235. package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
  236. package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
  237. package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
  238. package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
  239. package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
  240. package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
  241. package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
  242. package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
  243. package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
  244. package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
  245. package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
  246. package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
  247. package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
  248. package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
  249. package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
  250. package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
  251. package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
  252. package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
  253. package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
  254. package/source/img/solitude-show.jpg +0 -0
  255. package/source/js/extend/covercolor/local.js +0 -160
  256. package/source/js/rightside.js +0 -402
  257. package/source/js/txmap.js +0 -236
  258. package/source/lib/chuckle-post-ai.js +0 -1
  259. /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
  260. /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
  261. /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -169,6 +169,11 @@
169
169
  height 60px
170
170
  transition .3s
171
171
  cursor pointer
172
+
173
+ a.darkmode_switchbutton
174
+ [data-theme="dark"] &
175
+ background var(--sco-orange)
176
+ color var(--sco-white)
172
177
  .button-group
173
178
  .console-btn-item
174
179
  &:not(:last-child)
@@ -190,7 +195,7 @@
190
195
  color var(--sco-fontcolor)
191
196
 
192
197
  i
193
- font-size 24px
198
+ font-size 1rem
194
199
 
195
200
  &.on
196
201
  a
@@ -200,7 +205,7 @@
200
205
 
201
206
  &:not(.on)
202
207
  a:hover
203
- background var(--sco-main) !important
208
+ background var(--sco-main)
204
209
 
205
210
  &:hover
206
211
  a
@@ -213,18 +218,18 @@
213
218
  flex-wrap wrap
214
219
 
215
220
  a
216
- color var(--sco-fontcolor) !important
221
+ color var(--sco-fontcolor)
217
222
  margin 6px 4px
218
223
  padding 2px 8px
219
224
  border-radius 8px
220
225
  background var(--sco-card-bg)
221
226
  border var(--style-border)
222
- font-size 14px !important
227
+ font-size 14px
223
228
  font-weight 700
224
229
 
225
230
  &:hover
226
231
  background var(--sco-main)
227
- color var(--sco-white) !important
232
+ color var(--sco-white)
228
233
 
229
234
  sup
230
235
  opacity .6
@@ -287,7 +292,7 @@
287
292
  flex-direction column
288
293
  align-content space-between
289
294
  border var(--style-border)
290
- transition all .2s ease 0s
295
+ transition all .3s ease 0s
291
296
  background var(--sco-maskbgdeep)
292
297
  padding 8px 16px
293
298
 
@@ -296,13 +301,31 @@
296
301
  color var(--sco-white)
297
302
  cursor pointer
298
303
 
304
+ .card-archive-list-date
305
+ font-size 14px
306
+ opacity .6
307
+
308
+ .card-archive-list-count-group
309
+ display flex
310
+ flex-direction row
311
+
312
+ .card-archive-list-count
313
+ width auto
314
+ text-align left
315
+ font-size 1.1rem
316
+ line-height .9
317
+ margin-right 2px
318
+ font-weight 700
319
+
320
+ .card-archive-list-count-unit
321
+ width auto
322
+ text-align left
323
+ font-size 14px
324
+ font-weight 700
325
+
299
326
  #card-newest-comments
300
327
  height 100%
301
328
 
302
- .button-group
303
- i
304
- font-size 1rem
305
-
306
329
  #consoleMusic
307
330
  +maxWidth1300()
308
331
  display none
@@ -0,0 +1,46 @@
1
+ #loading-box
2
+ -webkit-user-select none
3
+
4
+ .loading-bg
5
+ display flex
6
+ width 100%
7
+ height 100%
8
+ position fixed
9
+ background var(--sco-background)
10
+ z-index 1999
11
+ opacity 1
12
+ transition 0.2s
13
+ pointer-events all
14
+ animation showLoading 0.3s 0s backwards
15
+
16
+ &.loaded .loading-bg
17
+ pointer-events none
18
+ transition 0.2s
19
+ animation hideLoading 0.3s 0s forwards
20
+
21
+ .loading-img
22
+ width 100px
23
+ margin auto
24
+ animation-duration 0.2s
25
+ animation-name loadingAction
26
+ border-radius 50px
27
+ animation-iteration-count infinite
28
+ animation-direction alternate
29
+
30
+ @keyframes loadingAction
31
+ from
32
+ opacity: 1
33
+ to
34
+ opacity: 0.6
35
+
36
+ @keyframes hideLoading
37
+ from
38
+ opacity: 1
39
+ to
40
+ opacity: 0
41
+
42
+ @keyframes showLoading
43
+ from
44
+ opacity: 0
45
+ to
46
+ opacity: 1
@@ -0,0 +1,218 @@
1
+ #nav-music
2
+ display flex
3
+ align-items center
4
+ z-index 1001
5
+ position fixed
6
+ bottom 20px
7
+ left 20px
8
+ cursor pointer
9
+ transition .3s
10
+ transform-origin left bottom
11
+ box-shadow var(--sco-shadow-border)
12
+ border-radius 40px
13
+ overflow hidden
14
+ user-select none
15
+
16
+ +maxWidth798()
17
+ display none !important
18
+
19
+ span
20
+ user-select none
21
+
22
+ div
23
+ user-select none
24
+
25
+ &.playing
26
+ box-shadow 0 0 12px -3px var(--sco-none)
27
+ -webkit-animation playingShadow 5s linear infinite
28
+
29
+ .aplayer
30
+ background var(--sco-main-op-deep)
31
+ border var(--style-border-hover)
32
+ backdrop-filter saturate(180%) blur(20px)
33
+ -webkit-backdrop-filter blur(20px)
34
+ transform translateZ(0)
35
+
36
+ &.aplayer-withlrc
37
+ .aplayer-pic
38
+ box-shadow 0 0 14px #ffffffa6
39
+ -webkit-transform rotate(0) scale(1.1)
40
+ border-color var(--sco-white)
41
+ animation-play-state running
42
+
43
+ .aplayer-info
44
+ color var(--sco-white)
45
+
46
+ .aplayer-lrc
47
+ width 200px
48
+ margin-bottom 0
49
+ opacity 1
50
+
51
+ .aplayer-info
52
+ .aplayer-controller
53
+ .aplayer-bar-wrap
54
+ .aplayer-bar
55
+ opacity 1
56
+
57
+ .aplayer-played
58
+ animation-play-state running
59
+
60
+ #nav-music-hoverTips
61
+ opacity 0
62
+
63
+ .aplayer
64
+ background var(--sco-card-bg)
65
+ border-radius 60px
66
+ height 41px
67
+ display flex
68
+ margin 0
69
+ pointer-events none
70
+ transition .3s
71
+ border var(--style-border)
72
+ box-shadow none
73
+
74
+ &.aplayer-withlrc
75
+ .aplayer-pic
76
+ height 25px
77
+ width 25px
78
+ border-radius 40px
79
+ z-index 1
80
+ transition .3s
81
+ -webkit-transform rotate(0) scale(1)
82
+ border var(--style-border-always)
83
+ -webkit-animation changeright 24s linear infinite
84
+ animation-play-state paused
85
+
86
+ .aplayer-info
87
+ height 100%
88
+ color var(--sco-fontcolor)
89
+ margin-left 8px
90
+ padding 0
91
+ display flex
92
+ align-items center
93
+
94
+ .aplayer-lrc
95
+ width 0
96
+ opacity 0
97
+ transition .3s
98
+ margin-left 8px
99
+ margin-top -2px
100
+
101
+ .aplayer-notice
102
+ display none
103
+
104
+ .aplayer-miniswitcher
105
+ display none
106
+
107
+ .aplayer-body
108
+ position relative
109
+ display flex
110
+ align-items center
111
+ padding 0 12px 0 8px
112
+
113
+ .aplayer-pic
114
+ .aplayer-play
115
+ opacity 0
116
+
117
+ div
118
+ display none
119
+
120
+ .aplayer-info
121
+ .aplayer-music
122
+ margin 0
123
+ display flex
124
+ align-items center
125
+ padding 0
126
+ z-index 1
127
+
128
+ .aplayer-author
129
+ display none
130
+
131
+ .aplayer-title
132
+ cursor pointer
133
+ line-height 1
134
+ display inline-block
135
+ white-space nowrap
136
+ max-width 120px
137
+ overflow hidden
138
+ text-overflow ellipsis
139
+ transition .3s
140
+
141
+ .aplayer-controller
142
+ position absolute
143
+ width 100%
144
+ height 100%
145
+ top 0
146
+ left 0
147
+
148
+ .aplayer-time
149
+ display none
150
+
151
+ .aplayer-bar-wrap
152
+ margin 0
153
+ padding 0
154
+
155
+ .aplayer-bar
156
+ height 100%
157
+ background 0 0
158
+ opacity 0
159
+
160
+ .aplayer-loaded
161
+ display none
162
+
163
+ .aplayer-played
164
+ height 100%
165
+ opacity .1
166
+ background-color var(--sco-white) !important
167
+ -webkit-animation lightBar 5s ease infinite
168
+ animation-play-state paused
169
+
170
+ &.aplayer-withlist
171
+ .aplayer-info
172
+ border none
173
+
174
+ .aplayer-lrc
175
+ p
176
+ color #ffffffb3
177
+ filter blur(1px)
178
+
179
+ &.aplayer-lrc-current
180
+ color var(--sco-white)
181
+ border none
182
+ filter blur(0)
183
+
184
+ #nav-music-hoverTips
185
+ color var(--sco-white)
186
+ background var(--sco-main)
187
+ width 100%
188
+ height 100%
189
+ position absolute
190
+ top 0
191
+ left 0
192
+ align-items center
193
+ justify-content center
194
+ display flex
195
+ border-radius 40px
196
+ opacity 0
197
+ font-size 12px
198
+ z-index 2
199
+ pointer-events none
200
+ transition .3s
201
+
202
+ &:hover
203
+ &:not(.playing)
204
+ #nav-music-hoverTips
205
+ opacity 1
206
+
207
+ .aplayer-list
208
+ display none
209
+
210
+ #nav-music .aplayer .aplayer-lrc:after,
211
+ #nav-music .aplayer .aplayer-lrc:before
212
+ display none
213
+
214
+ i
215
+ &.fab
216
+ font-size 20px
217
+ vertical-align middle
218
+ margin-bottom 4px
@@ -0,0 +1,39 @@
1
+ .pace
2
+ pointer-events: none
3
+ user-select: none
4
+ z-index: 2000
5
+ position: fixed
6
+ margin: auto
7
+ top: 4px
8
+ left: 0
9
+ right: 0
10
+ height: 8px
11
+ border-radius: 8px
12
+ width: 4rem
13
+ background: var(--sco-secondbg)
14
+ border: var(--style-border)
15
+ overflow: hidden
16
+
17
+ &.pace-inactive
18
+ opacity: 0
19
+ transition: .3s
20
+ top: -8px
21
+
22
+ .pace-progress
23
+ opacity: 0
24
+ transition: .3s ease-in
25
+
26
+ .pace-progress
27
+ box-sizing: border-box
28
+ transform: translate3d(0,0,0)
29
+ max-width: 200px
30
+ z-index: 2000
31
+ display: block
32
+ position: absolute
33
+ top: 0
34
+ right: 100%
35
+ height: 100%
36
+ width: 100%
37
+ background: var(--sco-logo-color)
38
+ animation: gradient 2s ease infinite
39
+ background-size: 200%
@@ -0,0 +1,78 @@
1
+ #rightMenu
2
+ display none
3
+ position fixed
4
+ padding 0 .25rem
5
+ width 9rem
6
+ height fit-content
7
+ top 10%
8
+ left 10%
9
+ background-color var(--sco-maskbgdeep)
10
+ backdrop-filter blur(20px)
11
+ transform translateZ(0)
12
+ color var(--sco-fontcolor)
13
+ border-radius 12px
14
+ z-index 99994
15
+ border var(--style-border)
16
+ user-select none
17
+ box-shadow var(--sco-shadow-black)
18
+ transition border .3s
19
+
20
+ &:hover
21
+ border var(--style-border-hover)
22
+ box-shadow var(--sco-shadow-theme)
23
+
24
+ .rightMenu-group
25
+ padding .5rem .3rem
26
+
27
+ &.rightMenu-small
28
+ display flex
29
+ justify-content space-between
30
+
31
+ .rightMenu-item
32
+ width 30px
33
+ height 30px
34
+ line-height 30px
35
+ display flex
36
+ align-items center
37
+ justify-content center
38
+
39
+ &.rightMenu-line
40
+ .rightMenu-item
41
+ display flex
42
+
43
+ .rightMenu-item
44
+ border-radius 8px
45
+ transition .3s
46
+ cursor pointer
47
+ margin .25rem 0
48
+ padding .25rem .5rem
49
+
50
+ &:hover
51
+ background-color var(--sco-lighttext)
52
+ color var(--sco-card-bg)
53
+ box-shadow var(--sco-shadow-main)
54
+
55
+ i
56
+ display inline-block
57
+ text-align center
58
+ line-height 1.5rem
59
+ width 1.5rem
60
+ padding 0 .25rem
61
+ margin 0 .25rem
62
+
63
+ span
64
+ line-height 1.5rem
65
+
66
+ .rightMenu-line
67
+ border-top 1px dashed var(--sco-theme-op)
68
+
69
+ #rightmenu-mask
70
+ position fixed
71
+ width 100vw
72
+ height 100vh
73
+ background 0 0
74
+ top 0
75
+ left 0
76
+ display none
77
+ margin 0 !important
78
+ z-index 99993
@@ -0,0 +1,93 @@
1
+ .article-sort-title
2
+ font-weight 700
3
+ font-size 2em
4
+
5
+ sup
6
+ margin-left 4px
7
+ font-size 16px
8
+ font-weight 700
9
+ opacity .4
10
+ top -1em
11
+
12
+ .article-sort
13
+ .article-sort-item
14
+ position relative
15
+ display flex
16
+ -webkit-box-align center
17
+ align-items center
18
+ margin 0 0 1rem 0
19
+ transition all .2s ease-in-out 0s
20
+ overflow hidden
21
+
22
+ &.year
23
+ font-size .8rem
24
+ color var(--sco-secondtext)
25
+ margin 0 0 .2rem 0
26
+
27
+ .article-sort-item-img
28
+ border-radius 12px
29
+ min-width 151px
30
+ min-height 80px
31
+ background var(--sco-secondbg)
32
+ overflow hidden
33
+ width 80px
34
+ height 80px
35
+
36
+ +maxWidth768()
37
+ min-width 80px
38
+
39
+ img
40
+ width 100%
41
+ height 100%
42
+ transition all .6s ease 0s
43
+ object-fit cover
44
+
45
+ .article-sort-item-info
46
+ padding 0 0.8rem
47
+ display flex
48
+ flex-direction column
49
+ -webkit-box-flex 1
50
+ flex 1 1 0%
51
+
52
+ a
53
+ overflow hidden
54
+ text-overflow ellipsis
55
+
56
+ &:hover
57
+ color var(--sco-theme)
58
+
59
+ .article-sort-item-title
60
+ color var(--sco-fontcolor)
61
+ font-size 1.1em
62
+ transition all .3s ease 0s
63
+ line-height 1.3
64
+ -webkit-line-clamp 1
65
+ order 0
66
+ font-weight 700
67
+
68
+ +maxWidth768()
69
+ -webkit-line-clamp 2
70
+
71
+ .article-sort-item-tags
72
+ margin-top 8px
73
+ white-space nowrap
74
+ overflow hidden
75
+ text-overflow ellipsis
76
+ width 100%
77
+ font-size .7rem
78
+ display flex
79
+
80
+ a
81
+ color var(--sco-fontcolor)
82
+
83
+ &:hover
84
+ color var(--sco-theme)
85
+
86
+ .tags-punctuation
87
+ font-size 12px
88
+ margin-right 1px
89
+
90
+ .article-meta__tags
91
+ margin-right 8px
92
+ padding 0 0.2rem 0 0
93
+ color var(--sco-fontcolor)