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
@@ -0,0 +1,306 @@
1
+ .flink#banners
2
+ margin-bottom: .5rem
3
+
4
+ .flink#article-container
5
+ margin-top 1rem
6
+ #friendlink_checkboxs input
7
+ margin-right 4px
8
+
9
+ h2
10
+ margin-top 0.5rem
11
+ margin-bottom 0
12
+
13
+ .flink-desc
14
+ margin 0
15
+ color var(--sco-secondtext)
16
+
17
+ .site-card-group
18
+ padding 20px 0
19
+ display flex
20
+ flex-wrap wrap
21
+ -webkit-box-pack start
22
+ justify-content flex-start
23
+ margin -8px
24
+ -webkit-box-align stretch
25
+ align-items stretch
26
+
27
+ .site-card
28
+ border var(--style-border)
29
+ border-radius 12px
30
+ transition .3s
31
+ transition-timing-function ease-in-out
32
+ overflow hidden
33
+ height 200px
34
+ position relative
35
+ width calc(100% / 7 - 16px)
36
+ background var(--sco-card-bg)
37
+ box-shadow var(--sco-shadow-border)
38
+ margin 8px
39
+ display block
40
+ line-height 1.4
41
+
42
+ +maxWidth1200()
43
+ width calc(20% - 16px)
44
+
45
+ +maxWidth1024()
46
+ width calc(25% - 16px)
47
+
48
+ +maxWidth768()
49
+ width calc(33.3333% - 16px)
50
+
51
+ +maxWidth600()
52
+ width calc(50% - 16px)
53
+
54
+ .site-card-tag
55
+ position absolute
56
+ top 0
57
+ left 0
58
+ padding 4px 8px
59
+ background-color var(--sco-blue)
60
+ box-shadow var(--sco-shadow-blue)
61
+ color var(--sco-white)
62
+ z-index 1
63
+ border-radius 12px 0 12px 0
64
+ transition .3s
65
+ font-size .6rem
66
+
67
+ &.vip
68
+ background-color var(--sco-vip)
69
+
70
+ &.life
71
+ background-color var(--sco-life)
72
+
73
+ .img
74
+ -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
75
+ border-radius 0
76
+ height 120px
77
+ width 100%
78
+ display flex
79
+ border none
80
+ padding 0
81
+ transition all .3s ease 0s
82
+ overflow hidden
83
+ background-color #f6f6f6
84
+
85
+ img
86
+ width 100%
87
+ height 100%
88
+ object-fit cover
89
+ border-radius 0
90
+ transform scale(1.03)
91
+ transition .3s
92
+ margin 0
93
+ max-width 100%
94
+
95
+ .img-alt
96
+ display none
97
+
98
+ .info
99
+ display flex
100
+ border none
101
+ padding 0.5rem
102
+ width 100%
103
+ height 90px
104
+ margin 0
105
+ border-radius 0 0 12px 12px
106
+
107
+ img
108
+ border-radius 32px
109
+ transition all .3s ease-out
110
+ margin 2px 8px 0 0
111
+ width 20px
112
+ height 20px
113
+ min-width 20px
114
+ min-height 20px
115
+ background var(--sco-secondbg)
116
+
117
+ .site-card-text
118
+ display flex
119
+ flex-direction column
120
+ align-items flex-start
121
+
122
+ .title
123
+ color var(--sco-fontcolor)
124
+ text-align left
125
+ font-weight 600
126
+ display -webkit-box
127
+ -webkit-box-orient vertical
128
+ overflow hidden
129
+ -webkit-line-clamp 1
130
+ transition all .3s ease 0s
131
+
132
+ .desc
133
+ font-size .7rem
134
+ color var(--sco-fontcolor)
135
+ opacity .7
136
+ transition all .3s
137
+ text-align left
138
+ overflow-wrap break-word
139
+ line-height 1.2
140
+ display -webkit-box
141
+ -webkit-box-orient vertical
142
+ overflow hidden
143
+ -webkit-line-clamp 2
144
+
145
+ &:hover
146
+ border var(--style-border-hover)
147
+ box-shadow var(--sco-shadow-main)
148
+ .site-card-tag
149
+ left: -80px
150
+
151
+ .img
152
+ height 80px
153
+
154
+ img
155
+ transform scale(1.1)
156
+ filter brightness(.3)
157
+
158
+ a
159
+ border-bottom 2px solid var(--sco-none)
160
+ color var(--sco-white)
161
+ background var(--sco-main)
162
+ box-shadow var(--sco-shadow-main)
163
+
164
+ .info
165
+ height 120px
166
+ background-color var(--sco-theme)
167
+
168
+ img
169
+ width 0
170
+ height 0
171
+ opacity 0
172
+ min-width 0
173
+ min-height 0
174
+
175
+ .title
176
+ color var(--sco-white)
177
+
178
+ .desc
179
+ color var(--sco-white)
180
+ text-align left
181
+ -webkit-line-clamp 4
182
+ width 100%
183
+
184
+ .flink-list
185
+ padding 0
186
+ margin 0.5rem -6px 1rem -6px
187
+ overflow-x hidden
188
+ overflow auto
189
+ text-align center
190
+
191
+ > .flink-list-item
192
+ margin 6px 6px
193
+ transition .3s
194
+ border-radius 12px
195
+ transition-timing-function ease-in-out
196
+ position relative
197
+ width calc(20% - 12px)
198
+ border var(--style-border-always)
199
+ box-shadow var(--sco-shadow-border)
200
+ background var(--sco-card-bg)
201
+ display flex
202
+ float left
203
+ overflow hidden
204
+ height 90px
205
+ line-height 17px
206
+ transform translateZ(0)
207
+
208
+ +maxWidth1200()
209
+ width calc(25% - 12px)
210
+
211
+ +maxWidth1024()
212
+ width calc(33.3333% - 12px)
213
+
214
+ +maxWidth768()
215
+ width calc(50% - 12px)
216
+
217
+ +maxWidth600()
218
+ width calc(100% - 12px)
219
+
220
+ .site-card-tag
221
+ display none
222
+
223
+ a
224
+ display flex
225
+ width 100%
226
+ height 100%
227
+ border none
228
+ align-items center
229
+
230
+ .img-alt
231
+ display none
232
+
233
+ img
234
+ border-radius 32px
235
+ margin 15px 20px 15px 15px
236
+ transition .3s
237
+ background var(--sco-background)
238
+ min-width 60px
239
+ min-height 60px
240
+ float left
241
+ width 60px
242
+ height 60px
243
+
244
+ .flink-item-info
245
+ display flex
246
+ flex-direction column
247
+ justify-content center
248
+ width calc(100% - 90px)
249
+ height fit-content
250
+ padding 0 4px
251
+
252
+ span
253
+ transition .3s
254
+
255
+ .flink-item-name
256
+ text-align left
257
+ font-size 19px
258
+ line-height 20px
259
+ color var(--sco-fontcolor)
260
+ display block
261
+ padding 0 10px 0 0
262
+ font-weight 700
263
+ max-width calc(100% - 12px)
264
+ overflow hidden
265
+ text-overflow ellipsis
266
+ white-space nowrap
267
+
268
+ .flink-item-desc
269
+ white-space normal
270
+ padding 5px 10px 16px 0
271
+ color var(--sco-fontcolor)
272
+ text-align left
273
+ height 40px
274
+ text-overflow ellipsis
275
+ opacity .7
276
+ display -webkit-box
277
+ overflow hidden
278
+ -webkit-box-orient vertical
279
+ -webkit-line-clamp 2
280
+ font-size .93em
281
+
282
+ &:hover
283
+ background var(--sco-theme)
284
+
285
+ a
286
+ background 0 0
287
+
288
+ img
289
+ transition .6s
290
+ width 0
291
+ height 0
292
+ opacity 0
293
+ margin 5px
294
+ min-width 0
295
+ min-height 0
296
+
297
+ .flink-item-info
298
+ min-width calc(100% - 20px)
299
+
300
+ .flink-item-name
301
+ color var(--sco-card-bg)
302
+
303
+ .flink-item-desc
304
+ color var(--sco-card-bg)
305
+ overflow hidden
306
+ width 100%
@@ -14,22 +14,19 @@
14
14
  font-weight 700
