hexo-theme-solitude 1.3.1 → 1.4.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/.github/FUNDING.yml +13 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.yml +107 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +13 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.yml +14 -0
  5. package/.github/workflows/npm-publish.yml +21 -0
  6. package/CONTRIBUTING.md +0 -0
  7. package/LICENSE +0 -0
  8. package/README.md +60 -43
  9. package/README_EN.md +60 -42
  10. package/_config.yml +606 -451
  11. package/languages/en-US.yml +3 -23
  12. package/languages/zh-CN.yml +3 -23
  13. package/layout/404.pug +0 -0
  14. package/layout/archive.pug +0 -0
  15. package/layout/category.pug +0 -0
  16. package/layout/includes/body/mode.pug +1 -6
  17. package/layout/includes/console.pug +3 -3
  18. package/layout/includes/footer.pug +16 -15
  19. package/layout/includes/head/config.pug +38 -30
  20. package/layout/includes/head/opengraph.pug +0 -0
  21. package/layout/includes/head/pwa.pug +5 -44
  22. package/layout/includes/head.pug +3 -1
  23. package/layout/includes/header.pug +0 -0
  24. package/layout/includes/inject/body.pug +114 -65
  25. package/layout/includes/inject/head.pug +11 -46
  26. package/layout/includes/layout.pug +1 -2
  27. package/layout/includes/loading.pug +0 -0
  28. package/layout/includes/mixins/articleSort.pug +0 -0
  29. package/layout/includes/mixins/pagination.pug +0 -0
  30. package/layout/includes/nav.pug +1 -1
  31. package/layout/includes/page/about.pug +1 -1
  32. package/layout/includes/page/categories.pug +0 -0
  33. package/layout/includes/page/default.pug +0 -0
  34. package/layout/includes/page/equipment.pug +0 -0
  35. package/layout/includes/page/links.pug +2 -2
  36. package/layout/includes/page/music.pug +0 -0
  37. package/layout/includes/page/not_configured.pug +0 -0
  38. package/layout/includes/page/rss.pug +3 -3
  39. package/layout/includes/page/says.pug +15 -15
  40. package/layout/includes/page/tags.pug +0 -0
  41. package/layout/includes/page/tlink.pug +1 -0
  42. package/layout/includes/recent-posts.pug +0 -0
  43. package/layout/includes/sidebar.pug +0 -0
  44. package/layout/includes/widgets/aside/aside.pug +6 -6
  45. package/layout/includes/widgets/aside/asideAllInfo.pug +0 -0
  46. package/layout/includes/widgets/aside/asideArchive.pug +0 -0
  47. package/layout/includes/widgets/aside/asideCustom.pug +1 -1
  48. package/layout/includes/widgets/aside/asideFlipCard.pug +0 -0
  49. package/layout/includes/widgets/aside/asideInfoCard.pug +3 -3
  50. package/layout/includes/widgets/aside/asideNewestPost.pug +0 -0
  51. package/layout/includes/widgets/aside/asideSwitch.pug +0 -4
  52. package/layout/includes/widgets/aside/asideTag.pug +1 -1
  53. package/layout/includes/widgets/aside/asideToc.pug +0 -0
  54. package/layout/includes/widgets/aside/asideWebInfo.pug +2 -2
  55. package/layout/includes/widgets/home/banner.pug +0 -0
  56. package/layout/includes/widgets/home/bb/json.pug +22 -0
  57. package/layout/includes/widgets/home/bb/local.pug +17 -0
  58. package/layout/includes/widgets/home/bb/memos.pug +25 -0
  59. package/layout/includes/widgets/home/bbTimeList.pug +11 -7
  60. package/layout/includes/widgets/home/categoryBar.pug +0 -0
  61. package/layout/includes/widgets/home/categoryGroup.pug +1 -1
  62. package/layout/includes/widgets/home/hometop.pug +0 -0
  63. package/layout/includes/widgets/home/postList.pug +0 -0
  64. package/layout/includes/widgets/home/topGroup.pug +0 -0
  65. package/layout/includes/widgets/nav/left.pug +0 -0
  66. package/layout/includes/widgets/nav/menu.pug +1 -1
  67. package/layout/includes/widgets/nav/right.pug +6 -5
  68. package/layout/includes/widgets/page/about/authorinfo.pug +10 -9
  69. package/layout/includes/widgets/page/about/award.pug +0 -0
  70. package/layout/includes/widgets/page/about/contentinfo.pug +35 -34
  71. package/layout/includes/widgets/page/about/hobbies.pug +21 -17
  72. package/layout/includes/widgets/page/about/motto.pug +17 -16
  73. package/layout/includes/widgets/page/about/other.pug +16 -16
  74. package/layout/includes/widgets/page/about/personalities.pug +15 -14
  75. package/layout/includes/widgets/page/about/skillsinfo.pug +37 -36
  76. package/layout/includes/widgets/page/about/tenyear.pug +0 -0
  77. package/layout/includes/widgets/page/banner.pug +9 -3
  78. package/layout/includes/widgets/page/equipment/content.pug +0 -0
  79. package/layout/includes/widgets/page/links/banner.pug +14 -12
  80. package/layout/includes/widgets/page/links/linksCard.pug +4 -6
  81. package/layout/includes/widgets/page/links/linksDiscn.pug +8 -0
  82. package/layout/includes/widgets/page/links/linksItem.pug +4 -6
  83. package/layout/includes/widgets/page/says/json.pug +80 -0
  84. package/layout/includes/widgets/page/says/local.pug +48 -0
  85. package/layout/includes/widgets/page/says/memos.pug +109 -0
  86. package/layout/includes/widgets/post/award.pug +0 -0
  87. package/layout/includes/widgets/post/copyright.pug +2 -2
  88. package/layout/includes/widgets/post/post-ai.pug +12 -0
  89. package/layout/includes/widgets/post/postMeta.pug +2 -2
  90. package/layout/includes/widgets/post/postNav.pug +0 -0
  91. package/layout/includes/widgets/post/wave.pug +0 -0
  92. package/layout/includes/widgets/randomlink.pug +1 -1
  93. package/layout/includes/widgets/rightside/index.pug +6 -5
  94. package/layout/includes/widgets/third-party/comments/comment.pug +1 -5
  95. package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -1
  96. package/layout/includes/widgets/third-party/comments/waline.pug +9 -11
  97. package/layout/includes/widgets/third-party/music.pug +1 -1
  98. package/layout/includes/widgets/third-party/news-comment/newest-comment.pug +6 -0
  99. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +70 -0
  100. package/layout/includes/widgets/third-party/news-comment/waline.pug +64 -0
  101. package/layout/includes/widgets/third-party/pjax.pug +0 -0
  102. package/layout/includes/widgets/third-party/search/algolia-search.pug +0 -0
  103. package/layout/includes/widgets/third-party/search/index.pug +8 -7
  104. package/layout/includes/widgets/third-party/search/local-search.pug +0 -0
  105. package/layout/index.pug +3 -3
  106. package/layout/page.pug +0 -4
  107. package/layout/post.pug +2 -2
  108. package/layout/tag.pug +0 -0
  109. package/package.json +18 -9
  110. package/plugins.yml +109 -0
  111. package/scripts/event/cdn.js +129 -0
  112. package/scripts/event/init.js +0 -0
  113. package/scripts/event/page.js +1 -21
  114. package/scripts/event/welcome.js +1 -1
  115. package/scripts/filter/checkThemeConfig.js +0 -0
  116. package/scripts/filter/default.js +0 -0
  117. package/scripts/filter/lazyload.js +1 -1
  118. package/scripts/filter/randomPosts.js +0 -0
  119. package/scripts/helper/cdn.js +0 -0
  120. package/scripts/helper/getArchiveLength.js +0 -0
  121. package/scripts/helper/page.js +0 -0
  122. package/scripts/helper/related_post.js +0 -0
  123. package/scripts/helper/stylus.js +0 -0
  124. package/scripts/tags/button.js +0 -0
  125. package/scripts/tags/bvideo.js +0 -0
  126. package/scripts/tags/card.js +0 -0
  127. package/scripts/tags/checkbox.js +0 -0
  128. package/scripts/tags/fold.js +0 -0
  129. package/scripts/tags/image.js +0 -0
  130. package/scripts/tags/inline-image.js +0 -0
  131. package/scripts/tags/label.js +0 -0
  132. package/scripts/tags/link.js +0 -0
  133. package/scripts/tags/media.js +0 -0
  134. package/scripts/tags/note.js +0 -0
  135. package/scripts/tags/span.js +0 -0
  136. package/scripts/tags/tabs.js +0 -0
  137. package/scripts/tags/timeline.js +0 -0
  138. package/scripts/tags/u.js +0 -0
  139. package/source/css/_global/animation.css +0 -0
  140. package/source/css/_global/function.styl +42 -42
  141. package/source/css/_global/index.styl +1 -1
  142. package/source/css/_global/var.styl +0 -0
  143. package/source/css/_layout/basic.styl +10 -12
  144. package/source/css/_layout/header.styl +7 -2
  145. package/source/css/_layout/index.styl +59 -5
  146. package/source/css/_mode/index.styl +1 -17
  147. package/source/css/_page/_home/category-bar.styl +0 -0
  148. package/source/css/_page/_home/home-top.styl +10 -31
  149. package/source/css/_page/_home/index.styl +0 -0
  150. package/source/css/_page/_home/pagination.styl +3 -0
  151. package/source/css/_page/_home/recent-post.styl +10 -3
  152. package/source/css/_page/about/index.styl +0 -0
  153. package/source/css/_page/about/tenyear.styl +0 -0
  154. package/source/css/_page/about.styl +9 -0
  155. package/source/css/_page/category.styl +0 -0
  156. package/source/css/_page/douban.styl +0 -1
  157. package/source/css/_page/equipment.styl +0 -0
  158. package/source/css/_page/error.styl +0 -0
  159. package/source/css/_page/home.styl +0 -0
  160. package/source/css/_page/index.styl +2 -3
  161. package/source/css/_page/links.styl +84 -49
  162. package/source/css/_page/moment.styl +0 -0
  163. package/source/css/_page/music.styl +0 -0
  164. package/source/css/_page/rss.styl +0 -0
  165. package/source/css/_page/says.styl +10 -0
  166. package/source/css/_page/tag.styl +0 -0
  167. package/source/css/_widgets/_aside/allinfo.styl +34 -0
  168. package/source/css/_widgets/_aside/flip.styl +0 -0
  169. package/source/css/_widgets/_aside/index.styl +1 -7
  170. package/source/css/_widgets/_aside/info.styl +0 -0
  171. package/source/css/_widgets/_aside/newPost.styl +0 -0
  172. package/source/css/_widgets/_aside/toc.styl +0 -0
  173. package/source/css/_widgets/_aside/welcome.styl +0 -0
  174. package/source/css/_widgets/_comment/index.styl +0 -0
  175. package/source/css/_widgets/_comment/twikoo.styl +0 -2
  176. package/source/css/_widgets/_comment/waline.styl +0 -0
  177. package/source/css/_widgets/_extra/console.styl +0 -0
  178. package/source/css/_widgets/_extra/fullpage.styl +0 -0
  179. package/source/css/_widgets/_extra/music.styl +1 -1
  180. package/source/css/_widgets/_extra/pace.styl +0 -0
  181. package/source/css/_widgets/_extra/rightmenu.styl +0 -0
  182. package/source/css/_widgets/_mixins/article-sort.styl +0 -0
  183. package/source/css/_widgets/_mixins/footer.styl +1 -2
  184. package/source/css/_widgets/_mixins/other.styl +0 -4
  185. package/source/css/_widgets/_mixins/sidebar.styl +0 -0
  186. package/source/css/_widgets/_post/_highlight/diff.styl +0 -0
  187. package/source/css/_widgets/_post/_highlight/index.styl +0 -1
  188. package/source/css/_widgets/_post/_highlight/theme/default.styl +0 -0
  189. package/source/css/_widgets/_post/_highlight/theme/mac.styl +0 -0
  190. package/source/css/_widgets/_post/_highlight/theme.styl +0 -0
  191. package/source/css/_widgets/_post/commentBarrage.styl +0 -0
  192. package/source/css/_widgets/_post/content.styl +42 -11
  193. package/source/css/_widgets/_post/copyright.styl +0 -0
  194. package/source/css/_widgets/_post/index.styl +1 -1
  195. package/source/css/_widgets/_post/meta.styl +0 -3
  196. package/source/css/_widgets/_post/pagination.styl +1 -1
  197. package/source/css/_widgets/_post/postAI.styl +0 -0
  198. package/source/css/_widgets/_post/relatedPost.styl +0 -0
  199. package/source/css/_widgets/_post/tools.styl +0 -0
  200. package/source/css/_widgets/_search/algolia-search.styl +0 -0
  201. package/source/css/_widgets/_search/local-search.styl +0 -0
  202. package/source/css/_widgets/_tags/button.styl +0 -0
  203. package/source/css/_widgets/_tags/bvideo.styl +0 -0
  204. package/source/css/_widgets/_tags/card.styl +0 -0
  205. package/source/css/_widgets/_tags/checkbox.styl +0 -0
  206. package/source/css/_widgets/_tags/fold.styl +0 -0
  207. package/source/css/_widgets/_tags/image.styl +0 -0
  208. package/source/css/_widgets/_tags/index.styl +0 -0
  209. package/source/css/_widgets/_tags/inline-image.styl +0 -0
  210. package/source/css/_widgets/_tags/label.styl +0 -0
  211. package/source/css/_widgets/_tags/link.styl +4 -2
  212. package/source/css/_widgets/_tags/note.styl +0 -0
  213. package/source/css/_widgets/_tags/span.styl +0 -0
  214. package/source/css/_widgets/_tags/tabs.styl +0 -0
  215. package/source/css/_widgets/_tags/timeline.styl +0 -1
  216. package/source/css/_widgets/index.styl +4 -4
  217. package/source/css/index.styl +0 -0
  218. package/source/img/avatar.png +0 -0
  219. package/source/img/default.png +0 -0
  220. package/source/img/error_load.png +0 -0
  221. package/source/js/{extend/comment/twikoo/commentBarrage.js → comment/twikoo_commentBarrage.js} +0 -0
  222. package/source/js/{extend/comment/waline/commentBarrage.js → comment/waline_commentBarrage.js} +0 -0
  223. package/source/js/covercolor/api.js +95 -0
  224. package/source/js/covercolor/local.js +154 -0
  225. package/source/js/main.js +28 -235
  226. package/source/js/music.js +0 -0
  227. package/source/js/rightside.js +404 -0
  228. package/source/js/{extend/search/algolia-search.js → search/algolia.js} +10 -0
  229. package/source/js/{extend/search/local-search.js → search/local.js} +24 -2
  230. package/source/js/utils.js +75 -1
  231. package/layout/includes/head/fest.pug +0 -22
  232. package/layout/includes/page/echarts.pug +0 -7
  233. package/layout/includes/page/moments.pug +0 -4
  234. package/layout/includes/widgets/aside/asideHistory.pug +0 -8
  235. package/layout/includes/widgets/aside/asideWelcome.pug +0 -12
  236. package/layout/includes/widgets/page/moments/angle.pug +0 -19
  237. package/layout/includes/widgets/page/moments/index.pug +0 -23
  238. package/layout/includes/widgets/page/says/saysBottom.pug +0 -11
  239. package/layout/includes/widgets/page/says/saysContent.pug +0 -6
  240. package/layout/includes/widgets/page/says/saysFunction.pug +0 -10
  241. package/layout/includes/widgets/page/says/saysMeta.pug +0 -7
  242. package/layout/includes/widgets/third-party/ai/index.pug +0 -12
  243. package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
  244. package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
  245. package/scripts/helper/echarts.js +0 -407
  246. package/source/css/_widgets/_aside/history.styl +0 -42
  247. package/source/js/extend/comment/twikoo/twikoo.js +0 -67
  248. package/source/js/extend/comment/waline/waline.js +0 -60
  249. package/source/lib/bundle.min.js +0 -27
  250. package/source/lib/circle.min.js +0 -1
  251. package/source/lib/cover-color.min.js +0 -7
  252. package/source/lib/friends_post.js +0 -4
  253. package/source/lib/lazyload.min.js +0 -1
  254. package/source/lib/rightside.min.js +0 -1
  255. package/source/lib/snackbar.min.css +0 -1
  256. package/source/lib/snackbar.min.js +0 -9
  257. package/source/lib/txmap.min.js +0 -1
  258. package/source/lib/universe.min.js +0 -1
  259. package/source/lib/view-image.min.js +0 -6
  260. package/source/lib/waterfall.min.js +0 -1
  261. /package/source/{lib → js}/sco-ai.min.js +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/scripts/tags/u.js CHANGED
