hexo-theme-solitude 1.2.6 → 1.3.0

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 (261) 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 +495 -297
  5. package/languages/en-US.yml +105 -8
  6. package/languages/zh-CN.yml +98 -1
  7. package/layout/archive.pug +3 -3
  8. package/layout/category.pug +4 -5
  9. package/layout/includes/console.pug +15 -16
  10. package/layout/includes/footer.pug +26 -28
  11. package/layout/includes/head/config.pug +27 -8
  12. package/layout/includes/head/fest.pug +22 -0
  13. package/layout/includes/head/opengraph.pug +11 -0
  14. package/layout/includes/head.pug +1 -3
  15. package/layout/includes/header.pug +1 -1
  16. package/layout/includes/inject/body.pug +33 -13
  17. package/layout/includes/inject/head.pug +30 -20
  18. package/layout/includes/layout.pug +11 -8
  19. package/layout/includes/loading.pug +1 -64
  20. package/layout/includes/mixins/articleSort.pug +4 -4
  21. package/layout/includes/mixins/pagination.pug +1 -1
  22. package/layout/includes/nav.pug +10 -10
  23. package/layout/includes/page/about.pug +1 -0
  24. package/layout/includes/page/categories.pug +3 -3
  25. package/layout/includes/page/default.pug +1 -1
  26. package/layout/includes/page/echarts.pug +3 -3
  27. package/layout/includes/page/equipment.pug +0 -1
  28. package/layout/includes/page/links.pug +5 -26
  29. package/layout/includes/page/moments.pug +0 -1
  30. package/layout/includes/page/music.pug +19 -0
  31. package/layout/includes/page/not_configured.pug +18 -0
  32. package/layout/includes/page/rss.pug +20 -22
  33. package/layout/includes/page/says.pug +1 -2
  34. package/layout/includes/page/tags.pug +3 -3
  35. package/layout/includes/page/tlink.pug +0 -1
  36. package/layout/includes/sidebar.pug +7 -7
  37. package/layout/includes/widgets/aside/aside.pug +13 -1
  38. package/layout/includes/widgets/aside/asideArchive.pug +5 -3
  39. package/layout/includes/widgets/aside/asideCustom.pug +6 -0
  40. package/layout/includes/widgets/aside/asideHistory.pug +3 -3
  41. package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
  42. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  43. package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
  44. package/layout/includes/widgets/aside/asideTag.pug +2 -2
  45. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  46. package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
  47. package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
  48. package/layout/includes/widgets/home/banner.pug +2 -2
  49. package/layout/includes/widgets/home/bbTimeList.pug +3 -3
  50. package/layout/includes/widgets/home/categoryBar.pug +3 -3
  51. package/layout/includes/widgets/home/categoryGroup.pug +2 -2
  52. package/layout/includes/widgets/home/hometop.pug +7 -7
  53. package/layout/includes/widgets/home/postList.pug +12 -8
  54. package/layout/includes/widgets/home/topGroup.pug +17 -13
  55. package/layout/includes/widgets/nav/left.pug +6 -6
  56. package/layout/includes/widgets/nav/menu.pug +4 -4
  57. package/layout/includes/widgets/nav/right.pug +14 -14
  58. package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
  59. package/layout/includes/widgets/page/about/award.pug +11 -9
  60. package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
  61. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  62. package/layout/includes/widgets/page/about/motto.pug +2 -2
  63. package/layout/includes/widgets/page/about/other.pug +10 -9
  64. package/layout/includes/widgets/page/about/personalities.pug +2 -2
  65. package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
  66. package/layout/includes/widgets/page/about/tenyear.pug +48 -0
  67. package/layout/includes/widgets/page/banner.pug +2 -2
  68. package/layout/includes/widgets/page/links/banner.pug +12 -14
  69. package/layout/includes/widgets/page/links/linksItem.pug +0 -1
  70. package/layout/includes/widgets/page/moments/angle.pug +7 -12
  71. package/layout/includes/widgets/page/moments/index.pug +7 -2
  72. package/layout/includes/widgets/post/award.pug +12 -8
  73. package/layout/includes/widgets/post/copyright.pug +16 -14
  74. package/layout/includes/widgets/post/postMeta.pug +36 -25
  75. package/layout/includes/widgets/post/postNav.pug +15 -15
  76. package/layout/includes/widgets/randomlink.pug +10 -5
  77. package/layout/includes/widgets/rightside/index.pug +9 -8
  78. package/layout/includes/widgets/third-party/ai/index.pug +12 -0
  79. package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
  80. package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
  81. package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
  82. package/layout/includes/widgets/third-party/music.pug +1 -1
  83. package/layout/includes/widgets/third-party/pjax.pug +6 -1
  84. package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
  85. package/layout/includes/widgets/third-party/search/index.pug +2 -2
  86. package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
  87. package/layout/index.pug +5 -6
  88. package/layout/page.pug +34 -29
  89. package/layout/post.pug +3 -23
  90. package/layout/tag.pug +3 -3
  91. package/package.json +2 -2
  92. package/scripts/filter/checkThemeConfig.js +0 -5
  93. package/scripts/helper/cdn.js +12 -0
  94. package/scripts/helper/page.js +13 -0
  95. package/scripts/helper/related_post.js +0 -1
  96. package/scripts/tags/button.js +21 -0
  97. package/scripts/tags/card.js +9 -0
  98. package/scripts/tags/checkbox.js +51 -0
  99. package/scripts/tags/fold.js +0 -5
  100. package/scripts/tags/image.js +75 -0
  101. package/scripts/tags/inline-image.js +12 -0
  102. package/scripts/tags/label.js +10 -0
  103. package/scripts/tags/link.js +2 -0
  104. package/scripts/tags/media.js +29 -0
  105. package/scripts/tags/span.js +17 -0
  106. package/scripts/tags/timeline.js +2 -15
  107. package/scripts/tags/u.js +7 -0
  108. package/source/css/_global/animation.css +57 -0
  109. package/source/css/_global/index.styl +5 -20
  110. package/source/css/_global/var.styl +16 -1
  111. package/source/css/_layout/{base.styl → basic.styl} +24 -116
  112. package/source/css/_layout/header.styl +203 -615
  113. package/source/css/_layout/index.styl +29 -271
  114. package/source/css/_mode/index.styl +87 -94
  115. package/source/css/_page/_home/category-bar.styl +74 -0
  116. package/source/css/_page/_home/home-top.styl +541 -0
  117. package/source/css/_page/_home/index.styl +15 -0
  118. package/source/css/_page/_home/pagination.styl +176 -0
  119. package/source/css/_page/_home/recent-post.styl +204 -0
  120. package/source/css/_page/about/index.styl +1 -0
  121. package/source/css/_page/about/tenyear.styl +56 -0
  122. package/source/css/_page/about.styl +555 -626
  123. package/source/css/_page/category.styl +95 -119
  124. package/source/css/_page/douban.styl +126 -0
  125. package/source/css/_page/equipment.styl +100 -99
  126. package/source/css/_page/error.styl +130 -146
  127. package/source/css/_page/home.styl +41 -50
  128. package/source/css/_page/index.styl +42 -10
  129. package/source/css/_page/links.styl +305 -0
  130. package/source/css/_page/moment.styl +51 -51
  131. package/source/css/_page/music.styl +506 -0
  132. package/source/css/_page/rss.styl +62 -67
  133. package/source/css/_page/says.styl +375 -344
  134. package/source/css/_page/tag.styl +15 -13
  135. package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
  136. package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
  137. package/source/css/_widgets/_aside/index.styl +96 -0
  138. package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
  139. package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
  140. package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
  141. package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
  142. package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
  143. package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
  144. package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
  145. package/source/css/_widgets/_extra/fullpage.styl +46 -0
  146. package/source/css/_widgets/_extra/music.styl +218 -0
  147. package/source/css/_widgets/_extra/pace.styl +39 -0
  148. package/source/css/_widgets/_extra/rightmenu.styl +78 -0
  149. package/source/css/_widgets/_mixins/article-sort.styl +93 -0
  150. package/source/css/_widgets/_mixins/footer.styl +273 -0
  151. package/source/css/_widgets/_mixins/other.styl +34 -0
  152. package/source/css/_widgets/_mixins/sidebar.styl +230 -0
  153. package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
  154. package/source/css/_widgets/_post/_highlight/index.styl +144 -0
  155. package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
  156. package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
  157. package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
  158. package/source/css/_widgets/_post/commentBarrage.styl +144 -0
  159. package/source/css/_widgets/_post/content.styl +152 -0
  160. package/source/css/_widgets/_post/copyright.styl +98 -0
  161. package/source/css/_widgets/_post/index.styl +20 -0
  162. package/source/css/_widgets/_post/meta.styl +420 -0
  163. package/source/css/_widgets/_post/pagination.styl +177 -0
  164. package/source/css/_widgets/_post/postAI.styl +131 -0
  165. package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
  166. package/source/css/_widgets/_post/tools.styl +249 -0
  167. package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
  168. package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
  169. package/source/css/_widgets/_tags/button.styl +60 -0
  170. package/source/css/_widgets/_tags/bvideo.styl +8 -0
  171. package/source/css/_widgets/_tags/card.styl +52 -0
  172. package/source/css/_widgets/_tags/checkbox.styl +85 -0
  173. package/source/css/_widgets/_tags/fold.styl +79 -0
  174. package/source/css/_widgets/_tags/image.styl +10 -0
  175. package/source/css/_widgets/_tags/index.styl +61 -0
  176. package/source/css/_widgets/_tags/inline-image.styl +6 -0
  177. package/source/css/_widgets/_tags/label.styl +3 -0
  178. package/source/css/_widgets/_tags/link.styl +80 -0
  179. package/source/css/_widgets/_tags/note.styl +101 -0
  180. package/source/css/_widgets/_tags/span.styl +61 -0
  181. package/source/css/_widgets/_tags/tabs.styl +105 -0
  182. package/source/css/_widgets/_tags/timeline.styl +80 -0
  183. package/source/css/_widgets/index.styl +50 -1
  184. package/source/css/index.styl +0 -25
  185. package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
  186. package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
  187. package/source/js/extend/comment/waline/commentBarrage.js +155 -0
  188. package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
  189. package/source/js/extend/search/algolia-search.js +1 -5
  190. package/source/js/extend/search/local-search.js +33 -13
  191. package/source/js/main.js +144 -163
  192. package/source/js/music.js +129 -0
  193. package/source/js/utils.js +4 -7
  194. package/source/lib/cover-color.min.js +7 -0
  195. package/source/lib/rightside.min.js +1 -0
  196. package/source/lib/sco-ai.min.js +8 -0
  197. package/source/lib/snackbar.min.css +1 -1
  198. package/source/lib/txmap.min.js +1 -0
  199. package/source/lib/view-image.min.js +1 -1
  200. package/layout/includes/widgets/aside/asidePower.pug +0 -19
  201. package/layout/includes/widgets/home/rencentPost.pug +0 -26
  202. package/source/css/_extra/rightmenu.styl +0 -83
  203. package/source/css/_layout/articleSort.styl +0 -199
  204. package/source/css/_layout/footer.styl +0 -359
  205. package/source/css/_layout/sidebar.styl +0 -226
  206. package/source/css/_page/homeTop.styl +0 -1035
  207. package/source/css/_page/link.styl +0 -433
  208. package/source/css/_post/commentBarrage.styl +0 -149
  209. package/source/css/_post/externalTags.styl +0 -694
  210. package/source/css/_post/highlight.styl +0 -96
  211. package/source/css/_post/index.styl +0 -935
  212. package/source/css/_post/pagination.styl +0 -467
  213. package/source/css/_post/postContent.styl +0 -957
  214. package/source/css/_post/reward.styl +0 -217
  215. package/source/css/_widgets/aside/index.styl +0 -156
  216. package/source/css/_widgets/aside/power.styl +0 -90
  217. package/source/img/logo-horizontal_version.png +0 -0
  218. package/source/img/pwa/16.png +0 -0
  219. package/source/img/pwa/180.png +0 -0
  220. package/source/img/pwa/192.png +0 -0
  221. package/source/img/pwa/32.png +0 -0
  222. package/source/img/pwa/512.png +0 -0
  223. package/source/img/pwa/logo.png +0 -0
  224. package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
  225. package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
  226. package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
  227. package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
  228. package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
  229. package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
  230. package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
  231. package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
  232. package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
  233. package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
  234. package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
  235. package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
  236. package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
  237. package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
  238. package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
  239. package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
  240. package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
  241. package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
  242. package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
  243. package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
  244. package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
  245. package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
  246. package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
  247. package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
  248. package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
  249. package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
  250. package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
  251. package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
  252. package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
  253. package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
  254. package/source/img/solitude-show.jpg +0 -0
  255. package/source/js/extend/covercolor/local.js +0 -160
  256. package/source/js/rightside.js +0 -402
  257. package/source/js/txmap.js +0 -236
  258. package/source/lib/chuckle-post-ai.js +0 -1
  259. /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
  260. /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
  261. /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -1,347 +1,378 @@
