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,294 +1,52 @@
1
- // 文章列表
2
- #recent-posts
3
- position relative
4
-
5
- > .recent-post-item
6
- box-shadow var(--sco-shadow-light2black)
7
- display flex
8
- -webkit-box-orient horizontal
9
- -webkit-box-align center
10
- align-items center
11
- animation slide-in .6s .4s backwards
12
- transition all .3s ease 0s
13
- overflow hidden
14
- height fit-content
15
- background var(--sco-card-bg)
16
- border-radius 12px
17
- cursor pointer
18
- border var(--style-border)
19
- margin 1rem 0 1rem
20
-
21
- &:hover
22
- box-shadow var(--card-hover-box-shadow)
23
- border var(--style-border-hover)
24
-
25
- .post_cover img.post_bg
26
- transform scale(1.03)
27
- transition .3s ease-in-out
28
- filter brightness(.85)
29
-
30
- &.ads-wrap
31
- display block !important
32
- height auto !important
33
-
34
- .post_cover
35
- overflow hidden
36
- width 45%
37
- height 100%
38
- -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
39
-
40
- img.post_bg
41
- width 100%
42
- height 100%
43
- transition all .6s ease 0s
44
- object-fit cover
45
-
46
- &:hover
47
- transform scale(1.1)
48
-
49
- > .recent-post-info
50
- height 174px
51
- width 100%
52
- cursor pointer
53
- position relative
54
- padding 0
55
- display inline-block
56
- overflow hidden
57
-
58
- .recent-post-info-top-tips
59
- display: flex
60
- margin-top: 20px
61
- user-select none
62
-
63
- &.no-cover
64
- width 100%
65
-
66
- > .article-title
67
- line-height 1.4
68
- margin-top 0
69
- font-weight 700
70
- color var(--sco-fontcolor)
71
- margin-bottom 0
72
- position absolute
73
- width 100%
74
- left 0
75
- padding 0 40px
76
- transition .3s
77
-
78
- &:hover
79
- color var(--sco-fontcolor)
80
-
81
- > .article-meta-wrap
82
- position absolute
83
- bottom 16px
84
- transition .3s
85
- display flex
86
- flex-direction row
87
- flex-wrap nowrap
88
- justify-content space-between
89
- width 100%
90
- left 0
91
- padding 0 32px
92
- white-space nowrap
93
- color var(--sco-fontcolor)
94
- font-size .7rem
95
-
96
- > .article-meta
97
- margin 0 8px 0 0
98
- white-space nowrap
99
- overflow hidden
100
- text-overflow ellipsis
101
- display flex
102
-
103
- > .article-meta__tags
104
- margin-right 8px
105
- padding 0 0.2rem
106
- padding-left 0
107
- color var(--sco-fontcolor)
108
-
109
- > .post-meta-date
110
- right 0
111
- text-align right
112
-
113
- i
114
- display none
115
-
116
- .article-meta__separator
117
- display none
118
-
119
- a:hover
120
- background-color var(--sco-none)
121
- color var(--sco-lighttext)
122
- cursor pointer
123
- border-radius 4px
124
-
125
- i
126
- margin 0 .4rem 0 0
127
-
128
- .sticky
129
- color var(--sco-fontcolor)
130
-
131
- > .content
132
- line-height 1.4
133
- color var(--sco-secondtext)
134
- margin-top 0
135
- cursor pointer
136
- transition .3s
137
- opacity 1
138
- position absolute
139
- width 100%
140
- left 0
141
- padding 0 40px
142
- -webkit-line-clamp 2
143
-
144
- > div > i .post_cover
145
- display none
146
-
147
- .recent-post-item
148
- .left_radius a, .right_radius a
149
- min-height 100%
150
- min-width 100%
151
-
152
- +maxWidth768()
153
- #recent-posts > .recent-post-item
154
- border-radius 12px 12px 8px 8px
155
-
156
- // 分页按钮
157
- .toPageGroup
158
- display flex
159
- position relative
160
- margin 0 .3rem
161
-
162
- a#toPageButton
163
- display flex
164
- position absolute
165
- width 40px
166
- height 40px
167
- right 0
168
- top 0
169
- border-radius 8px
170
- justify-content center
171
- align-items center
172
- transition .3s
173
- background var(--sco-card-bg)
174
- border var(--style-border-always)
175
- cursor text
176
- pointer-events none
177
-
178
- &:focus-within a#toPageButton, &:hover a#toPageButton
179
- width 30px
180
- height 30px
181
- right 4px
182
- top 5px
183
- background var(--sco-card-bg)
184
- border 1px solid var(--sco-none)
185
- border-radius 4px
186
- opacity .2
187
-
188
- &:focus-within a#toPageButton.haveValue, &:hover a#toPageButton.haveValue
189
- opacity 1
190
- cursor pointer
191
-
192
- a#toPageButton.haveValue
193
- opacity 1 !important
194
- cursor pointer !important
195
- pointer-events all
196
-
197
- a#toPageButton.haveValue:hover
198
- background var(--sco-theme)
199
- color var(--sco-white)
200
-
201
- +maxWidth768()
202
- .toPageGroup
203
- display none
204
-
205
- +minWidth768()
206
- .needEndHide.hide
207
- bottom: -200px !important
208
- opacity: 0
209
-
210
1
  .layout
