hexo-theme-solitude 1.2.6 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) 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 +502 -297
  5. package/languages/en-US.yml +105 -8
  6. package/languages/zh-CN.yml +98 -1
  7. package/layout/archive.pug +4 -5
  8. package/layout/category.pug +4 -5
  9. package/layout/includes/body/mode.pug +40 -0
  10. package/layout/includes/console.pug +15 -16
  11. package/layout/includes/footer.pug +26 -28
  12. package/layout/includes/head/config.pug +27 -8
  13. package/layout/includes/head/fest.pug +22 -0
  14. package/layout/includes/head/opengraph.pug +11 -0
  15. package/layout/includes/head.pug +1 -3
  16. package/layout/includes/header.pug +1 -1
  17. package/layout/includes/inject/body.pug +36 -13
  18. package/layout/includes/inject/head.pug +30 -20
  19. package/layout/includes/layout.pug +12 -8
  20. package/layout/includes/loading.pug +1 -64
  21. package/layout/includes/mixins/articleSort.pug +4 -4
  22. package/layout/includes/mixins/pagination.pug +1 -1
  23. package/layout/includes/nav.pug +10 -10
  24. package/layout/includes/page/about.pug +1 -0
  25. package/layout/includes/page/categories.pug +3 -3
  26. package/layout/includes/page/default.pug +1 -1
  27. package/layout/includes/page/echarts.pug +3 -3
  28. package/layout/includes/page/equipment.pug +0 -1
  29. package/layout/includes/page/links.pug +5 -26
  30. package/layout/includes/page/moments.pug +0 -1
  31. package/layout/includes/page/music.pug +19 -0
  32. package/layout/includes/page/not_configured.pug +18 -0
  33. package/layout/includes/page/rss.pug +20 -22
  34. package/layout/includes/page/says.pug +1 -2
  35. package/layout/includes/page/tags.pug +3 -3
  36. package/layout/includes/page/tlink.pug +0 -1
  37. package/layout/includes/sidebar.pug +7 -7
  38. package/layout/includes/widgets/aside/aside.pug +13 -1
  39. package/layout/includes/widgets/aside/asideArchive.pug +5 -3
  40. package/layout/includes/widgets/aside/asideCustom.pug +6 -0
  41. package/layout/includes/widgets/aside/asideHistory.pug +3 -3
  42. package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
  43. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  44. package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
  45. package/layout/includes/widgets/aside/asideTag.pug +2 -2
  46. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  47. package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
  48. package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
  49. package/layout/includes/widgets/home/banner.pug +2 -2
  50. package/layout/includes/widgets/home/bbTimeList.pug +3 -3
  51. package/layout/includes/widgets/home/categoryBar.pug +3 -3
  52. package/layout/includes/widgets/home/categoryGroup.pug +2 -2
  53. package/layout/includes/widgets/home/hometop.pug +7 -7
  54. package/layout/includes/widgets/home/postList.pug +12 -8
  55. package/layout/includes/widgets/home/topGroup.pug +17 -13
  56. package/layout/includes/widgets/nav/left.pug +6 -6
  57. package/layout/includes/widgets/nav/menu.pug +4 -4
  58. package/layout/includes/widgets/nav/right.pug +14 -14
  59. package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
  60. package/layout/includes/widgets/page/about/award.pug +11 -9
  61. package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
  62. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  63. package/layout/includes/widgets/page/about/motto.pug +2 -2
  64. package/layout/includes/widgets/page/about/other.pug +10 -9
  65. package/layout/includes/widgets/page/about/personalities.pug +2 -2
  66. package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
  67. package/layout/includes/widgets/page/about/tenyear.pug +48 -0
  68. package/layout/includes/widgets/page/banner.pug +2 -2
  69. package/layout/includes/widgets/page/links/banner.pug +12 -14
  70. package/layout/includes/widgets/page/links/linksItem.pug +0 -1
  71. package/layout/includes/widgets/page/moments/angle.pug +7 -12
  72. package/layout/includes/widgets/page/moments/index.pug +7 -2
  73. package/layout/includes/widgets/post/award.pug +12 -8
  74. package/layout/includes/widgets/post/copyright.pug +16 -14
  75. package/layout/includes/widgets/post/postMeta.pug +36 -25
  76. package/layout/includes/widgets/post/postNav.pug +15 -15
  77. package/layout/includes/widgets/randomlink.pug +10 -5
  78. package/layout/includes/widgets/rightside/index.pug +9 -8
  79. package/layout/includes/widgets/third-party/ai/index.pug +12 -0
  80. package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
  81. package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
  82. package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
  83. package/layout/includes/widgets/third-party/music.pug +1 -1
  84. package/layout/includes/widgets/third-party/pjax.pug +6 -1
  85. package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
  86. package/layout/includes/widgets/third-party/search/index.pug +2 -2
  87. package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
  88. package/layout/index.pug +5 -6
  89. package/layout/page.pug +34 -29
  90. package/layout/post.pug +3 -23
  91. package/layout/tag.pug +3 -3
  92. package/package.json +2 -2
  93. package/scripts/filter/checkThemeConfig.js +0 -5
  94. package/scripts/helper/cdn.js +12 -0
  95. package/scripts/helper/page.js +13 -0
  96. package/scripts/helper/related_post.js +0 -1
  97. package/scripts/tags/button.js +21 -0
  98. package/scripts/tags/card.js +9 -0
  99. package/scripts/tags/checkbox.js +51 -0
  100. package/scripts/tags/fold.js +0 -5
  101. package/scripts/tags/image.js +75 -0
  102. package/scripts/tags/inline-image.js +12 -0
  103. package/scripts/tags/label.js +10 -0
  104. package/scripts/tags/link.js +2 -0
  105. package/scripts/tags/media.js +29 -0
  106. package/scripts/tags/span.js +17 -0
  107. package/scripts/tags/timeline.js +2 -15
  108. package/scripts/tags/u.js +7 -0
  109. package/source/css/_global/animation.css +57 -0
  110. package/source/css/_global/index.styl +5 -20
  111. package/source/css/_global/var.styl +16 -1
  112. package/source/css/_layout/{base.styl → basic.styl} +24 -116
  113. package/source/css/_layout/header.styl +204 -616
  114. package/source/css/_layout/index.styl +29 -271
  115. package/source/css/_mode/index.styl +102 -93
  116. package/source/css/_page/_home/category-bar.styl +74 -0
  117. package/source/css/_page/_home/home-top.styl +541 -0
  118. package/source/css/_page/_home/index.styl +15 -0
  119. package/source/css/_page/_home/pagination.styl +176 -0
  120. package/source/css/_page/_home/recent-post.styl +204 -0
  121. package/source/css/_page/about/index.styl +1 -0
  122. package/source/css/_page/about/tenyear.styl +56 -0
  123. package/source/css/_page/about.styl +555 -626
  124. package/source/css/_page/category.styl +95 -119
  125. package/source/css/_page/douban.styl +126 -0
  126. package/source/css/_page/equipment.styl +100 -99
  127. package/source/css/_page/error.styl +130 -146
  128. package/source/css/_page/home.styl +41 -50
  129. package/source/css/_page/index.styl +42 -10
  130. package/source/css/_page/links.styl +306 -0
  131. package/source/css/_page/moment.styl +51 -51
  132. package/source/css/_page/music.styl +506 -0
  133. package/source/css/_page/rss.styl +62 -67
  134. package/source/css/_page/says.styl +375 -344
  135. package/source/css/_page/tag.styl +15 -13
  136. package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
  137. package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
  138. package/source/css/_widgets/_aside/index.styl +96 -0
  139. package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
  140. package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
  141. package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
  142. package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
  143. package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
  144. package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
  145. package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
  146. package/source/css/_widgets/_extra/fullpage.styl +46 -0
  147. package/source/css/_widgets/_extra/music.styl +218 -0
  148. package/source/css/_widgets/_extra/pace.styl +39 -0
  149. package/source/css/_widgets/_extra/rightmenu.styl +78 -0
  150. package/source/css/_widgets/_mixins/article-sort.styl +93 -0
  151. package/source/css/_widgets/_mixins/footer.styl +273 -0
  152. package/source/css/_widgets/_mixins/other.styl +34 -0
  153. package/source/css/_widgets/_mixins/sidebar.styl +230 -0
  154. package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
  155. package/source/css/_widgets/_post/_highlight/index.styl +144 -0
  156. package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
  157. package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
  158. package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
  159. package/source/css/_widgets/_post/commentBarrage.styl +144 -0
  160. package/source/css/_widgets/_post/content.styl +152 -0
  161. package/source/css/_widgets/_post/copyright.styl +98 -0
  162. package/source/css/_widgets/_post/index.styl +20 -0
  163. package/source/css/_widgets/_post/meta.styl +420 -0
  164. package/source/css/_widgets/_post/pagination.styl +177 -0
  165. package/source/css/_widgets/_post/postAI.styl +131 -0
  166. package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
  167. package/source/css/_widgets/_post/tools.styl +249 -0
  168. package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
  169. package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
  170. package/source/css/_widgets/_tags/button.styl +60 -0
  171. package/source/css/_widgets/_tags/bvideo.styl +8 -0
  172. package/source/css/_widgets/_tags/card.styl +52 -0
  173. package/source/css/_widgets/_tags/checkbox.styl +85 -0
  174. package/source/css/_widgets/_tags/fold.styl +79 -0
  175. package/source/css/_widgets/_tags/image.styl +10 -0
  176. package/source/css/_widgets/_tags/index.styl +61 -0
  177. package/source/css/_widgets/_tags/inline-image.styl +6 -0
  178. package/source/css/_widgets/_tags/label.styl +3 -0
  179. package/source/css/_widgets/_tags/link.styl +80 -0
  180. package/source/css/_widgets/_tags/note.styl +101 -0
  181. package/source/css/_widgets/_tags/span.styl +61 -0
  182. package/source/css/_widgets/_tags/tabs.styl +105 -0
  183. package/source/css/_widgets/_tags/timeline.styl +80 -0
  184. package/source/css/_widgets/index.styl +50 -1
  185. package/source/css/index.styl +0 -25
  186. package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
  187. package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
  188. package/source/js/extend/comment/waline/commentBarrage.js +155 -0
  189. package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
  190. package/source/js/extend/search/algolia-search.js +1 -5
  191. package/source/js/extend/search/local-search.js +33 -13
  192. package/source/js/main.js +135 -171
  193. package/source/js/music.js +129 -0
  194. package/source/js/utils.js +4 -7
  195. package/source/lib/cover-color.min.js +7 -0
  196. package/source/lib/rightside.min.js +1 -0
  197. package/source/lib/sco-ai.min.js +8 -0
  198. package/source/lib/snackbar.min.css +1 -1
  199. package/source/lib/txmap.min.js +1 -0
  200. package/source/lib/universe.min.js +1 -0
  201. package/source/lib/view-image.min.js +1 -1
  202. package/layout/includes/widgets/aside/asidePower.pug +0 -19
  203. package/layout/includes/widgets/home/rencentPost.pug +0 -26
  204. package/source/css/_extra/rightmenu.styl +0 -83
  205. package/source/css/_layout/articleSort.styl +0 -199
  206. package/source/css/_layout/footer.styl +0 -359
  207. package/source/css/_layout/sidebar.styl +0 -226
  208. package/source/css/_page/homeTop.styl +0 -1035
  209. package/source/css/_page/link.styl +0 -433
  210. package/source/css/_post/commentBarrage.styl +0 -149
  211. package/source/css/_post/externalTags.styl +0 -694
  212. package/source/css/_post/highlight.styl +0 -96
  213. package/source/css/_post/index.styl +0 -935
  214. package/source/css/_post/pagination.styl +0 -467
  215. package/source/css/_post/postContent.styl +0 -957
  216. package/source/css/_post/reward.styl +0 -217
  217. package/source/css/_widgets/aside/index.styl +0 -156
  218. package/source/css/_widgets/aside/power.styl +0 -90
  219. package/source/img/logo-horizontal_version.png +0 -0
  220. package/source/img/pwa/16.png +0 -0
  221. package/source/img/pwa/180.png +0 -0
  222. package/source/img/pwa/192.png +0 -0
  223. package/source/img/pwa/32.png +0 -0
  224. package/source/img/pwa/512.png +0 -0
  225. package/source/img/pwa/logo.png +0 -0
  226. package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
  227. package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
  228. package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
  229. package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
  230. package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
  231. package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
  232. package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
  233. package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
  234. package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
  235. package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
  236. package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
  237. package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
  238. package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
  239. package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
  240. package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
  241. package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
  242. package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
  243. package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
  244. package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
  245. package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
  246. package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
  247. package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
  248. package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
  249. package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
  250. package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
  251. package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
  252. package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
  253. package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
  254. package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
  255. package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
  256. package/source/img/solitude-show.jpg +0 -0
  257. package/source/js/extend/covercolor/local.js +0 -160
  258. package/source/js/rightside.js +0 -402
  259. package/source/js/txmap.js +0 -236
  260. package/source/lib/chuckle-post-ai.js +0 -1
  261. /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
  262. /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
  263. /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -1,9 +1,15 @@
