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
@@ -1,161 +1,145 @@
1
- #error-wrap
2
- display: flex
3
- justify-content: center
4
- margin: 0 1rem
5
- width: 100%
6
- position: relative
7
-
8
- .error-content
9
- display: flex
10
- flex-direction: row
11
- justify-content: center
12
- align-items: center
13
- margin: 0 1rem
14
- height: 18rem
15
- max-width: 800px
16
- border-radius: 5px
17
- background: var(--sco-card-bg)
18
- box-shadow: var(--card-box-shadow)
19
- transition: all .3s ease 0s
20
- border: var(--style-border-always)
21
- position: relative
22
- width: 100%
23
-
24
- &:hover
25
- box-shadow: var(--card-hover-box-shadow)
26
-
27
- .error-img
28
- flex: 1 1 0
29
- height: 100%
30
- width: 600px
31
- border-top-left-radius: 8px
32
- border-bottom-left-radius: 8px
33
- background-color: #307af6
34
- background-position: center center
35
- background-size: cover
36
-
37
- .error-info
38
- flex: 1 1 0
39
- padding: .5rem
40
- text-align: center
41
- font-size: 14px
42
- font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
43
-
44
- .error_title
45
- font-size: 9em
46
- line-height: 1
47
-
48
- .error_subtitle
49
- word-break: break-word
50
- font-size: 1.6em
51
- -webkit-line-clamp: 2
52
-
53
- a
54
- display: inline-block
55
- margin-top: .5rem
56
- padding: .3rem 1.5rem
57
- background: var(--btn-bg)
58
- color: var(--btn-color)
59
-
60
- i
61
- padding-right: .3rem
62
-
63
- box-shadow: none !important
64
- border-radius: 12px
65
- background: var(--sco-card-bg) !important
66
-
67
1
  #body-wrap.error
68
- display: flex
69
- flex-direction: column
70
- justify-content: center
71
- align-items: center
72
- padding: 50px 1rem 1rem
73
- position: relative
2
+ display flex
3
+ flex-direction column
4
+ justify-content center
5
+ align-items center
6
+ padding 50px 1rem 1rem
7
+ position relative
8
+
9
+ +maxWidth768()
10
+ padding-top 0
11
+
12
+ #error-wrap
13
+ display flex
14
+ justify-content center
15
+ margin 0 1rem
16
+ width 100%
17
+ position relative
18
+
19
+ .error-content
20
+ display flex
21
+ flex-direction row
22
+ justify-content center
23
+ align-items center
24
+ margin 0 1rem
25
+ height 18rem
26
+ max-width 800px
27
+ background var(--sco-card-bg)
28
+ transition all .3s ease 0s
29
+ border var(--style-border-always)
30
+ position relative
31
+ width 100%
32
+ box-shadow none
33
+ border-radius 12px
34
+
35
+ +maxWidth768()
36
+ flex-direction column
37
+ margin 0
38
+ height 25rem
39
+ width 100%
40
+
41
+ .error-img
42
+ flex 1 1 0
43
+ height 100%
44
+ width 600px
45
+ border-top-left-radius 8px
46
+ border-bottom-left-radius 8px
47
+ background-color #307af6
48
+ background-position center center
49
+ background-size cover
50
+
51
+ +maxWidth768()
52
+ flex 1 1 0
53
+ width 100%
54
+ border-radius 12px
55
+
56
+ .error-info
57
+ flex 1 1 0
58
+ padding .5rem
59
+ text-align center
60
+ font-size 14px
61
+ font-family "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
62
+
63
+ +maxWidth768()
64
+ width 100%
65
+ padding-bottom 2rem
66
+
67
+ .error_title
68
+ font-size 4rem
69
+
70
+ .error_title
71
+ font-size 9em
72
+ line-height 1
73
+
74
+ .error_subtitle
75
+ word-break break-word
76
+ font-size 1.6em
77
+ -webkit-line-clamp 2
78
+
79
+ a
80
+ display inline-block
81
+ margin-top .5rem
82
+ padding .3rem 1.5rem
83
+ background var(--btn-bg)
84
+ color var(--btn-color)
85
+ transition .3s
86
+
87
+ &:hover
88
+ background var(--sco-theme)
89
+
90
+ i
91
+ padding-right .3rem
74
92
 
75
93
  .aside-list