211
- display flex
212
- margin 0 auto
213
- padding 1rem 1.5rem
214
- max-width 1200px
2
+ display: flex
3
+ margin: 0 auto
4
+ padding: 1rem 1.5rem
5
+ max-width: 1200px
6
+ +maxWidth768()
7
+ padding 0
215
8
 
216
9
  &#content-inner
217
- max-width 1400px
10
+ max-width: 1400px
218
11
 
219
- &.hide-aside
220
- max-width 1400px
12
+ /.hide-aside.layout
13
+ max-width: 1400px
221
14
 
222
15
  > div
223
- width 100% !important
16
+ width: 100% !important
224
17
 
225
18
  > div:first-child
226
19
  width calc(100% - 300px)
227
20
 
21
+ +maxWidth1200()
22
+ width 100% !important
23
+
228
24
  > div:first-child:not(.recent-posts)
229
25
  box-shadow var(--sco-shadow-border)
230
26
  padding 1rem 2rem
231
27
  border-radius 12px
232
28
  width calc(100% - 300px)
233
- background: var(--sco-card-bg);
234
- border: var(--style-border);
29
+ background var(--sco-card-bg);
30
+ border var(--style-border);
235
31
  align-self flex-start
236
32
  animation slide-in .6s .1s backwards
237
33
  position relative
238
34
  overflow hidden
239
35
 
240
- > #page
241
- padding: 0;
242
- width: calc(100% - 300px);
243
- align-self: flex-start;
244
- animation: slide-in 0.6s 0.1s backwards;
245
- position: relative;
246
- overflow: hidden;
247
-
248
- +maxWidth768()
249
- padding: 0
250
-
251
- > div:first-child:not(.recent-posts)
252
- border-radius: 0;
253
- padding: 0 1rem !important;
254
- box-shadow: none !important;
255
- background: var(--sco-background)
256
- z-index: 10
257
-
258
- +maxWidth900()
259
- flex-direction: column
260
-
261
- +maxWidth1200()
262
- > div:first-child
263
- width 100% !important
264
-
265
- +minWidth1300()
266
- justify-content space-between
267
-
268
- +minWidth2000()
269
- max-width 1500px
270
-
271
- &.hide-aside
272
- max-width 1300px
273
-
274
- +maxWidth768()
275
- .post
276
- .layout
277
- > #post, #page
278
- border-radius 12px 12px 0 0
279
-
280
- &#content-inner
281
- background: var(--sco-main)
282
-
283
- .page
284
- .layout
285
- > #post, #page
286
- border-radius: 12px 12px 0 0
36
+ +maxWidth768()
37
+ padding 0 1rem
38
+ background var(--sco-background)
287
39
 