File without changes
File without changes
@@ -1,83 +1,83 @@
1
1
  maxWidth600()
2
- @media screen and (max-width: 600px)
3
- {block}
2
+ @media screen and (max-width: 600px)
3
+ {block}
4
4
 
5
5
  maxWidth768()
6
- @media screen and (max-width: 768px)
7
- {block}
6
+ @media screen and (max-width: 768px)
7
+ {block}
8
8
 
9
9
  minWidth768()
10
- @media screen and (min-width: 768px)
11
- {block}
10
+ @media screen and (min-width: 768px)
11
+ {block}
12
12
 
13
13
  maxWidth798()
14
- @media screen and (max-width: 798px)
15
- {block}
14
+ @media screen and (max-width: 798px)
15
+ {block}
16
16
 
17
17
  minWidth798()
18
- @media screen and (min-width: 798px)
19
- {block}
18
+ @media screen and (min-width: 798px)
19
+ {block}
20
20
 
21
21
  maxWidth899()
22
- @media screen and (max-width: 899px)
23
- {block}
22
+ @media screen and (max-width: 899px)
23
+ {block}
24
24
 
25
25
  minWidth899()
26
- @media screen and (min-width: 899px)
27
- {block}
26
+ @media screen and (min-width: 899px)
27
+ {block}
28
28
 
