hexo-theme-solitude 3.0.21 → 4.0.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 (142) hide show
  1. package/.github/FUNDING.yml +3 -3
  2. package/README.md +11 -1
  3. package/README_en-US.md +11 -1
  4. package/_config.yml +16 -7
  5. package/languages/default.yml +56 -36
  6. package/languages/en.yml +90 -69
  7. package/languages/es.yml +94 -73
  8. package/languages/zh-CN.yml +56 -34
  9. package/languages/zh-TW.yml +80 -57
  10. package/layout/archive.pug +60 -14
  11. package/layout/category.pug +13 -11
  12. package/layout/includes/body/gadsense.pug +2 -2
  13. package/layout/includes/console.pug +71 -72
  14. package/layout/includes/footer.pug +24 -9
  15. package/layout/includes/head/config.pug +83 -39
  16. package/layout/includes/head/mode.pug +7 -7
  17. package/layout/includes/head/page_config.pug +20 -11
  18. package/layout/includes/inject/body.pug +14 -36
  19. package/layout/includes/keyboard.pug +3 -3
  20. package/layout/includes/loading.pug +1 -37
  21. package/layout/includes/mixins/articleSort.pug +3 -3
  22. package/layout/includes/mixins/common.pug +8 -4
  23. package/layout/includes/mixins/pace.pug +1 -1
  24. package/layout/includes/mixins/pagination.pug +3 -3
  25. package/layout/includes/nav.pug +4 -3
  26. package/layout/includes/page/about.pug +9 -8
  27. package/layout/includes/page/brevity.pug +2 -2
  28. package/layout/includes/page/links.pug +23 -11
  29. package/layout/includes/page/music.pug +0 -5
  30. package/layout/includes/rightmenu.pug +20 -20
  31. package/layout/includes/sidebar.pug +2 -2
  32. package/layout/includes/widgets/aside/asideInfoCard.pug +2 -2
  33. package/layout/includes/widgets/aside/asideTag.pug +2 -2
  34. package/layout/includes/widgets/home/bbTimeList.pug +3 -3
  35. package/layout/includes/widgets/home/categoryBar.pug +30 -15
  36. package/layout/includes/widgets/home/hometop.pug +113 -8
  37. package/layout/includes/widgets/home/postList.pug +1 -2
  38. package/layout/includes/widgets/home/topGroup.pug +3 -7
  39. package/layout/includes/widgets/nav/group.pug +4 -2
  40. package/layout/includes/widgets/nav/menu.pug +6 -4
  41. package/layout/includes/widgets/nav/right.pug +7 -6
  42. package/layout/includes/widgets/page/about/award.pug +67 -38
  43. package/layout/includes/widgets/page/about/hobbies.pug +12 -3
  44. package/layout/includes/widgets/page/banner.pug +1 -1
  45. package/layout/includes/widgets/page/kit/content.pug +2 -2
  46. package/layout/includes/widgets/page/links/banner.pug +30 -19
  47. package/layout/includes/widgets/page/message/artalk.pug +3 -3
  48. package/layout/includes/widgets/page/message/content.pug +3 -3
  49. package/layout/includes/widgets/page/message/twikoo.pug +3 -3
  50. package/layout/includes/widgets/page/message/valine.pug +4 -4
  51. package/layout/includes/widgets/page/message/waline.pug +3 -3
  52. package/layout/includes/widgets/page/recentcomment/artalk.pug +5 -9
  53. package/layout/includes/widgets/page/recentcomment/twikoo.pug +5 -9
  54. package/layout/includes/widgets/page/recentcomment/valine.pug +6 -10
  55. package/layout/includes/widgets/page/recentcomment/waline.pug +5 -9
  56. package/layout/includes/widgets/post/award.pug +1 -28
  57. package/layout/includes/widgets/post/copyright.pug +10 -10
  58. package/layout/includes/widgets/post/postInfo.pug +10 -11
  59. package/layout/includes/widgets/post/postMeta.pug +3 -2
  60. package/layout/includes/widgets/rightside/hide.pug +5 -5
  61. package/layout/includes/widgets/rightside/show.pug +7 -7
  62. package/layout/includes/widgets/third-party/comments/artalk.pug +9 -9
  63. package/layout/includes/widgets/third-party/comments/giscus.pug +2 -2
  64. package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -5
  65. package/layout/includes/widgets/third-party/comments/valine.pug +6 -6
  66. package/layout/includes/widgets/third-party/comments/waline.pug +6 -6
  67. package/layout/includes/widgets/third-party/hot/twikoo.pug +1 -1
  68. package/layout/includes/widgets/third-party/music.pug +9 -5
  69. package/layout/includes/widgets/third-party/news-comment/artalk.pug +6 -6
  70. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +7 -7
  71. package/layout/includes/widgets/third-party/news-comment/valine.pug +8 -8
  72. package/layout/includes/widgets/third-party/news-comment/waline.pug +7 -7
  73. package/layout/includes/widgets/third-party/pjax.pug +16 -10
  74. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  75. package/layout/includes/widgets/third-party/search/docsearch.pug +3 -3
  76. package/layout/includes/widgets/third-party/search/index.pug +1 -3
  77. package/layout/includes/widgets/third-party/search/local-search.pug +9 -9
  78. package/layout/index.pug +8 -6
  79. package/package.json +8 -7
  80. package/plugins.yml +22 -21
  81. package/scripts/event/cdn.js +11 -6
  82. package/scripts/event/friend_links.js +30 -0
  83. package/scripts/event/merge_config.js +15 -7
  84. package/scripts/filter/comment.js +2 -2
  85. package/scripts/filter/default.js +1 -1
  86. package/scripts/helper/inject_head_js.js +79 -33
  87. package/scripts/helper/related_post.js +16 -21
  88. package/scripts/tags/chart.js +1 -1
  89. package/scripts/tags/typeit.js +1 -1
  90. package/source/css/_components/capsule.styl +259 -168
  91. package/source/css/_components/rightside.styl +98 -242
  92. package/source/css/_global/animation.styl +1 -10
  93. package/source/css/_global/index.styl +27 -1
  94. package/source/css/_layout/aside.styl +7 -1
  95. package/source/css/_layout/console.styl +145 -165
  96. package/source/css/_layout/header.styl +238 -47
  97. package/source/css/_layout/pagination.styl +176 -132
  98. package/source/css/_layout/rightmenu.styl +11 -2
  99. package/source/css/_layout/sidebar.styl +39 -17
  100. package/source/css/_mode/index.styl +7 -1
  101. package/source/css/_page/_about/about.styl +18 -2
  102. package/source/css/_page/_about/buff.styl +1 -1
  103. package/source/css/_page/_about/contentinfo.styl +2 -1
  104. package/source/css/_page/_about/game.styl +57 -1
  105. package/source/css/_page/_about/like.styl +7 -2
  106. package/source/css/_page/_about/maxim.styl +1 -1
  107. package/source/css/_page/_about/reward.styl +226 -108
  108. package/source/css/_page/_about/skills.styl +5 -3
  109. package/source/css/_page/_home/category-bar.styl +162 -88
  110. package/source/css/_page/_home/home-top.styl +309 -263
  111. package/source/css/_page/_home/home.styl +34 -7
  112. package/source/css/_page/archive.styl +412 -0
  113. package/source/css/_page/category.styl +27 -1
  114. package/source/css/_page/index.styl +2 -0
  115. package/source/css/_page/links.styl +190 -0
  116. package/source/css/_page/other.styl +37 -0
  117. package/source/css/_post/index.styl +2 -1
  118. package/source/css/_post/meta.styl +245 -217
  119. package/source/css/_search/local-search.styl +158 -82
  120. package/source/css/var.styl +2 -2
  121. package/source/js/archive-page.js +191 -0
  122. package/source/js/core/actions.js +48 -0
  123. package/source/js/core/api.js +32 -0
  124. package/source/js/core/config.js +13 -0
  125. package/source/js/core/lifecycle.js +52 -0
  126. package/source/js/core/preloader.js +34 -0
  127. package/source/js/core/resources.js +65 -0
  128. package/source/js/covercolor/api.js +13 -103
  129. package/source/js/covercolor/ave.js +14 -77
  130. package/source/js/covercolor/local.js +22 -116
  131. package/source/js/covercolor/shared.js +102 -0
  132. package/source/js/friend_links.js +502 -0
  133. package/source/js/main.js +793 -177
  134. package/source/js/music.js +24 -14
  135. package/source/js/post_ai.js +13 -2
  136. package/source/js/right_menu.js +44 -24
  137. package/source/js/search/algolia.js +29 -21
  138. package/source/js/search/local.js +231 -266
  139. package/source/js/tw_cn.js +37 -12
  140. package/source/js/utils.js +37 -25
  141. package/layout/includes/widgets/randomlink.pug +0 -43
  142. package/scripts/filter/randomPosts.js +0 -16
