hexo-theme-solitude 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +674 -19
  2. package/README.md +56 -19
  3. package/README_EN.md +98 -0
  4. package/_config.yml +274 -224
  5. package/languages/en-US.yml +1 -0
  6. package/languages/zh-CN.yml +8 -8
  7. package/layout/404.pug +24 -0
  8. package/layout/archive.pug +11 -0
  9. package/layout/category.pug +16 -0
  10. package/layout/includes/console.pug +42 -0
  11. package/layout/includes/footer.pug +71 -0
  12. package/layout/includes/head/config.pug +79 -0
  13. package/layout/includes/head/pwa.pug +59 -0
  14. package/layout/includes/head.pug +29 -0
  15. package/layout/includes/header.pug +4 -0
  16. package/layout/includes/inject/body.pug +68 -0
  17. package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +60 -37
  18. package/layout/includes/layout.pug +35 -0
  19. package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
  20. package/layout/includes/mixins/articleSort.pug +14 -0
  21. package/layout/includes/mixins/pagination.pug +8 -0
  22. package/layout/includes/nav.pug +22 -0
  23. package/layout/includes/page/about.pug +10 -0
  24. package/layout/includes/page/categories.pug +8 -0
  25. package/layout/includes/page/default.pug +2 -0
  26. package/layout/includes/page/echarts.pug +7 -0
  27. package/layout/includes/page/equipment.pug +3 -0
  28. package/layout/includes/page/links.pug +35 -0
  29. package/layout/includes/page/moments.pug +5 -0
  30. package/layout/includes/page/rss.pug +22 -0
  31. package/layout/includes/page/says.pug +20 -0
  32. package/layout/includes/page/tags.pug +8 -0
  33. package/layout/includes/page/tlink.pug +9 -0
  34. package/layout/includes/recent-posts.pug +9 -0
  35. package/layout/includes/sidebar.pug +17 -0
  36. package/layout/includes/widgets/aside/aside.pug +18 -0
  37. package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
  38. package/layout/includes/widgets/aside/asideArchive.pug +9 -0
  39. package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
  40. package/layout/includes/widgets/aside/asideHistory.pug +8 -0
  41. package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
  42. package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
  43. package/layout/includes/widgets/aside/asidePower.pug +19 -0
  44. package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
  45. package/layout/includes/widgets/aside/asideTag.pug +11 -0
  46. package/layout/includes/widgets/aside/asideToc.pug +5 -0
  47. package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
  48. package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
  49. package/layout/includes/widgets/home/banner.pug +16 -0
  50. package/layout/includes/widgets/home/bbTimeList.pug +8 -0
  51. package/layout/includes/widgets/home/categoryBar.pug +10 -0
  52. package/layout/includes/widgets/home/categoryGroup.pug +9 -0
  53. package/layout/includes/widgets/home/hometop.pug +9 -0
  54. package/layout/includes/widgets/home/postList.pug +26 -0
  55. package/layout/includes/widgets/home/rencentPost.pug +26 -0
  56. package/layout/includes/widgets/home/topGroup.pug +27 -0
  57. package/layout/includes/widgets/nav/left.pug +10 -0
  58. package/layout/includes/widgets/nav/menu.pug +16 -0
  59. package/layout/includes/widgets/nav/right.pug +23 -0
  60. package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
  61. package/layout/includes/widgets/page/about/award.pug +34 -0
  62. package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
  63. package/layout/includes/widgets/page/about/hobbies.pug +33 -0
  64. package/layout/includes/widgets/page/about/motto.pug +19 -0
  65. package/layout/includes/widgets/page/about/other.pug +61 -0
  66. package/layout/includes/widgets/page/about/personalities.pug +16 -0
  67. package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
  68. package/layout/includes/widgets/page/banner.pug +14 -0
  69. package/layout/includes/widgets/page/equipment/content.pug +23 -0
  70. package/layout/includes/widgets/page/links/banner.pug +30 -0
  71. package/layout/includes/widgets/page/links/linksCard.pug +18 -0
  72. package/layout/includes/widgets/page/links/linksItem.pug +14 -0
  73. package/layout/includes/widgets/page/moments/angle.pug +24 -0
  74. package/layout/includes/widgets/page/moments/index.pug +18 -0
  75. package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
  76. package/layout/includes/widgets/page/says/saysContent.pug +6 -0
  77. package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
  78. package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
  79. package/layout/includes/widgets/post/award.pug +48 -0
  80. package/layout/includes/widgets/post/copyright.pug +27 -0
  81. package/layout/includes/widgets/post/postMeta.pug +55 -0
  82. package/layout/includes/widgets/post/postNav.pug +25 -0
  83. package/layout/includes/widgets/post/wave.pug +9 -0
  84. package/layout/includes/widgets/randomlink.pug +32 -0
  85. package/layout/includes/widgets/rightside/index.pug +74 -0
  86. package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
  87. package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
  88. package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
  89. package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
  90. package/layout/includes/widgets/third-party/music.pug +3 -0
  91. package/layout/includes/widgets/third-party/pjax.pug +30 -0
  92. package/layout/includes/widgets/third-party/search/algolia-search.pug +16 -0
  93. package/layout/includes/widgets/third-party/search/index.pug +7 -0
  94. package/layout/includes/widgets/third-party/search/local-search.pug +15 -0
  95. package/layout/index.pug +20 -0
  96. package/layout/page.pug +32 -0
  97. package/layout/post.pug +43 -0
  98. package/layout/tag.pug +19 -0
  99. package/package.json +3 -3
  100. package/scripts/event/page.js +20 -2
  101. package/scripts/filter/checkThemeConfig.js +0 -1
  102. package/scripts/filter/randomPosts.js +0 -1
  103. package/scripts/helper/{charts.js → echarts.js} +21 -11
  104. package/scripts/helper/related_post.js +10 -3
  105. package/scripts/helper/stylus.js +23 -0
  106. package/scripts/tags/bvideo.js +1 -36
  107. package/scripts/tags/fold.js +2 -3
  108. package/scripts/tags/note.js +6 -2
  109. package/scripts/tags/tabs.js +1 -1
  110. package/source/css/_comment/index.styl +121 -0
  111. package/source/css/_comment/twikoo.styl +515 -0
  112. package/source/css/_extra/console.styl +354 -0
  113. package/source/css/_extra/rightmenu.styl +83 -0
  114. package/source/css/_global/animation.css +756 -0
  115. package/source/css/_global/function.styl +83 -0
  116. package/source/css/_global/index.styl +120 -0
  117. package/source/css/_global/var.styl +1 -0
  118. package/source/css/_layout/articleSort.styl +199 -0
  119. package/source/css/_layout/base.styl +392 -0
  120. package/source/css/_layout/footer.styl +359 -0
  121. package/source/css/_layout/header.styl +1331 -0
  122. package/source/css/_layout/index.styl +293 -0
  123. package/source/css/_layout/sidebar.styl +226 -0
  124. package/source/css/_mode/index.styl +52 -0
  125. package/source/css/_page/about.styl +944 -0
  126. package/source/css/_page/category.styl +141 -0
  127. package/source/css/_page/equipment.styl +108 -0
  128. package/source/css/_page/error.styl +161 -0
  129. package/source/css/_page/home.styl +58 -0
  130. package/source/css/_page/homeTop.styl +1035 -0
  131. package/source/css/_page/index.styl +22 -0
  132. package/source/css/_page/link.styl +433 -0
  133. package/source/css/_page/moment.styl +186 -0
  134. package/source/css/_page/rss.styl +87 -0
  135. package/source/css/_page/says.styl +353 -0
  136. package/source/css/_page/tag.styl +56 -0
  137. package/source/css/_post/commentBarrage.styl +149 -0
  138. package/source/css/_post/externalTags.styl +694 -0
  139. package/source/css/_post/highlight.styl +96 -0
  140. package/source/css/_post/index.styl +935 -0
  141. package/source/css/_post/pagination.styl +467 -0
  142. package/source/css/_post/postContent.styl +957 -0
  143. package/source/css/_post/relatedPost.styl +160 -0
  144. package/source/css/_post/reward.styl +217 -0
  145. package/source/css/_search/algolia-search.styl +206 -0
  146. package/source/css/_search/local-search.styl +112 -0
  147. package/source/css/_widgets/aside/allinfo.styl +134 -0
  148. package/source/css/_widgets/aside/flip.styl +68 -0
  149. package/source/css/_widgets/aside/history.styl +35 -0
  150. package/source/css/_widgets/aside/index.styl +156 -0
  151. package/source/css/_widgets/aside/info.styl +263 -0
  152. package/source/css/_widgets/aside/newPost.styl +55 -0
  153. package/source/css/_widgets/aside/power.styl +90 -0
  154. package/source/css/_widgets/aside/toc.styl +85 -0
  155. package/source/css/_widgets/aside/welcome.styl +14 -0
  156. package/source/css/_widgets/index.styl +3 -0
  157. package/source/css/index.styl +40 -0
  158. package/source/img/default.png +0 -0
  159. package/source/img/logo-horizontal_version.png +0 -0
  160. package/source/img/pwa/16.png +0 -0
  161. package/source/img/pwa/180.png +0 -0
  162. package/source/img/pwa/192.png +0 -0
  163. package/source/img/pwa/32.png +0 -0
  164. package/source/img/pwa/512.png +0 -0
  165. package/source/img/pwa/logo.png +0 -0
  166. package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
  167. package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
  168. package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
  169. package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
  170. package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
  171. package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
  172. package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
  173. package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
  174. package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
  175. package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
  176. package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
  177. package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
  178. package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
  179. package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
  180. package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
  181. package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
  182. package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
  183. package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
  184. package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
  185. package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
  186. package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
  187. package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
  188. package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
  189. package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
  190. package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
  191. package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
  192. package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
  193. package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
  194. package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
  195. package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
  196. package/source/img/solitude-show.jpg +0 -0
  197. package/source/js/commentBarrage.js +8 -5
  198. package/source/js/extend/console/comment.js +60 -63
  199. package/source/js/extend/covercolor/local.js +105 -95
  200. package/source/js/extend/search/algolia-search.js +104 -111
  201. package/source/js/extend/search/local-search.js +7 -7
  202. package/source/js/main.js +673 -520
  203. package/source/js/utils.js +131 -137
  204. package/source/lib/chuckle-post-ai.js +1 -1
  205. package/layout/404.ejs +0 -34
  206. package/layout/archive.ejs +0 -10
  207. package/layout/category.ejs +0 -18
  208. package/layout/index.ejs +0 -20
  209. package/layout/layout.ejs +0 -30
  210. package/layout/page/about.ejs +0 -13
  211. package/layout/page/categories.ejs +0 -12
  212. package/layout/page/circle.ejs +0 -5
  213. package/layout/page/echarts.ejs +0 -14
  214. package/layout/page/equipment.ejs +0 -2
  215. package/layout/page/links.ejs +0 -46
  216. package/layout/page/page.ejs +0 -3
  217. package/layout/page/rss.ejs +0 -37
  218. package/layout/page/says.ejs +0 -17
  219. package/layout/page/tags.ejs +0 -12
  220. package/layout/page/tlink.ejs +0 -11
  221. package/layout/page.ejs +0 -45
  222. package/layout/partial/body.ejs +0 -7
  223. package/layout/partial/compoment/about/authorinfo.ejs +0 -18
  224. package/layout/partial/compoment/about/award.ejs +0 -59
  225. package/layout/partial/compoment/about/contentinfo.ejs +0 -33
  226. package/layout/partial/compoment/about/hobbies.ejs +0 -53
  227. package/layout/partial/compoment/about/motto.ejs +0 -17
  228. package/layout/partial/compoment/about/other.ejs +0 -76
  229. package/layout/partial/compoment/about/personalities.ejs +0 -11
  230. package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
  231. package/layout/partial/compoment/aside/aside.ejs +0 -28
  232. package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
  233. package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
  234. package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
  235. package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
  236. package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
  237. package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
  238. package/layout/partial/compoment/aside/asidePower.ejs +0 -31
  239. package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
  240. package/layout/partial/compoment/aside/asideTag.ejs +0 -5
  241. package/layout/partial/compoment/aside/asideToc.ejs +0 -11
  242. package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
  243. package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
  244. package/layout/partial/compoment/circle/angle.ejs +0 -26
  245. package/layout/partial/compoment/circle/banner.ejs +0 -11
  246. package/layout/partial/compoment/circle/content.ejs +0 -19
  247. package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
  248. package/layout/partial/compoment/equipment/list.ejs +0 -37
  249. package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
  250. package/layout/partial/compoment/home/postList.ejs +0 -37
  251. package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
  252. package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
  253. package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
  254. package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
  255. package/layout/partial/compoment/inject/body.ejs +0 -72
  256. package/layout/partial/compoment/links/angle.ejs +0 -26
  257. package/layout/partial/compoment/links/banner.ejs +0 -42
  258. package/layout/partial/compoment/links/linksCard.ejs +0 -27
  259. package/layout/partial/compoment/links/linksItem.ejs +0 -21
  260. package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
  261. package/layout/partial/compoment/mixins/pagination.ejs +0 -11
  262. package/layout/partial/compoment/nav/left.ejs +0 -22
  263. package/layout/partial/compoment/nav/menu.ejs +0 -25
  264. package/layout/partial/compoment/nav/right.ejs +0 -42
  265. package/layout/partial/compoment/post/award.ejs +0 -52
  266. package/layout/partial/compoment/post/copyright.ejs +0 -37
  267. package/layout/partial/compoment/post/postMeta.ejs +0 -83
  268. package/layout/partial/compoment/post/postNav.ejs +0 -41
  269. package/layout/partial/compoment/post/wave.ejs +0 -14
  270. package/layout/partial/compoment/says/banner.ejs +0 -10
  271. package/layout/partial/compoment/says/saysBottom.ejs +0 -18
  272. package/layout/partial/compoment/says/saysContent.ejs +0 -10
  273. package/layout/partial/compoment/says/saysFunction.ejs +0 -15
  274. package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
  275. package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
  276. package/layout/partial/compoment/third-party/music.ejs +0 -5
  277. package/layout/partial/compoment/third-party/pjax.ejs +0 -31
  278. package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
  279. package/layout/partial/compoment/third-party/search/index.ejs +0 -10
  280. package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
  281. package/layout/partial/compoment/tlink/banner.ejs +0 -10
  282. package/layout/partial/console.ejs +0 -68
  283. package/layout/partial/footer.ejs +0 -104
  284. package/layout/partial/head.ejs +0 -37
  285. package/layout/partial/header.ejs +0 -6
  286. package/layout/partial/hometop.ejs +0 -15
  287. package/layout/partial/nav.ejs +0 -34
  288. package/layout/partial/pwa.ejs +0 -40
  289. package/layout/partial/sidebar.ejs +0 -31
  290. package/layout/post.ejs +0 -52
  291. package/layout/tag.ejs +0 -19
  292. package/scripts/filter/katex.js +0 -25
  293. package/scripts/helper/randomLinks.js +0 -16
  294. package/scripts/helper/themeJsExport.js +0 -79
  295. package/scripts/tags/expand.js +0 -4
  296. package/scripts/tags/hide.js +0 -70
  297. package/source/css/commentBarrage.css +0 -174
  298. package/source/css/custom.css +0 -901
  299. package/source/css/main.css +0 -16420
  300. package/source/css/search/algolia-search.css +0 -141
  301. package/source/css/search/local-search.css +0 -138
  302. package/source/css/var.css +0 -189
  303. package/source/js/extend/covercolor/web.js +0 -137
  304. /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -0,0 +1,141 @@
