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,217 +0,0 @@
1
- .reward-main
2
- animation: .3s ease .1s 1 normal both running donate_effcet
3
-
4
- .post-reward
5
- position: relative
6
- margin-top: 4rem
7
- text-align: center
8
-
9
- &:hover
10
- > .reward-main
11
- display: block
12
-
13
- .reward-main
14
- position: absolute
15
- bottom: 40px
16
- left: -96px
17
- z-index: 100
18
- display: none
19
- padding: 0 0 15px
20
- width: fit-content
21
-
22
- .reward-all
23
- display: inline-block
24
- margin: 0
25
- padding: 1rem .5rem
26
- border-radius: 4px
27
- background: var(--sco-maskbgdeep)
28
-
29
- &:before
30
- position: absolute
31
- bottom: -10px
32
- left: 0
33
- width: 100%
34
- height: 20px
35
- content: ""
36
-
37
- &:after
38
- position: absolute
39
- right: 0
40
- bottom: 2px
41
- left: 0
42
- margin: 0 auto
43
- width: 0
44
- height: 0
45
- border-top: 13px solid var(--reward-pop)
46
- border-right: 13px solid transparent
47
- border-left: 13px solid transparent
48
- content: ""
49
-
50
- .reward-item
51
- display: inline-block
52
- padding: 0 8px
53
- list-style-type: none
54
- vertical-align: top
55
-
56
- img
57
- width: 130px
58
- height: 130px
59
-
60
- .post-qr-code-desc
61
- padding-top: .4rem
62
- width: 130px
63
- color: #858585
64
-
65
- .reward-button
66
- background: var(--sco-red)
67
- color: var(--sco-white)
68
- padding: 0 16px
69
- height: 40px
70
- line-height: 39px
71
- box-shadow: var(--sco-shadow-red)
72
- display: inline-block
73
- cursor: pointer
74
- transition: all .4s ease 0s
75
-
76
- &:hover
77
- .reward-button
78
- color: var(--sco-white)
79
- background: var(--sco-theme)
80
- box-shadow: none
81
-
82
- .reward-main
83
- .reward-all
84
- .reward-item
85
- .post-qr-code-desc
86
- padding-top: 0
87
- margin-top: -8px
88
- margin-bottom: 8px
89
-
90
- .reward-main
91
- .reward-all
92
- border-radius: 12px
93
- background: var(--sco-card-bg)
94
- border: var(--style-border-always)
95
- padding: .8rem
96
- display: flex
97
- box-shadow: var(--sco-shadow-border)
98
- flex-direction: column
99
- align-items: center
100
-
101
- .reward-dec
102
- font-size: .6rem
103
-
104
- .reward-text
105
- margin-bottom: 0
106
- font-weight: 700
107
-
108
- a.reward-main-btn
109
- background: var(--sco-secondbg)
110
- color: var(--sco-fontcolor)
111
- display: flex
112
- flex-direction: column
113
- border-radius: 12px
114
- padding: 4px 0
115
- border: var(--style-border-always)
116
- margin: 8px
117
- width: 100%
118
-
119
- &:hover
120
- color: var(--sco-white)
121
- background: var(--sco-red)
122
- background-image: url(https://bu.dusays.com/2023/11/01/6541f7aeb5752.gif)
123
- box-shadow: var(--sco-shadow-red)
124
-
125
- .reward-title
126
- font-weight: 700
127
- color: var(--sco-red)
128
-
129
- .reward-link.mode
130
- background: var(--sco-green)
131
- color: var(--sco-white)
132
- padding: 0 16px
133
- height: 40px
134
- line-height: 39px
135
- box-shadow: var(--sco-shadow-green)
136
- border-radius: 8px
137
- margin-left: .5rem
138
- text-align: center
139
- transition: .3s
140
-
141
- a
142
- color: var(--sco-white)
143
-
144
- i
145
- margin-right: 4px
146
-
147
- &:hover
148
- background: var(--sco-theme)
149
- box-shadow: none
150
-
151
- .post-reward
152
- margin-top: 0
153
- display: flex
154
- justify-content: center
155
-
156
- &:hover
157
- > .reward-main
158
- display: none
159
-
160
- .reward-main
161
- z-index: 1003
162
-
163
- @media screen and (min-width: 768px)
164
- .post-reward:hover
165
- > .reward-main
166
- display: flex !important
167
- justify-content: left
168
-
169
- @media screen and (max-width: 768px)
170
- .post-reward
171
- .reward-main
172
- justify-content: center !important
173
- position: fixed
174
- bottom: 0
175
- left: 0
176
- right: 0
177
- z-index: 1003
178
- width: 100%
179
- margin: auto
180
- padding: 0
181
-
182
- .reward-main
183
- .reward-all
184
- width: 100%
185
- display: flex
186
- flex-wrap: wrap
187
- justify-content: space-around
188
- padding: 30px 0 60px 0
189
- border-radius: 12px 12px 0 0
190
-
191
- #post
192
- .tag_share
193
- .post-meta__tags
194
- margin: 0 .5rem 0 0
195
-
196
- a.reward-main-btn
197
- margin: 4px auto
198
-
199
- .post-reward
200
- .reward-main
201
- .reward-all:after
202
- display: none
203
-
204
- .reward-group
205
- display: flex
206
- margin-top: .5rem
207
-
208
- .post-reward
209
- .reward-main
210
- .reward-all
211
- .reward-item:first-child
212
- img
213
- border-color: var(--sco-green)
214
-
215
- .reward-item:last-child
216
- img
217
- border-color: var(--sco-blue)
@@ -1,156 +0,0 @@
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
- .card-archives ul.card-archive-list > .card-archive-list-item a span,
12
- .card-categories ul.card-category-list > .card-category-list-item a span,
13
- .card-info .card-info-data > .card-info-data-item a .headline,
14
- #pagination .next_info,
15
- #pagination .prev_info,
16
- #sidebar #sidebar-menus .menus_items .site-page,
17
- #sidebar #sidebar-menus .site-data .data-item .data-item-link > a > div,
18
- .flink#article-container .flink-list > .flink-list-item a .flink-item-desc,
19
- .flink#article-container .flink-list > .flink-list-item a .flink-item-name,
20
- .limit-one-line
21
- text-overflow ellipsis
22
- white-space nowrap
23
-
24
- .aside-list > .aside-list-item .content > .comment,
25
- .aside-list > .aside-list-item .content > .name,
26
- .aside-list > .aside-list-item .content > .title,
27
- #error-wrap .error-content .error-info .error_subtitle,
28
- #post-info .post-title,
29
- #recent-posts > .recent-post-item > .recent-post-info > .article-title,
30
- #recent-posts > .recent-post-item > .recent-post-info > .content,
31
- .article-sort-item-title,
32
- .limit-more-line,
33
- .relatedPosts > .relatedPosts-list .content .title,
34
- figure.gallery-group .gallery-group-name,
35
- figure.gallery-group p
36
- display -webkit-box
37
- -webkit-box-orient vertical
38
-
39
- .author-info__description,
40
- .author-info__name,
41
- #site-name,
42
- #site-subtitle,
43
- #site-title
44
- font-family "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
45
-
46
- +minWidth900()
47
- padding-left 15px
48
-
49
- +maxWidth1200()
50
- display none
51
-
52
- +minWidth1300()
53
- padding-left 1rem
54
- animation slide-in .6s .3s backwards
55
-
56
- .card-widget.card-power, .card-widget.card-history, .card-widget.card-welcome
57
- padding: .4rem .6rem !important
58
-
59
- .item-headline
60
- padding-bottom
61
- margin-left 8px
62
- font-size 1rem
63
- font-weight 700
64
- display flex
65
- align-items center
66
-
67
- i
68
- font-size 18px
69
- max-width 20px
70
-
71
- span
72
- margin-left 4px
73
-
74
- + div, + ul
75
- padding 0
76
- -webkit-user-select none
77
-
78
- .card-widget
79
- box-shadow var(--sco-shadow-border)
80
- background var(--sco-card-bg)
81
- border var(--style-border)
82
- transition 0.3s
83
- border-radius 12px
84
- position relative
85
- overflow hidden
86
- margin-top 1rem
87
- padding 1rem 1.2rem
88
-
89
- &:hover
90
- box-shadow var(--sco-shadow-border)
91
-
92
- > .card-widget
93
- &:first-child
94
- transition 0.3s
95
- border none
96
- margin-top 0
97
-
98
- .sticky_layout
99
- top 80px
100
- transition top 0s
101
-
102
- +minWidth900()
103
- position sticky
104
- top: 20px
105
- transition: top .3s ease 0s
106
-
107
- +minWidth1300()
108
- top calc(60px + 1rem)
109
-
110
- .page
111
- .sticky_layout
112
- display flex
113
- -webkit-box-orient vertical
114
- flex-direction column
115
-
116
-
117
- #page-header.nav-visible + .layout > .aside-content > .sticky_layout
118
- top 70px
119
- transition top .5s ease 0s
120
-
121
- +minWidth900()
122
- position sticky
123
-
124
- +minWidth1300()
125
- top calc(60px + 1rem)
126
-
127
- +minWidth900()
128
- html.hide-aside .layout
129
- -webkit-box-pack: center
130
- justify-content: center
131
-
132
- html.hide-aside .layout > .aside-content
133
- display: none
134
-
135
- @import "toc.styl"
136
-
137
- if "about" in aside
138
- @import "info.styl"
139
-
140
- if "allInfo" in aside
141
- @import "allinfo.styl"
142
-
143
- if "wlcome" in aside
144
- @import "welcome.styl"
145
-
146
- if "history" in aside
147
- @import "history.styl"
148
-
149
- if "power" in aside
150
- @import "power.styl"
151
-
152
- if "newestPost" in aside
153
- @import "newPost.styl"
154
-
155
- if "flip" in aside
156
- @import "flip.styl"
@@ -1,90 +0,0 @@
1
- #aside-content
2
- .card-power
3
- .power-charge
4
- margin-left auto
5
- color var(--sco-secondtext)
6
- font-size 14px
7
- line-height 1
8
-
9
- &:hover
10
- color var(--sco-lighttext)
11
-
12
- #power-star
13
- display flex
14
- padding 8px
15
- border var(--style-border-always)
16
- border-radius 8px
17
- flex-direction row
18
- flex-wrap nowrap
19
- justify-content flex-start
20
- position relative
21
- margin 12px 0
22
- background var(--sco-secondbg)
23
- transition .3s ease-out
24
- cursor pointer
25
-
26
- &:hover
27
- background var(--sco-main)
28
- color var(--sco-white)
29
- box-shadow var(--sco-shadow-theme)
30
-
31
- #power-star-image
32
- transform scale(.9)
33
-
34
- #power-star-image
35
- width 60px
36
- height 60px
37
- border-radius 60px
38
- background-size cover
39
- margin-right 12px
40
- border var(--style-border-always)
41
- transition .3s ease-out
42
-
43
- #power-star-title
44
- overflow hidden
45
- text-overflow ellipsis
46
- white-space nowrap
47
- font-size 16px
48
- font-weight 700
49
- line-height 1
50
- margin-bottom 8px
51
-
52
- #power-star-desc
53
- display -webkit-box
54
- -webkit-box-orient vertical
55
- -webkit-line-clamp 2
56
- overflow hidden
57
- font-size 12px
58
- max-width 100%
59
- line-height 1.2
60
-
61
- .power-star-body
62
- display flex
63
- flex-direction column
64
- align-items flex-start
65
- flex-wrap wrap
66
- position relative
67
- width calc(100% - 68px)
68
- justify-content center
69
-
70
- .power-list
71
- display flex
72
- flex-direction row
73
- flex-wrap wrap
74
- margin 0 -4px
75
-
76
- .power-item-body
77
- display flex
78
- flex-direction row
79
- flex-wrap wrap
80
-
81
- .power-item
82
- .power-item-link
83
- a
84
- padding 2px 4px
85
- border-radius 4px
86
- margin-left 8px
87
-
88
- &:hover
89
- background var(--sco-main)
90
- color var(--sco-white)
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file