29
29
  maxWidth900()
30
- @media screen and (max-width: 900px)
31
- {block}
30
+ @media screen and (max-width: 900px)
31
+ {block}
32
32
 
33
33
  minWidth900()
34
- @media screen and (min-width: 900px)
35
- {block}
34
+ @media screen and (min-width: 900px)
35
+ {block}
36
36
 
37
37
  maxWidth1300()
38
- @media screen and (max-width: 1300px)
39
- {block}
38
+ @media screen and (max-width: 1300px)
39
+ {block}
40
40
 
41
41
  minWidth1300()
42
- @media screen and (min-width: 1300px)
43
- {block}
42
+ @media screen and (min-width: 1300px)
43
+ {block}
44
44
 
45
45
  maxWidth1400()
46
- @media screen and (max-width: 1400px)
47
- {block}
46
+ @media screen and (max-width: 1400px)
47
+ {block}
48
48
 
49
49
  minWidth1400()
50
- @media screen and (min-width: 1400px)
51
- {block}
50
+ @media screen and (min-width: 1400px)
51
+ {block}
52
52
 
53
53
  maxWidth1200()
54
- @media screen and (max-width: 1200px)
55
- {block}
54
+ @media screen and (max-width: 1200px)
55
+ {block}
56
56
 
57
57
  minWidth1200()
