hexo-theme-solitude 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/LICENSE +674 -19
  2. package/_config.yml +243 -193
  3. package/languages/en-US.yml +1 -0
  4. package/languages/zh-CN.yml +8 -8
  5. package/layout/404.pug +24 -0
  6. package/layout/archive.pug +11 -0
  7. package/layout/category.pug +16 -0
  8. package/layout/includes/console.pug +42 -0
  9. package/layout/includes/footer.pug +71 -0
  10. package/layout/includes/head/config.pug +79 -0
  11. package/layout/includes/head/pwa.pug +59 -0
  12. package/layout/includes/head.pug +29 -0
  13. package/layout/includes/header.pug +4 -0
  14. package/layout/includes/inject/body.pug +68 -0
  15. package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +59 -35
  16. package/layout/includes/layout.pug +35 -0
  17. package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
  18. package/layout/includes/mixins/articleSort.pug +14 -0
  19. package/layout/includes/mixins/pagination.pug +8 -0
  20. package/layout/includes/nav.pug +22 -0
  21. package/layout/includes/page/about.pug +10 -0
  22. package/layout/includes/page/categories.pug +8 -0
  23. package/layout/includes/page/default.pug +2 -0
  24. package/layout/includes/page/echarts.pug +7 -0
  25. package/layout/includes/page/equipment.pug +3 -0
  26. package/layout/includes/page/links.pug +35 -0
  27. package/layout/includes/page/moments.pug +5 -0
  28. package/layout/includes/page/rss.pug +22 -0
  29. package/layout/includes/page/says.pug +20 -0
  30. package/layout/includes/page/tags.pug +8 -0
  31. package/layout/includes/page/tlink.pug +9 -0
  32. package/layout/includes/recent-posts.pug +9 -0
  33. package/layout/includes/sidebar.pug +17 -0
  34. package/layout/includes/widgets/aside/aside.pug +18 -0
  35. package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
  36. package/layout/includes/widgets/aside/asideArchive.pug +9 -0
  37. package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
  38. package/layout/includes/widgets/aside/asideHistory.pug +8 -0
  39. package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
  40. package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
  41. package/layout/includes/widgets/aside/asidePower.pug +19 -0
  42. package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
  43. package/layout/includes/widgets/aside/asideTag.pug +11 -0
  44. package/layout/includes/widgets/aside/asideToc.pug +5 -0
  45. package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
  46. package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
  47. package/layout/includes/widgets/home/banner.pug +16 -0
  48. package/layout/includes/widgets/home/bbTimeList.pug +8 -0
  49. package/layout/includes/widgets/home/categoryBar.pug +10 -0
  50. package/layout/includes/widgets/home/categoryGroup.pug +9 -0
  51. package/layout/includes/widgets/home/hometop.pug +9 -0
  52. package/layout/includes/widgets/home/postList.pug +26 -0
  53. package/layout/includes/widgets/home/rencentPost.pug +26 -0
  54. package/layout/includes/widgets/home/topGroup.pug +27 -0
  55. package/layout/includes/widgets/nav/left.pug +10 -0
  56. package/layout/includes/widgets/nav/menu.pug +16 -0
  57. package/layout/includes/widgets/nav/right.pug +23 -0
  58. package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
  59. package/layout/includes/widgets/page/about/award.pug +34 -0
  60. package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
  61. package/layout/includes/widgets/page/about/hobbies.pug +33 -0
  62. package/layout/includes/widgets/page/about/motto.pug +19 -0
  63. package/layout/includes/widgets/page/about/other.pug +61 -0
  64. package/layout/includes/widgets/page/about/personalities.pug +16 -0
  65. package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
  66. package/layout/includes/widgets/page/banner.pug +14 -0
  67. package/layout/includes/widgets/page/equipment/content.pug +23 -0
  68. package/layout/includes/widgets/page/links/banner.pug +30 -0
  69. package/layout/includes/widgets/page/links/linksCard.pug +18 -0
  70. package/layout/includes/widgets/page/links/linksItem.pug +14 -0
  71. package/layout/includes/widgets/page/moments/angle.pug +24 -0
  72. package/layout/includes/widgets/page/moments/index.pug +18 -0
  73. package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
  74. package/layout/includes/widgets/page/says/saysContent.pug +6 -0
  75. package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
  76. package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
  77. package/layout/includes/widgets/post/award.pug +48 -0
  78. package/layout/includes/widgets/post/copyright.pug +27 -0
  79. package/layout/includes/widgets/post/postMeta.pug +55 -0
  80. package/layout/includes/widgets/post/postNav.pug +25 -0
  81. package/layout/includes/widgets/post/wave.pug +9 -0
  82. package/layout/includes/widgets/randomlink.pug +32 -0
  83. package/layout/includes/widgets/rightside/index.pug +74 -0
  84. package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
  85. package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
  86. package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
  87. package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
  88. package/layout/includes/widgets/third-party/music.pug +3 -0
  89. package/layout/includes/widgets/third-party/pjax.pug +30 -0
  90. package/layout/includes/widgets/third-party/search/algolia-search.pug +16 -0
  91. package/layout/includes/widgets/third-party/search/index.pug +7 -0
  92. package/layout/includes/widgets/third-party/search/local-search.pug +15 -0
  93. package/layout/index.pug +20 -0
  94. package/layout/page.pug +32 -0
  95. package/layout/post.pug +43 -0
  96. package/layout/tag.pug +19 -0
  97. package/package.json +4 -4
  98. package/scripts/event/page.js +20 -2
  99. package/scripts/filter/checkThemeConfig.js +0 -1
  100. package/scripts/filter/randomPosts.js +0 -1
  101. package/scripts/helper/{charts.js → echarts.js} +27 -28
  102. package/scripts/helper/stylus.js +23 -0
  103. package/scripts/tags/bvideo.js +1 -36
  104. package/source/css/_comment/index.styl +121 -0
  105. package/source/css/_comment/twikoo.styl +515 -0
  106. package/source/css/_extra/console.styl +354 -0
  107. package/source/css/_extra/rightmenu.styl +83 -0
  108. package/source/css/_global/animation.css +756 -0
  109. package/source/css/_global/function.styl +83 -0
  110. package/source/css/_global/index.styl +120 -0
  111. package/source/css/_global/var.styl +1 -0
  112. package/source/css/_layout/articleSort.styl +199 -0
  113. package/source/css/_layout/base.styl +392 -0
  114. package/source/css/_layout/footer.styl +359 -0
  115. package/source/css/_layout/header.styl +1331 -0
  116. package/source/css/_layout/index.styl +293 -0
  117. package/source/css/_layout/sidebar.styl +226 -0
  118. package/source/css/_mode/index.styl +52 -0
  119. package/source/css/_page/about.styl +944 -0
  120. package/source/css/_page/category.styl +141 -0
  121. package/source/css/_page/equipment.styl +108 -0
  122. package/source/css/_page/error.styl +161 -0
  123. package/source/css/_page/home.styl +58 -0
  124. package/source/css/_page/homeTop.styl +1035 -0
  125. package/source/css/_page/index.styl +22 -0
  126. package/source/css/_page/link.styl +433 -0
  127. package/source/css/_page/moment.styl +186 -0
  128. package/source/css/_page/rss.styl +87 -0
  129. package/source/css/_page/says.styl +353 -0
  130. package/source/css/_page/tag.styl +56 -0
  131. package/source/css/_post/commentBarrage.styl +149 -0
  132. package/source/css/_post/externalTags.styl +694 -0
  133. package/source/css/_post/highlight.styl +96 -0
  134. package/source/css/_post/index.styl +935 -0
  135. package/source/css/_post/pagination.styl +467 -0
  136. package/source/css/_post/postContent.styl +957 -0
  137. package/source/css/_post/relatedPost.styl +160 -0
  138. package/source/css/_post/reward.styl +217 -0
  139. package/source/css/_search/algolia-search.styl +206 -0
  140. package/source/css/_search/local-search.styl +112 -0
  141. package/source/css/_widgets/aside/allinfo.styl +134 -0
  142. package/source/css/_widgets/aside/flip.styl +68 -0
  143. package/source/css/_widgets/aside/history.styl +35 -0
  144. package/source/css/_widgets/aside/index.styl +156 -0
  145. package/source/css/_widgets/aside/info.styl +263 -0
  146. package/source/css/_widgets/aside/newPost.styl +55 -0
  147. package/source/css/_widgets/aside/power.styl +90 -0
  148. package/source/css/_widgets/aside/toc.styl +85 -0
  149. package/source/css/_widgets/aside/welcome.styl +14 -0
  150. package/source/css/_widgets/index.styl +3 -0
  151. package/source/css/index.styl +40 -0
  152. package/source/js/commentBarrage.js +8 -5
  153. package/source/js/extend/console/comment.js +60 -63
  154. package/source/js/extend/covercolor/local.js +1 -1
  155. package/source/js/extend/search/algolia-search.js +104 -111
  156. package/source/js/extend/search/local-search.js +7 -7
  157. package/source/js/main.js +655 -505
  158. package/source/js/utils.js +131 -137
  159. package/layout/404.ejs +0 -34
  160. package/layout/archive.ejs +0 -10
  161. package/layout/category.ejs +0 -18
  162. package/layout/index.ejs +0 -20
  163. package/layout/layout.ejs +0 -30
  164. package/layout/page/about.ejs +0 -15
  165. package/layout/page/categories.ejs +0 -12
  166. package/layout/page/circle.ejs +0 -5
  167. package/layout/page/echarts.ejs +0 -1
  168. package/layout/page/equipment.ejs +0 -2
  169. package/layout/page/links.ejs +0 -46
  170. package/layout/page/page.ejs +0 -3
  171. package/layout/page/rss.ejs +0 -39
  172. package/layout/page/says.ejs +0 -17
  173. package/layout/page/tags.ejs +0 -12
  174. package/layout/page/tlink.ejs +0 -11
  175. package/layout/page.ejs +0 -45
  176. package/layout/partial/body.ejs +0 -7
  177. package/layout/partial/compoment/about/authorinfo.ejs +0 -18
  178. package/layout/partial/compoment/about/award.ejs +0 -59
  179. package/layout/partial/compoment/about/contentinfo.ejs +0 -33
  180. package/layout/partial/compoment/about/hobbies.ejs +0 -53
  181. package/layout/partial/compoment/about/motto.ejs +0 -17
  182. package/layout/partial/compoment/about/other.ejs +0 -76
  183. package/layout/partial/compoment/about/personalities.ejs +0 -11
  184. package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
  185. package/layout/partial/compoment/aside/aside.ejs +0 -28
  186. package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
  187. package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
  188. package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
  189. package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
  190. package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
  191. package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
  192. package/layout/partial/compoment/aside/asidePower.ejs +0 -31
  193. package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
  194. package/layout/partial/compoment/aside/asideTag.ejs +0 -5
  195. package/layout/partial/compoment/aside/asideToc.ejs +0 -11
  196. package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
  197. package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
  198. package/layout/partial/compoment/circle/angle.ejs +0 -26
  199. package/layout/partial/compoment/circle/banner.ejs +0 -11
  200. package/layout/partial/compoment/circle/content.ejs +0 -19
  201. package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
  202. package/layout/partial/compoment/equipment/list.ejs +0 -37
  203. package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
  204. package/layout/partial/compoment/home/postList.ejs +0 -37
  205. package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
  206. package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
  207. package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
  208. package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
  209. package/layout/partial/compoment/inject/body.ejs +0 -70
  210. package/layout/partial/compoment/links/angle.ejs +0 -26
  211. package/layout/partial/compoment/links/banner.ejs +0 -42
  212. package/layout/partial/compoment/links/linksCard.ejs +0 -27
  213. package/layout/partial/compoment/links/linksItem.ejs +0 -21
  214. package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
  215. package/layout/partial/compoment/mixins/pagination.ejs +0 -11
  216. package/layout/partial/compoment/nav/left.ejs +0 -22
  217. package/layout/partial/compoment/nav/menu.ejs +0 -25
  218. package/layout/partial/compoment/nav/right.ejs +0 -42
  219. package/layout/partial/compoment/post/award.ejs +0 -60
  220. package/layout/partial/compoment/post/copyright.ejs +0 -39
  221. package/layout/partial/compoment/post/postMeta.ejs +0 -85
  222. package/layout/partial/compoment/post/postNav.ejs +0 -41
  223. package/layout/partial/compoment/post/wave.ejs +0 -14
  224. package/layout/partial/compoment/says/banner.ejs +0 -10
  225. package/layout/partial/compoment/says/saysBottom.ejs +0 -18
  226. package/layout/partial/compoment/says/saysContent.ejs +0 -10
  227. package/layout/partial/compoment/says/saysFunction.ejs +0 -15
  228. package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
  229. package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
  230. package/layout/partial/compoment/third-party/music.ejs +0 -5
  231. package/layout/partial/compoment/third-party/pjax.ejs +0 -31
  232. package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
  233. package/layout/partial/compoment/third-party/search/index.ejs +0 -10
  234. package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
  235. package/layout/partial/compoment/tlink/banner.ejs +0 -10
  236. package/layout/partial/console.ejs +0 -68
  237. package/layout/partial/footer.ejs +0 -109
  238. package/layout/partial/head.ejs +0 -37
  239. package/layout/partial/header.ejs +0 -6
  240. package/layout/partial/hometop.ejs +0 -15
  241. package/layout/partial/nav.ejs +0 -34
  242. package/layout/partial/pwa.ejs +0 -40
  243. package/layout/partial/sidebar.ejs +0 -31
  244. package/layout/post.ejs +0 -52
  245. package/layout/tag.ejs +0 -19
  246. package/scripts/helper/randomLinks.js +0 -16
  247. package/scripts/helper/themeJsExport.js +0 -79
  248. package/source/css/commentBarrage.css +0 -174
  249. package/source/css/custom.css +0 -901
  250. package/source/css/main.css +0 -16285
  251. package/source/css/search/algolia-search.css +0 -141
  252. package/source/css/search/local-search.css +0 -138
  253. package/source/css/var.css +0 -189
  254. /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -0,0 +1,160 @@
