hexo-theme-solitude 1.1.3 → 1.2.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 (254) hide show
  1. package/LICENSE +674 -19
  2. package/_config.yml +243 -193
  3. package/languages/en-US.yml +1 -0
  4. package/languages/zh-CN.yml +8 -8
  5. package/layout/404.pug +24 -0
  6. package/layout/archive.pug +11 -0
  7. package/layout/category.pug +16 -0
  8. package/layout/includes/console.pug +42 -0
  9. package/layout/includes/footer.pug +71 -0
  10. package/layout/includes/head/config.pug +79 -0
  11. package/layout/includes/head/pwa.pug +59 -0
  12. package/layout/includes/head.pug +29 -0
  13. package/layout/includes/header.pug +4 -0
  14. package/layout/includes/inject/body.pug +68 -0
  15. package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +59 -35
  16. package/layout/includes/layout.pug +35 -0
  17. package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
  18. package/layout/includes/mixins/articleSort.pug +14 -0
  19. package/layout/includes/mixins/pagination.pug +8 -0
  20. package/layout/includes/nav.pug +22 -0
  21. package/layout/includes/page/about.pug +10 -0
  22. package/layout/includes/page/categories.pug +8 -0
  23. package/layout/includes/page/default.pug +2 -0
  24. package/layout/includes/page/echarts.pug +7 -0
  25. package/layout/includes/page/equipment.pug +3 -0
  26. package/layout/includes/page/links.pug +35 -0
  27. package/layout/includes/page/moments.pug +5 -0
  28. package/layout/includes/page/rss.pug +22 -0
  29. package/layout/includes/page/says.pug +20 -0
  30. package/layout/includes/page/tags.pug +8 -0
  31. package/layout/includes/page/tlink.pug +9 -0
  32. package/layout/includes/recent-posts.pug +9 -0
  33. package/layout/includes/sidebar.pug +17 -0
  34. package/layout/includes/widgets/aside/aside.pug +18 -0
  35. package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
  36. package/layout/includes/widgets/aside/asideArchive.pug +9 -0
  37. package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
  38. package/layout/includes/widgets/aside/asideHistory.pug +8 -0
  39. package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
  40. package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
  41. package/layout/includes/widgets/aside/asidePower.pug +19 -0
  42. package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
  43. package/layout/includes/widgets/aside/asideTag.pug +11 -0
  44. package/layout/includes/widgets/aside/asideToc.pug +5 -0
  45. package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
  46. package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
  47. package/layout/includes/widgets/home/banner.pug +16 -0
  48. package/layout/includes/widgets/home/bbTimeList.pug +8 -0
  49. package/layout/includes/widgets/home/categoryBar.pug +10 -0
  50. package/layout/includes/widgets/home/categoryGroup.pug +9 -0
  51. package/layout/includes/widgets/home/hometop.pug +9 -0
  52. package/layout/includes/widgets/home/postList.pug +26 -0
  53. package/layout/includes/widgets/home/rencentPost.pug +26 -0
  54. package/layout/includes/widgets/home/topGroup.pug +27 -0
  55. package/layout/includes/widgets/nav/left.pug +10 -0
  56. package/layout/includes/widgets/nav/menu.pug +16 -0
  57. package/layout/includes/widgets/nav/right.pug +23 -0
  58. package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
  59. package/layout/includes/widgets/page/about/award.pug +34 -0
  60. package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
  61. package/layout/includes/widgets/page/about/hobbies.pug +33 -0
  62. package/layout/includes/widgets/page/about/motto.pug +19 -0
  63. package/layout/includes/widgets/page/about/other.pug +61 -0
  64. package/layout/includes/widgets/page/about/personalities.pug +16 -0
  65. package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
  66. package/layout/includes/widgets/page/banner.pug +14 -0
  67. package/layout/includes/widgets/page/equipment/content.pug +23 -0
  68. package/layout/includes/widgets/page/links/banner.pug +30 -0
  69. package/layout/includes/widgets/page/links/linksCard.pug +18 -0
  70. package/layout/includes/widgets/page/links/linksItem.pug +14 -0
  71. package/layout/includes/widgets/page/moments/angle.pug +24 -0
  72. package/layout/includes/widgets/page/moments/index.pug +18 -0
  73. package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
  74. package/layout/includes/widgets/page/says/saysContent.pug +6 -0
  75. package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
  76. package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
  77. package/layout/includes/widgets/post/award.pug +48 -0
  78. package/layout/includes/widgets/post/copyright.pug +27 -0
  79. package/layout/includes/widgets/post/postMeta.pug +55 -0
  80. package/layout/includes/widgets/post/postNav.pug +25 -0
  81. package/layout/includes/widgets/post/wave.pug +9 -0
  82. package/layout/includes/widgets/randomlink.pug +32 -0
  83. package/layout/includes/widgets/rightside/index.pug +74 -0
  84. package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
  85. package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
  86. package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
  87. package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
  88. package/layout/includes/widgets/third-party/music.pug +3 -0
  89. package/layout/includes/widgets/third-party/pjax.pug +30 -0
  90. package/layout/includes/widgets/third-party/search/algolia-search.pug +16 -0
  91. package/layout/includes/widgets/third-party/search/index.pug +7 -0
  92. package/layout/includes/widgets/third-party/search/local-search.pug +15 -0
  93. package/layout/index.pug +20 -0
  94. package/layout/page.pug +32 -0
  95. package/layout/post.pug +43 -0
  96. package/layout/tag.pug +19 -0
  97. package/package.json +4 -4
  98. package/scripts/event/page.js +20 -2
  99. package/scripts/filter/checkThemeConfig.js +0 -1
  100. package/scripts/filter/randomPosts.js +0 -1
  101. package/scripts/helper/{charts.js → echarts.js} +27 -28
  102. package/scripts/helper/stylus.js +23 -0
  103. package/scripts/tags/bvideo.js +1 -36
  104. package/source/css/_comment/index.styl +121 -0
  105. package/source/css/_comment/twikoo.styl +515 -0
  106. package/source/css/_extra/console.styl +354 -0
  107. package/source/css/_extra/rightmenu.styl +83 -0
  108. package/source/css/_global/animation.css +756 -0
  109. package/source/css/_global/function.styl +83 -0
  110. package/source/css/_global/index.styl +120 -0
  111. package/source/css/_global/var.styl +1 -0
  112. package/source/css/_layout/articleSort.styl +199 -0
  113. package/source/css/_layout/base.styl +392 -0
  114. package/source/css/_layout/footer.styl +359 -0
  115. package/source/css/_layout/header.styl +1331 -0
  116. package/source/css/_layout/index.styl +293 -0
  117. package/source/css/_layout/sidebar.styl +226 -0
  118. package/source/css/_mode/index.styl +52 -0
  119. package/source/css/_page/about.styl +944 -0
  120. package/source/css/_page/category.styl +141 -0
  121. package/source/css/_page/equipment.styl +108 -0
  122. package/source/css/_page/error.styl +161 -0
  123. package/source/css/_page/home.styl +58 -0
  124. package/source/css/_page/homeTop.styl +1035 -0
  125. package/source/css/_page/index.styl +22 -0
  126. package/source/css/_page/link.styl +433 -0
  127. package/source/css/_page/moment.styl +186 -0
  128. package/source/css/_page/rss.styl +87 -0
  129. package/source/css/_page/says.styl +353 -0
  130. package/source/css/_page/tag.styl +56 -0
  131. package/source/css/_post/commentBarrage.styl +149 -0
  132. package/source/css/_post/externalTags.styl +694 -0
  133. package/source/css/_post/highlight.styl +96 -0
  134. package/source/css/_post/index.styl +935 -0
  135. package/source/css/_post/pagination.styl +467 -0
  136. package/source/css/_post/postContent.styl +957 -0
  137. package/source/css/_post/relatedPost.styl +160 -0
  138. package/source/css/_post/reward.styl +217 -0
  139. package/source/css/_search/algolia-search.styl +206 -0
  140. package/source/css/_search/local-search.styl +112 -0
  141. package/source/css/_widgets/aside/allinfo.styl +134 -0
  142. package/source/css/_widgets/aside/flip.styl +68 -0
  143. package/source/css/_widgets/aside/history.styl +35 -0
  144. package/source/css/_widgets/aside/index.styl +156 -0
  145. package/source/css/_widgets/aside/info.styl +263 -0
  146. package/source/css/_widgets/aside/newPost.styl +55 -0
  147. package/source/css/_widgets/aside/power.styl +90 -0
  148. package/source/css/_widgets/aside/toc.styl +85 -0
  149. package/source/css/_widgets/aside/welcome.styl +14 -0
  150. package/source/css/_widgets/index.styl +3 -0
  151. package/source/css/index.styl +40 -0
  152. package/source/js/commentBarrage.js +8 -5
  153. package/source/js/extend/console/comment.js +60 -63
  154. package/source/js/extend/covercolor/local.js +1 -1
  155. package/source/js/extend/search/algolia-search.js +104 -111
  156. package/source/js/extend/search/local-search.js +7 -7
  157. package/source/js/main.js +655 -505
  158. package/source/js/utils.js +131 -137
  159. package/layout/404.ejs +0 -34
  160. package/layout/archive.ejs +0 -10
  161. package/layout/category.ejs +0 -18
  162. package/layout/index.ejs +0 -20
  163. package/layout/layout.ejs +0 -30
  164. package/layout/page/about.ejs +0 -15
  165. package/layout/page/categories.ejs +0 -12
  166. package/layout/page/circle.ejs +0 -5
  167. package/layout/page/echarts.ejs +0 -1
  168. package/layout/page/equipment.ejs +0 -2
  169. package/layout/page/links.ejs +0 -46
  170. package/layout/page/page.ejs +0 -3
  171. package/layout/page/rss.ejs +0 -39
  172. package/layout/page/says.ejs +0 -17
  173. package/layout/page/tags.ejs +0 -12
  174. package/layout/page/tlink.ejs +0 -11
  175. package/layout/page.ejs +0 -45
  176. package/layout/partial/body.ejs +0 -7
  177. package/layout/partial/compoment/about/authorinfo.ejs +0 -18
  178. package/layout/partial/compoment/about/award.ejs +0 -59
  179. package/layout/partial/compoment/about/contentinfo.ejs +0 -33
  180. package/layout/partial/compoment/about/hobbies.ejs +0 -53
  181. package/layout/partial/compoment/about/motto.ejs +0 -17
  182. package/layout/partial/compoment/about/other.ejs +0 -76
  183. package/layout/partial/compoment/about/personalities.ejs +0 -11
  184. package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
  185. package/layout/partial/compoment/aside/aside.ejs +0 -28
  186. package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
  187. package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
  188. package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
  189. package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
  190. package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
  191. package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
  192. package/layout/partial/compoment/aside/asidePower.ejs +0 -31
  193. package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
  194. package/layout/partial/compoment/aside/asideTag.ejs +0 -5
  195. package/layout/partial/compoment/aside/asideToc.ejs +0 -11
  196. package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
  197. package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
  198. package/layout/partial/compoment/circle/angle.ejs +0 -26
  199. package/layout/partial/compoment/circle/banner.ejs +0 -11
  200. package/layout/partial/compoment/circle/content.ejs +0 -19
  201. package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
  202. package/layout/partial/compoment/equipment/list.ejs +0 -37
  203. package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
  204. package/layout/partial/compoment/home/postList.ejs +0 -37
  205. package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
  206. package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
  207. package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
  208. package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
  209. package/layout/partial/compoment/inject/body.ejs +0 -70
  210. package/layout/partial/compoment/links/angle.ejs +0 -26
  211. package/layout/partial/compoment/links/banner.ejs +0 -42
  212. package/layout/partial/compoment/links/linksCard.ejs +0 -27
  213. package/layout/partial/compoment/links/linksItem.ejs +0 -21
  214. package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
  215. package/layout/partial/compoment/mixins/pagination.ejs +0 -11
  216. package/layout/partial/compoment/nav/left.ejs +0 -22
  217. package/layout/partial/compoment/nav/menu.ejs +0 -25
  218. package/layout/partial/compoment/nav/right.ejs +0 -42
  219. package/layout/partial/compoment/post/award.ejs +0 -60
  220. package/layout/partial/compoment/post/copyright.ejs +0 -39
  221. package/layout/partial/compoment/post/postMeta.ejs +0 -85
  222. package/layout/partial/compoment/post/postNav.ejs +0 -41
  223. package/layout/partial/compoment/post/wave.ejs +0 -14
  224. package/layout/partial/compoment/says/banner.ejs +0 -10
  225. package/layout/partial/compoment/says/saysBottom.ejs +0 -18
  226. package/layout/partial/compoment/says/saysContent.ejs +0 -10
  227. package/layout/partial/compoment/says/saysFunction.ejs +0 -15
  228. package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
  229. package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
  230. package/layout/partial/compoment/third-party/music.ejs +0 -5
  231. package/layout/partial/compoment/third-party/pjax.ejs +0 -31
  232. package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
  233. package/layout/partial/compoment/third-party/search/index.ejs +0 -10
  234. package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
  235. package/layout/partial/compoment/tlink/banner.ejs +0 -10
  236. package/layout/partial/console.ejs +0 -68
  237. package/layout/partial/footer.ejs +0 -109
  238. package/layout/partial/head.ejs +0 -37
  239. package/layout/partial/header.ejs +0 -6
  240. package/layout/partial/hometop.ejs +0 -15
  241. package/layout/partial/nav.ejs +0 -34
  242. package/layout/partial/pwa.ejs +0 -40
  243. package/layout/partial/sidebar.ejs +0 -31
  244. package/layout/post.ejs +0 -52
  245. package/layout/tag.ejs +0 -19
  246. package/scripts/helper/randomLinks.js +0 -16
  247. package/scripts/helper/themeJsExport.js +0 -79
  248. package/source/css/commentBarrage.css +0 -174
  249. package/source/css/custom.css +0 -901
  250. package/source/css/main.css +0 -16285
  251. package/source/css/search/algolia-search.css +0 -141
  252. package/source/css/search/local-search.css +0 -138
  253. package/source/css/var.css +0 -189
  254. /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -0,0 +1,293 @@
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
+
20
+ &:hover
21
+ box-shadow var(--card-hover-box-shadow)
22
+ border var(--style-border-hover)
23
+
24
+ .post_cover img.post_bg
25
+ transform scale(1.03)
26
+ transition .3s ease-in-out
27
+ filter brightness(.85)
28
+
29
+ &.ads-wrap
30
+ display block !important
31
+ height auto !important
32
+
33
+ .post_cover
34
+ overflow hidden
35
+ width 45%
36
+ height 100%
37
+ -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
38
+
39
+ img.post_bg
40
+ width 100%
41
+ height 100%
42
+ transition all .6s ease 0s
43
+ object-fit cover
44
+
45
+ &:hover
46
+ transform scale(1.1)
47
+
48
+ > .recent-post-info
49
+ height 174px
50
+ width 100%
51
+ cursor pointer
52
+ position relative
53
+ padding 0
54
+ display inline-block
55
+ overflow hidden
56
+
57
+ .recent-post-info-top-tips
58
+ display: flex
59
+ margin-top: 20px
60
+ user-select none
61
+
62
+ &.no-cover
63
+ width 100%
64
+
65
+ > .article-title
66
+ line-height 1.4
67
+ margin-top 0
68
+ font-weight 700
69
+ color var(--sco-fontcolor)
70
+ margin-bottom 0
71
+ position absolute
72
+ width 100%
73
+ left 0
74
+ padding 0 40px
75
+ transition .3s
76
+
77
+ &:hover
78
+ color var(--sco-fontcolor)
79
+
80
+ > .article-meta-wrap
81
+ position absolute
82
+ bottom 16px
83
+ transition .3s
84
+ display flex
85
+ flex-direction row
86
+ flex-wrap nowrap
87
+ justify-content space-between
88
+ width 100%
89
+ left 0
90
+ padding 0 32px
91
+ white-space nowrap
92
+ color var(--sco-fontcolor)
93
+ font-size .7rem
94
+
95
+ > .article-meta
96
+ margin 0 8px 0 0
97
+ white-space nowrap
98
+ overflow hidden
99
+ text-overflow ellipsis
100
+ display flex
101
+
102
+ > .article-meta__tags
103
+ margin-right 8px
104
+ padding 0 0.2rem
105
+ padding-left 0
106
+ color var(--sco-fontcolor)
107
+
108
+ > .post-meta-date
109
+ right 0
110
+ text-align right
111
+
112
+ i
113
+ display none
114
+
115
+ .article-meta__separator
116
+ display none
117
+
118
+ a:hover
119
+ background-color var(--sco-none)
120
+ color var(--sco-lighttext)
121
+ cursor pointer
122
+ border-radius 4px
123
+
124
+ i
125
+ margin 0 .4rem 0 0
126
+
127
+ .sticky
128
+ color var(--sco-fontcolor)
129
+
130
+ > .content
131
+ line-height 1.4
132
+ color var(--sco-secondtext)
133
+ margin-top 0
134
+ cursor pointer
135
+ transition .3s
136
+ opacity 1
137
+ position absolute
138
+ width 100%
139
+ left 0
140
+ padding 0 40px
141
+ -webkit-line-clamp 2
142
+
143
+ > div > i .post_cover
144
+ display none
145
+
146
+ .recent-post-item
147
+ .left_radius a, .right_radius a
148
+ min-height 100%
149
+ min-width 100%
150
+
151
+ +maxWidth768()
152
+ #recent-posts > .recent-post-item
153
+ border-radius 12px 12px 8px 8px
154
+
155
+ // 分页按钮
156
+ .toPageGroup
157
+ display flex
158
+ position relative
159
+ margin 0 .3rem
160
+
161
+ a#toPageButton
162
+ display flex
163
+ position absolute
164
+ width 40px
165
+ height 40px
166
+ right 0
167
+ top 0
168
+ border-radius 8px
169
+ justify-content center
170
+ align-items center
171
+ transition .3s
172
+ background var(--sco-card-bg)
173
+ border var(--style-border-always)
174
+ cursor text
175
+ pointer-events none
176
+
177
+ &:focus-within a#toPageButton, &:hover a#toPageButton
178
+ width 30px
179
+ height 30px
180
+ right 4px
181
+ top 5px
182
+ background var(--sco-card-bg)
183
+ border 1px solid var(--sco-none)
184
+ border-radius 4px
185
+ opacity .2
186
+
187
+ &:focus-within a#toPageButton.haveValue, &:hover a#toPageButton.haveValue
188
+ opacity 1
189
+ cursor pointer
190
+
191
+ a#toPageButton.haveValue
192
+ opacity 1 !important
193
+ cursor pointer !important
194
+ pointer-events all
195
+
196
+ a#toPageButton.haveValue:hover
197
+ background var(--sco-theme)
198
+ color var(--sco-white)
199
+
200
+ +maxWidth768()
201
+ .toPageGroup
202
+ display none
203
+
204
+ +minWidth768()
205
+ .needEndHide.hide
206
+ bottom: -200px !important
207
+ opacity: 0
208
+
209
+ .layout
210
+ display flex
211
+ margin 0 auto
212
+ padding 1rem 1.5rem
213
+ max-width 1200px
214
+
215
+ &#content-inner
216
+ max-width 1400px
217
+
218
+ &.hide-aside
219
+ max-width 1400px
220
+
221
+ > div
222
+ width 100% !important
223
+
224
+ > div:first-child
225
+ width calc(100% - 300px)
226
+
227
+ > div:first-child:not(.recent-posts)
228
+ box-shadow var(--sco-shadow-border)
229
+ padding 1rem 2rem
230
+ border-radius 12px
231
+ width calc(100% - 300px)
232
+ background: var(--sco-card-bg);
233
+ border: var(--style-border);
234
+ align-self flex-start
235
+ animation slide-in .6s .1s backwards
236
+ position relative
237
+ overflow hidden
238
+
239
+ > #page
240
+ padding: 0;
241
+ width: calc(100% - 300px);
242
+ align-self: flex-start;
243
+ animation: slide-in 0.6s 0.1s backwards;
244
+ position: relative;
245
+ overflow: hidden;
246
+
247
+ +maxWidth768()
248
+ padding: 0
249
+
250
+ > div:first-child:not(.recent-posts)
251
+ border-radius: 0;
252
+ padding: 0 1rem !important;
253
+ box-shadow: none !important;
254
+ background: var(--sco-background)
255
+ z-index: 10
256
+
257
+ +maxWidth900()
258
+ flex-direction: column
259
+
260
+ +maxWidth1200()
261
+ > div:first-child
262
+ width 100% !important
263
+
264
+ +minWidth1300()
265
+ justify-content space-between
266
+
267
+ +minWidth2000()
268
+ max-width 1500px
269
+
270
+ &.hide-aside
271
+ max-width 1300px
272
+
273
+ +maxWidth768()
274
+ .post
275
+ .layout
276
+ > #post, #page
277
+ border-radius 12px 12px 0 0
278
+
279
+ &#content-inner
280
+ background: var(--sco-main)
281
+
282
+ .page
283
+ .layout
284
+ > #post, #page
285
+ border-radius: 12px 12px 0 0
286
+
287
+ &#content-inner
288
+ background: var(--sco-background)
289
+
290
+ +minWidth900()
291
+
292
+ html.hide-aside .layout > div:first-child
293
+ width: 100%
@@ -0,0 +1,226 @@
1
+ #sidebar
2
+ background: var(--sco-maskbg)
3
+
4
+ #menu-mask
5
+ position: fixed
6
+ z-index: 1001
7
+ display: none
8
+ width: 100%
9
+ height: 100%
10
+ background: var(--sco-maskbg)
11
+ backdrop-filter: saturate(180%) blur(20px)
12
+ -webkit-backdrop-filter: blur(20px)
13
+ transform: translateZ(0)
14
+ animation: .6s ease 0s 1 normal none running to_show
15
+
16
+ #sidebar-menus
17
+ position: fixed
18
+ top: 0
19
+ right: -300px
20
+ overflow: hidden auto
21
+ width: 300px
22
+ height: 100%
23
+ background: var(--sco-background)
24
+ transition: all .5s ease 0s
25
+ padding-top: 30px
26
+ z-index: 1001
27
+ border-left: var(--style-border-always)
28
+
29
+ &.open
30
+ transform: translate3d(-100%, 0, 0)
31
+
32
+ .back-menu-list-groups
33
+ padding: 0 16px
34
+
35
+ .back-menu-list-title
36
+ font-size: 12px
37
+ color: var(--sco-secondtext)
38
+
39
+ .back-menu-list
40
+ width: calc(100% + 16px)
41
+ justify-content: flex-start
42
+ margin: 0 -8px
43
+
44
+ .back-menu-item
45
+ background: var(--sco-card-bg)
46
+ border: var(--style-border-always)
47
+ border-radius: 8px
48
+
49
+ .back-home-button
50
+ display: none
51
+
52
+ > .author-avatar
53
+ padding: 1.3rem 1.5rem 0
54
+ text-align: center
55
+
56
+ img
57
+ width: 110px
58
+ height: 110px
59
+ border-radius: 70px
60
+ transition: all .5s ease 0s
61
+
62
+ &:hover
63
+ transform: rotate(360deg)
64
+
65
+ .site-data
66
+ display: table
67
+ padding: .6rem .5rem 0
68
+ width: 100%
69
+ table-layout: fixed
70
+
71
+ .data-item
72
+ display: table-cell
73
+
74
+ .data-item-link .length-num
75
+ color: var(--text-highlight-color)
76
+ font-size: 1.28em
77
+
78
+ .data-item-link .headline
79
+ color: var(--sco-fontcolor)
80
+
81
+ hr
82
+ margin: 1rem auto
83
+
84
+ .menus_items
85
+ padding: 0 16px
86
+
87
+ .site-page
88
+ position: relative
89
+ display: block
90
+ padding: 0
91
+ color: var(--sco-fontcolor)
92
+ cursor: pointer
93
+ font-size: 14px
94
+ font-weight: 700
95
+
96
+ span:hover
97
+ color: #307af6
98
+
99
+ .menus_item > .site-page
100
+ display: flex
101
+ font-size: 12px
102
+ color: var(--sco-secondtext)
103
+
104
+ .expand
105
+ position: absolute
106
+ top: .78em
107
+ right: .4rem
108
+ transition: transform .3s ease 0s
109
+
110
+ &.hide
111
+ transform: rotate(90deg) !important
112
+
113
+ .menus_item_child
114
+ margin: 0 -4px
115
+ list-style: none
116
+ display: flex
117
+ flex-direction: row
118
+ flex-wrap: wrap
119
+
120
+ .site-page.child
121
+ display: flex
122
+ flex-direction: column
123
+ align-items: center
124
+ padding: 8px
125
+ border-radius: 8px
126
+ border: var(--style-border-always)
127
+ background: var(--sco-card-bg)
128
+
129
+ li
130
+ width: calc(50% - 8px)
131
+ margin: 4px
132
+
133
+ .site-page.child span
134
+ line-height: 1
135
+ margin-top: 8px
136
+
137
+ .card-tag-cloud
138
+ padding: 0 16px
139
+ display: flex
140
+ white-space: nowrap
141
+ flex-direction: row
142
+ flex-wrap: wrap
143
+ margin-bottom: 60px
144
+
145
+ a
146
+ color: var(--sco-fontcolor) !important
147
+ padding: 2px 8px 2px 12px
148
+ margin: 4px
149
+ border-radius: 8px
150
+ border: var(--style-border-always)
151
+ background: var(--sco-card-bg)
152
+ font-size: 14px !important
153
+
154
+ sup
155
+ opacity: .6
156
+ margin-left: 4px
157
+
158
+ span.sidebar-menu-item-title
159
+ font-size: 12px
160
+ color: var(--sco-secondtext)
161
+ margin-left: 16px
162
+
163
+ .sidebar-menu-item
164
+ display: flex
165
+ flex-direction: column
166
+ padding: 0 16px
167
+ margin-bottom: 6px
168
+
169
+ a.menu-child
170
+ width: 100%
171
+ background: var(--sco-card-bg)
172
+ border-radius: 8px
173
+ border: var(--style-border-always)
174
+ display: flex
175
+ align-items: center
176
+ font-size: 14px
177
+
178
+ i
179
+ width: 24px
180
+ height: 24px
181
+ display: flex
182
+ align-items: center
183
+ justify-content: center
184
+
185
+ a.menu-child span
186
+ margin-left: 10px
187
+
188
+ .webinfo
189
+ padding: 0 16px
190
+ display: flex
191
+ white-space: nowrap
192
+ flex-direction: column
193
+
194
+ .webinfo-item
195
+ justify-content: space-between
196
+
197
+ .menus_items .site-page span:hover
198
+ color: var(--sco-fontcolor)
199
+
200
+ #toggle-sidebar
201
+ bottom: 80px
202
+
203
+ @media screen and (min-width: 768px)
204
+ #sidebar #sidebar-menus
205
+ display: none
206
+
207
+ @media screen and (max-width: 768px)
208
+ #sidebar #sidebar-menus
209
+ .back-menu-list-groups .back-menu-list .back-menu-item
210
+ width: calc(50% - 16px)
211
+
212
+ .menus_items .site-page
213
+ font-weight: 400
214
+
215
+ .menus_items li .site-page:hover
216
+ background: var(--sco-main)
217
+ color: var(--sco-white)
218
+
219
+ .menus_items li .site-page span:hover
220
+ color: var(--sco-white)
221
+
222
+ #mobile-sidebar #mobile-sidebar-menus.open
223
+ background: var(--sco-maskbg)
224
+
225
+ #sidebar-menus > hr
226
+ display: none
@@ -0,0 +1,52 @@
1
+ [data-theme=dark]
2
+ --sco-theme #f2b94b
3
+ --sco-theme-op #f2b94b23
4
+ --sco-theme-op-deep #f2b94bdd
5
+ --sco-theme-none #f2b94b00
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
+
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