58
- @media screen and (min-width: 1200px)
59
- {block}
58
+ @media screen and (min-width: 1200px)
59
+ {block}
60
60
 
61
61
  maxWidth1024()
62
- @media screen and (max-width: 1024px)
63
- {block}
62
+ @media screen and (max-width: 1024px)
63
+ {block}
64
64
 
65
65
  maxWidth900()
66
- @media screen and (max-width: 900px)
67
- {block}
66
+ @media screen and (max-width: 900px)
67
+ {block}
68
68
 
69
69
  minWidth901()
70
- @media screen and (min-width: 901px)
71
- {block}
70
+ @media screen and (min-width: 901px)
71
+ {block}
72
72
 
73
73
  minWidth900()
74
- @media screen and (min-width: 900px)
75
- {block}
74
+ @media screen and (min-width: 900px)
75
+ {block}
76
76
 
77
77
  minWidth2000()
78
- @media screen and (min-width: 2000px)
79
- {block}
78
+ @media screen and (min-width: 2000px)
79
+ {block}
80
80
 
81
81
  maxHeight800()
82
- @media screen and (max-height: 800px)
83
- {block}
82
+ @media screen and (max-height: 800px)
83
+ {block}
@@ -9,7 +9,7 @@
9
9
  --sco-cyan #00bcd4