1
1
  #tag
2
+ +minWidth1300()
3
+ padding: 4rem 2rem 1rem 2rem
4
+
5
+ +maxWidth768()
6
+ padding 0 1rem
7
+
2
8
  #tag-page-tags
3
9
  display flex
4
10
  flex-direction row
5
11
  flex-wrap wrap
6
- margin 0 -0.25rem
12
+ margin 0
7
13
  margin-bottom 0.5rem
8
14
  position absolute
9
15
  z-index 1
@@ -17,6 +23,11 @@
17
23
  backdrop-filter saturate(180%) blur(20px)
18
24
  transition .1s ease-out
19
25
 
26
+ &:hover
27
+ max-height 1000px
28
+ transition .3s ease-out
29
+ background var(--sco-maskbgdeep)
30
+
20
31
  a
21
32
  padding .1rem .5rem
22
33
  margin .25rem .25rem
@@ -26,6 +37,8 @@
26
37
  border var(--style-border-always)
27
38
  display flex
28
39
  align-items center
40
+ background var(--sco-card-bg)
41
+ transition all .3s ease-out 0s
29
42
 
30
43
  &.select
31
44
  order -1
@@ -42,15 +55,4 @@
42
55
  background var(--sco-card-bg)
43
56
  color var(--sco-lighttext)