15
15
  padding 0 4px
16
16
 
17
- .random-friends-post:hover
18
- text-decoration none
19
- border-bottom 2px solid var(--sco-none)
20
- color var(--sco-white)
21
- background var(--sco-main)
22
- border-radius 4px
23
- box-shadow var(--sco-shadow-main)
17
+ &:hover
18
+ text-decoration none
19
+ border-bottom 2px solid var(--sco-none)
20
+ color var(--sco-white)
21
+ background var(--sco-main)
22
+ border-radius 4px
23
+ box-shadow var(--sco-shadow-main)
24
24
 
25
25
  .random-post-start
26
26
  transition-duration .3s
27
27
 
28
- .random-post-start:hover
29
- color var(--sco-hovertext)
30
-
31
- .title-h2-a a.random-post-start
32
- opacity .6
28
+ &:hover
29
+ color var(--sco-hovertext)
33
30
 
34
31
  .moments-list
35
32
  display: flex
@@ -46,11 +43,11 @@
46
43
  color: var(--sco-hovertext)
47
44
 
48
45
  #friend_link_moments
49
- border: none !important
46
+ border: none
50
47
 
51
48
  .moments-article-img
52
49
  height: 100%
53
- margin: 0 !important
50
+ margin: 0
54
51
 
55
52
  .tab-item-content