10
10
  --sco-cyan-op #00bcd42b
11
11
  --sco-vip #e5a80d
12
- --sco-life #57bd6a
12
+ --sco-speed #57bd6a
13
13
  --sco-main var(--sco-theme)
14
14
  --sco-main-op var(--sco-theme-op)
15
15
  --sco-main-op-deep var(--sco-theme-op-deep)
File without changes
@@ -24,8 +24,8 @@ body
24
24
  margin 0
25
25
 
26
26
  ::selection
27
- background var(--sco-fontcolor)
28
- color var(--sco-background)
27
+ background var(--sco-main)
28
+ color var(--sco-white)
29
29
 
30
30
  i.scoicon
31
31
  font-size 22px
@@ -59,6 +59,9 @@ a
59
59
  overflow-wrap break-word
60
60
  -webkit-user-drag none
61
61
 
62
+ &:hover
63
+ color var(--sco-lighttext)
64
+
62
65
  abbr[title]
63
66
  border-bottom none
64
67
  text-decoration underline dotted
@@ -95,7 +98,7 @@ button, input
95
98
  overflow visible
96
99
 
97
100
  input::placeholder
98
- color var(--sco-gray) !important
101
+ color var(--sco-gray)
99
102
 
100
103
  button, select
101
104
  text-transform none