44
57
  +maxWidth768()
45
- display none
46
- span.tags-punctuation
47
- margin-right 2px
48
- font-size .7rem
49
- font-weight 700
50
- display flex;
51
- align-items center
52
- transition .3s
53
-
54
- +minWidth1300()
55
- #tag
56
- padding: 4rem 2rem 1rem 2rem
58
+ display none
@@ -31,6 +31,10 @@ faceback = hexo-config('aside.flip.backface')
31
31
  opacity 0
32
32
  transition .3s ease-out
33
33
 
34
+ &:hover
35
+ #flip-content
36
+ transform rotateY(180deg)
37
+
34
38
  #flip-wrapper
35
39
  perspective 1000
36
40
  position relative
@@ -38,9 +42,6 @@ faceback = hexo-config('aside.flip.backface')
38
42
  height 110px
39
43
  z-index 1
40
44
 
41
- #flip-wrapper:hover #flip-content
42
- transform rotateY(180deg)
43
-
44
45
  #flip-wrapper #flip-content
45
46
  width 100%
46
47
  height 100%
@@ -64,5 +65,6 @@ faceback = hexo-config('aside.flip.backface')
64
65
  background url(faceback) center center no-repeat
65
66
  background-size 100%
66
67
 
67
- [data-theme='dark'] #aside-content .card-widget.card-platform
68
- background var(--sco-card-bg)
68
+ if !hexo-config('aside.flip.darkcolor')
69
+ [data-theme='dark'] #aside-content .card-widget.card-platform
70
+ background var(--sco-card-bg)
@@ -9,8 +9,15 @@
9
9
  flex-direction column