56
53
  #moments_container
@@ -81,28 +78,28 @@
81
78
 
82
79
  .moments-sort-item-title
83
80
  color: var(--sco-lighttext)
84
- border-bottom: none !important
85
- padding: 0 !important
81
+ border-bottom: none
82
+ padding: 0
86
83
 
87
84
  &:hover
88
- color: var(--sco-hovertext) !important
89
- background: 0 0 !important
90
- box-shadow: none !important
85
+ color: var(--sco-hovertext)
86
+ background: 0 0
87
+ box-shadow: none
91
88
 
92
89
  .moments_load_button
93
- color: var(--sco-fontcolor) !important
94
- background: var(--sco-card-btn-bg) !important
95
- padding: 12px 16px !important
96
- border-radius: 12px !important
90
+ color: var(--sco-fontcolor)
91
+ background: var(--sco-card-btn-bg)
92
+ padding: 12px 16px
93
+ border-radius: 12px
97
94
  transition: .3s
98
95
  width: 100%
99
96
  margin-top: 1rem
100
97
  margin-bottom: 1rem
101
- border: 0 !important
98
+ border: 0
102
99
 
103
100
  &:hover
104
- color: var(--sco-white) !important
105
- background: var(--sco-main) !important
101
+ color: var(--sco-white)
102
+ background: var(--sco-main)
106
103
  transition: .3s
107
104
 
108
105
  .moments-item-title
@@ -111,7 +108,7 @@
111
108
  order: 0
112
109
  width: 100%
113
110
  font-weight: 700
114
- -webkit-line-clamp: 1 !important
111
+ -webkit-line-clamp: 1
115
112
  overflow: hidden
116
113
  -webkit-box-orient: vertical
117
114
 
@@ -132,8 +129,8 @@
132
129
  float: right
133
130
 
134
131
  .moments-item-img
135
- width: 60px !important
136
- height: 60px !important
132
+ width: 60px
133
+ height: 60px
137
134
 
138
135
  img
139
136
  border-radius: 99px
@@ -142,8 +139,8 @@
142
139
  overflow: hidden
143
140
 
144
141
  .moments-item
145
- margin-left: 0 !important
146
- box-shadow: none !important
142
+ margin-left: 0
143
+ box-shadow: none
147
144
 
148
145
  #hexo-circle-of-friends-root
149
146
  margin: 0 -8px
@@ -152,28 +149,31 @@
152
149
  a
153
150
  width: fit-content
154
151
 
155
- .title-h2-a
156
- display: flex
157
- align-items: center
158
- justify-content: space-between
159
- margin-top: .5rem
160
-
161
- a
162
- margin-left: .5rem
163
- color: var(--sco-secondtext)
164
- font-weight: 700
165
-
166
- &:hover
167
- color: var(--sco-hovertext)
152
+ .cf-article .cf-img-avatar
153
+ border-radius 50%
168
154
 
169
- .title-h2-a-left
155
+ #page
156
+ .title-h2-a
170
157
  display: flex
171
158
  align-items: center
159
+ justify-content: space-between
160
+ margin-top: .5rem
172
161
 
173
- h2
174
- margin-top: 0 !important
175
- margin-bottom: 0 !important
162
+ a
163
+ margin-left: .5rem
164
+ color: var(--sco-secondtext)
165
+ font-weight: 700
166
+
167
+ &:hover
168
+ color: var(--sco-hovertext)
169
+
170
+ .title-h2-a-left
171
+ display: flex
172
+ align-items: center
173
+
174
+ h2
175
+ margin: 0
176
176
 
177
- .title-h2-a-right
178
- font-size: 14px
179
- color: var(--sco-secondtext)
177
+ .title-h2-a-right
178
+ font-size: 14px
179
+ color: var(--sco-secondtext)