@@ -0,0 +1,412 @@
1
+ .layout.layout--archive
2
+ flex-direction column
3
+ align-items stretch
4
+ gap 12px
5
+
6
+ > .home-category-bar
7
+ width 100%
8
+ max-width 100%
9
+ flex-shrink 0
10
+
11
+ .archive-layout-row
12
+ display flex
13
+ align-items flex-start
14
+ gap 8px
15
+ width 100%
16
+
17
+ > #page
18
+ flex 1
19
+ min-width 0
20
+ width auto
21
+ padding 0
22
+
23
+ .archive-page-shell
24
+ overflow hidden
25
+ margin-top 0
26
+ background var(--efu-card-bg)
27
+ border var(--style-border)
28
+ border-radius 20px
29
+ box-shadow var(--efu-shadow-border)
30
+
31
+ .archive-page-section
32
+ padding 18px 24px
33
+
34
+ & + &
35
+ border-top var(--style-border)
36
+
37
+ .archive-page-section-toolbar
38
+ padding-top 14px
39
+ padding-bottom 14px
40
+
41
+ .archive-page-section-list
42
+ padding 0
43
+
44
+ .archive-page-toolbar,
45
+ .archive-page-years
46
+ display flex
47
+ align-items center
48
+ flex-wrap nowrap
49
+ overflow-x auto
50
+ -webkit-overflow-scrolling touch
51
+ scrollbar-width none
52
+
53
+ &::-webkit-scrollbar
54
+ display none
55
+
56
+ .archive-page-toolbar
57
+ justify-content space-between
58
+ gap 16px
59
+
60
+ .archive-page-years
61
+ gap 10px
62
+
63
+ #archives-year-filter-list
64
+ display contents
65
+
66
+ .archive-year-button
67
+ display inline-flex
68
+ align-items center
69
+ justify-content center
70
+ flex-shrink 0
71
+ min-height 32px
72
+ padding 6px 16px
73
+ color var(--efu-fontcolor)
74
+ font-size 14px
75
+ font-weight 700
76
+ line-height 1
77
+ white-space nowrap
78
+ background var(--efu-secondbg)
79
+ border 0
80
+ border-radius 999px
81
+ cursor pointer
82
+ transition .3s
83
+
84
+ &:hover
85
+ color var(--efu-main)
86
+
87
+ &.is-active
88
+ color var(--efu-card-bg)
89
+ background var(--efu-main)
90
+ box-shadow var(--efu-shadow-main)
91
+
92
+ .archive-page-list
93
+ display grid
94
+ gap 0
95
+
96
+ .archive-page-item
97
+ display flex
98
+ align-items center
99
+ gap 18px
100
+ padding 22px 24px
101
+ color var(--efu-fontcolor)
102
+ border-bottom var(--style-border)
103
+ transition .3s
104
+
105
+ &:last-child
106
+ border-bottom 0
107
+
108
+ &:hover
109
+ color var(--efu-fontcolor)
110
+ background var(--efu-secondbg)
111
+
112
+ .archive-page-thumb
113
+ position relative
114
+ flex-shrink 0
115
+ width 151px
116
+ min-width 151px
117
+ height 80px
118
+ overflow hidden
119
+ background var(--efu-secondbg)
120
+ border-radius 12px
121
+
122
+ img
123
+ display block
124
+ width 100%
125
+ height 100%
126
+ object-fit cover
127
+ transition transform .6s ease
128
+
129
+ &.is-fallback img
130
+ display none
131
+
132
+ .archive-page-item:hover .archive-page-thumb img
133
+ transform scale(1.04)
134
+
135
+ .archive-page-thumb-fallback
136
+ position absolute
137
+ inset 0
138
+ display none
139
+ align-items center
140
+ justify-content center
141
+ color var(--efu-secondtext)
142
+ font-size 20px
143
+ font-weight 800
144
+
145
+ .archive-page-thumb.is-fallback .archive-page-thumb-fallback
146
+ display flex
147
+
148
+ .archive-page-item-main
149
+ flex 1
150
+ min-width 0
151
+
152
+ .archive-page-item-title
153
+ display -webkit-box
154
+ overflow hidden
155
+ margin-bottom 8px
156
+ color var(--efu-fontcolor)
157
+ font-size 20px
158
+ font-weight 700
159
+ line-height 1.5
160
+ word-break break-word
161
+ -webkit-box-orient vertical
162
+ -webkit-line-clamp 2
163
+
164
+ .archive-page-item-meta
165
+ display flex
166
+ align-items center
167
+ flex-wrap wrap
168
+ gap 8px
169
+ color var(--efu-secondtext)
170
+ font-size 14px
171
+
172
+ .archive-page-item-category
173
+ font-weight 700
174
+
175
+ .archive-page-item-arrow
176
+ flex-shrink 0
177
+ color var(--efu-secondtext)
178
+ font-size 14px
179
+
180
+ i.solitude
181
+ font-size 14px
182
+
183
+ .archive-page-state
184
+ padding 32px 20px
185
+ color var(--efu-secondtext)
186
+ font-weight 600
187
+ text-align center
188
+
189
+ .archive-page-section-pagination
190
+ padding-top 14px
191
+
192
+ &:empty
193
+ display none
194
+
195
+ nav#pagination
196
+ width 100%
197
+ margin 0
198
+
199
+ .pagination
200
+ position relative
201
+ display flex
202
+ align-items center
203
+ justify-content center
204
+ gap 8px
205
+
206
+ .archive-page-number
207
+ display block
208
+ flex 0 0 40px
209
+ width 40px
210
+ min-width 40px
211
+ height 40px
212
+ padding 0
213
+ color var(--efu-fontcolor)
214
+ line-height 38px
215
+ background var(--efu-card-bg)
216
+ border var(--style-border)
217
+ border-radius 99px
218
+ box-shadow var(--efu-shadow-border)
219
+ cursor pointer
220
+ transition .3s
221
+
222
+ &:hover
223
+ color var(--efu-theme)
224
+ border-color var(--efu-theme)
225
+ box-shadow var(--efu-shadow-main)
226
+
227
+ &.is-current
228
+ color var(--efu-nav-hover-text)
229
+ background var(--efu-theme)
230
+ border-color var(--efu-theme)
231
+ box-shadow var(--efu-shadow-theme)
232
+ cursor default
233
+
234
+ &:hover
235
+ color var(--efu-nav-hover-text)
236
+ background var(--efu-theme)
237
+ border-color var(--efu-theme)
238
+ box-shadow var(--efu-shadow-theme)
239
+
240
+ .archive-page-extend
241
+ position absolute
242
+ display flex
243
+ align-items center
244
+ justify-content center
245
+ width 80px
246
+ min-width 80px
247
+ height 40px
248
+ padding 0
249
+ color var(--efu-fontcolor)
250
+ line-height 38px
251
+ background var(--efu-card-bg)
252
+ border var(--style-border)
253
+ border-radius 99px
254
+ box-shadow var(--efu-shadow-border)
255
+ cursor pointer
256
+ overflow hidden
257
+ transition .3s
258
+
259
+ &.prev
260
+ left 0
261
+
262
+ &.next
263
+ right 0
264
+
265
+ &:hover:not(:disabled)
266
+ color var(--efu-theme)
267
+ background var(--efu-card-bg)
268
+ border-color var(--efu-theme)
269
+ box-shadow var(--efu-shadow-main)
270
+
271
+ &:disabled
272
+ opacity .35
273
+ pointer-events none
274
+
275
+ span
276
+ max-width 0
277
+ opacity 0
278
+ overflow hidden
279
+ white-space nowrap
280
+ transition .3s
281
+
282
+ &.prev:hover span
283
+ max-width 48px
284
+ margin-left 4px
285
+ opacity 1
286
+
287
+ &.next:hover span
288
+ max-width 48px
289
+ margin-right 4px
290
+ opacity 1
291
+
292
+ .archive-page-space
293
+ display block
294
+ flex 0 0 16px
295
+ width 16px
296
+ height 40px
297
+ color var(--efu-fontcolor)
298
+ line-height 32px
299
+
300
+ button:focus-visible
301
+ outline 2px solid var(--efu-theme)
302
+ outline-offset 2px
303
+
304
+ @media (max-width: 1200px)
305
+ .archive-layout-row
306
+ flex-direction column
307
+
308
+ > #page,
309
+ > #aside-content
310
+ width 100%
311
+
312
+ @media (max-width: 768px)
313
+ .layout.layout--archive
314
+ gap 8px
315
+ padding 0
316
+
317
+ .archive-layout-row
318
+ width 100%
319
+
320
+ > #page
321
+ width 100%
322
+ padding 0
323
+
324
+ .archive-page-shell
325
+ margin 0 16px
326
+ border-radius 12px
327
+
328
+ .archive-page-section-toolbar,
329
+ .archive-page-section-pagination
330
+ padding-left 12px
331
+ padding-right 12px
332
+
333
+ .archive-page-toolbar
334
+ gap 0
335
+
336
+ .archive-page-years
337
+ width 100%
338
+ gap 6px
339
+
340
+ .archive-year-button
341
+ background transparent
342
+
343
+ &.is-active
344
+ color var(--efu-white)
345
+ background var(--efu-main)
346
+ box-shadow none
347
+
348
+ .archive-page-item
349
+ gap 12px
350
+ padding 18px 12px
351
+
352
+ &:hover
353
+ background transparent
354
+
355
+ .archive-page-thumb
356
+ width 80px
357
+ min-width 80px
358
+ height 80px
359
+
360
+ .archive-page-item-title
361
+ margin-bottom 6px
362
+ font-size 14px
363
+ line-height 1.4
364
+
365
+ .archive-page-item-meta
366
+ gap 5px
367
+ font-size 12px
368
+
369
+ .archive-page-item-arrow
370
+ display none
371
+
372
+ .archive-page-section-pagination .pagination
373
+ gap 10px
374
+
375
+ .archive-page-section-pagination
376
+ .archive-page-number,
377
+ .archive-page-space
378
+ display none
379
+
380
+ .archive-page-extend
381
+ position static
382
+ display flex
383
+ flex 1 1 0
384
+ width 100%
385
+ min-width 0
386
+ height 50px
387
+ margin 0
388
+ padding 0
389
+ color var(--efu-fontcolor)
390
+ line-height 50px
391
+ background var(--efu-card-bg)
392
+ border var(--style-border-always)
393
+ border-radius 12px
394
+ box-shadow var(--efu-shadow-border)
395
+
396
+ &:hover:not(:disabled)
397
+ color var(--efu-nav-hover-text)
398
+ background var(--efu-theme)
399
+ border-color var(--efu-theme)
400
+
401
+ &:disabled
402
+ display none
403
+
404
+ i
405
+ display none
406
+
407
+ span
408
+ display inline
409
+ max-width none
410
+ margin 0
411
+ opacity 1
412
+ overflow visible
@@ -1,3 +1,29 @@
1
+ .layout#content-inner.layout--category
2
+ flex-direction column
3
+ align-items stretch
4
+ gap .5rem
5
+
6
+ > .home-category-bar
7
+ width 100%
8
+ max-width 100%
9
+ align-self stretch
10
+ flex-shrink 0
11
+ animation slide-in .6s .3s backwards
12
+
13
+ > .home-layout-row
14
+ display flex
15
+ align-items stretch
16
+ gap .5rem
17
+ width 100%
18
+
19
+ +maxWidth1200()
20
+ gap 0
21
+
22
+ > #category
23
+ flex 1
24
+ min-width 0
25
+ width auto
26
+
1
27
  #category