10
10
  align-items flex-start
11
11
 
12
- #history-baidu > .blog-slider__pagination
13
- display none
12
+ #history-baidu
13
+ height 100px
14
+ overflow hidden
15
+ > .blog-slider__pagination
16
+ display none
17
+
18
+ .history_swiper-containe
19
+ .swiper-wrapper
20
+ height 20px
14
21
 
15
22
  .history_slide_time
16
23
  color var(--sco-secondtext)
@@ -0,0 +1,96 @@
1
+ #aside-content
2
+ width 300px
3
+
4
+ > .card-widget:first-child
5
+ transition: .3s
6
+ border: none
7
+ box-shadow: none
8
+ background: var(--sco-main)
9
+ margin-top: 0
10
+
11
+ +minWidth900()
12
+ padding-left 15px
13
+
14
+ +maxWidth1200()
15
+ display none
16
+
17
+ +minWidth1300()
18
+ padding-left 1rem
19
+ animation slide-in .6s .3s backwards
20
+
21
+ .card-widget.card-power, .card-widget.card-history, .card-widget.card-welcome
22
+ padding: .4rem .6rem !important
23
+
24
+ .item-headline
25
+ padding-bottom
26
+ margin-left 8px
27
+ font-size 1em
28
+ font-weight 700
29
+ display flex
30
+ align-items center
31
+
32
+ i
33
+ font-size 16px
34
+ max-width 20px
35
+
36
+ span
37
+ margin-left 4px
38
+
39
+ + div, + ul
40
+ padding 0
41
+ -webkit-user-select none
42
+
43
+ .card-widget
44
+ box-shadow var(--sco-shadow-border)
45
+ background var(--sco-card-bg)
46
+ border var(--style-border)
47
+ transition 0.3s
48
+ border-radius 12px
49
+ position relative
50
+ overflow hidden
51
+ margin-top 1rem
52
+ padding 1rem 1.2rem
53
+
54
+ &:hover
55
+ box-shadow var(--sco-shadow-border)
56
+
57
+ > .card-widget
58
+ &:first-child
59
+ transition 0.3s
60
+ border none
61
+ margin-top 0
62
+
63
+ .sticky_layout
64
+ top calc(60px + 1rem)
65
+ position sticky
66
+ transition: top .3s ease 0s
67
+
68
+ +minWidth900()
69
+ html.hide-aside .layout
70
+ -webkit-box-pack: center
71
+ justify-content: center
72
+ >div:first-child
73
+ width 100%
74
+
75
+ html.hide-aside .layout > .aside-content
76
+ display: none
77
+
78
+ @import "toc.styl"
79
+
80
+ if "about" in aside
81
+ @import "info.styl"
82
+
83
+ if "allInfo" in aside
84
+ @import "allinfo.styl"
85
+
86
+ if "wlcome" in aside
87
+ @import "welcome.styl"
88
+
89
+ if "history" in aside
90
+ @import "history.styl"
91
+
92
+ if "newestPost" in aside
93
+ @import "newPost.styl"
94
+
95
+ if "flip" in aside
96
+ @import "flip.styl"
@@ -2,11 +2,11 @@
2
2
  .card-widget
