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,694 +0,0 @@
1
- // Note (Bootstrap)
2
- .note
3
- position relative
4
- margin 0 0 1rem
5
- padding 15px
6
- border-radius 3px
7
-
8
- &.icon
9
- padding-left 2.25rem
10
-
11
- > .note-icon
12
- position absolute
13
- top calc(50% - .4rem)
14
- left .7rem
15
- font-size larger
16
-
17
- &.blue:not(.disabled)
18
- border-left-color #428bca !important
19
-
20
- &.modern
21
- color #428bca
22
- border-left-color transparent !important
23
-
24
- &:not(.simple)
25
- background #e3eef7 !important
26
-
27
- > .note-icon
28
- color #428bca
29
-
30
- &.pink:not(.disabled)
31
- border-left-color #ff69b4 !important
32
-
33
- &.modern
34
- color #ff69b4
35
- border-left-color transparent !important
36
-
37
- &:not(.simple)
38
- background #ffe9f4 !important
39
-
40
- > .note-icon
41
- color #ff69b4
42
-
43
- &.red:not(.disabled)
44
- border-left-color red !important
45
-
46
- &.modern
47
- color red
48
- border-left-color transparent !important
49
-
50
- &:not(.simple)
51
- background #ffd9d9 !important
52
-
53
- > .note-icon
54
- color red
55
-
56
- &.purple:not(.disabled)
57
- border-left-color #6f42c1 !important
58
-
59
- &.modern
60
- color #6f42c1
61
- border-left-color transparent !important
62
-
63
- &:not(.simple)
64
- background #e9e3f6 !important
65
-
66
- > .note-icon
67
- color #6f42c1
68
-
69
- &.orange:not(.disabled)
70
- border-left-color #ff8c00 !important
71
-
72
- &.modern
73
- color #ff8c00
74
- border-left-color transparent !important
75
-
76
- &:not(.simple)
77
- background #ffeed9 !important
78
-
79
- > .note-icon
80
- color #ff8c00
81
-
82
- &.green:not(.disabled)
83
- border-left-color #5cb85c !important
84
-
85
- &.modern
86
- color #5cb85c
87
- border-left-color transparent !important
88
-
89
- &:not(.simple)
90
- background #e7f4e7 !important
91
-
92
- > .note-icon
93
- color #5cb85c
94
-
95
- &.simple
96
- border-width 1px 1px 1px 5px
97
- border-style solid
98
- border-color #eee
99
- border-image initial
100
-
101
- &.modern
102
- background-color #f5f5f5
103
- color #4c4948
104
- border 1px solid transparent !important
105
-
106
- &.flat
107
- border-top initial
108
- border-right initial
109
- border-bottom initial
110
- border-image initial
111
- border-left 5px solid #eee
112
- background-color #f9f9f9
113
- color #4c4948
114
-
115
- h2, h3, h4, h5, h6
116
- margin-top 3px
117
- margin-bottom 0
118
- border-bottom initial
119
- padding-top 0 !important
120
-
121
- blockquote:first-child, img:first-child, ol:first-child, p:first-child, pre:first-child, table:first-child, ul:first-child
122
- margin-top 0 !important
123
-
124
- blockquote:last-child, img:last-child, ol:last-child, p:last-child, pre:last-child, table:last-child, ul:last-child
125
- margin-bottom 0 !important
126
- font-size 14px !important
127
-
128
- &:not(.no-icon)
129
- padding-left 2.25rem
130
-
131
- &:not(.no-icon)::before
132
- position absolute
133
- top calc(50% - 19px)
134
- left .7rem
135
- font-size larger
136
-
137
- &.default.flat
138
- background #f7f7f7
139
-
140
- &.default.modern
141
- border-color #e1e1e1
142
- background #f3f3f3
143
- color #666
144
-
145
- &.default.modern a:not(.btn)
146
- color #666
147
-
148
- &.default.modern a:not(.btn):hover
149
- color #454545
150
-
151
- &.default:not(.modern)
152
- border-left-color #777
153
-
154
- &.default:not(.modern) h2, &.default:not(.modern) h3, &.default:not(.modern) h4, &.default:not(.modern) h5, &.default:not(.modern) h6
155
- color #777
156
-
157
- &.default:not(.no-icon)::before
158
- content "\e0a9"
159
-
160
- &.default:not(.no-icon):not(.modern)::before
161
- color #777
162
-
163
- &.primary.flat
164
- background #f5f0fa
165
-
166
- &.primary.modern
167
- border-color #e1c2ff
168
- background #f3daff
169
- color #6f42c1
170
-
171
- &.primary.modern a:not(.btn)
172
- color #6f42c1
173
-
174
- &.primary.modern a:not(.btn):hover
175
- color #453298
176
-
177
- &.primary:not(.modern)
178
- border-left-color #6f42c1
179
-
180
- &.primary:not(.modern) h2, &.primary:not(.modern) h3, &.primary:not(.modern) h4, &.primary:not(.modern) h5, &.primary:not(.modern) h6
181
- color #6f42c1
182
-
183
- &.primary:not(.no-icon)::before
184
- content "\e0a8"
185
-
186
- &.primary:not(.no-icon):not(.modern)::before
187
- color #6f42c1
188
-
189
- &.info.flat
190
- background #eef7fa
191
-
192
- &.info.modern
193
- border-color #b3e5ef
194
- background #d9edf7
195
- color #31708f
196
-
197
- &.info.modern a:not(.btn)
198
- color #31708f
199
-
200
- &.info.modern a:not(.btn):hover
201
- color #215761
202
-
203
- &.info:not(.modern)
204
- border-left-color #428bca
205
-
206
- &.info:not(.modern) h2, &.info:not(.modern) h3, &.info:not(.modern) h4, &.info:not(.modern) h5, &.info:not(.modern) h6
207
- color #428bca
208
-
209
- &.info:not(.no-icon)::before
210
- content "\e0a5"
211
-
212
- &.info:not(.no-icon):not(.modern)::before
213
- color #428bca
214
-
215
- &.success.flat
216
- background #eff8f0
217
-
218
- &.success.modern
219
- border-color #d0e6be
220
- background #dff0d8
221
- color #3c763d
222
-
223
- &.success.modern a:not(.btn)
224
- color #3c763d
225
-
226
- &.success.modern a:not(.btn):hover
227
- color #32562c
228
-
229
- &.success:not(.modern)
230
- border-left-color #5cb85c
231
-
232
- &.success:not(.modern) h2, &.success:not(.modern) h3, &.success:not(.modern) h4, &.success:not(.modern) h5, &.success:not(.modern) h6
233
- color #5cb85c
234
-
235
- &.success:not(.no-icon)::before
236
- content "\e0a4"
237
-
238
- &.success:not(.no-icon):not(.modern)::before
239
- color #5cb85c
240
-
241
- &.warning.flat
242
- background #fdf8ea
243
-
244
- &.warning.modern
245
- border-color #fae4cd
246
- background #fcf4e3
247
- color #8a6d3b
248
-
249
- &.warning.modern a:not(.btn)
250
- color #8a6d3b
251
-
252
- &.warning.modern a:not(.btn):hover
253
- color #714f30
254
-
255
- &.warning:not(.modern)
256
- border-left-color var(--sco-orange)
257
-
258
- &.warning:not(.modern) h2, &.warning:not(.modern) h3, &.warning:not(.modern) h4, &.warning:not(.modern) h5, &.warning:not(.modern) h6
259
- color var(--sco-orange)
260
-
261
- &.warning:not(.no-icon)::before
262
- content "\e0a5"
263
-
264
- &.warning:not(.no-icon):not(.modern)::before
265
- color var(--sco-orange)
266
-
267
- &.danger.flat
268
- background #fcf1f2
269
-
270
- &.danger.modern
271
- border-color #ebcdd2
272
- background #f2dfdf
273
- color #a94442
274
-
275
- &.danger.modern a:not(.btn)
276
- color #a94442
277
-
278
- &.danger.modern a:not(.btn):hover
279
- color #84333f
280
-
281
- &.danger:not(.modern)
282
- border-left-color #d9534f
283
-
284
- &.danger:not(.modern) h2, &.danger:not(.modern) h3, &.danger:not(.modern) h4, &.danger:not(.modern) h5, &.danger:not(.modern) h6
285
- color #d9534f
286
-
287
- &.danger:not(.no-icon)::before
288
- content "\e0aa"
289
-
290
- &.danger:not(.no-icon):not(.modern)::before
291
- color #d9534f
292
-
293
- &.warning:not(.no-icon):not(.modern)::before
294
- display inline-block
295
- align-items center
296
- height 30px
297
- color var(--sco-yellow)
298
-
299
- &.warning:class(.modern)
300
- border-radius 8px
301
- border-width 1px
302
- border-color var(--sco-yellow)
303
- box-shadow var(--sco-shadow-border)
304
- background var(--sco-card-bg)
305
-
306
- #article-container
307
- h1::before, h2::before, h3::before, h4::before, h5::before, h6::before, #post .post-copyright::before, #post .post-outdate-notice::before, .fontawesomeIcon, .note:not(.no-icon)::before
308
- display inline-block
309
- font-weight 600
310
- font-style normal
311
- font-variant normal
312
- font-family scoicon
313
- text-rendering auto
314
- -webkit-font-smoothing antialiased
315
-
316
- // Tabs
317
- #article-container .tabs
318
- position relative
319
- margin 0 0 1rem
320
- border-right 1px solid var(--tab-border-color)
321
- border-bottom 1px solid var(--tab-border-color)
322
- border-left 1px solid var(--tab-border-color)
323
-
324
- > .nav-tabs
325
- display flex
326
- flex-wrap wrap
327
- margin 0
328
- padding 0
329
- background var(--tab-botton-bg)
330
-
331
- > .tab
332
- margin 4px
333
- padding 0
334
- list-style none
335
-
336
- +maxWidth768()
337
- -webkit-box-flex 1
338
- flex-grow 1
339
-
340
- button i
341
- width 1.5em
342
-
343
- &.active button
344
- border-top 2px solid #307af6
345
- background var(--tab-button-active-bg)
346
- cursor default
347
-
348
- &:not(.active) button:hover
349
- border-top 2px solid var(--tab-button-hover-bg)
350
- background var(--tab-button-hover-bg)
351
-
352
- > .tab-contents .tab-item-content
353
- position relative
354
- display none
355
- padding 1.8rem 1.2rem
356
- background var(--sco-background)
357
- border var(--style-border-always)
358
-
359
- +maxWidth768()
360
- padding 1.2rem .7rem
361
-
362
- &.active
363
- display block
364
- animation .5s ease 0s 1 normal none running tabshow
365
-
366
- .tab-to-top
367
- position relative
368
- display block
369
- margin 16px 0 0 auto
370
- color #99a9bf
371
-
372
- margin 1rem 0 !important
373
- border-radius 12px
374
- overflow hidden
375
- box-shadow var(--sco-shadow-border)
376
- padding 8px
377
- background var(--sco-card-bg)
378
- border var(--style-border)
379
-
380
- .nav-tabs
381
- background var(--sco-card-bg)
382
- padding 16px
383
- display flex
384
- justify-content center
385
- flex-wrap wrap
386
- flex-direction row
387
-
388
- +maxWidth768()
389
- padding 0
390
- margin-bottom 8px
391
-
392
- > .nav-tabs > .tab.active button
393
- border var(--style-border-hover-always)
394
- background var(--sco-background)
395
- border-radius 8px
396
-
397
- > .nav-tabs > .tab button
398
- -webkit-transition all 0s
399
- background var(--sco-secondbg)
400
- transition .3s
401
- border var(--style-border-always)
402
- border-radius 8px
403
- font-size 1.2em
404
- line-height 1
405
- padding 8px 16px
406
- display flex
407
- width 100%
408
- justify-content center
409
- align-items center
410
- color var(--sco-fontcolor)
411
-
412
- > .nav-tabs > .tab:not(.active) button:hover
413
- background var(--sco-main)
414
- color var(--sco-white)
415
- transition .3s
416
- border var(--style-border-hover-always)
417
-
418
- .tab-item-content
419
- background var(--sco-card-bg)
420
-
421
- #article-container .tabs
422
- border 3px solid var(--sco-secondbg) !important
423
-
424
- > .tab-contents .tab-item-content.active
425
- animation tabshow 0s
426
- -webkit-animation tabshow 0s
427
- padding 1.2rem 1.2rem
428
- border-radius 8px
429
-
430
- +maxWidth768()
431
- padding .5rem .5rem
432
-
433
- .tab-contents
434
- border-radius 8px
435
- overflow hidden
436
-
437
- // bvideo
438
- .bvideo
439
- border 0
440
- width 100%
441
- height 600px
442
- +maxWidth768()
443
- height 200px!important
444
-
445
- // link
446
- #article-container .tag-Link
447
- background var(--sco-secondbg)
448
- border-radius 8px !important
449
- display flex
450
- border var(--style-border)
451
- flex-direction column
452
- padding .3rem 1rem .6rem
453
- border-width 1px !important
454
- margin-top 1rem
455
-
456
- &:hover
457
- border var(--style-border-hover)
458
-
459
- .tag-link-tips
460
- border-bottom var(--style-border-always)
461
- padding-bottom 4px
462
- font-size .6rem
463
- color var(--sco-gray)
464
- font-weight 400
465
- pointer-events none
466
-
467
- &:hover .tag-link-tips
468
- color var(--sco-fontcolor)
469
-
470
- .tag-link-bottom
471
- display flex
472
- margin-top .5rem
473
- align-items center
474
- justify-content space-around
475
- pointer-events none
476
-
477
- .tag-link-left
478
- width 60px
479
- min-width 60px
480
- height 60px
481
- background-size cover !important
482
- border-radius 8px
483
- background var(--sco-card-bg)
484
- pointer-events none
485
- display flex
486
-
487
- i
488
- padding 0
489
- margin auto
490
- font-size 24px
491
- color var(--sco-fontcolor)
492
-
493
- .tag-link-right
494
- margin-left 1rem
495
- pointer-events none
496
-
497
- .tag-link-title
498
- font-size 16px
499
- line-height 1.2
500
- pointer-events none
501
- word-break break-all
502
- text-overflow ellipsis
503
- display -webkit-box
504
- -webkit-box-orient vertical
505
- -webkit-line-clamp 2
506
- overflow hidden
507
-
508
- .tag-link-sitename
509
- font-size .7rem
510
- color var(--sco-gray)
511
- font-weight 400
512
- margin-top 8px
513
- pointer-events none
514
- line-height 1
515
- overflow hidden
516
- text-overflow ellipsis
517
- white-space nowrap
518
-
519
- &:hover .tag-link-bottom .tag-link-right .tag-link-sitename
520
- color var(--sco-fontcolor)
521
-
522
- .tag-link-bottom i
523
- margin-left auto
524
- padding-left .5rem
525
- pointer-events none
526
-
527
- // fold
528
- details:not(.tk-admin-config-group)
529
- display block
530
- position relative
531
- margin-bottom 1rem
532
- min-height 54px
533
- overflow hidden
534
- border-radius 12px
535
- border var(--style-border)
536
- transition border .3s
537
-
538
- &:hover
539
- border var(--style-border-hover-always)
540
-
541
- summary
542
- position absolute
543
- padding .5rem 1rem
544
- background var(--sco-card-bg)
545
- margin 0
546
- transition .3s
547
- box-shadow var(--sco-shadow-border)
548
- left 0
549
- width 100%
550
- font-weight 700
551
- white-space nowrap
552
- overflow hidden
553
- text-overflow ellipsis
554
-
555
- &::before
556
- content ''
557
- padding 4px
558
-
559
- &:hover
560
- cursor pointer
561
- background var(--sco-main)
562
- color var(--sco-white)
563
- transition .3s
564
- box-shadow var(--sco-shadow-main)
565
-
566
- &:focus
567
- outline 0
568
-
569
- &::marker
570
- color var(--sco-main)
571
- transition .3s
572
-
573
- &:hover::marker
574
- color var(--sco-white)
575
-
576
- &:hover:after
577
- position absolute
578
- content '+'
579
- text-align center
580
- top calc(50% - 2px)
581
- transform translateY(-50%)
582
- right 16px
583
- line-height 1
584
-
585
- > :nth-child(2)
586
- margin-top calc(54px + 1rem) !important
587
-
588
- &[open]
589
- border-radius 12px
590
- border var(--style-border-hover-always)
591
- padding 0 1.5rem
592
- background var(--sco-card-bg)
593
-
594
- summary
595
- background var(--sco-main)
596
- color var(--sco-white)
597
-
598
- &::marker
599
- color var(--sco-white)
600
-
601
- &:hover:after
602
- content '-'
603
-
604
- +maxWidth768()
605
- details[open]:not(.tk-admin-config-group)
606
- padding 0 16px
607
-
608
- // timeline
609
- div.timenode
610
- position relative
611
-
612
- &:before,
613
- &:after
614
- content ''
615
- z-index 1
616
- position absolute
617
- background var(--sco-theme)
618
- width 2px
619
- left 7px
620
-
621
- &:before
622
- top 0
623
- height 6px
624
-
625
- &:after
626
- top 26px
627
- height 100%
628
-
629
- &:last-child:after
630
- height calc(100% - 26px - 16px)
631
- border-bottom-left-radius 2px
632
- border-bottom-right-radius 2px
633
-
634
- .meta
635
- position relative
636
- color var(--tab-botton-color)
637
- font-size 0.375rem
638
- line-height 32px
639
- height 32px
640
- left 27px
641
-
642
- &:before,
643
- &:after
644
- content ''
645
- position absolute
646
- top 8px
647
- z-index 2
648
- left -27px
649
-
650
- &:before
651
- background var(--sco-theme)
652
- width 16px
653
- height 16px
654
- border-radius 8px
655
-
656
- &:after
657
- background var(--sco-theme)
658
- margin-left 2px
659
- margin-top 2px
660
- width 12px
661
- height 12px
662
- border-radius 6px
663
- transform scale(0.5)
664
- transition all 0.28s ease
665
- -moz-transition all 0.28s ease
666
- -webkit-transition all 0.28s ease
667
- -o-transition all 0.28s ease
668
-
669
- p
670
- font-weight bold
671
- margin 0 0 0 24px
672
-
673
- .body
674
- margin 4px 0 16px 24px
675
- padding 16px
676
- border-radius 8px
677
- background var(--blockquote-bg)
678
-
679
- p:first-child
680
- margin-top 0
681
-
682
- p:last-child
683
- margin-bottom 0
684
-
685
- &:hover
686
- .meta
687
- color var(--sco-theme)
688
-
689
- &:before
690
- background rgba(255, 87, 34, 0.5)
691
-
692
- &:after
693
- background var(--sco-theme-op)
694
- transform scale(1)