2
28
  #category-bar
3
29
  padding .4rem .6rem
@@ -111,4 +137,4 @@ span.tagsPageCount
111
137
  min-width 35px
112
138
  display inline-block
113
139
  font-size 1rem
114
- margin-left 4px
140
+ margin-left 4px
@@ -4,6 +4,8 @@
4
4
 
5
5
  @import "tag.styl"
6
6
 
7
+ @import "archive.styl"
8
+
7
9
  @import "error.styl"
8
10
 
9
11
  if hexo-config('recent_comments.enable') || (hexo-config('console.enable') && hexo-config('console.recentComment.enable'))
@@ -1,6 +1,9 @@
1
1
  .flink#banners
2
2
  margin-bottom: .5rem
3
3
 
4
+ body[data-type=links]
5
+ overflow-x clip
6
+
4
7
  .tags-group-title
5
8
  font-size 14px
6
9
  color var(--efu-card-bg)
@@ -19,9 +22,196 @@
19
22
  opacity 1
20
23
  backdrop-filter saturate(180%) blur(20px)
21
24
 
25
+ .flink .tags-group-all.nowrapMove .tags-group-wrapper
26
+ animation rowleft 120s linear infinite
27
+
22
28
  .flink.article-container
23
29
  margin-top 1rem
24
30
 
