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,957 +0,0 @@
1
- #article-container figure.highlight .line.marked {
2
- background-color: rgba(97, 97, 97, .314)
3
- }
4
-
5
- #article-container figure.highlight table {
6
- display: inline-flex;
7
- border: none;
8
- overflow-y: hidden;
9
- overflow-x: auto;
10
- }
11
-
12
- #article-container figure.highlight table td {
13
- padding: 0;
14
- border: none;
15
- height: 100%
16
- }
17
-
18
- #article-container figure.highlight table td.code {
19
- width: 100%;
20
- display: flex;
21
- position: relative
22
- }
23
-
24
- #article-container figure.highlight .code pre {
25
- padding-right: .5rem;
26
- padding-left: .5rem;
27
- width: 100%
28
- }
29
-
30
- #article-container figure.highlight, #article-container pre {
31
- overflow: auto;
32
- margin: 0 0 1rem;
33
- padding: 0;
34
- line-height: 1.6
35
- }
36
-
37
- #article-container code, #article-container pre {
38
- font-family: consolas, Menlo, "PingFang SC", "Microsoft YaHei", sans-serif !important
39
- }
40
-
41
- #article-container code {
42
- padding: .1rem .2rem;
43
- background: rgba(27, 31, 35, .05);
44
- color: #f47466
45
- }
46
-
47
- #article-container pre code {
48
- padding: 0;
49
- background: 0 0;
50
- color: var(--hl-color);
51
- text-shadow: none
52
- }
53
-
54
- #article-container figure.highlight {
55
- position: relative
56
- }
57
-
58
- #article-container figure.highlight pre {
59
- margin: 0;
60
- padding: 8px 0;
61
- border: none
62
- }
63
-
64
- #article-container figure.highlight .caption, #article-container figure.highlight figcaption {
65
- padding: .3rem 0 .1rem .7rem;
66
- font-size: 16px;
67
- line-height: 1em
68
- }
69
-
70
- #article-container figure.highlight .caption a, #article-container figure.highlight figcaption a {
71
- float: right;
72
- padding-right: 10px;
73
- color: var(--hl-color)
74
- }
75
-
76
- #article-container figure.highlight .caption a:hover, #article-container figure.highlight figcaption a:hover {
77
- border-bottom-color: var(--hl-color)
78
- }
79
-
80
- #article-container .highlight-tools {
81
- position: relative;
82
- display: flex;
83
- -webkit-box-align: center;
84
- align-items: center;
85
- overflow: hidden;
86
- min-height: 1.2rem;
87
- height: 2.15em;
88
- background: var(--hltools-bg);
89
- color: var(--hltools-color);
90
- font-size: 16px
91
- }
92
-
93
- #article-container .highlight-tools.closed + table {
94
- display: none
95
- }
96
-
97
- #article-container .highlight-tools .expand {
98
- position: absolute;
99
- padding: .4rem .3rem;
100
- cursor: pointer;
101
- transition: transform .3s ease 0s
102
- }
103
-
104
- #article-container .highlight-tools .expand + .code-lang {
105
- left: 1.7rem
106
- }
107
-
108
- #article-container .highlight-tools .expand.closed {
109
- transition: all .3s ease 0s;
110
- transform: rotate(-90deg) !important
111
- }
112
-
113
- #article-container .highlight-tools .code-lang {
114
- position: absolute;
115
- left: .7rem;
116
- text-transform: uppercase;
117
- font-weight: 700;
118
- font-size: 1.15em;
119
- user-select: none
120
- }
121
-
122
- #article-container .highlight-tools .copy-notice {
123
- position: absolute;
124
- right: 1.7rem;
125
- opacity: 0;
126
- transition: opacity .4s ease 0s
127
- }
128
-
129
- #article-container .highlight-tools .copy-button {
130
- position: absolute;
131
- right: .7rem;
132
- cursor: pointer;
133
- transition: color .2s ease 0s
134
- }
135
-
136
- #article-container .highlight-tools .copy-button:hover {
137
- color: #307af6
138
- }
139
-
140
- #article-container .gist table {
141
- width: auto
142
- }
143
-
144
- #article-container .gist table td {
145
- border: none
146
- }
147
-
148
- #article-container .code-expand-btn.expand-done {
149
- display: none !important
150
- }
151
-
152
- #article-container .code-expand-btn:not(.expand-done) ~ pre, #article-container .code-expand-btn:not(.expand-done) ~ table {
153
- overflow: hidden;
154
- height: 400px
155
- }
156
-
157
- #article-container {
158
- overflow-wrap: break-word
159
- }
160
-
161
- #article-container a {
162
- color: #307af6
163
- }
164
-
165
- #article-container a:hover {
166
- text-decoration: none;
167
- background: var(--sco-main);
168
- border: none;
169
- color: var(--sco-white);
170
- border-radius: 4px
171
- }
172
-
173
- #article-container img {
174
- display: block;
175
- margin: 0 auto .8rem;
176
- max-width: 90%;
177
- max-height: 450px
178
- }
179
-
180
- @media screen and (max-width: 768px) {
181
- #article-container img {
182
- max-width: 100%
183
- }
184
- }
185
-
186
- #article-container p {
187
- margin: 0 0 .8rem
188
- }
189
-
190
- #article-container iframe {
191
- margin: 0 0 1rem
192
- }
193
-
194
- #article-container kbd {
195
- margin: 0 3px;
196
- padding: 3px 5px;
197
- border: 1px solid #b4b4b4;
198
- border-radius: 3px;
199
- background-color: #f8f8f8;
200
- box-shadow: rgba(0, 0, 0, .25) 0 1px 3px, rgba(255, 255, 255, .6) 0 2px 1px 0 inset;
201
- color: #34495e;
202
- white-space: nowrap;
203
- font-weight: 600;
204
- font-size: .9em;
205
- font-family: Monaco, "Ubuntu Mono", monospace;
206
- line-height: 1em
207
- }
208
-
209
- #article-container h1, #article-container h2, #article-container h3, #article-container h4, #article-container h5, #article-container h6 {
210
- transition: all .2s ease-out 0s
211
- }
212
-
213
- #article-container h1::before, #article-container h2::before, #article-container h3::before, #article-container h4::before, #article-container h5::before, #article-container h6::before {
214
- position: absolute;
215
- top: calc(50% - .35rem);
216
- color: #f2ba4b;
217
- content: "";
218
- line-height: 1;
219
- transition: all .2s ease-out 0s
220
- }
221
-
222
- #article-container h1:hover::before, #article-container h2:hover::before, #article-container h3:hover::before, #article-container h4:hover::before, #article-container h5:hover::before, #article-container h6:hover::before {
223
- color: #307af6
224
- }
225
-
226
- #article-container h1 {
227
- padding-left: 1.4rem
228
- }
229
-
230
- #article-container h1 code {
231
- font-size: 1rem
232
- }
233
-
234
- #article-container h1::before {
235
- margin-left: -1.2rem;
236
- font-size: 1rem
237
- }
238
-
239
- #article-container h1:hover {
240
- padding-left: 1.6rem
241
- }
242
-
243
- #article-container h2 {
244
- padding-left: 1.3rem
245
- }
246
-
247
- #article-container h2 code {
248
- font-size: .9rem
249
- }
250
-
251
- #article-container h2::before {
252
- margin-left: -1.1rem;
253
- font-size: .9rem
254
- }
255
-
256
- #article-container h2:hover {
257
- padding-left: 1.5rem
258
- }
259
-
260
- #article-container h3 {
261
- padding-left: 1.2rem
262
- }
263
-
264
- #article-container h3 code {
265
- font-size: .8rem
266
- }
267
-
268
- #article-container h3::before {
269
- margin-left: -1rem;
270
- font-size: .8rem
271
- }
272
-
273
- #article-container h3:hover {
274
- padding-left: 1.4rem
275
- }
276
-
277
- #article-container h4 {
278
- padding-left: 1.1rem
279
- }
280
-
281
- #article-container h4 code {
282
- font-size: .7rem
283
- }
284
-
285
- #article-container h4::before {
286
- margin-left: -.9rem;
287
- font-size: .7rem
288
- }
289
-
290
- #article-container h4:hover {
291
- padding-left: 1.3rem
292
- }
293
-
294
- #article-container h5 {
295
- padding-left: 1rem
296
- }
297
-
298
- #article-container h5 code {
299
- font-size: .6rem
300
- }
301
-
302
- #article-container h5::before {
303
- margin-left: -.8rem;
304
- font-size: .6rem
305
- }
306
-
307
- #article-container h5:hover {
308
- padding-left: 1.2rem
309
- }
310
-
311
- #article-container h6 {
312
- padding-left: 1rem
313
- }
314
-
315
- #article-container h6 code {
316
- font-size: .6rem
317
- }
318
-
319
- #article-container h6::before {
320
- margin-left: -.8rem;
321
- font-size: .6rem
322
- }
323
-
324
- #article-container h6:hover {
325
- padding-left: 1.2rem
326
- }
327
-
328
- #article-container ol, #article-container ul {
329
- margin-top: .4rem;
330
- padding: 0 0 0 .8rem;
331
- list-style: none;
332
- counter-reset: li 0
333
- }
334
-
335
- @media screen and (max-width: 768px) {
336
- #article-container ol, #article-container ul {
337
- padding: 0 0 0 .4rem
338
- }
339
- }
340
-
341
- #article-container ol p, #article-container ul p {
342
- margin: 0 0 .5rem
343
- }
344
-
345
- #article-container ol ol, #article-container ol ul, #article-container ul ol, #article-container ul ul {
346
- padding-left: .6rem
347
- }
348
-
349
- @media screen and (max-width: 768px) {
350
- #article-container ol ol, #article-container ol ul, #article-container ul ol, #article-container ul ul {
351
- padding-left: .2rem
352
- }
353
- }
354
-
355
- #article-container ol li:not(.tab), #article-container ul li:not(.tab) {
356
- position: relative;
357
- margin: .2rem 0
358
- }
359
-
360
- #article-container ol li:hover::before, #article-container ul li:hover::before {
361
- transform: rotate(360deg)
362
- }
363
-
364
- #article-container ol li::before, #article-container ul li::before {
365
- position: absolute;
366
- top: 0;
367
- left: 0;
368
- background: #307af6;
369
- color: #fff;
370
- cursor: pointer;
371
- transition: all .3s ease-out 0s
372
- }
373
-
374
- #article-container ol > li:not(.tab) {
375
- padding: .2em .2em .2em 1.8em
376
- }
377
-
378
- #article-container ol > li::before {
379
- margin-top: .65em;
380
- width: 1.45em;
381
- height: 1.45em;
382
- border-radius: .725em;
383
- content: counter(li);
384
- counter-increment: li 1;
385
- text-align: center;
386
- font-size: .85em;
387
- line-height: 1.45em
388
- }
389
-
390
- #article-container ul > li:not(.tab) {
391
- padding: .2em .2em .2em 1.4em
392
- }
393
-
394
- #article-container ul > li:not(.tab):hover::before {
395
- border-color: #ff7242
396
- }
397
-
398
- #article-container ul > li:not(.tab)::before {
399
- top: .78em;
400
- width: .42em;
401
- height: .42em;
402
- border: .21em solid #307af6;
403
- border-radius: .42em;
404
- background: 0 0;
405
- content: "";
406
- line-height: .42em
407
- }
408
-
409
- #article-container > :last-child {
410
- margin-bottom: 0 !important
411
- }
412
-
413
- #article-container .btn-center {
414
- margin: 0 0 1rem;
415
- text-align: center
416
- }
417
-
418
- #article-container .btn-beautify {
419
- display: inline-block;
420
- margin: 0 .2rem .3rem;
421
- padding: 0 1rem;
422
- background-color: #777;
423
- color: #fff;
424
- line-height: 2
425
- }
426
-
427
- #article-container .btn-beautify i + span {
428
- margin-left: .3rem
429
- }
430
-
431
- #article-container .btn-beautify:not(.block) + .btn-beautify:not(.block) {
432
- margin: 0 .2rem 1rem
433
- }
434
-
435
- #article-container .btn-beautify.block {
436
- display: block;
437
- margin: 0 0 1rem;
438
- width: fit-content
439
- }
440
-
441
- #article-container .btn-beautify.block.center {
442
- margin: 0 auto 1rem
443
- }
444
-
445
- #article-container .btn-beautify.block.right {
446
- margin: 0 0 1rem auto
447
- }
448
-
449
- #article-container .btn-beautify.larger {
450
- padding: .3rem 1.3rem
451
- }
452
-
453
- #article-container .btn-beautify:hover {
454
- text-decoration: none
455
- }
456
-
457
- #article-container .btn-beautify.blue {
458
- background-color: #428bca
459
- }
460
-
461
- #article-container .btn-beautify.pink {
462
- background-color: #ff69b4
463
- }
464
-
465
- #article-container .btn-beautify.red {
466
- background-color: red
467
- }
468
-
469
- #article-container .btn-beautify.purple {
470
- background-color: #6f42c1
471
- }
472
-
473
- #article-container .btn-beautify.orange {
474
- background-color: #ff8c00
475
- }
476
-
477
- #article-container .btn-beautify.green {
478
- background-color: #5cb85c
479
- }
480
-
481
- #article-container .btn-beautify.outline {
482
- border: 1px solid #777;
483
- background-color: transparent;
484
- color: #777;
485
- transition: all .3s ease 0s
486
- }
487
-
488
- #article-container .btn-beautify.outline.button--animated::before {
489
- background: #777
490
- }
491
-
492
- #article-container .btn-beautify.outline:hover {
493
- color: #fff !important
494
- }
495
-
496
- #article-container .btn-beautify.outline.blue {
497
- border-color: #428bca;
498
- color: #428bca
499
- }
500
-
501
- #article-container .btn-beautify.outline.blue.button--animated::before {
502
- background: #428bca
503
- }
504
-
505
- #article-container .btn-beautify.outline.pink {
506
- border-color: #ff69b4;
507
- color: #ff69b4
508
- }
509
-
510
- #article-container .btn-beautify.outline.pink.button--animated::before {
511
- background: #ff69b4
512
- }
513
-
514
- #article-container .btn-beautify.outline.red {
515
- border-color: red;
516
- color: red
517
- }
518
-
519
- #article-container .btn-beautify.outline.red.button--animated::before {
520
- background: red
521
- }
522
-
523
- #article-container .btn-beautify.outline.purple {
524
- border-color: #6f42c1;
525
- color: #6f42c1
526
- }
527
-
528
- #article-container .btn-beautify.outline.purple.button--animated::before {
529
- background: #6f42c1
530
- }
531
-
532
- #article-container .btn-beautify.outline.orange {
533
- border-color: #ff8c00;
534
- color: #ff8c00
535
- }
536
-
537
- #article-container .btn-beautify.outline.orange.button--animated::before {
538
- background: #ff8c00
539
- }
540
-
541
- #article-container .btn-beautify.outline.green {
542
- border-color: #5cb85c;
543
- color: #5cb85c
544
- }
545
-
546
- #article-container .btn-beautify.outline.green.button--animated::before {
547
- background: #5cb85c
548
- }
549
-
550
- #article-container .inline-img {
551
- display: inline;
552
- margin: 0 3px;
553
- height: 1.1em;
554
- vertical-align: text-bottom
555
- }
556
-
557
- #article-container.flink {
558
- margin-top: 1rem
559
- }
560
-
561
- #article-container.flink h2 {
562
- margin-top: .5rem;
563
- margin-bottom: 0
564
- }
565
-
566
- .article-recent_post_categories {
567
- font-size: 12px;
568
- font-weight: 700;
569
- opacity: .6;
570
- line-height: 1
571
- }
572
-
573
- #article-container h1:before, #article-container h2:before, #article-container h3:before, #article-container h4:before, #article-container h5:before, #article-container h6:before {
574
- top: calc(50% - .45rem);
575
- content: ''
576
- }
577
-
578
- #article-container h1:hover:before, #article-container h2:hover:before, #article-container h3:hover:before, #article-container h4:hover:before, #article-container h5:hover:before, #article-container h6:hover:before {
579
- color: var(--sco-lighttext)
580
- }
581
-
582
- #article-container h1:hover, #article-container h2:hover, #article-container h3:hover, #article-container h4:hover, #article-container h5:hover, #article-container h6:hover {
583
- padding-left: 1.3rem
584
- }
585
-
586
- #article-container ul > li:not(.tab):before {
587
- border: .21em solid var(--sco-lighttext);
588
- background: var(--sco-lighttext)
589
- }
590
-
591
- #article-container ol, #article-container ul {
592
- padding: 0
593
- }
594
-
595
- #article-container ul > li:not(.tab):hover:before {
596
- border-color: var(--sco-none)
597
- }
598
-
599
- #article-container a {
600
- text-decoration: none;
601
- border-bottom: 2px solid var(--sco-lighttext);
602
- color: var(--sco-fontcolor);
603
- font-weight: 700;
604
- padding: 0 4px;
605
- border-radius: 4px 4px 0 0
606
- }
607
-
608
- #article-container .site-card:hover a:not(.fancybox) {
609
- text-decoration: none;
610
- border-bottom: 2px solid var(--sco-none);
611
- color: var(--sco-white);
612
- background: var(--sco-main);
613
- box-shadow: var(--sco-shadow-main)
614
- }
615
-
616
- #article-container a.fancybox {
617
- border-bottom: 0;
618
- padding: 0;
619
- margin: auto;
620
- display: contents;
621
- width: fit-content;
622
- -webkit-user-select: none
623
- }
624
-
625
- #article-container a.fancybox img {
626
- cursor: zoom-in
627
- }
628
-
629
- #article-container p {
630
- margin: 1rem 0;
631
- text-align: left;
632
- letter-spacing: 1px
633
- }
634
-
635
- #article-container blockquote p {
636
- line-height: 1.4;
637
- font-size: 15px
638
- }
639
-
640
- #article-container code {
641
- color: var(--sco-white);
642
- padding: .2rem .4rem;
643
- border-radius: 4px;
644
- margin: 0 4px;
645
- background: var(--sco-pink);
646
- line-height: 2;
647
- box-shadow: var(--sco-shadow-border)
648
- }
649
-
650
- #article-container code::selection {
651
- background: var(--sco-main) !important
652
- }
653
-
654
- #article-container p {
655
- font-size: .9rem;
656
- line-height: 1.7;
657
- font-weight: 400
658
- }
659
-
660
- #article-container.post-content h1, #article-container.post-content h2, #article-container.post-content h3, #article-container.post-content h4 {
661
- border-top 1px dashed var(--sco-theme-op)
662
- padding-top 1.5rem
663
- margin-top 1.5rem
664
- }
665
-
666
- #article-container.post-content h1 {
667
- font-size: 1.5rem;
668
- line-height: 1.3
669
- }
670
-
671
- #article-container.post-content h2 {
672
- font-size: 1.3rem;
673
- line-height: 1.3;
674
- border-top: 1px dashed var(--sco-theme-op);
675
- padding-top: 1.5rem
676
- }
677
-
678
- #article-container.post-content h3 {
679
- font-size: 1.1rem;
680
- line-height: 1.3
681
- }
682
-
683
- #article-container.post-content h4 {
684
- font-size: 1rem;
685
- line-height: 1.3
686
- }
687
-
688
- @media screen and (max-width: 768px) {
689
- #article-container p {
690
- line-height: 1.5
691
- }
692
- }
693
-
694
- #article-container > h1:nth-child(1), #article-container > h2:nth-child(1) {
695
- margin: 0
696
- }
697
-
698
- #article-container .headerlink::before {
699
- content: "\e082";
700
- font-family: scoicon !important
701
- }
702
-
703
- #article-container .headerlink {
704
- float: right;
705
- opacity: .08;
706
- position: relative;
707
- padding: 0;
708
- border-style: none;
709
- border-radius: 8px !important;
710
- line-height: 2;
711
- font-size: 1rem
712
- }
713
-
714
- #article-container .headerlink:hover {
715
- background: 0 0 !important;
716
- opacity: 1;
717
- border-bottom: none !important;
718
- box-shadow: none !important;
719
- background: var(--sco-none);
720
- color: var(--sco-lighttext) !important;
721
- text-decoration: none
722
- }
723
-
724
- #article-container img {
725
- border-radius: 12px;
726
- margin-bottom: .5rem;
727
- object-fit: cover
728
- }
729
-
730
- #article-container img.error {
731
- content: url(error_img)
732
- }
733
-
734
- .doge-inner-player {
735
- border-radius: 12px !important
736
- }
737
-
738
- #article-container ol li:before, #article-container ul li:before {
739
- background: var(--sco-main);
740
- cursor: default
741
- }
742
-
743
- #article-container ol li:hover:before, #article-container ul li:hover:before {
744
- transform: rotate(0)
745
- }
746
-
747
- #article-container figure.highlight .highlight-tools {
748
- background: var(--sco-secondbg);
749
- border-bottom: var(--style-border-always);
750
- color: var(--sco-fontcolor)
751
- }
752
-
753
- #article-container .gutter {
754
- opacity: .6;
755
- user-select: none
756
- }
757
-
758
- #article-container .code-lang {
759
- margin-left: 6px
760
- }
761
-
762
- #article-container .highlight-tools .code-lang {
763
- text-transform: capitalize;
764
- left: 1.9rem
765
- }
766
-
767
- #article-container figure.highlight table::-webkit-scrollbar {
768
- color: var(--sco-blue);
769
- background: var(--sco-card-bg);
770
- height: 8px
771
- }
772
-
773
- #article-container figure.highlight table::-webkit-scrollbar-thumb {
774
- background: var(--sco-main-op)
775
- }
776
-
777
- #article-container figure.highlight table::-webkit-scrollbar-thumb:hover {
778
- background: var(--sco-main)
779
- }
780
-
781
- #article-container .code-expand-btn i {
782
- color: var(--sco-fontcolor);
783
- font-size: 14px;
784
- line-height: 1;
785
- animation: 1.2s ease 0s infinite normal none running code-expand-key
786
- }
787
-
788
- #article-container .code-expand-btn {
789
- background: var(--sco-secondbg);
790
- transition: .3s;
791
- backdrop-filter: saturate(180%) blur(20px);
792
- -webkit-backdrop-filter: blur(20px);
793
- transform: translateZ(0);
794
- border-top: var(--style-border-always);
795
- position: absolute;
796
- bottom: 0;
797
- z-index: 10;
798
- width: 100%;
799
- text-align: center;
800
- font-size: 16px;
801
- cursor: pointer;
802
- display: flex;
803
- align-items: center;
804
- justify-content: center;
805
- height: 32px
806
- }
807
-
808
- #article-container .code-expand-btn:hover {
809
- background: var(--sco-main)
810
- }
811
-
812
- #article-container .code-expand-btn:hover i {
813
- color: var(--sco-white)
814
- }
815
-
816
- #readmore-talk {
817
- text-align: center;
818
- color: var(--sco-lighttext);
819
- padding: 8px;
820
- border-radius: 12px;
821
- background: #f2b94b0c
822
- }
823
-
824
- #article-container iframe {
825
- border-radius: 12px !important
826
- }
827
-
828
- #article-container figure.highlight {
829
- border-radius: 8px 8px 4px 4px
830
- }
831
-
832
- #article-container figure.highlight .gutter pre {
833
- color: var(--sco-secondtext);
834
- background: var(--sco-secondbg);
835
- border-right: var(--style-border-always);
836
- padding-right: .5rem;
837
- padding-left: .5rem;
838
- text-align: right
839
- }
840
-
841
- #article-container figure.highlight figcaption a {
842
- color: #a9a9a9 !important
843
- }
844
-
845
- #article-container .highlight:not(.js-file-line-container) {
846
- background-color: var(--sco-card-bg) !important;
847
- color: var(--sco-fontcolor);
848
- border: var(--style-border-always);
849
- overflow: hidden
850
- }
851
-
852
- #article-container figure.highlight pre span::selection {
853
- background: var(--sco-main) !important;
854
- color: var(--sco-white) !important
855
- }
856
-
857
- #article-container h1 {
858
- padding-left: 0
859
- }
860
-
861
- #article-container h1:before {
862
- display: none
863
- }
864
-
865
- #article-container h1:hover {
866
- padding-left: 0
867
- }
868
-
869
- #article-container > div > figure > figcaption > p {
870
- margin: 0
871
- }
872
-
873
- #article-container .author-content-item.single.like-movie .banner-button-group .banner-button {
874
- padding: 8px 12px;
875
- background: var(--sco-white);
876
- border-radius: 12px;
877
- color: var(--sco-black);
878
- display: flex;
879
- align-items: center;
880
- z-index: 1;
881
- transition: .3s;
882
- cursor: pointer;
883
- border: none
884
- }
885
-
886
- #article-container .author-content-item.single.like-movie .banner-button-group .banner-button:hover {
887
- background: #d0b247;
888
- color: var(--sco-white)
889
- }
890
-
891
- #article-container .author-content-item.single.like-movie .banner-button-group .banner-button i {
892
- margin-right: 8px;
893
- font-size: 1rem
894
- }
895
-
896
- @media screen and (max-width: 768px) {
897
- #article-container .author-content-item.single.like-movie .banner-button-group {
898
- right: 1rem;
899
- bottom: 1rem
900
- }
901
-
902
- #article-container .author-content-item.single.like-movie .banner-button-group .banner-button {
903
- background: 0 0;
904
- color: var(--sco-white);
905
- padding: 0
906
- }
907
-
908
- #article-container .author-content-item.single.like-movie .banner-button-group .banner-button i {
909
- margin-right: 0;
910
- font-size: 1.5rem
911
- }
912
-
913
- #article-container .author-content-item.single.like-movie .banner-button-group .banner-button-text {
914
- display: none
915
- }
916
- }
917
-
918
- .main-hero-waves-area
919
- width 100%
920
- position absolute
921
- left 0
922
- bottom -11px
923
- z-index 5
924
-
925
- .waves-area .waves-svg
926
- width 100%
927
- height 60px
928
-
929
- .parallax > use
930
- animation move-forever 30s cubic-bezier(.55, .5, .45, .5) infinite
931
-
932
- .parallax > use:nth-child(1)
933
- animation-delay -2s
934
- animation-duration 7s
935
- fill var(--sco-background)
936
- opacity .5
937
-
938
- .parallax > use:nth-child(2)
939
- animation-delay -3s
940
- animation-duration 10s
941
- fill var(--sco-background)
942
- opacity .6
943
-
944
- .parallax > use:nth-child(3)
945
- animation-delay -4s
946
- animation-duration 13s
947
- fill var(--sco-background)
948
- opacity .7
949
-
950
- .parallax > use:nth-child(4)
951
- animation-delay -5s
952
- animation-duration 20s
953
- fill var(--sco-background)
954
-
955
- @media (max-width: 768px)
956
- .main-hero-waves-area
957
- display none