1
+ .category-lists
2
+ span.tags-punctuation
3
+ font-size: 18px
4
+
5
+ span.tagsPageCount
6
+ margin-left: 4px
7
+
8
+ #page
9
+ .category-lists
10
+ padding: 1rem 0 1.5rem
11
+
12
+ ul
13
+ display: flex
14
+ padding: 0
15
+ flex-wrap: wrap
16
+ flex-direction: row
17
+ margin-top: .4rem
18
+ padding: 0 0 0 1rem
19
+ list-style: none
20
+ counter-reset: li 0
21
+
22
+ ul
23
+ padding-left: .2rem
24
+
25
+ li
26
+ margin: 0 8px 8px 0
27
+ position: relative
28
+ margin: .3rem 0
29
+ padding: .12em .4em .12em 1.4em
30
+
31
+ &::before
32
+ display: none
33
+ position: absolute
34
+ left: 0
35
+ cursor: pointer
36
+ transition: all .3s ease-out 0s
37
+ top: .7em
38
+ width: .43em
39
+ height: .43em
40
+ border: .215em solid #307af6
41
+ border-radius: .43em
42
+ background: 0 0
43
+ content: ""
44
+
45
+ &:hover::before
46
+ border-color: #ff7242
47
+
48
+ padding: 4px 16px
49
+ width: 200px
50
+ border-radius: 12px
51
+ background: var(--sco-card-bg)
52
+ border: var(--style-border-always)
53
+
54
+ .category-title
55
+ font-size: 2.57em
56
+
57
+ .category-list
58
+ a
59
+ color: var(--sco-fontcolor)
60
+
61
+ &:hover
62
+ color: #307af6
63
+
64
+ .category-list-count
65
+ margin-left: .4rem
66
+ color: #858585
67
+
68
+ &::before
69
+ content: "("
70
+
71
+ &::after
72
+ content: ")"
73
+
74
+ .tag-cloud-list
75
+ a
76
+ display: flex
77
+ width: fit-content
78
+ color: var(--sco-fontcolor) !important
79
+ font-size: 1.4em !important
80
+ padding: .2em .5em
81
+ background: var(--sco-card-bg)
82
+ margin: .5em .5em
83
+ border-radius: 12px
84
+ -webkit-backface-visibility: hidden
85
+ -webkit-transform-style: preserve-3d
86
+ border: var(--style-border-always)
87
+ box-shadow: var(--sco-shadow-border)
88
+ align-items: center
89
+
90
+ &:hover
91
+ transform scale(1.1)
92
+ background var(--sco-main) !important
93
+ box-shadow var(--sco-shadow-blue)
94
+ color var(--sco-white) !important
95
+ border var(--style-border-hover)
96
+
97
+ span.tagsPageCount
98
+ color: var(--sco-lighttext)
99
+
100
+ +maxWidth768()
101
+ zoom .85
102
+
103
+ .tags-name
104
+ margin-left: 2px
105
+
106
+ @media screen and (max-width: 768px)
107
+ #page
108
+ .category-lists
109
+ padding: 0
110
+
111
+ .category-title
112
+ font-size: 2em
113
+
114
+ span.tagsPageCount
115
+ background: var(--sco-secondbg)
116
+ padding: 4px 4px
117
+ border-radius: 4px
118
+ color: var(--sco-secondtext)
119
+ line-height: 1
120
+ text-align: center
121
+ min-width: 22.5px
122
+ display: inline-block
123
+ font-size: .6rem
124
+ margin-left: 4px
125
+
126
+ #category #category-bar
127
+ padding 0
128
+ border none
129
+ box-shadow none
130
+
131
+ +maxWidth768()
132
+ border-radius: 0;
133
+ background: var(--sco-background);
134
+ margin-bottom: 0;
135
+ position: -webkit-sticky;
136
+ position: sticky;
137
+ z-index: 1;
138
+ padding: 0;
139
+ height: 50px;
140
+ margin-top: 0;
141
+ align-items: center;
@@ -0,0 +1,108 @@
1
+ .author-content.author-content-item.equipment
2
+ height 19rem
3
+ background-size cover
4
+ color var(--sco-white)
5
+ overflow hidden
6
+ margin-top 0
7
+
8
+ .equipment-item-content
9
+ display flex
10
+ flex-direction row
11
+ flex-wrap wrap
12
+ margin 0 -8px
13
+
14
+ .equipment-item-content-item
15
+ width calc(25% - 12px)
16
+ border-radius 12px
17
+ border var(--style-border-always)
18
+ overflow hidden
19
+ margin 8px 6px
20
+ background var(--sco-card-bg)
21
+ box-shadow var(--sco-shadow-border)
22
+ min-height 400px
23
+ position relative
24
+
25
+ +maxWidth1200()
26
+ width calc(50% - 12px)
27
+
28
+ +maxWidth768()
29
+ width 100%
30
+
31
+ .equipment-item-content-item-info
32
+ padding 8px 16px 16px 16px
33
+ margin-top 12px
34
+
35
+ .equipment-item-content-item-name
36
+ font-size 18px
37
+ font-weight 700
38
+ line-height 1
39
+ margin-bottom 8px
40
+ white-space nowrap
41
+ overflow hidden
42
+ text-overflow ellipsis
43
+ cursor pointer
44
+ width fit-content
45
+
46
+ &:hover
47
+ color var(--sco-main)
48
+
49
+ .equipment-item-content-item-specification
50
+ font-size 12px
51
+ color var(--sco-secondtext)
52
+ line-height 1
53
+ margin-bottom 12px
54
+ white-space nowrap
55
+ overflow hidden
56
+ text-overflow ellipsis
57
+
58
+ .equipment-item-content-item-description
59
+ line-height 20px
60
+ color var(--sco-secondtext)
61
+ height 60px
62
+ display -webkit-box
63
+ overflow hidden
64
+ -webkit-line-clamp 3
65
+ -webkit-box-orient vertical
66
+ font-size 14px
67
+
68
+ a.equipment-item-content-item-link
69
+ font-size 12px
70
+ background var(--sco-gray-op)
71
+ padding 4px 8px
72
+ border-radius 8px
73
+ cursor pointer
74
+
75
+ &:hover
76
+ background var(--sco-main)
77
+ color var(--sco-white)
78
+
79
+ h2.equipment-item-title
80
+ line-height 1
81
+
82
+ .equipment-item-description
83
+ line-height 1
84
+ margin 4px 0 8px 0
85
+ color var(--sco-secondtext)
86
+
87
+ .equipment-item-content-item-cover
88
+ width 100%
89
+ height 200px
90
+ background var(--sco-secondbg)
91
+ display flex
92
+ justify-content center
93
+
94
+ img.equipment-item-content-item-image
95
+ object-fit cover
96
+ height 100%
97
+
98
+ div#equipment
99
+ margin-top 26px
100
+
101
+ .equipment-item-content-item-toolbar
102
+ display flex
103
+ justify-content space-between
104
+ position absolute
105
+ bottom 12px
106
+ left 0
107
+ width 100%
108
+ padding 0 16px
@@ -0,0 +1,161 @@
1
+ #error-wrap
2
+ display: flex
3
+ justify-content: center
4
+ margin: 0 1rem
5
+ width: 100%
6
+ position: relative
7
+
8
+ .error-content
9
+ display: flex
10
+ flex-direction: row
11
+ justify-content: center
12
+ align-items: center
13
+ margin: 0 1rem
14
+ height: 18rem
15
+ max-width: 800px
16
+ border-radius: 5px
17
+ background: var(--sco-card-bg)
18
+ box-shadow: var(--card-box-shadow)
19
+ transition: all .3s ease 0s
20
+ border: var(--style-border-always)
21
+ position: relative
22
+ width: 100%
23
+
24
+ &:hover
25
+ box-shadow: var(--card-hover-box-shadow)
26
+
27
+ .error-img
28
+ flex: 1 1 0
29
+ height: 100%
30
+ width: 600px
31
+ border-top-left-radius: 8px
32
+ border-bottom-left-radius: 8px
33
+ background-color: #307af6
34
+ background-position: center center
35
+ background-size: cover
36
+
37
+ .error-info
38
+ flex: 1 1 0
39
+ padding: .5rem
40
+ text-align: center
41
+ font-size: 14px
42
+ font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
43
+
44
+ .error_title
45
+ font-size: 9em
46
+ line-height: 1
47
+
48
+ .error_subtitle
49
+ word-break: break-word
50
+ font-size: 1.6em
51
+ -webkit-line-clamp: 2
52
+
53
+ a
54
+ display: inline-block
55
+ margin-top: .5rem
56
+ padding: .3rem 1.5rem
57
+ background: var(--btn-bg)
58
+ color: var(--btn-color)
59
+
60
+ i
61
+ padding-right: .3rem
62
+
63
+ box-shadow: none !important
64
+ border-radius: 12px
65
+ background: var(--sco-card-bg) !important
66
+
67
+ #body-wrap.error
68
+ display: flex
69
+ flex-direction: column
70
+ justify-content: center
71
+ align-items: center
72
+ padding: 50px 1rem 1rem
73
+ position: relative
74
+
75
+ .aside-list
76
+ display: flex
77
+ flex-direction: row
78
+ flex-wrap: nowrap
79
+ margin: 1rem
80
+ max-width: 100%
81
+
82
+ .aside-list-group
83
+ display: flex
84
+ flex-direction: row
85
+ flex-wrap: wrap
86
+ max-width: 800px
87
+ margin: 0 auto
88
+ justify-content: space-between
89
+
90
+ .aside-list-item
91
+ padding: .5rem 0
92
+ width: 49%
93
+
94
+ img
95
+ width: 100%
96
+ object-fit: cover
97
+ border-radius: 12px
98
+
99
+ .thumbnail
100
+ overflow: hidden
101
+ width: 100%
102
+ height: 200px
103
+ background: var(--sco-card-bg)
104
+ display: flex
105
+
106
+ .content .title
107
+ -webkit-line-clamp: 2
108
+ overflow: hidden
109
+ display: -webkit-box
110
+ -webkit-box-orient: vertical
111
+ line-height: 1.5
112
+ justify-content: center
113
+ align-items: flex-end
114
+ align-content: center
115
+ padding-top: .5rem
116
+ font-size: 16px
117
+ font-weight: 700
118
+
119
+ .content time
120
+ display: none
121
+
122
+ .button--animated
123
+ border-radius: 8px !important
124
+ transition: .3s
125
+
126
+ &:before
127
+ display: none
128
+
129
+ @media screen and (max-width: 768px)
130
+ #error-wrap .error-content
131
+ flex-direction: column
132
+ margin: 0
133
+ height: 25rem
134
+ width: 100%
135
+
136
+ .error-img
137
+ flex: 1 1 0
138
+ width: 100%
139
+ border-radius: 12px
140
+
141
+ .error-info
142
+ flex: 1.1 1 0
143
+ width: 100%
144
+ padding-bottom: 2rem
145
+
146
+ .error_title
147
+ font-size: 4rem
148
+
149
+ #body-wrap.error
150
+ padding-top: 0
151
+
152
+ .aside-list
153
+ margin: 0
154
+
155
+ .aside-list .aside-list-item .thumbnail
156
+ height: 100px
157
+
158
+ #error-wrap .error-content .error-info a:hover
159
+ background-color: var(--sco-blue)
160
+ transition: .3s
161
+ box-shadow: var(--sco-shadow-blue)
@@ -0,0 +1,58 @@
1
+ // 即刻、categoriesBar 样式
2
+ #bbTimeList,
3
+ #category-bar
4
+ padding 0.4rem 1rem 0.4rem 1rem
5
+ background var(--sco-card-bg)
6
+ border-radius 12px
7
+ display flex
8
+ white-space nowrap
9
+ overflow hidden
10
+ margin-bottom 1rem
11
+ border var(--style-border)
12
+ transition .3s
13
+ width 100%
14
+ justify-content space-between
15
+ -webkit-user-select none
16
+ align-items center
17
+
18
+ +maxWidth1300()
19
+ margin-bottom 1rem
20
+ animation slide-in .6s 0s backwards
21
+
22
+ +minWidth1300()
23
+ &:hover
24
+ border var(--style-border-hover)
25
+ box-shadow var(--sco-shadow-main)
26
+
27
+ +maxWidth768()
28
+ margin-bottom 0
29
+ margin-top 0
30
+ border-radius 0
31
+ background var(--sco-background)
32
+ padding 0.5rem 20px
33
+ border none
34
+
35
+ #category-bar
36
+ white-space nowrap
37
+ overflow hidden
38
+ justify-content space-between
39
+
40
+ +minWidth1300()
41
+ margin-bottom 0.75rem
42
+ animation slide-in .6s .3s backwards
43
+
44
+ .category-in-bar-tips
45
+ margin-bottom .25rem
46
+
47
+ .page-title
48
+ display none
49
+
50
+ #page h1.page-title
51
+ margin .4rem 0 1rem
52
+
53
+ #page
54
+ background 0 0
55
+ border none
56
+ padding 0
57
+ box-shadow none
58
+ min-height calc(100vh - 464px)