@@ -179,10 +182,6 @@ table td, table th
179
182
  border 1px solid var(--light-grey)
180
183
  vertical-align middle
181
184
 
182
- ::selection
183
- background #0079ff
184
- color #f7f7f7
185
-
186
185
  button
187
186
  padding 0
188
187
  outline 0
@@ -192,9 +191,11 @@ button
192
191
  cursor pointer
193
192
 
194
193
  img
195
- max-width 100%
196
- transition all .2s ease 0s;
197
194
  border-style none
195
+ border-radius 8px
196
+ max-width 100%
197
+ transition all .2s ease 0s
198
+ -webkit-user-drag none
198
199
 
199
200
  img:not([src]), img[src=""]
200
201
  opacity 0
@@ -205,9 +206,6 @@ img:not([src]), img[src=""]
205
206
  margin-top 8px
206
207
  color var(--sco-secondtext)
207
208
 
208
- .img-alt:hover
209
- text-decoration none !important
210
-
211
209
  .is-center
212
210
  text-align center
213
211
  display flex
@@ -332,7 +332,7 @@
332
332
  transition .3s
333
333
  display flex
334
334
  height 35px
335
- min-width 70px
335
+ min-width 50px
336
336
  justify-content center
337
337
  align-items center
338
338
  border-radius 40px
@@ -375,7 +375,12 @@
375
375
  transition all .3s, color 0s, opacity .3s
376
376
 
377
377
  if hexo-config('site.name.class') == text
378
- span
378
+ span.title
379
+ letter-spacing normal
380
+ font-size 1rem
381
+ font-weight 700
382
+ padding 0 5px
383
+ line-height 2rem
379
384
  +maxWidth768()
380
385
  padding-left 8px
381
386
 
@@ -19,21 +19,22 @@
19
19
  width calc(100% - 300px)
20
20
 
21
21
  +maxWidth1200()
22
- width 100% !important
22
+ width 100%
23
23
 
24
24
  > div:first-child:not(.recent-posts)
25
25
  box-shadow var(--sco-shadow-border)
26
26
  padding 1rem 2rem
27
27
  border-radius 12px
28
- width calc(100% - 300px)
29
- background var(--sco-card-bg);
30
- border var(--style-border);
28
+ background var(--sco-card-bg)
29
+ border var(--style-border)
31
30
  align-self flex-start
32
31
  animation slide-in .6s .1s backwards
33
32
  position relative
34
33
  overflow hidden
35
34
 
36
35
  +maxWidth768()
36
+ box-shadow none
37
+ border none
37
38
  padding 0 1rem
38
39
  background var(--sco-background)
39
40
 
@@ -41,6 +42,7 @@ span.tags-punctuation::before
41
42
  content: "\e071"
42
43
  font-family: scoicon, serif !important
43
44
  font-size: 12px
45
+ transition none
44
46
  margin-right: 2px
45
47
  opacity: .4
46
48
 
@@ -49,4 +51,56 @@ span.tags-punctuation::before
49
51
 
50
52
  #post-info &
51
53
  font-size 14px