288
- &#content-inner
289
- background: var(--sco-background)
40
+ span.tags-punctuation::before
41
+ content: "\e071"
42
+ font-family: scoicon, serif !important
43
+ font-size: 12px
44
+ margin-right: 2px
45
+ opacity: .4
290
46
 
291
- +minWidth900()
47
+ .hide-aside #page &
48
+ font-size 16px
292
49
 
293
- html.hide-aside .layout > div:first-child
294
- width: 100%
50
+ #post-info &
51
+ font-size 14px
52
+ line-height 32px
@@ -1,96 +1,105 @@
1
- [data-theme=dark]
2
- --sco-theme $dark_theme
3
- --sco-theme-op $dark_theme_op
4
- --sco-theme-op-deep $dark_theme_op_deep
5
- --sco-theme-none $dark_theme_none
6
- --sco-blue #0084ff
7
- --sco-red #ff3842
8
- --sco-pink #d44040
9
- --sco-green #3e9f50
10
- --sco-purple #7a60d2
11
- --sco-yellow #ffc93e
12
- --sco-yellow-op #ffc93e30
13
- --sco-orange #ff953e
14
- --sco-fontcolor #f7f7fa
15
- --sco-background #18171d
16
- --sco-reverse #fff
17
- --sco-maskbg rgba(0, 0, 0, 0.6)
18
- --sco-maskbgdeep rgba(0, 0, 0, 0.85)
19
- --sco-hovertext #0a84ff
20
- --sco-ahoverbg #fff
21
- --sco-lighttext var(--sco-theme)
22
- --sco-secondtext #a1a2b8
23
- --sco-scrollbar rgba(200, 200, 223, 0.4)
24
- --sco-card-btn-bg #30343f
25
- --sco-post-blockquote-bg #000
26
- --sco-post-tabs-bg #121212
27
- --sco-secondbg #30343f
28
- --sco-shadow-nav 0 5px 20px 0px rgba(28, 28, 28, 0.4)
29
- --sco-card-bg #1b1c20
30
- --sco-card-bg-op var(--sco-white-op)
31
- --sco-card-bg-none #1d1b2600
32
- --sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.0)
33
- --sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.0)
34
- --sco-card-border #3d3d3f
35
- --sco-shadow-border 0 8px 16px -4px #00000050
36
- --style-border 1px solid var(--sco-card-border)
37
- --style-border-always 1px solid var(--sco-card-border)
38
- --style-border-hover 1px solid var(--sco-theme)
39
- --style-border-hover-always 1px solid var(--sco-theme)
40
- --style-border-dashed 1px dashed var(--sco-theme-op)
41
- --style-border-forever 2px solid var(--sco-lighttext)
1
+ [data-theme=dark]
2
+ --sco-theme $dark_theme
3
+ --sco-theme-op $dark_theme_op
4
+ --sco-theme-op-deep $dark_theme_op_deep
5
+ --sco-theme-none $dark_theme_none
6
+ --sco-blue #0084ff
7
+ --sco-red #ff3842
8
+ --sco-pink #d44040
9
+ --sco-green #3e9f50
10
+ --sco-purple #7a60d2
11
+ --sco-yellow #ffc93e
12
+ --sco-yellow-op #ffc93e30
13
+ --sco-orange #ff953e
14
+ --sco-fontcolor #f7f7fa
15
+ --sco-background #18171d
16
+ --sco-reverse #fff
17
+ --sco-maskbg rgba(0, 0, 0, 0.6)
18
+ --sco-maskbgdeep rgba(0, 0, 0, 0.85)
19
+ --sco-hovertext #0a84ff
20
+ --sco-ahoverbg #fff
21
+ --sco-lighttext var(--sco-theme)
22
+ --sco-secondtext #a1a2b8
23
+ --sco-scrollbar rgba(200, 200, 223, 0.4)
24
+ --sco-card-btn-bg #30343f
25
+ --sco-post-blockquote-bg #000
26
+ --sco-post-tabs-bg #121212
27
+ --sco-secondbg #30343f
28
+ --sco-shadow-nav 0 5px 20px 0px rgba(28, 28, 28, 0.4)
29
+ --sco-card-bg #1b1c20
30
+ --sco-card-bg-op var(--sco-white-op)
31
+ --sco-card-bg-none #1d1b2600
32
+ --sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.0)
33
+ --sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.0)
34
+ --sco-card-border #3d3d3f
35
+ --sco-shadow-border 0 8px 16px -4px #00000050
36
+ --style-border 1px solid var(--sco-card-border)
37
+ --style-border-always 1px solid var(--sco-card-border)
38
+ --style-border-hover 1px solid var(--sco-theme)
39
+ --style-border-hover-always 1px solid var(--sco-theme)
40
+ --style-border-dashed 1px dashed var(--sco-theme-op)
41
+ --style-border-forever 2px solid var(--sco-lighttext)
42
+ --sco-hl-bg $hl_bg_dark
43
+ --sco-hltools-bg $hltools_bg_dark
42
44
 