76
- display: flex
77
- flex-direction: row
78
- flex-wrap: nowrap
79
- margin: 1rem
80
- max-width: 100%
94
+ display flex
95
+ flex-direction row
96
+ flex-wrap nowrap
97
+ margin 1rem
98
+ max-width 100%
99
+
100
+ +maxWidth768()
101
+ padding-top 0
102
+
103
+ .aside-list-item
104
+ .thumbnail
105
+ height 100px
81
106
 
82
107
  .aside-list-group
83
- display: flex
84
- flex-direction: row
85
- flex-wrap: wrap
86
- max-width: 800px
87
- margin: 0 auto
88
- justify-content: space-between
108
+ display flex
109
+ flex-direction row
110
+ flex-wrap wrap
111
+ max-width 800px
112
+ margin 0 auto
113
+ justify-content space-between
89
114
 
90
115
  .aside-list-item
91
- padding: .5rem 0
92
- width: 49%
116
+ padding .5rem 0
117
+ width 49%
93
118
 
94
119
  img
95
- width: 100%
96
- object-fit: cover
97
- border-radius: 12px
120
+ width 100%
121
+ object-fit cover
122
+ border-radius 12px
98
123
 
99
124
  .thumbnail
100
- overflow: hidden
101
- width: 100%
102
- height: 200px
103
- background: var(--sco-card-bg)
104
- display: flex
125
+ overflow hidden
126
+ width 100%
127
+ height 200px
128
+ background var(--sco-card-bg)
129
+ display flex
105
130
 
106
131
  .content .title
107
- -webkit-line-clamp: 2
108
- overflow: hidden
109
- display: -webkit-box
110
- -webkit-box-orient: vertical
111
- line-height: 1.5
112
- justify-content: center
113
- align-items: flex-end
114
- align-content: center
115
- padding-top: .5rem
116
- font-size: 16px
117
- font-weight: 700
132
+ -webkit-line-clamp 2
133
+ overflow hidden
134
+ display -webkit-box
135
+ -webkit-box-orient vertical
136
+ line-height 1.5
137
+ justify-content center
138
+ align-items flex-end
139
+ align-content center
140
+ padding-top .5rem
141
+ font-size 16px
142
+ font-weight 700
118
143
 
119
144
  .content time
120
- display: none
121
-
122
- .button--animated
123
- border-radius: 8px !important
124
- transition: .3s
125
-
126
- &:before
127
- display: none
128
-
129
- @media screen and (max-width: 768px)
130
- #error-wrap .error-content
131
- flex-direction: column
132
- margin: 0
133
- height: 25rem
134
- width: 100%
135
-
136
- .error-img
137
- flex: 1 1 0
138
- width: 100%
139
- border-radius: 12px
140
-
141
- .error-info
142
- flex: 1.1 1 0
143
- width: 100%
144
- padding-bottom: 2rem
145
-
146
- .error_title
147
- font-size: 4rem
148
-
149
- #body-wrap.error
150
- padding-top: 0
151
-
152
- .aside-list
153
- margin: 0
154
-
155
- .aside-list .aside-list-item .thumbnail
156
- height: 100px
157
-
158
- #error-wrap .error-content .error-info a:hover
159
- background-color: var(--sco-blue)
160
- transition: .3s
161
- box-shadow: var(--sco-shadow-blue)
145
+ display none
@@ -1,53 +1,5 @@
1
- // 即刻、categoriesBar 样式
2
- #bbTimeList,
3
- #category-bar
4
- padding 0.4rem 1rem 0.4rem 1rem
5
- background var(--sco-card-bg)
6
- border-radius 12px
7
- display flex
8
- white-space nowrap
9
- overflow hidden
10
- margin-bottom 1rem
11
- border var(--style-border)
12
- transition .3s
13
- width 100%
14
- justify-content space-between
15
- -webkit-user-select none
16
- align-items center
17
-
18
- +maxWidth1300()
19
- margin-bottom 1rem
20
- animation slide-in .6s 0s backwards
21
-
22
- +minWidth1300()
23
- &:hover
24
- border var(--style-border-hover)
25
- box-shadow var(--sco-shadow-main)
26
-
27
- +maxWidth768()
28
- margin-bottom 0
29
- margin-top 0
30
- border-radius 0
31
- background var(--sco-background)
32
- padding 0.5rem 20px
33
- border none
34
-
35
- #category-bar
36
- white-space nowrap
37
- overflow hidden
38
- justify-content space-between
39
-
40
- +minWidth1300()
41
- margin-bottom 0.75rem
42
- animation slide-in .6s .3s backwards
43
-
44
- .category-in-bar-tips
45
- margin-bottom .25rem
46
-
47
- .page-title
48
- display none
49
-
50
1
  #page h1.page-title