31
+ .friend-links-status
32
+ min-height 96px
33
+ display flex
34
+ align-items center
35
+ justify-content center
36
+ gap 8px
37
+ color var(--efu-secondtext)
38
+ text-align center
39
+
40
+ &.is-error
41
+ flex-direction column
42
+
43
+ &.is-compact
44
+ min-height 0
45
+ align-items flex-start
46
+
47
+ button
48
+ display inline-flex
49
+ align-items center
50
+ gap 6px
51
+ padding 8px 12px
52
+ border var(--style-border-always)
53
+ border-radius 8px
54
+ color var(--efu-fontcolor)
55
+ background var(--efu-card-bg)
56
+ cursor pointer
57
+
58
+ &:hover
59
+ color var(--efu-white)
60
+ border-color var(--efu-main)
61
+ background var(--efu-main)
62
+
63
+ .flink-loading-skeleton
64
+ display grid
65
+ grid-template-columns repeat(auto-fill, minmax(280px, 1fr))
66
+ gap 1rem
67
+ padding 1rem 0
68
+
69
+ .flink-loading-item
70
+ height 120px
71
+ border-radius 8px
72
+ opacity .3
73
+ background linear-gradient(90deg, var(--efu-card-bg) 25%, var(--efu-secondtext) 50%, var(--efu-card-bg) 75%)
74
+ background-size 200% 100%
75
+ animation flink-skeleton 1.5s ease-in-out infinite
76
+
77
+ .flink.article-container
78
+ .power_title_bar
79
+ display flex
80
+ align-items center
81
+ justify-content flex-start
82
+
83
+ .title-h2-a-right
84
+ margin-left auto
85
+ font-size 14px
86
+ color var(--efu-secondtext)
87
+
88
+ a
89
+ padding 0
90
+ border-bottom none
91
+ color var(--efu-secondtext)
92
+ font-weight 700
93
+ line-height 1
94
+
95
+ &:hover
96
+ color var(--efu-lighttext)
97
+ background transparent
98
+
99
+ .flink-normal-title-row
100
+ display flex
101
+ align-items center
102
+ justify-content space-between
103
+ gap 12px
104
+
105
+ .flink-normal-title-content
106
+ min-width 0
107
+ flex 1
108
+
109
+ .flink-desc
110
+ margin 0
111
+
112
+ .flink-normal-scroll-controls
113
+ display flex
114
+ flex-shrink 0
115
+ gap 10px
116
+
117
+ .flink-normal-sort-btn,
118
+ .flink-normal-scroll-btn
119
+ display flex
120
+ align-items center
121
+ justify-content center
122
+ height 44px
123
+ border var(--style-border-always)
124
+ border-radius 99px
125
+ color var(--efu-fontcolor)
126
+ background var(--efu-card-bg)
127
+ box-shadow var(--efu-shadow-border)
128
+ cursor pointer
129
+ transition .3s
130
+
131
+ &:hover
132
+ color var(--efu-card-bg)
133
+ border-color var(--efu-lighttext)
134
+ background var(--efu-lighttext)
135
+
136
+ .flink-normal-sort-btn
137
+ min-width 108px
138
+ padding 0 14px
139
+ font-size 14px
140
+ font-weight 700
141
+ line-height 1
142
+
143
+ .flink-normal-scroll-btn
144
+ width 44px
145
+ flex-shrink 0
146
+ font-size 18px
147
+ line-height 1
148
+
149
+ .flink-list.normal-five-row-horizontal
150
+ --flink-breakout-side-gap calc(max((100vw - 1400px) / 2, 0px) + 2rem - 12px)
151
+ display grid
152
+ grid-auto-flow column
153
+ grid-template-rows repeat(5, 90px)
154
+ grid-auto-columns minmax(260px, 320px)
155
+ gap 12px
156
+ justify-content flex-start
157
+ align-content start
158
+ width 100vw
159
+ margin 1rem calc(50% - 50vw)
160
+ padding 0 var(--flink-breakout-side-gap) 10px
161
+ overflow-x auto
162
+ overflow-y hidden
163
+ box-sizing border-box
164
+ scrollbar-width none
165
+ scroll-padding-inline var(--flink-breakout-side-gap)
166
+
167
+ &::-webkit-scrollbar
168
+ display none
169
+
170
+ > .flink-list-item
171
+ width auto
172
+ height 90px
173
+ margin 0
174
+ float none
175
+
176
+ > a
177
+ display flex
178
+ height 100%
179
+
180
+ +maxWidth768()
181
+ width 100%
182
+ margin 1rem 0
183
+ padding 0 0 10px
184
+
185
+ > .flink-list-item
186
+ width auto
187
+ height 90px
188
+
189
+ > a
190
+ flex-direction row
191
+
192
+ .flink-item-name
193
+ width auto
194
+ padding 0
195
+ text-align left
196
+ font-size 19px
197
+
198
+ .flink-item-desc
199
+ display -webkit-box
200
+
201
+ .flink-item-info
202
+ width calc(100% - 90px)
203
+ align-items flex-start
204
+
205
+ +maxWidth768()
206
+ .flink-normal-scroll-btn
207
+ display none
208
+
209
+ @keyframes flink-skeleton
210
+ 0%
211
+ background-position 200% 0
212
+ 100%
213
+ background-position -200% 0
214
+
25
215
  .article-container