43
- #page-header
44
- &.not-top-img
45
- #nav
46
- .darkmode_switchbutton
47
- color var(--sco-yellow)
48
-
49
- a
50
- &.darkmode_switchbutton
51
- background var(--sco-orange) !important
52
- color var(--sco-white) !important
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
53
58
 
54
59
  [data-theme=light]
55
- --sco-theme $light_theme
56
- --sco-theme-op $light_theme_op
57
- --sco-theme-op-deep $light_theme_op_deep
58
- --sco-theme-op-light #4259ef0d
59
- --sco-theme-none $light_theme_none
60
- --sco-blue #425aef
61
- --sco-red #f04a63
62
- --sco-pink #ff7c7c
63
- --sco-green #57bd6a
64
- --sco-yellow #c28b00
65
- --sco-yellow-op #d99c001a
66
- --sco-orange #e38100
67
- --sco-purple #7a60d2
68
- --sco-fontcolor #363636
69
- --sco-background #f7f9fe
70
- --sco-reverse #000
71
- --sco-maskbg rgba(255, 255, 255, 0.6)
72
- --sco-maskbgdeep rgba(255, 255, 255, 0.85)
73
- --sco-hovertext var(--sco-main)
74
- --sco-ahoverbg #f7f7fa
75
- --sco-lighttext var(--sco-main)
76
- --sco-secondtext rgba(60, 60, 67, 0.8)
77
- --sco-scrollbar rgba(60, 60, 67, 0.4)
78
- --sco-card-btn-bg #edf0f7
79
- --sco-post-blockquote-bg #fafcff
80
- --sco-post-tabs-bg #f2f5f8
81
- --sco-secondbg #f7f7f9
82
- --sco-shadow-nav 0 5px 12px -5px rgba(102, 68, 68, 0.05)
83
- --sco-card-bg #fff
84
- --sco-card-bg-op var(--sco-black-op)
85
- --sco-card-bg-none rgba(255, 255, 255, 0)
86
- --sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.00)
87
- --sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.00)
88
- --sco-card-border #e3e8f7
89
- --sco-shadow-border 0 8px 16px -4px #2c2d300c
90
- --style-border 1px solid var(--sco-card-border)
91
- --style-border-always 1px solid var(--sco-card-border)
92
- --style-border-hover 1px solid var(--sco-main)
93
- --style-border-hover-always 1px solid var(--sco-main)
94
- --style-border-dashed 1px dashed var(--sco-theme-op)
95
- --style-border-forever 2px solid var(--sco-main)
96
- --sco-navbg var(--sco-theme-op)
60
+ --sco-theme $light_theme
61
+ --sco-theme-op $light_theme_op
62
+ --sco-theme-op-deep $light_theme_op_deep
63
+ --sco-theme-op-light #4259ef0d
64
+ --sco-theme-none $light_theme_none
65
+ --sco-blue #425aef
66
+ --sco-red #f04a63
67
+ --sco-pink #ff7c7c
68
+ --sco-green #57bd6a
69
+ --sco-yellow #c28b00
70
+ --sco-yellow-op #d99c001a
71
+ --sco-orange #e38100
72
+ --sco-purple #7a60d2
73
+ --sco-fontcolor #363636
74
+ --sco-background #f7f9fe
75
+ --sco-reverse #000
76
+ --sco-maskbg rgba(255, 255, 255, 0.6)
77
+ --sco-maskbgdeep rgba(255, 255, 255, 0.85)
78
+ --sco-hovertext var(--sco-main)
79
+ --sco-ahoverbg #f7f7fa
80
+ --sco-lighttext var(--sco-main)
81
+ --sco-secondtext rgba(60, 60, 67, 0.8)
82
+ --sco-scrollbar rgba(60, 60, 67, 0.4)
83
+ --sco-card-btn-bg #edf0f7
84
+ --sco-post-blockquote-bg #fafcff
85
+ --sco-post-tabs-bg #f2f5f8
86
+ --sco-secondbg #f7f7f9
87
+ --sco-shadow-nav 0 5px 12px -5px rgba(102, 68, 68, 0.05)
88
+ --sco-card-bg #fff
89
+ --sco-card-bg-op var(--sco-black-op)
90
+ --sco-card-bg-none rgba(255, 255, 255, 0)
91
+ --sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.00)
92
+ --sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.00)
93
+ --sco-card-border #e3e8f7
94
+ --sco-shadow-border 0 8px 16px -4px #2c2d300c
95
+ --style-border 1px solid var(--sco-card-border)
96
+ --style-border-always 1px solid var(--sco-card-border)
97
+ --style-border-hover 1px solid var(--sco-main)
98
+ --style-border-hover-always 1px solid var(--sco-main)
99
+ --style-border-dashed 1px dashed var(--sco-theme-op)
100
+ --style-border-forever 2px solid var(--sco-main)
101
+ --sco-navbg var(--sco-theme-op)
102
+ --sco-hl-bg $hl_bg_light
103
+ --sco-hltools-bg $hltools_bg_light
104
+ #universe
105
+ display none
@@ -0,0 +1,74 @@
1
+ #category-bar
2
+ padding: 0.4rem 1rem 0.4rem 0.7rem;
3
+ background: var(--sco-card-bg);
4
+ border-radius: 12px;
5
+ display: flex;
6
+ white-space: nowrap;
7
+ overflow: hidden;
8
+ margin-bottom: 1rem;
9
+ border: var(--style-border);
10
+ transition: 0.3s;
11
+ height: 50px;
12
+ width: 100%;
13
+ justify-content: space-between;
14
+ -webkit-user-select: none;
15
+ align-items: center;
16
+
17
+ +maxWidth1300()
18
+ margin-bottom 1rem
19
+ animation slide-in .6s 0s backwards
20
+
21
+ +minWidth1300()
22
+ margin-bottom .75rem
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 0
33
+ border none
34
+
35
+ .category-bar-more
36
+ margin-left 14px
37
+ font-weight 700
38
+
39
+ &:hover
40
+ color var(--sco-lighttext)
41
+
42
+ .category-bar-items
43
+ white-space nowrap
44
+ overflow-x scroll
45
+ overflow-y hidden
46
+ display flex
47
+ border-radius 8px
48
+ align-items center
49
+ height 30px
50
+
51
+ &::-webkit-scrollbar
52
+ display: none
53
+
54
+ .category-bar-item
55
+ &:hover
56
+ a
57
+ background var(--sco-theme)
58
+ color var(--sco-white)
59
+
60
+ a
61
+ padding .1rem .5rem
62
+ margin-right 6px
63
+ font-weight 700
64
+ border-radius 8px
65
+ display flex
66
+ align-items center
67
+ height 30px
68
+
69
+ &.select
70
+ order -1
71
+
72
+ a
73
+ background var(--sco-theme)
74
+ color var(--sco-white)