3
3
  &:hover
4
4
  .avatar-sticker
5
- opacity: 0
6
- transform: scale(0)
5
+ opacity 0
6
+ transform scale(0)
7
7
 
8
8
  &.card-recent-post
9
- padding: .4rem .6rem !important
9
+ padding .4rem .6rem !important
10
10
 
11
11
  &.card-info
12
12
  padding 0 !important
@@ -43,13 +43,13 @@
43
43
  box-shadow var(--sco-shadow-yellow)
44
44
 
45
45
  &:hover img
46
- transform: scale(1.03)
46
+ transform scale(1.03)
47
47
 
48
48
  .card-info
49
49
  .avatar-sticker
50
50
  position absolute
51
- bottom 2px
52
- right 2px
51
+ bottom -2px
52
+ right -2px
53
53
  width 33px
54
54
  height 33px
55
55
  line-height 34px
@@ -59,14 +59,14 @@
59
59
  justify-content center
60
60
  transition .3s .2s
61
61
  transform scale(1)
62
- background var(--sco-white)
62
+ background var(--sco-card-bg)
63
63
  border-radius 50%
64
64
 
65
- svg
65
+ img
66
66
  width 26px
67
67
  height 26px
68
68
 
69
- ../:hover .avatar-sticker
69
+ ../ :hover .avatar-sticker
70
70
  opacity 0
71
71
  transform scale(0)
72
72
 
@@ -74,11 +74,7 @@
74
74
  font-size 12px
75
75
  color var(--sco-card-bg)
76
76
  opacity .6
77
- line-height 1.5
78
- -webkit-line-clamp 2
79
- display -webkit-box
80
- overflow hidden
81
- -webkit-box-orient vertical
77
+ line-height 1
82
78
 
83
79
  #author-info__sayhi