52
- line-height 32px
54
+ line-height 32px
55
+
56
+ // snackbar
57
+ .snackbar-container
58
+ background var(--sco-lighttext)!important
59
+ color var(--sco-card-bg)!important
60
+ border-radius 0!important
61
+ display flex
62
+ justify-content center!important
63
+ max-width none!important
64
+ min-width 100%!important
65
+ margin 0!important
66
+ left 0!important
67
+ height 60px!important
68
+ transform none!important
69
+
70
+ .snackbar-container p
71
+ color var(--sco-card-bg)!important
72
+ font-weight 700!important
73
+ text-align center!important
74
+ font-size .8rem!important
75
+ display flex!important
76
+ justify-content center!important
77
+
78
+ .snackbar-container .action
79
+ color var(--sco-card-bg)!important
80
+ background var(--sco-lighttext)!important
81
+ padding 4px 6px!important
82
+ font-weight 700
83
+ border-radius 8px!important
84
+ transition .3s
85
+ border var(--style-border)!important
86
+ .snackbar-container .action:hover
87
+ color var(--sco-lighttext)!important
88
+ background var(--sco-card-bg)!important
89
+
90
+ .snackbar-container::after
91
+ position absolute
92
+ width 0
93
+ height 100%
94
+ left 0
95
+ top 0
96
+ background var(--sco-white)
97
+ opacity .1
98
+ content ""
99
+ animation snackbar-progress var(--sco-snackbar-time) linear forwards
100
+ pointer-events none
101
+
102
+ @keyframes snackbar-progress
103
+ from
104
+ width 0
105
+ to
106
+ width 100%
@@ -42,20 +42,6 @@
42
42
  --sco-hl-bg $hl_bg_dark
43
43
  --sco-hltools-bg $hltools_bg_dark
44
44
 
45
- #universe
46
- display block
47
- position fixed
48
- margin 0
49
- padding 0
50
- border 0
51
- outline 0
52
- left 0
53
- top 0
54
- width 100%
55
- height 100%
56
- pointer-events none
57
- z-index 1
58
-
59
45
  [data-theme=light]
60
46
  --sco-theme $light_theme
61
47
  --sco-theme-op $light_theme_op
@@ -100,6 +86,4 @@
100
86
  --style-border-forever 2px solid var(--sco-main)
101
87
  --sco-navbg var(--sco-theme-op)
102
88
  --sco-hl-bg $hl_bg_light
103
- --sco-hltools-bg $hltools_bg_light
104
- #universe
105
- display none
89
+ --sco-hltools-bg $hltools_bg_light
File without changes
@@ -337,55 +337,32 @@ div#banners
337
337
  display flex
338
338
  flex-direction row
339
339
  flex-wrap wrap
340
- height calc(328px + .5rem)
340
+ justify-content space-between
341
+ height calc(328px + 0.5rem)
341
342
  align-content space-between
342
343
  width calc(50% - 0.25rem)
343
344
  position relative
344
345
  animation slide-in .6s .1s backwards
345
- overflow-x visible
346
- gap 0.5rem
347
346
 
348
347
  .recent-post-item
349
348
  display flex
350
- width 200px
351
349
  flex-direction column
350
+ width calc(100% / 3 - 0.25rem)
352
351
  align-items flex-start
353
- margin-left .5rem
354
352
  background var(--sco-card-bg)
355
353
  border-radius 12px
356
354
  overflow hidden
357
- min-width 200px
358
355
  height 164px
359
356
  max-height 164px
360
357
  border var(--style-border-always)
361
358
  transition .3s
362
359
  position relative
363
360
  box-shadow var(--sco-shadow-border)
364
- +minWidth1300()
365
- width calc(100% / 3 - 0.35rem)
366
- margin-left 0
367
361
 
368
- +minWidth1200()
369
- display flex
370
- width calc(100% / 3 - 0.35rem)
371
- flex-direction column
372
- align-items flex-start
373
- margin-left 0
374
- background var(--sco-card-bg)
375
- border-radius 12px
376
- overflow hidden
362
+ +maxWidth1200()
363
+ width 200px
377
364
  min-width 200px
378
- height 164px
379
- max-height 164px
380
- border var(--style-border-always)
381
- transition .3s
382
- position relative
383
- box-shadow var(--sco-shadow-border)
384
-
385
- +maxWidth768()
386
- border-radius 8px
387
- box-shadow none
388
- clip-path inset(0 0 0 0 round 8px)
365
+ margin-left .5rem
389
366
 