1
1
  if hexo-config('says.home_mini')
2
- .bber-logo,
3
- .bber-gotobb
4
- line-height 25px
5
- transition .3s
6
- cursor pointer
7
-
8
- &:hover
9
- opacity .8
10
- color var(--sco-theme)
11
-
12
- .bber-logo
13
- margin-right 1rem
14
-
15
- .bber-gotobb
16
- margin-left 1rem
17
-
18
- i
19
- &.bber-gotobb
20
- font-size 16px
2
+ #bbTimeList
3
+ background var(--sco-card-bg)
4
+ border-radius 12px
5
+ display flex
6
+ white-space nowrap
7
+ overflow hidden
8
+ margin-bottom 1rem
9
+ border var(--style-border)
10
+ transition .3s
11
+ height 50px
12
+ width 100%
13
+ justify-content space-between
14
+ -webkit-user-select none
15
+ align-items center
16
+ padding .5rem 1rem
17
+
18
+ +maxWidth1300()
19
+ margin-bottom 1rem
20
+ animation slide-in .6s 0s backwards
21
+
22
+ +minWidth1300()
23
+ margin-bottom .5rem
24
+ animation slide-in .6s 0s backwards
25
+ &:hover
26
+ border var(--style-border-hover)
27
+ box-shadow var(--sco-shadow-main)
28
+
29
+ +maxWidth768()
30
+ margin 0
31
+ background var(--sco-background)
32
+ border none
33
+ i.bber-logo,
34
+ i.bber-gotobb
35
+ transition .3s
36
+ cursor pointer
37
+
38
+ &:hover
39
+ opacity .8
40
+ color var(--sco-theme)
41
+
42
+ i.bber-logo
43
+ font-size 2rem
44
+ margin-right 1rem
45
+
46
+ i.bber-gotobb
47
+ font-size 16px
48
+ margin-left 1rem
21
49
 