84
80
  text-align center
@@ -94,9 +90,16 @@
94
90
  margin auto
95
91
  min-width 100px
96
92
 
93
+ / [data-theme=dark] &
94
+ background #00000015
95
+ color var(--sco-black)
96
+
97
+ &:hover
98
+ color var(--sco-white)
99
+
97
100
  &:hover
98
101
  background var(--sco-card-bg)
99
- color var(--sco-fontcolor) !important
102
+ color var(--sco-main)
100
103
  transform scale(1.1)
101
104
 
102
105
  .card-info-avatar.is-center
@@ -105,19 +108,19 @@
105
108
  align-items flex-start
106
109
 
107
110
  .avatar-img-group
108
- width: 118px
109
- height: 118px
110
- right: calc(50% - 59px)
111
- top: 90px
112
- border-radius: 500px
113
- position: absolute
114
- transition: cubic-bezier(.69, .39, 0, 1.21) .3s
115
- transform-origin: bottom
116
- border: 5px solid var(--sco-card-bg)
117
-
118
- ../:hover .avatar-img-group
119
- opacity: 0
120
- transform: scale(0)
111
+ width 118px
112
+ height 118px
113
+ right calc(50% - 59px)
114
+ top 90px
115
+ border-radius 500px
116
+ position absolute
117
+ transition cubic-bezier(.69, .39, 0, 1.21) .3s
118
+ transform-origin bottom
119
+ border 5px solid var(--sco-card-bg)
120
+
121
+ ../ :hover .avatar-img-group
122
+ opacity 0
123
+ transform scale(0)
121
124
 
122
125
  .author-info__name
123
126
  text-align left
@@ -133,46 +136,46 @@
133
136
  width 100%
134
137
 
135
138
  .author-info__description_group
136
- position: absolute
137
- top: 50px
138
- width: 100%
139
- left: 0
140
- padding: 1.2rem
141
- opacity: 0
142
- transition: .3s
139
+ position absolute
140
+ top 50px
141
+ width 100%
142
+ left 0
143
+ padding 1.2rem
144
+ opacity 0
145
+ transition .3s
143
146
 
144
- ../:hover .author-info__description_group
145
- opacity: 1
147
+ ../ :hover .author-info__description_group
148
+ opacity 1
146
149
 
147
150
  .author-info__description
148
- line-height: 1.38
149
- margin: .3rem 0
150
- text-align: justify
151
- color: rgba(255, 255, 255, .8)
151
+ line-height 1.38
152
+ margin .3rem 0
153
+ text-align justify
154
+ color var(--sco-card-bg)
152
155
 
153
156
  b
154
- color: var(--sco-white)
157
+ color var(--sco-card-bg)
155
158
 
156
159
  .author-info__description2
157
- line-height: 1.38
158
- margin: .3rem 0
159
- text-align: justify
160
- width: 100%
161
- z-index: 2
162
- color: rgba(255, 255, 255, .8)
160
+ line-height 1.38
161
+ margin .3rem 0
162
+ text-align justify
163
+ width 100%
164
+ z-index 2
165
+ color var(--sco-card-bg)
163
166
 
164
167
  b
165
- color: var(--sco-white)
168
+ color var(--sco-card-bg)
166
169
 
167
170
  .author-info__bottom-group
168
- display: flex
169
- justify-content: space-between
170
- position: absolute
171
- padding: 1.2rem
172
- width: 100%
173
- left: 0
174
- bottom: 0
175
- align-items: center
171
+ display flex
172
+ justify-content space-between
173
+ position absolute
174
+ padding 1.2rem
175
+ width 100%
176
+ left 0
177
+ bottom 0
178
+ align-items center
176
179
 
177
180
  .card-info-data
178
181
  display table
@@ -181,11 +184,11 @@
181
184
  table-layout fixed
182
185
 
183
186
  > div:nth-child(0) > a > div.headline
184
- font-weight: 700
187
+ font-weight 700
185
188
 
186
189
  > .card-info-data-item
187
190
  display table-cell
188
- transition: .3s
191
+ transition .3s
189
192
 
190
193
  a
191
194
  .headline
@@ -202,15 +205,16 @@
202
205
  border-radius 5px
203
206
 
204
207
  .card-info-social-icons