1
+ .relatedPosts
2
+ margin-top: 2rem
3
+ -webkit-user-select: none
4
+
5
+ > .relatedPosts-list
6
+ > div
7
+ position: relative
8
+ display: inline-block
9
+ overflow: hidden
10
+ margin: 3px
11
+ width: calc(33.333% - 6px)
12
+ height: 200px
13
+ background: var(--sco-main)
14
+ vertical-align: bottom
15
+
16
+ .cover
17
+ width: 360px
18
+ min-width: 45%
19
+ height: 100%
20
+ transition: all .6s ease 0s
21
+ object-fit: cover
22
+ filter: brightness(.9)
23
+ max-width: 45%
24
+
25
+ &::after
26
+ content: ' '
27
+ display: block
28
+ position: absolute
29
+ z-index: 0
30
+ top: 0
31
+ left: 0
32
+ width: 100%
33
+ height: 100%
34
+ background: url(https://bu.dusays.com/2023/03/03/6401a79030db5.png) 50%
35
+ background-size: cover
36
+
37
+ .content
38
+ padding: 0 1rem
39
+ width: 100%
40
+
41
+ .date
42
+ color: var(--light-grey)
43
+ font-size: 90%
44
+
45
+ .title
46
+ color: var(--sco-white)
47
+ -webkit-line-clamp: 2
48
+ margin-right: auto
49
+
50
+ a
51
+ display: flex
52
+ width: 100%
53
+ height: 100%
54
+
55
+ > .headline
56
+ margin-bottom: .8rem
57
+ font-weight: 700
58
+ font-size: 20px
59
+ display: flex
60
+ align-items: center
61
+
62
+ span
63
+ margin-right: auto
64
+ margin-left: 8px
65
+
66
+ a
67
+ font-weight: 400
68
+
69
+ &-link
70
+ display: block
71
+ justify-content: space-between
72
+ margin-left: 8px
73
+ font-size: 13px
74
+
75
+ .relatedPosts-list
76
+ display: flex
77
+ flex-wrap: wrap
78
+ justify-content: space-between
79
+ flex-direction: column
80
+
81
+ @media screen and (max-width: 768px)
82
+ .relatedPosts
83
+ > .relatedPosts-list
84
+ > div
85
+ margin: 2px
86
+ width: calc(50% - 4px)
87
+ height: 150px
88
+
89
+ @media screen and (max-width: 600px)
90
+ .relatedPosts
91
+ > .relatedPosts-list
92
+ > div
93
+ width: calc(100% - 4px)
94
+
95
+ @media screen and (min-width: 768px)
96
+ #post
97
+ > div.relatedPosts
98
+ > div.relatedPosts-list
99
+ > div
100
+ -webkit-mask-image: -webkit-radial-gradient(center, #fff, #000)
101
+ border-radius: 12px
102
+
103
+ .relatedPosts
104
+ > .headline
105
+ font-size: .8em
106
+
107
+ @media screen and (max-width: 1300px)
108
+ #post
109
+ > div.relatedPosts
110
+ > div.relatedPosts-list
111
+ > div:nth-child(7)
112
+ display: none
113
+
114
+ > div:nth-child(8)
115
+ display: none
116
+
117
+ .relatedPosts
118
+ > .relatedPosts-list
119
+ > div
120
+ background: var(--sco-secondbg)
121
+ border: var(--style-border)
122
+ transition: .3s
123
+ cursor: pointer
124
+ overflow: hidden
125
+ width: 100%
126
+ margin-bottom: 8px
127
+
128
+ &:hover
129
+ background: var(--sco-main)
130
+
131
+ .content
132
+ .title
133
+ color: var(--sco-fontcolor)
134
+ font-weight: 700
135
+ line-height: 1.5
136
+ -webkit-line-clamp: 4
137
+ font-size: .9rem
138
+ text-align: left
139
+ overflow: hidden
140
+
141
+ .date
142
+ color: var(--sco-fontcolor)
143
+ display: none
144
+
145
+ &:hover
146
+ a
147
+ .title
148
+ color: var(--sco-white)
149
+
150
+ @media screen and (max-width: 768px)
151
+ .relatedPosts
152
+ display: none
153
+
154
+ > .relatedPosts-list
155
+ > div
156
+ border-radius: 4px
157
+
158
+ @media screen and (min-width: 768px)
159
+ .relatedPosts
160
+ margin-top: 1rem
@@ -0,0 +1,217 @@
1
+ .reward-main
2
+ animation: .3s ease .1s 1 normal both running donate_effcet
3
+
4
+ .post-reward
5
+ position: relative
6
+ margin-top: 4rem
7
+ text-align: center
8
+
9
+ &:hover
10
+ > .reward-main
11
+ display: block
12
+
13
+ .reward-main
14
+ position: absolute
15
+ bottom: 40px
16
+ left: -96px
17
+ z-index: 100
18
+ display: none
19
+ padding: 0 0 15px
20
+ width: fit-content
21
+
22
+ .reward-all
23
+ display: inline-block
24
+ margin: 0
25
+ padding: 1rem .5rem
26
+ border-radius: 4px
27
+ background: var(--sco-maskbgdeep)
28
+
29
+ &:before
30
+ position: absolute
31
+ bottom: -10px
32
+ left: 0
33
+ width: 100%
34
+ height: 20px
35
+ content: ""
36
+
37
+ &:after
38
+ position: absolute
39
+ right: 0
40
+ bottom: 2px
41
+ left: 0
42
+ margin: 0 auto
43
+ width: 0
44
+ height: 0
45
+ border-top: 13px solid var(--reward-pop)
46
+ border-right: 13px solid transparent
47
+ border-left: 13px solid transparent
48
+ content: ""
49
+
50
+ .reward-item
51
+ display: inline-block
52
+ padding: 0 8px
53
+ list-style-type: none
54
+ vertical-align: top
55
+
56
+ img
57
+ width: 130px
58
+ height: 130px
59
+
60
+ .post-qr-code-desc
61
+ padding-top: .4rem
62
+ width: 130px
63
+ color: #858585
64
+
65
+ .reward-button
66
+ background: var(--sco-red)
67
+ color: var(--sco-white)
68
+ padding: 0 16px
69
+ height: 40px
70
+ line-height: 39px
71
+ box-shadow: var(--sco-shadow-red)
72
+ display: inline-block
73
+ cursor: pointer
74
+ transition: all .4s ease 0s
75
+
76
+ &:hover
77
+ .reward-button
78
+ color: var(--sco-white)
79
+ background: var(--sco-theme)
80
+ box-shadow: none
81
+
82
+ .reward-main
83
+ .reward-all
84
+ .reward-item
85
+ .post-qr-code-desc
86
+ padding-top: 0
87
+ margin-top: -8px
88
+ margin-bottom: 8px
89
+
90
+ .reward-main
91
+ .reward-all
92
+ border-radius: 12px
93
+ background: var(--sco-card-bg)
94
+ border: var(--style-border-always)
95
+ padding: .8rem
96
+ display: flex
97
+ box-shadow: var(--sco-shadow-border)
98
+ flex-direction: column
99
+ align-items: center
100
+
101
+ .reward-dec
102
+ font-size: .6rem
103
+
104
+ .reward-text
105
+ margin-bottom: 0
106
+ font-weight: 700
107
+
108
+ a.reward-main-btn
109
+ background: var(--sco-secondbg)
110
+ color: var(--sco-fontcolor)
111
+ display: flex
112
+ flex-direction: column
113
+ border-radius: 12px
114
+ padding: 4px 0
115
+ border: var(--style-border-always)
116
+ margin: 8px
117
+ width: 100%
118
+
119
+ &:hover
120
+ color: var(--sco-white)
121
+ background: var(--sco-red)
122
+ background-image: url(https://bu.dusays.com/2023/11/01/6541f7aeb5752.gif)
123
+ box-shadow: var(--sco-shadow-red)
124
+
125
+ .reward-title
126
+ font-weight: 700
127
+ color: var(--sco-red)
128
+
129
+ .reward-link.mode
130
+ background: var(--sco-green)
131
+ color: var(--sco-white)
132
+ padding: 0 16px
133
+ height: 40px
134
+ line-height: 39px
135
+ box-shadow: var(--sco-shadow-green)
136
+ border-radius: 8px
137
+ margin-left: .5rem
138
+ text-align: center
139
+ transition: .3s
140
+
141
+ a
142
+ color: var(--sco-white)
143
+
144
+ i
145
+ margin-right: 4px
146
+
147
+ &:hover
148
+ background: var(--sco-theme)
149
+ box-shadow: none
150
+
151
+ .post-reward
152
+ margin-top: 0
153
+ display: flex
154
+ justify-content: center
155
+
156
+ &:hover
157
+ > .reward-main
158
+ display: none
159
+
160
+ .reward-main
161
+ z-index: 1003
162
+
163
+ @media screen and (min-width: 768px)
164
+ .post-reward:hover
165
+ > .reward-main
166
+ display: flex !important
167
+ justify-content: left
168
+
169
+ @media screen and (max-width: 768px)
170
+ .post-reward
171
+ .reward-main
172
+ justify-content: center !important
173
+ position: fixed
174
+ bottom: 0
175
+ left: 0
176
+ right: 0
177
+ z-index: 1003
178
+ width: 100%
179
+ margin: auto
180
+ padding: 0
181
+
182
+ .reward-main
183
+ .reward-all
184
+ width: 100%
185
+ display: flex
186
+ flex-wrap: wrap
187
+ justify-content: space-around
188
+ padding: 30px 0 60px 0
189
+ border-radius: 12px 12px 0 0
190
+
191
+ #post
192
+ .tag_share
193
+ .post-meta__tags
194
+ margin: 0 .5rem 0 0
195
+
196
+ a.reward-main-btn
197
+ margin: 4px auto
198
+
199
+ .post-reward
200
+ .reward-main
201
+ .reward-all:after
202
+ display: none
203
+
204
+ .reward-group
205
+ display: flex
206
+ margin-top: .5rem
207
+
208
+ .post-reward
209
+ .reward-main
210
+ .reward-all
211
+ .reward-item:first-child
212
+ img
213
+ border-color: var(--sco-green)
214
+
215
+ .reward-item:last-child
216
+ img
217
+ border-color: var(--sco-blue)
@@ -0,0 +1,206 @@
1
+ .search-dialog
2
+ position fixed
3
+ top 5rem
4
+ left 50%
5
+ z-index 1001
6
+ display none
7
+ margin-left -15rem
8
+ padding 1rem
9
+ width 30rem
10
+ box-shadow var(--sco-shadow-lightblack)
11
+ background var(--sco-card-bg)
12
+ border var(--style-border)
13
+ transition 0.3s
14
+ border-radius 12px
15
+
16
+ +maxWidth768()
17
+ top 0px
18
+ left 0px
19
+ margin 0px
20
+ width 100%
21
+ height 100%
22
+
23
+ .search-close-button
24
+ &:hover
25
+ color var(--sco-main)
26
+
27
+ .search-box
28
+ padding-top 8px
29
+ max-width 100%
30
+
31
+ input
32
+ height 100%
33
+ width 100%
34
+ padding 0.25rem 0.7rem
35
+ outline 0px
36
+ border var(--style-border)
37
+ border-radius 8px
38
+ background var(--sco-secondbg)
39
+ color var(--sco-fontcolor)
40
+
41
+ &:focus
42
+ border var(--style-border-hover)
43
+
44
+ .search-close-button
45
+ position absolute
46
+ top 0.8rem
47
+ right 1rem
48
+ color var(--sco-gray)
49
+ font-size 1.4em
50
+ line-height 1
51
+ cursor pointer
52
+ transition color .2s ease-in-out 0s
53
+
54
+ #search-mask
55
+ position fixed
56
+ inset 0px
57
+ z-index 1000
58
+ display none
59
+ background rgba(0, 0, 0, 0.6)
60
+ backdrop-filter blur(12px)
61
+ -webkit-backdrop-filter blur(12px)
62
+ transform translateZ(0)
63
+ background var(--sco-maskbgdeep)
64
+
65
+ .search-nav
66
+ display flex
67
+ align-items center
68
+ justify-content space-between
69
+ padding 0 0.2rem 0.7rem 0.2rem
70
+
71
+ .search-dialog-title
72
+ font-weight bold
73
+ color var(--sco-main)
74
+ font-size 1.4em
75
+ line-height 1
76
+
77
+ .search-box
78
+ input
79
+ &::placeholder
80
+ color var(--sco-gray)
81
+
82
+ #algolia-search
83
+ #search-results
84
+ padding 8px
85
+ max-height calc(80vh - 130px)
86
+ overflow-y auto
87
+
88
+ +maxWidth768()
89
+ max-height 80vh !important
90
+
91
+ .ais-Hits-list
92
+ padding 0
93
+
94
+ .ais-Hits-item
95
+ margin 10px 0
96
+
97
+ .algolia-hit-item-content
98
+ margin 0
99
+ padding-left 10px
100
+ font-size 14px
101
+ color var(--sco-gray)
102
+
103
+ .algolia-hit-item-link
104
+ width auto
105
+ max-width 100%
106
+ white-space nowrap
107
+ text-overflow ellipsis
108
+ overflow hidden
109
+ font-weight bold
110
+
111
+ mark
112
+ color var(--sco-theme)
113
+ font-style normal
114
+ background var(--sco-card-bg)
115
+
116
+ .ais-Hits--empty
117
+ text-align center
118
+ font-weight 600
119
+
120
+ .algolia-stats
121
+ color var(--sco-gray)
122
+ font-size .8rem
123
+ font-weight bold
124
+
125
+ .ais-SearchBox
126
+ padding-top: 8px
127
+ margin 0 auto
128
+ width 100%
129
+ min-width 100%
130
+ position relative
131
+
132
+ .ais-SearchBox-input
133
+ border-radius 8px
134
+ border var(--style-border)
135
+ padding 0.25rem 0.7rem
136
+ outline 0
137
+ background var(--sco-secondbg)
138
+ color var(--search-input-color)
139
+ width 100%
140
+ height 100%
141
+
142
+ .ais-Pagination-list.pagination
143
+ margin 0.2rem 0 0
144
+ padding 0
145
+ text-align center
146
+
147
+ .ais-Pagination-item.pagination-item
148
+ margin 0 0.2rem
149
+ padding 0
150
+ display inline-block
151
+
152
+ a
153
+ border-radius 4px
154
+ background var(--sco-main)
155
+ color var(--sco-white)
156
+ cursor pointer
157
+ display inline-block
158
+ min-width 1.2rem
159
+ text-align center
160
+ line-height 1.2rem
161
+
162
+ search-icon
163
+ animation sco-spin 1.2s linear infinite
164
+ opacity .6
165
+ font-size 2rem
166
+
167
+ #search-mask
168
+ backdrop-filter blur(12px)
169
+ -webkit-backdrop-filter blur(12px)
170
+ transform translateZ(0)
171
+ background var(--sco-maskbgdeep)
172
+
173
+ #algolia-input-panel
174
+ margin-bottom 8px
175
+
176
+ .search-dialog
177
+ border-radius 12px !important
178
+ box-shadow var(--sco-shadow-lightblack)
179
+ background var(--sco-card-bg)
180
+ border var(--style-border)
181
+ transition .3s
182
+
183
+ &:hover
184
+ border var(--style-border-hover)
185
+ box-shadow var(--sco-shadow-theme)
186
+
187
+ .search-dialog__title
188
+ padding 0 0 0.7rem
189
+ color var(--sco-main)
190
+ font-size 1.4em
191
+ line-height 1
192
+
193
+ #algolia-tips
194
+ padding-top 12px
195
+ color var(--sco-secondtext)
196
+ right 0
197
+ margin auto
198
+
199
+ i
200
+ font-size 22px
201
+
202
+ .algolia-tips-text
203
+ margin-left .4rem
204
+
205
+ #algolia-search-results
206
+ padding-top 8px
@@ -0,0 +1,112 @@
1
+ .search-dialog
2
+ position fixed
3
+ top 5rem
4
+ left 50%
5
+ z-index 1001
6
+ display none
7
+ margin-left -15rem
8
+ padding 1rem
9
+ width 30rem
10
+ box-shadow var(--sco-shadow-lightblack)
11
+ background var(--sco-card-bg)
12
+ border var(--style-border)
13
+ transition 0.3s
14
+ border-radius 12px
15
+
16
+ +maxWidth768()
17
+ top 0px
18
+ left 0px
19
+ margin 0px
20
+ width 100%
21
+ height 100%
22
+
23
+ .search-close-button
24
+ color var(--sco-main)
25
+ font-size 1.2em
26
+ line-height 1
27
+ cursor pointer
28
+ transition color 0.2s ease-in-out 0s
29
+
30
+ &:hover
31
+ color rgb(48, 122, 246)
32
+
33
+ .search-box
34
+ padding-top 8px
35
+ max-width 100%
36
+
37
+ input
38
+ height 100%
39
+ width 100%
40
+ padding 0.25rem 0.7rem
41
+ outline 0px
42
+ border var(--style-border)
43
+ border-radius 8px
44
+ background var(--sco-secondbg)
45
+ color var(--sco-fontcolor)
46
+
47
+ &:focus
48
+ border var(--style-border-hover)
49
+
50
+ #search-mask
51
+ position fixed
52
+ inset 0px
53
+ z-index 1000
54
+ display none
55
+ background rgba(0, 0, 0, 0.6)
56
+ backdrop-filter blur(12px)
57
+ -webkit-backdrop-filter blur(12px)
58
+ transform translateZ(0)
59
+ background var(--sco-maskbgdeep)
60
+
61
+ .search-wrap
62
+ display none
63
+
64
+ #loading-database,
65
+ #loading-status
66
+ text-align center
67
+ padding-top 10px
68
+
69
+ .search-nav
70
+ display flex
71
+ align-items center
72
+ justify-content space-between
73
+ padding 0 0.2rem 0.7rem 0.2rem
74
+
75
+ .search-dialog-title
76
+ font-weight bold
77
+ color var(--sco-main)
78
+ font-size 1.4em
79
+ line-height 1
80
+
81
+ #search-results
82
+ max-height calc(80vh - 130px)
83
+ overflow-y auto
84
+
85
+ +maxWidth768()
86
+ max-height 80vh !important
87
+
88
+ .search__hit-item
89
+ font-weight bold
90
+ margin 10px 0
91
+
92
+ .search-result
93
+ margin 0
94
+ font-weight 500
95
+
96
+ .search-keyword
97
+ color var(--sco-theme)
98
+ font-style normal
99
+
100
+ #search__hits-empty
101
+ text-align center
102
+ font-weight 600
103
+
104
+ .search__hits-count
105
+ color var(--sco-gray)
106
+ font-size .8rem
107
+ font-weight bold
108
+
109
+ .search-box
110
+ input
111
+ &::placeholder
112
+ color var(--sco-gray)