22
50
  if hexo-config('says.enable')
23
- #bber
24
- margin-top 1rem
25
- width 100%
26
-
27
- if hexo-config('says.style') == 2
28
- .meta
29
- display flex
30
- align-items center
31
- line-height 1.5
32
- position relative
33
- width 100%
34
- margin-bottom 4px
35
-
36
- .avatar
37
- margin 0
38
- width 50px
39
- height 50px
40
- border-radius 10px
41
-
42
- .info
43
- display flex
44
- flex-direction column
45
- margin-left 10px
46
-
47
- span.bber_nick
48
- color #6dbdc3
49
- font-size .9rem
50
-
51
- time.bber_date
52
- font-size 14px
53
- opacity .6
54
-
55
- .goComment
56
- position: absolute
57
- top: 0
58
- right: 0
59
-
60
- div
61
- &.bber-content
62
- display flex
63
- flex-direction initial
64
- flex-wrap wrap
65
- border-radius 12px
66
- width 100%
67
- height 100%
68
-
69
- & > section
70
- & > ul
71
- & > li
72
- &.item
73
- margin-bottom 1rem
74
-
75
- .bber-reply
76
- cursor pointer
77
- margin 0 4px
78
-
79
- if hexo-config('says.style') == 1
80
- .bber-bottom
81
- display flex
82
- justify-content space-between
83
- width 100%
84
- -webkit-user-select none
85
- user-select none
86
-
87
- .bber-info
88
- display flex
89
- align-items center
90
-
91
- .fa-rectangles-mixed
92
- margin-right 8px
93
-
94
- .bber-info-time
95
- color var(--sco-fontcolor)
96
- font-size .7rem
97
- background-color var(--sco-gray-op)
98
- padding 0 8px
99
- border-radius 20px
100
- cursor default
101
- display flex
102
- align-items center
103
-
104
- i
105
- margin-right 8px
106
- font-size 16px
107
-
108
- .datafrom
109
- order 2
110
- color var(--sco-secondtext)
111
- font-size .7rem
112
- margin-left 8px
113
- small
114
- font-size .7rem
115
-
116
- .bber-content-link
117
- display flex
118
- margin-left .5rem
119
- color var(--sco-secondtext)
120
- font-size .7rem
121
- align-items center
122
- background-color rgba(245, 108, 108, .13)
123
- padding 0 8px
124
- border-radius 20px
125
-
126
- &:hover
127
- background-color var(--sco-main)
128
- color var(--sco-white)
129
-
130
- i
131
- margin-right 3px
132
- font-size 16px
133
-
134
- .count
135
- color var(--sco-secondtext)
136
- font-size .8rem
137
-
138
- p
139
- margin 0
140
-
141
- .datafrom
142
- i
143
- margin-right 4px
144
-
145
- .bber-music
146
- width 100%
147
- height 90px
148
- margin .5rem 0
149
- border-radius 8px
150
- overflow hidden
151
- border var(--style-border-always)
152
- background var(--sco-secondbg)
153
-
154
- .aplayer-lrc
155
- display none
156
-
157
- .aplayer
158
- margin 0
159
-
160
- .aplayer-info
161
- .aplayer-music
162
- height 23px
163
-
164
- .aplayer-title
165
- font-size .8rem
166
- font-weight 700
167
- margin 0
168
- color var(--sco-black)
169
-
170
- .aplayer-controller
171
- align-items center
172
-
173
- .aplayer-bar-wrap
174
- padding 0
175
-
176
- .aplayer-bar
177
- background var(--sco-gray)
178
- height 8px
179
- border-radius 12px
180
- transition .3s
181
- overflow hidden
182
-
183
- .aplayer-played
184
- height 100%
185
- border-radius 12px
186
-
187
- .aplayer-thumb
188
- display none
189
-
190
- .aplayer-loaded
191
- height 100%
192
- border-radius 12px
193
-
194
- &:hover
195
- .aplayer-bar
196
- height 12px
197
-
198
- .aplayer-time
199
- position initial
200
-
201
- &.aplayer-withlrc
202
- .aplayer-pic
203
- height 82px
204
- width 82px
205
- margin 4px
206
- border-radius 4px
207
-
208
- .bber-video
209
- position relative
210
- padding 30% 50%
211
- margin 0.5rem 0
212
-
213
- .bber-content-img
214
- height 100px
215
- margin .2rem auto .3rem 0
216
- border-radius 12px
217
- overflow hidden
218
- display flex
219
- position relative
220
-
221
- img
222
- object-fit cover
223
- max-height 100%
224
- border-radius 12px
225
- min-height 100px
226
- height 100px
227
-
228
- .bber-content
229
- .datacont
230
- order 0
231
- font-size .8rem
232
- font-weight 700
233
- color var(--sco-fontcolor)
234
- width 100%
235
- line-height 1.38
236
- border-radius 12px
237
- margin-bottom .5rem
238
- display flex
239
- flex-direction column
240
- text-align justify
241
-
242
- .timeline
243
- #waterfall
244
- opacity 0
245
- transition .3s
246
-
247
- &.show
248
- opacity 1
249
-
250
- ul
251
- li
252
- &.item
253
- position relative
254
- width 32%
255
- border var(--style-border-always)
256
- border-radius 12px
257
- padding 1rem 1rem .5rem
258
- transition .3s
259
- display flex
260
- flex-direction column
261
- flex-wrap nowrap
262
- justify-content space-between
263
- align-items flex-start
264
- background var(--sco-card-bg)
265
- box-shadow var(--sco-shadow-border)
266
- margin-right 2%
267
-
268
- +maxWidth1300()
269
- width 49%
270
- margin-right 1%
271
-
272
- +maxWidth768()
273
- width 100%
274
- margin-right 0
275
- padding 16px 20px
276
-
277
- hr
278
- display flex
279
- position relative
280
- margin 8px 0
281
- border 1px dashed var(--sco-theme-op)
282
- width 100%
283
-
284
- &:hover
285
- border var(--style-border-hover)
286
- ul
287
- &.list
288
- display flex
289
- flex-direction row
290
- flex-wrap wrap
291
- justify-content space-between
292
-
293
- li
294
- &.item
295
- display flex
296
- flex-direction column
297
- flex-wrap nowrap
298
- align-items flex-start
299
-
300
- #bber .bber-video video,
301
- #bber .bber-video iframe
302
- position absolute
303
- width 100%
304
- height 100%
305
- left 0
306
- top 0
307
- margin 0
308
- border-radius 8px
309
- border var(--style-border)
310
-
311
- #bber-tips
312
- font-size 14px
313
- display flex
314
- justify-content center
315
- margin-top 1rem
316
-
317
- #bber-talk
318
- width 100%
319
- height 25px
320
- line-height 25px
321
- display flex
322
- flex-direction column
323
-
324
- .li-style
325
- width auto
326
- max-width 100%
327
- height 25px
328
- text-align center
329
- overflow hidden
330
- text-overflow ellipsis
331
- transition .3s
332
- font-weight 700
333
- margin auto
334
- cursor pointer
335
- white-space nowrap
336
-
337
- #bbtalk
338
- overflow hidden
339
- width 100%
340
- text-overflow ellipsis
341
- white-space nowrap
342
-
343
- #bbTimeList
344
- .li-style
345
- &:hover
346
- color var(--sco-theme)
347
- transition .3s
51
+ #bber
52
+ margin-top 1rem
53
+ width 100%
54
+
55
+ if hexo-config('says.style') == 2
56
+ .meta
57
+ display flex
58
+ align-items center
59
+ line-height 1.5
60
+ position relative
61
+ width 100%
62
+ margin-bottom 4px
63
+
64
+ .avatar
65
+ margin 0
66
+ width 50px
67
+ height 50px
68
+ border-radius 10px
69
+
70
+ .info
71
+ display flex
72
+ flex-direction column
73
+ margin-left 10px
74
+
75
+ span.bber_nick
76
+ color #6dbdc3
77
+ font-size .9rem
78
+
79
+ time.bber_date
80
+ font-size 14px
81
+ opacity .6
82
+
83
+ .goComment
84
+ position: absolute
85
+ top: 0
86
+ right: 0
87
+
88
+ div
89
+ &.bber-content
90
+ display flex
91
+ flex-direction initial
92
+ flex-wrap wrap
93
+ border-radius 12px
94
+ width 100%
95
+ height 100%
96
+
97
+ & > section
98
+ & > ul
99
+ & > li
100
+ &.item
101
+ margin-bottom 1rem
102
+
103
+ if hexo-config('says.style') == 1
104
+ .bber-bottom
105
+ display flex
106
+ justify-content space-between
107
+ width 100%
108
+ -webkit-user-select none
109
+ user-select none
110
+
111
+ .bber-info
112
+ display flex
113
+ align-items center
114
+
115
+ .fa-rectangles-mixed
116
+ margin-right 8px
117
+
118
+ .bber-info-time
119
+ color var(--sco-fontcolor)
120
+ font-size .7rem
121
+ background-color var(--sco-gray-op)
122
+ padding 0 8px
123
+ border-radius 20px
124
+ cursor default
125
+ display flex
126
+ align-items center
127
+
128
+ i
129
+ margin-right 8px
130
+ font-size 16px
131
+
132
+ .datafrom
133
+ order 2
134
+ color var(--sco-secondtext)
135
+ font-size .7rem
136
+ margin-left 8px
137
+
138
+ small
139
+ font-size .7rem
140
+
141
+ .bber-content-link
142
+ display flex
143
+ margin-left .5rem
144
+ color var(--sco-secondtext)
145
+ font-size .7rem
146
+ align-items center
147
+ background-color rgba(245, 108, 108, .13)
148
+ padding 0 8px
149
+ border-radius 20px
150
+
151
+ &:hover
152
+ background-color var(--sco-main)
153
+ color var(--sco-white)
154
+
155
+ i
156
+ margin-right 3px
157
+ font-size 16px
158
+
159
+ .count
160
+ color var(--sco-secondtext)
161
+ font-size .8rem
162
+
163
+ p
164
+ margin 0
165
+
166
+ .datafrom
167
+ i
168
+ margin-right 4px
169
+
170
+ .bber-music
171
+ width 100%
172
+ height 90px
173
+ margin .5rem 0
174
+ border-radius 8px
175
+ overflow hidden
176
+ border var(--style-border-always)
177
+ background var(--sco-secondbg)
178
+
179
+ .aplayer-lrc
180
+ display none
181
+
182
+ .aplayer
183
+ margin 0
184
+
185
+ .aplayer-info
186
+ .aplayer-music
187
+ height 23px
188
+
189
+ .aplayer-title
190
+ font-size .8rem
191
+ font-weight 700
192
+ margin 0
193
+ color var(--sco-black)
194
+
195
+ .aplayer-controller
196
+ align-items center
197
+
198
+ .aplayer-bar-wrap
199
+ padding 0
200
+
201
+ .aplayer-bar
202
+ background var(--sco-gray)
203
+ height 8px
204
+ border-radius 12px
205
+ transition .3s
206
+ overflow hidden
207
+
208
+ .aplayer-played
209
+ height 100%
210
+ border-radius 12px
211
+
212
+ .aplayer-thumb
213
+ display none
214
+
215
+ .aplayer-loaded
216
+ height 100%
217
+ border-radius 12px
218
+
219
+ &:hover
220
+ .aplayer-bar
221
+ height 12px
222
+
223
+ .aplayer-time
224
+ position initial
225
+
226
+ &.aplayer-withlrc
227
+ .aplayer-pic
228
+ height 82px
229
+ width 82px
230
+ margin 4px
231
+ border-radius 4px
232
+
233
+ .bber-video
234
+ position relative
235
+ padding 30% 50%
236
+ margin 0.5rem 0
237
+
238
+ .bber-content-img
239
+ height 100px
240
+ margin auto
241
+ margin-top 0.2rem
242
+ margin-bottom 0.3rem
243
+ margin-left 0
244
+ border-radius 12px
245
+ overflow hidden
246
+ display flex
247
+ position relative
248
+
249
+ img
250
+ margin-right 10px
251
+ object-fit cover
252
+ max-height 100%
253
+ border-radius 12px
254
+ min-height 100px
255
+ height 100px
256
+
257
+ .bber-content
258
+ .datacont
259
+ order 0
260
+ font-size .8rem
261
+ font-weight 700
262
+ color var(--sco-fontcolor)
263
+ width 100%
264
+ line-height 1.38
265
+ border-radius 12px
266
+ margin-bottom .5rem
267
+ display flex
268
+ flex-direction column
269
+ text-align justify
270
+
271
+ .timeline
272
+ #waterfall
273
+ opacity 0
274
+ transition .3s
275
+
276
+ &.show
277
+ opacity 1
278
+
279
+ ul
280
+ li
281
+ &.item
282
+ position relative
283
+ width 32%
284
+ border var(--style-border-always)
285
+ border-radius 12px
286
+ padding 1rem 1rem .5rem
287
+ transition .3s
288
+ display flex
289
+ flex-direction column
290
+ flex-wrap nowrap
291
+ justify-content space-between
292
+ align-items flex-start
293
+ background var(--sco-card-bg)
294
+ box-shadow var(--sco-shadow-border)
295
+ margin-right 2%
296
+
297
+ +maxWidth1300()
298
+ width 49%
299
+ margin-right 1%
300
+
301
+ +maxWidth768()
302
+ width 100%
303
+ margin-right 0
304
+ padding 16px 20px
305
+
306
+ hr
307
+ display flex
308
+ position relative
309
+ margin 8px 0
310
+ border 1px dashed var(--sco-theme-op)
311
+ width 100%
312
+
313
+ &:hover
314
+ border var(--style-border-hover)
315
+
316
+ ul
317
+ &.list
318
+ display flex
319
+ flex-direction row
320
+ flex-wrap wrap
321
+ justify-content space-between
322
+
323
+ li
324
+ &.item
325
+ display flex
326
+ flex-direction column
327
+ flex-wrap nowrap
328
+ align-items flex-start
329
+
330
+ #bber .bber-video video,
331
+ #bber .bber-video iframe
332
+ position absolute
333
+ width 100%
334
+ height 100%
335
+ left 0
336
+ top 0
337
+ margin 0
338
+ border-radius 8px
339
+ border var(--style-border)
340
+
341
+ #bber-tips
342
+ font-size 14px
343
+ display flex
344
+ justify-content center
345
+ margin-top 1rem
346
+ color var(--sco-secondtext)
347
+
348
+ #bber-talk
349
+ width 100%
350
+ height 25px
351
+ line-height 25px
352
+ display flex
353
+ flex-direction column
354
+
355
+ .li-style
356
+ width auto
357
+ max-width 100%
358
+ height 25px
359
+ text-align center
360
+ overflow hidden
361
+ text-overflow ellipsis
362
+ transition .3s
363
+ font-weight 700
364
+ margin auto
365
+ cursor pointer
366
+ white-space nowrap
367
+
368
+ #bbtalk
369
+ overflow hidden
370
+ width 100%
371
+ text-overflow ellipsis
372
+ white-space nowrap
373
+
374
+ #bbTimeList
375
+ .li-style
376
+ &:hover
377
+ color var(--sco-theme)
378
+ transition .3s