390
367
  &:last-child
391
368
  margin-right 1rem
@@ -395,7 +372,6 @@ div#banners
395
372
 
396
373
  .post_cover
397
374
  width 100%
398
- -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
399
375
 
400
376
  a
401
377
  height 100px
@@ -421,7 +397,7 @@ div#banners
421
397
  transition .3s
422
398
  cursor pointer
423
399
 
424
- .recent-post-info
400
+ /.recent-post-info
425
401
  padding .3rem .5rem .3rem .5rem
426
402
  transition .3s
427
403
 
@@ -438,6 +414,9 @@ div#banners
438
414
  font-size .8rem
439
415
  padding 0
440
416
 
417
+ &:hover
418
+ color var(--sco-fontcolor)
419
+
441
420
 
442
421
  .todayCard
443
422
  display none
File without changes
@@ -31,6 +31,9 @@
31
31
  i
32
32
  +maxWidth768()
33
33
  display none
34
+ .space
35
+ +maxWidth768()
36
+ display none
34
37
 
35
38
  .page-number
36
39
  display inline-block
@@ -56,10 +56,11 @@
56
56
  color var(--sco-theme)
57
57
 
58
58
  .post_cover
59
+ position relative
59
60
  transition 1s
60
61
  width 100%
61
- overflow: hidden
62
- height: 100%
62
+ overflow hidden
63
+ height 100%
63
64
 
64
65
  +minWidth1300()
65
66
  height 225px
@@ -102,6 +103,12 @@
102
103
  display inline-block
103
104
  overflow hidden
104
105
 
106
+ span.tags-punctuation
107
+ transition .3s
108
+
109
+ &:hover
110
+ color var(--sco-main)
111
+
105
112
  .recent-post-info-top
106
113
  position relative
107
114
  transition .3s
@@ -154,7 +161,7 @@
154
161
  &:visited
155
162
  color var(--sco-card-bg)
156
163
 
157
- > .article-meta-wrap
164
+ /.article-meta-wrap
158
165
  position absolute
159
166
  bottom 16px
160
167
  transition .3s
File without changes
File without changes
@@ -65,6 +65,10 @@
65
65
  position relative
66
66
  background var(--sco-secondbg)
67
67
  user-select none
68
+ transition .3s
69
+
70
+ &:hover
71
+ transform scale(1.1)
68
72
 
69
73
  +maxWidth768()
70
74
  width 120px
@@ -467,6 +471,10 @@
467
471
  top 0
468
472
  left 0
469
473
 
474
+ .author-content-item
475
+ .card-content
476
+ z-index 2
477
+
470
478
  .about-statistic
471
479
  min-height 380px
472
480
  width 39%
@@ -534,6 +542,7 @@
534
542
  .author-content-item
535
543
  +minWidth1300()
536
544
  animation slide-in .6s 0s backwards
545
+
537
546
  &.map
538
547
  background var(--site-about-oneself-map--light) no-repeat center
539
548
  min-height 160px
File without changes
@@ -14,7 +14,6 @@
14
14
  background var(--sco-card-bg)
15
15
  transition .3s
16
16
  animation slide-in 0.6s 0.3s backwards
17
- border-bottom: none !important
18
17
  border var(--style-border)
19
18
  margin 8px 0
20
19
  height 160px
File without changes
File without changes
File without changes
@@ -21,7 +21,7 @@ if hexo-config('says.enable')
21
21
 
22
22
  @import "links.styl"
23
23
 
24
- if hexo-config('about.enable')
24
+ if hexo-config('about')
25
25
  @import "about.styl"
26
26
  @import "about/index.styl"
27
27
 
@@ -84,7 +84,6 @@ if hexo-config('music.enable')
84
84
  height 100%
85
85
  top 0
86
86
  left 0
87
- z-index 2
88
87
  display flex
89
88
  flex-direction column
90
89
  padding 1rem 2rem
@@ -156,8 +155,8 @@ if hexo-config('music.enable')
156
155
  font-weight 700
157
156
  padding 0 4px
158
157
  border-radius 4px 4px 0 0
158
+
159
159
  &:hover
160
160
  color var(--sco-white)
161
- border-width 0
162
161
  border-radius 4px
163
162
  background var(--sco-main)