205
- margin .3rem 0 -.3rem
206
- display: flex
207
- justify-content: flex-start
208
- flex-direction: row
209
- flex-wrap: nowrap
210
- cursor: pointer
208
+ margin 0
209
+ display flex
210
+ justify-content flex-start
211
+ flex-direction row
212
+ flex-wrap nowrap
213
+ cursor pointer
211
214
 
212
215
  .social-icon
213
- margin 0 .5rem
216
+ margin 0
217
+ margin-left 8px
214
218
  color var(--sco-fontcolor)
215
219
  font-size 1.4em
216
220
  cursor pointer
@@ -220,19 +224,14 @@
220
224
  transition all .3s ease 0s
221
225
  padding 8px
222
226
  border-radius 32px
223
- cursor: pointer
224
- background: var(--sco-white-op)
225
- color: var(--sco-white)
226
- font-size: 1rem
227
- width: 40px
228
- height: 40px
229
- display: flex
230
- align-items: center
231
- justify-content: center
232
-
233
- +minWidth1300()
234
- color var(--sco-white)
235
- background var(--sco-black-op)
227
+ cursor pointer
228
+ background var(--sco-white-op)
229
+ color var(--sco-card-bg)
230
+ width 40px
231
+ height 40px
232
+ display flex
233
+ align-items center
234
+ justify-content center
236
235
 
237
236
  &:hover
238
237
  background var(--sco-white)
@@ -240,6 +239,13 @@
240
239
  color var(--sco-main)
241
240
  box-shadow none
242
241
 
242
+ / [data-theme=dark] &
243
+ background var(--sco-black-op)
244
+
245
+ &:hover
246
+ background-color var(--sco-black)
247
+ color var(--sco-white)
248
+
243
249
  img.avatar-img
244
250
  width 118px
245
251
  right 0
@@ -251,13 +257,4 @@
251
257
 
252
258
  [data-theme=dark] #aside-content
253
259
  > .card-widget.card-info
254
- border: var(--style-border-always)
255
-
256
- .card-info
257
- .card-info-social-icons
258
- i
259
- color: var(--sco-card-bg)
260
-
261
- &:hover
262
- background var(--sco-card-bg)
263
- color var(--sco-fontcolor)
260
+ border var(--style-border-always)
@@ -52,4 +52,10 @@
52
52
  font-size 95%
53
53
  line-height 1.3
54
54
  -webkit-line-clamp 2
55
- overflow hidden
55
+ overflow hidden
56
+
57
+ .article-recent_post_categories
58
+ font-size 12px
59
+ font-weight 700
60
+ opacity .6
61
+ line-height 1
@@ -1,6 +1,6 @@
1
1
  #aside-content
2
2
  .card-toc
3
- padding .5rem .5rem !important
3
+ padding .5rem .5rem
4
4
 
5
5
  &:hover
6
6
  box-shadow var(--sco-shadow-border)
@@ -28,22 +28,44 @@
28
28
 
29
29
  #card-toc
30
30
  +minWidth901()
31
- right 0 !important
31
+ right 0
32
32
 
33
33
  .toc-content
34
34
  overflow-y: auto
35
35
  max-height: calc(100vh - 300px)
36
+
37
+ * > .toc-item > .toc-child
38
+ margin-left 10px
39
+ transition display .3s ease-in-out 0s
40
+ padding-left 10px
41
+
36
42
  ol
37
43
  margin 0
38
- padding 0
44
+ padding-left .4rem
39
45
 
40
46
  &ul
41
47
  list-style: none
42
48
 
49
+ > ol
50
+ padding-left 0
51
+
52
+ .toc-child
53
+ display none
54
+
55
+ .toc-child .toc-child
56
+ display none
57
+
58
+ &.active
59
+ display block
60
+
61
+ .toc-item.active > .toc-child
62
+ display block
63
+
43
64
  &:hover
44
65
  .toc-content
45
66
  .toc-link:not(.active) span
46
- filter: blur(0)
67
+ if hexo-config('aside.toc.vague')
68
+ filter: blur(0)
47
69
  opacity: 1
48
70
 
49
71
  .toc-item.active .toc-link
@@ -73,7 +95,8 @@
73
95
  &:not(.active) span
74
96
  opacity .6
75
97
  cursor pointer