2
+ display inline
51
3
  margin .4rem 0 1rem
52
4
 
53
5
  #page
@@ -55,4 +7,43 @@
55
7
  border none
56
8
  padding 0
57
9
  box-shadow none
58
- min-height calc(100vh - 464px)
10
+ min-height calc(100vh - 464px)
11
+
12
+ +maxWidth768()
13
+ padding 0 1rem
14
+
15
+ > div:not(.author-content-item)
16
+ animation slide-in .6s .2s backwards
17
+
18
+ .tags-group-icon
19
+ width: 120px
20
+ height: 120px
21
+ border-radius: 30px
22
+ display: flex
23
+ align-items: center
24
+ justify-content: center
25
+ color: #fff
26
+ font-size: 66px
27
+ font-weight: 700
28
+ box-shadow: var(--sco-shadow-blackdeep)
29
+
30
+ img
31
+ width: 60%
32
+
33
+ +minWidth768()
34
+ > div:nth-child(1) > a::before
35
+ height: 24px
36
+ width: 44px
37
+ content: ""
38
+ background-size: 38px 24px
39
+ position: absolute
40
+ top: 0
41
+ left: 0
42
+
43
+ > a:nth-child(0) > i
44
+ padding-right: 8px
45
+
46
+ +minWidth768()
47
+ .needEndHide.hide
48
+ bottom -200px !important
49
+ opacity 0
@@ -1,14 +1,13 @@
1
+ @import "_home/index.styl"
2
+
3
+ @import "home.styl"
4
+
1
5
  @import "category.styl"
2
6
 
3
7
  @import "equipment.styl"
4
8
 
5
9
  @import "error.styl"
6
10
 
7
- @import "home.styl"
8
- @import "homeTop.styl"
9
-
10
- @import "link.styl"
11
-
12
11
  @import "rss.styl"
13
12
 
14
13
  @import "moment.styl"
@@ -18,8 +17,16 @@ if hexo-config('says.enable')
18
17
 
19
18
  @import "tag.styl"
20
19
 
20
+ @import "douban.styl"
21
+
22
+ @import "links.styl"
23
+
21
24
  if hexo-config('about.enable')
22
25
  @import "about.styl"
26
+ @import "about/index.styl"
27
+
28
+ if hexo-config('music.enable')
29
+ @import "music.styl"
23
30
 
24
31
  .author-content.author-content-item.sharePage
25
32
  height 19rem
@@ -35,8 +42,13 @@ if hexo-config('about.enable')
35
42
  border var(--style-border-always)
36
43
  box-shadow var(--sco-shadow-border)
37
44
  position relative
38
- padding 1rem 2rem
39
45
  overflow hidden
46
+ padding 1rem 2rem
47
+
48
+ +maxWidth768()
49
+ width 100%
50
+ margin-top 1rem
51
+ padding 1rem
40
52
 
41
53
  &.single
42
54
  width 100%
@@ -77,6 +89,9 @@ if hexo-config('about.enable')
77
89
  flex-direction column
78
90
  padding 1rem 2rem
79
91
 
92
+ +maxWidth768()
93
+ padding 1rem
94
+
80
95
  .author-content-item-title
81
96
  margin-bottom .5rem
82
97
 
@@ -109,7 +124,7 @@ if hexo-config('about.enable')
109
124
  margin-right 8px
110
125
  font-size 22px
111
126
 
112
- @media screen and (max-width: 768px)
127
+ +maxWidth900()
113
128
  .author-content-item
114
129
  .card-content
115
130
  .banner-button-group
@@ -118,14 +133,31 @@ if hexo-config('about.enable')
118
133
 
119
134
  .banner-button-group
120
135
  .banner-button
121
- background 0 0 !important
136
+ background 0 0
122
137
  color var(--sco-white)
123
138
  padding 0
124
- width fit-content
139
+ width 30px
140
+ height 30px
125
141
 
126
142
  i
127
143
  margin-right 0
128
144
  font-size 1.5rem
129
145
 
130
146
  .banner-button-text
131
- display none
147
+ display none
148
+
149
+ #page
150
+ p
151
+ a
152
+ &:not(.headerlink)
153
+ text-decoration none
154
+ border-bottom 2px dotted var(--sco-lighttext)
155
+ color var(--sco-fontcolor)
156
+ font-weight 700
157
+ padding 0 4px
158
+ border-radius 4px 4px 0 0
159
+ &:hover
160
+ color var(--sco-white)
161
+ border-width 0
162
+ border-radius 4px
163
+ background var(--sco-main)