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
@@ -0,0 +1,273 @@
1
+ #footer
2
+ position relative
3
+ background linear-gradient(180deg, var(--sco-card-bg-none) 0, var(--sco-card-bg) 25%)
4
+ display flex
5
+ flex-direction column
6
+ margin-top .5rem
7
+
8
+ +maxWidth768()
9
+ background linear-gradient(180deg, var(--sco-background) 0, var(--sco-card-bg) 25%)
10
+ margin-top 0
11
+
12
+ &:before
13
+ position absolute
14
+ width 100%
15
+ height 100%
16
+ content ''
17
+ z-index -1
18
+
19
+ div#sco-footer-bar
20
+ display none
21
+
22
+ a.footer-bar-link
23
+ padding 4px 16px
24
+ background var(--sco-secondbg)
25
+ border-radius 20px
26
+ margin-top 8px
27
+ font-size 14px
28
+ cursor pointer
29
+ border var(--style-border-always)
30
+
31
+ &:hover
32
+ background var(--sco-main)
33
+ color var(--sco-white)
34
+ transform scale(1.1)
35
+ border-color var(--sco-main)
36
+
37
+ .footer-logo
38
+ font-size 24px
39
+
40
+ .footer-bar-description
41
+ color var(--sco-secondtext)
42
+ font-weight 700
43
+
44
+ .post & div#sco-footer-bar
45
+ display flex
46
+ flex-direction column
47
+ align-items center
48
+ margin-top 16px
49
+
50
+ #footer_deal
51
+ justify-content center
52
+ display flex
53
+ padding-top 2rem
54
+ align-items center
55
+
56
+ +maxWidth768()
57
+ flex-wrap wrap
58
+ flex-direction row
59
+
60
+ i
61
+ font-size .9rem
62
+ line-height .9rem
63
+ height .9rem
64
+
65
+ .deal_link
66
+ display flex
67
+ margin 1rem 27px
68
+ color var(--sco-card-bg)
69
+ border-radius 3rem
70
+ width 32px
71
+ height 32px
72
+ background var(--sco-fontcolor)
73
+ justify-content center
74
+ align-items center
75
+ transition .3s
76
+
77
+ &:hover
78
+ color var(--sco-white)
79
+ background var(--sco-main)
80
+ transform scale(1.1)
81
+
82
+ .footer_mini_logo
83
+ width 50px
84
+ height 50px
85
+ margin 0 1rem
86
+ cursor pointer
87
+ transition cubic-bezier(0, 0, 0, 1.29) .5s
88
+ -webkit-user-select none
89
+ border-radius 50px
90
+ overflow hidden
91
+ +maxWidth768()
92
+ display none
93
+
94
+ &:hover
95
+ transform scale(1.2)
96
+
97
+ #sco-footer
98
+ display flex
99
+ flex-direction row
100
+ width 100%
101
+ max-width 1200px
102
+ justify-content space-between
103
+ flex-wrap wrap
104
+ margin 1rem auto 3rem
105
+ padding 0 1rem
106
+
107
+ .footer-links
108
+ display flex
109
+ flex-direction column
110
+
111
+ .footer-item
112
+ font-size .8rem
113
+ line-height .8rem
114
+ color var(--sco-fontcolor)
115
+ margin-right auto
116
+ overflow hidden
117
+ white-space nowrap
118
+ text-overflow ellipsis
119
+ max-width 120px
120
+ cursor pointer
121
+ padding 8px
122
+ border-radius 12px
123
+
124
+ &:hover
125
+ color var(--sco-theme)
126
+ background var(--sco-main-op-light)
127
+
128
+ [data-theme=dark] &
129
+ background var(--sco-theme-op)
130
+
131
+ .footer-group
132
+ min-width 120px
133
+
134
+ .footer-title-group
135
+ display flex
136
+ align-items center
137
+ margin 1rem 0 .7rem 8px
138
+
139
+ a
140
+ margin-left 8px
141
+
142
+ &:hover i
143
+ color var(--sco-main)
144
+ opacity 1
145
+
146
+ i
147
+ line-height 1
148
+ color var(--sco-secondtext)
149
+ transition .3s
150
+ font-size 16px
151
+ opacity .6
152
+
153
+ .footer-title
154
+ margin 0
155
+
156
+ .footer-title
157
+ color var(--sco-secondtext)
158
+ font-size .8rem
159
+ margin-left 8px
160
+
161
+ .random-friends-btn
162
+ display flex
163
+
164
+ /#footer-bar
165
+ padding 1rem
166
+ color var(--sco-fontcolor)
167
+ margin-top 1rem
168
+ background var(--sco-secondbg)
169
+ display flex
170
+ overflow hidden
171
+ z-index 1
172
+ transition .3s
173
+ border-top var(--style-border-always)
174
+
175
+ .footer-bar-links
176
+ display flex
177
+ justify-content space-between
178
+ max-width 1400px
179
+ width 100%
180
+ margin 0 auto
181
+ flex-wrap wrap
182
+ align-items center
183
+ line-height 1
184
+
185
+ .footer-bar-left
186
+ display flex
187
+ flex-wrap wrap
188
+ min-height 32px
189
+ align-items center
190
+
191
+ .copyright
192
+ display flex
193
+ flex-direction row
194
+ align-items center
195
+ padding 0 8px
196
+ margin 0 4px
197
+
198
+ .footer-bar-link
199
+ margin 0 4px
200
+ color var(--sco-fontcolor)
201
+ font-size .8rem
202
+ padding 8px
203
+ border-radius 12px
204
+ font-weight 700
205
+ white-space nowrap
206
+
207
+ &.cc
208
+ margin-right 0
209
+
210
+ i
211
+ font-size 18px
212
+
213
+ &:not(:last-child)
214
+ margin-right .5rem
215
+
216
+ &:hover
217
+ color var(--sco-theme)
218
+ background var(--sco-main-op)
219
+
220
+ .footer-bar-right
221
+ display flex
222
+ flex-direction row
223
+ flex-wrap wrap
224
+ align-items center
225
+
226
+ > div > div.footer-bar-left > span
227
+ margin-right 1rem
228
+
229
+ #cookies-window
230
+ min-width 300px
231
+ background var(--sco-maskbgdeep)
232
+ color var(--sco-fontcolor)
233
+ padding 8px 16px
234
+ display flex
235
+ flex-direction column
236
+ bottom 20px
237
+ right 20px
238
+ position fixed
239
+ border-radius 12px
240
+ transition .3s
241
+ z-index 1002
242
+ user-select none
243
+ backdrop-filter saturate(180%) blur(20px)
244
+ transform translateZ(0)
245
+ border var(--style-border)
246
+ animation barrageIn .6s cubic-bezier(.42, 0, .3, 1.11)
247
+
248
+ +maxWidth1300()
249
+ display none
250
+
251
+ &.cw-hide
252
+ opacity 0
253
+ animation barrageOut .6s cubic-bezier(.42, 0, .3, 1.11)
254
+ z-index -1
255
+
256
+ .cookies-window-title
257
+ padding-bottom 4px
258
+ border-bottom var(--style-border)
259
+ font-size 12px
260
+ font-weight 700
261
+
262
+ .cookies-window-content
263
+ font-size 14px
264
+ display flex
265
+ justify-content space-around
266
+ align-items center
267
+
268
+ .cookies-link
269
+ margin-left: 10px
270
+ font-size: 16px
271
+
272
+ i.scoicon
273
+ font-size 16px
@@ -0,0 +1,34 @@
1
+ span.tags-punctuation
2
+ margin-right 2px
3
+ font-size .7rem
4
+ font-weight 700
5
+ display flex
6
+ transition .3s
7
+ align-items center
8
+
9
+ &:hover
10
+ color var(--sco-main)
11
+
12
+ .bber-reply
13
+ cursor pointer
14
+ margin 0 4px
15
+
16
+ &:hover
17
+ color var(--sco-main)
18
+
19
+ .post-tips
20
+ color var(--sco-gray)
21
+ font-size 14px;
22
+ position absolute
23
+ bottom 2rem
24
+ left 2rem
25
+
26
+ +maxWidth768()
27
+ left 1rem
28
+
29
+ a
30
+ color var(--sco-gray)
31
+ border none
32
+
33
+ &:hover
34
+ color var(--sco-main)
@@ -0,0 +1,230 @@
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
+ -webkit-backdrop-filter saturate(180%) blur(20px)
12
+ backdrop-filter saturate(180%) 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-maskbgdeep)
24
+ transition all .5s ease 0s
25
+ padding-top 30px
26
+ z-index 1001
27
+ border-left var(--style-border-always)
28
+
29
+ +minWidth768()
30
+ display none
31
+
32
+ +maxWidth768()
33
+ .back-menu-list-groups .back-menu-list .back-menu-item
34
+ width calc(50% - 16px)
35
+
36
+ &:hover
37
+ background var(--sco-lighttext)
38
+
39
+ .menus_items
40
+ li
41
+ .site-page
42
+ font-weight 400
43
+
44
+ .site-page:hover
45
+ background var(--sco-main)!important
46
+ color var(--sco-white)
47
+
48
+ .site-page span:hover
49
+ color var(--sco-white)
50
+
51
+ .menus_items
52
+ padding 0 16px
53
+
54
+ .site-page
55
+ position relative
56
+ display block
57
+ padding 0
58
+ color var(--sco-fontcolor)
59
+ cursor pointer
60
+ font-size 14px
61
+ font-weight 700
62
+
63
+ .menus_item > .site-page
64
+ display flex
65
+ font-size 12px
66
+ color var(--sco-secondtext)
67
+
68
+ .expand
69
+ position absolute
70
+ top .78em
71
+ right .4rem
72
+ transition transform .3s ease 0s
73
+
74
+ &.hide
75
+ transform rotate(90deg) !important
76
+
77
+ .menus_item_child
78
+ margin 0 -4px
79
+ list-style none
80
+ display flex
81
+ flex-direction row
82
+ flex-wrap wrap
83
+
84
+ .site-page.child
85
+ display flex
86
+ flex-direction column
87
+ align-items center
88
+ padding 8px
89
+ border-radius 8px
90
+ border var(--style-border-always)
91
+ background var(--sco-card-bg)
92
+
93
+ li
94
+ width calc(50% - 8px)
95
+ margin 4px
96
+
97
+ .site-page.child span
98
+ line-height 1
99
+ margin-top 8px
100
+
101
+ > hr
102
+ display none
103
+
104
+ &.open
105
+ transform translate3d(-100%, 0, 0)
106
+
107
+ .back-menu-list-groups
108
+ padding 0 16px
109
+
110
+ .back-menu-list-title
111
+ font-size 12px
112
+ color var(--sco-secondtext)
113
+
114
+ .back-menu-list
115
+ width calc(100% + 16px)
116
+ justify-content flex-start
117
+ margin 0 -8px
118
+
119
+ .back-menu-item
120
+ background var(--sco-card-bg)
121
+ border var(--style-border-always)
122
+ border-radius 8px
123
+
124
+ .back-home-button
125
+ display none
126
+
127
+ > .author-avatar
128
+ padding 1.3rem 1.5rem 0
129
+ text-align center
130
+
131
+ img
132
+ width 110px
133
+ height 110px
134
+ border-radius 70px
135
+ transition all .5s ease 0s
136
+
137
+ &:hover
138
+ transform rotate(360deg)
139
+
140
+ .site-data
141
+ display table
142
+ padding .6rem .5rem 0
143
+ width 100%
144
+ table-layout fixed
145
+
146
+ .data-item
147
+ display table-cell
148
+
149
+ .data-item-link .length-num
150
+ color var(--text-highlight-color)
151
+ font-size 1.28em
152
+
153
+ .data-item-link .headline
154
+ color var(--sco-fontcolor)
155
+
156
+ hr
157
+ margin 1rem auto
158
+
159
+ .card-tag-cloud
160
+ padding 0 16px
161
+ display flex
162
+ white-space nowrap
163
+ flex-direction row
164
+ flex-wrap wrap
165
+ margin-bottom 60px
166
+
167
+ a
168
+ color var(--sco-fontcolor) !important
169
+ padding 2px 8px 2px 12px
170
+ margin 4px
171
+ border-radius 8px
172
+ border var(--style-border-always)
173
+ background var(--sco-card-bg)
174
+ font-size 14px !important
175
+
176
+ sup
177
+ opacity .6
178
+ margin-left 4px
179
+
180
+ span.sidebar-menu-item-title
181
+ font-size 12px
182
+ color var(--sco-secondtext)
183
+ margin-left 16px
184
+
185
+ .sidebar-menu-item
186
+ display flex
187
+ flex-direction column
188
+ padding 0 16px
189
+ margin-bottom 6px
190
+
191
+ a.darkmode_switchbutton
192
+ padding 4px 8px
193
+
194
+ [data-theme="dark"] &
195
+ background var(--sco-orange)
196
+ color var(--sco-white)
197
+
198
+ a.menu-child
199
+ width 100%
200
+ background var(--sco-card-bg)
201
+ border-radius 8px
202
+ border var(--style-border-always)
203
+ display flex
204
+ align-items center
205
+ font-size 14px
206
+
207
+ i
208
+ width 24px
209
+ height 24px
210
+ display flex
211
+ align-items center
212
+ justify-content center
213
+
214
+ a.menu-child span
215
+ margin-left 10px
216
+
217
+ .webinfo
218
+ padding 0 16px
219
+ display flex
220
+ white-space nowrap
221
+ flex-direction column
222
+
223
+ .webinfo-item
224
+ justify-content space-between
225
+
226
+ .menus_items .site-page span:hover
227
+ color var(--sco-fontcolor)
228
+
229
+ #toggle-sidebar
230
+ bottom 80px
@@ -0,0 +1,75 @@
1
+ figure.highlight
2
+ table
3
+ scrollbar-color var(--hlscrollbar-bg) transparent
4
+ pre .deletion
5
+ color $highlight-deletion
6
+
7
+ pre .addition
8
+ color $highlight-addition
9
+
10
+ pre .meta
11
+ color $highlight-purple
12
+
13
+ pre
14
+ .comment
15
+ color $highlight-comment
16
+
17
+ .variable,
18
+ .attribute,
19
+ .regexp,
20
+ .ruby .constant,
21
+ .xml .tag .title,
22
+ .xml .pi,
23
+ .xml .doctype,
24
+ .html .doctype,
25
+ .css .id,
26
+ .tag .name,
27
+ .css .class,
28
+ .css .pseudo
29
+ color $highlight-red
30
+
31
+ .tag
32
+ color $highlight-aqua
33
+
34
+ .number,
35
+ .preprocessor,
36
+ .literal,
37
+ .params,
38
+ .constant,
39
+ .command
40
+ color $highlight-orange
41
+
42
+ .built_in
43
+ color $highlight-yellow
44
+
45
+ .ruby .class .title,
46
+ .css .rules .attribute,
47
+ .string,
48
+ .value,
49
+ .inheritance,
50
+ .header,
51
+ .ruby .symbol,
52
+ .xml .cdata,
53
+ .special,
54
+ .number,
55
+ .formula
56
+ color $highlight-green
57
+
58
+ .keyword,
59
+ .title,
60
+ .css .hexcolor
61
+ color: $highlight-aqua
62
+
63
+ .function,
64
+ .python .decorator,
65
+ .python .title,
66
+ .ruby .function .title,
67
+ .ruby .title .keyword,
68
+ .perl .sub,
69
+ .javascript .title,
70
+ .coffeescript .title
71
+ color $highlight-blue
72
+
73
+ .tag .attr,
74
+ .javascript .function
75
+ color $highlight-purple