76
- filter blur(1px)
98
+ if hexo-config('aside.toc.vague')
99
+ filter blur(1px)
77
100
  transition .3s
78
101
 
79
102
  &:hover
@@ -73,23 +73,15 @@ div#post-comment
73
73
  color var(--sco-main)
74
74
 
75
75
  .comment-tips
76
- background-color rgba(103, 194, 58, .9)
76
+ background-color rgba(103, 194, 58, 0.13)
77
77
  border var(--style-border-always)
78
78
  border-color var(--sco-green)
79
- color var(--sco-white)
80
- border-radius 8px 8px 0 0
79
+ color var(--sco-green)
80
+ border-radius 8px
81
81
  padding 8px 12px
82
- margin-top .5rem
82
+ margin-top 0.5rem
83
83
  display none
84
84
  width 100%
85
- position absolute
86
- top 50px
87
- z-index 1000
88
- opacity 1
89
- transition .3s
90
-
91
- &:hover
92
- opacity 0
93
85
 
94
86
  &.show
95
87
  display flex
@@ -285,6 +285,7 @@
285
285
  .tk-meta-input
286
286
  .el-input
287
287
  .el-input-group__prepend
288
+ border-radius 12px 0 0 12px
288
289
  -webkit-user-select none
289
290
 
290
291
  @media screen and (max-width: 768px)
@@ -317,11 +318,12 @@ img.tk-avatar-img
317
318
  .el-input--small
318
319
  .el-input__inner
319
320
  padding 8px
321
+ .el-input__inner, .el-textarea__inner
322
+ border-radius 12px
320
323
 
321
324
  .el-input.el-input--small.el-input-group.el-input-group--prepend
322
325
  border-radius 12px
323
326
  background var(--sco-secondbg)
324
- border var(--style-border-always)
325
327
 
326
328
  .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(1):before
327
329
  content '输入QQ号会自动获取昵称和头像'
@@ -374,13 +376,14 @@ img.tk-avatar-img
374
376
  border 1px solid var(--sco-card-border) !important
375
377
  color var(--sco-fontcolor) !important
376
378
  padding-left 8px
379
+ border-radius 12px
377
380
 
378
381
  .page
379
382
  .el-input__inner
380
383
  background var(--sco-card-bg) !important
381
384
 
382
385
  .el-input__inner:focus
383
- border 1px solid var(--sco-main) !important
386
+ border none
384
387
 
385
388
  .el-textarea__inner
386
389
  background var(--sco-secondbg) !important
@@ -9,6 +9,16 @@
9
9
  .wl-panel
10
10
  margin 0 !important
11
11
 
12
+ .wl-avatar
13
+ margin-right 1rem
14
+
15
+ a
16
+ img
17
+ flex-shrink 0
18
+ overflow hidden
19
+ text-align center
20
+ border-radius 65px
21
+
12
22
  .wl-footer
13
23
  .wl-info
14
24
  button
@@ -39,7 +49,8 @@
39
49
  font-weight normal
40
50
 
41
51
  .wl-cards
42
- font-size 16px!important
52
+ font-size 16px !important
53
+
43
54
  .wl-comment-actions
44
55
  button
45
56
  margin-right 15px
@@ -47,12 +58,13 @@
47
58
 
48
59
  &:hover
49
60
  color var(--sco-main)
61
+
50
62
  .wl-head .wl-nick
51
63
  font-size 20px !important
52
64
  color var(--sco-lighttext)
53
65
  font-weight bolder
54
66
 
55
- .wl-meta>span
67
+ .wl-meta > span
56
68
  background var(--sco-gray)
57
69
  border-radius 5px
58
70
  color var(--sco-card-bg)
@@ -66,10 +78,14 @@
66
78
  overflow hidden
67
79
  text-align center
68
80
  border-radius 2.5rem
69
- border 2px solid var(--sco-white)
81
+ border var(--style-border-always)
82
+
83
+ .wl-empty
84
+ font-size 16px
85
+ color var(--sco-gray)
70
86
 
71
87
  [data-waline] a
72
- color var(--sco-main) !important
88
+ color var(--sco-fontcolor) !important
73
89
 
74
90
  .wl-content pre, .wl-content pre[class*=language-]
75
- padding .5rem!important
91
+ padding .5rem !important