26
216
 
27
217
  .flink-desc
@@ -194,6 +194,43 @@ div#banners
194
194
  overflow hidden
195
195
  padding 1rem 2rem
196
196
 
197
+ &.about-glow-host
198
+ --about-glow-x 50%
199
+ --about-glow-y 50%
200
+ --about-glow-opacity 0
201
+
202
+ &.about-glow-host.is-about-glow-active
203
+ --about-glow-opacity 1
204
+
205
+ .about-pointer-glow
206
+ position absolute
207
+ inset 0
208
+ border-radius inherit
209
+ pointer-events none
210
+ z-index 1
211
+
212
+ &::before,
213
+ &::after
214
+ content ''
215
+ position absolute
216
+ inset 0
217
+ border-radius inherit
218
+ pointer-events none
219
+ opacity var(--about-glow-opacity, 0)
220
+ transition opacity .18s ease-out
221
+
222
+ &::before
223
+ padding 2px
224
+ background radial-gradient(circle at var(--about-glow-x, 50%) var(--about-glow-y, 50%), #fff, rgba(255, 255, 255, .7) 20%, rgba(255, 255, 255, .1) 46%, rgba(255, 255, 255, 0) 62%)
225
+ -webkit-mask linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)
226
+ -webkit-mask-composite xor
227
+ mask linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)
228
+ mask-composite exclude
229
+
230
+ &::after
231
+ background radial-gradient(circle at var(--about-glow-x, 50%) var(--about-glow-y, 50%), rgba(255, 255, 255, .22), rgba(255, 255, 255, .08) 22%, rgba(255, 255, 255, 0) 55%)
232
+ mix-blend-mode screen
233
+
197
234
  &.single
198
235
  width 100%
199
236
 
@@ -129,4 +129,5 @@ if hexo-config('post.ai.enable')
129
129
  right 0
130
130
  height 10px
131
131
  background var(--efu-background)
132
- z-index 1000
132
+ z-index 2
133
+ pointer-events none