hexo-theme-solitude 2.0.5 → 2.0.6

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.
package/.editorconfig ADDED
@@ -0,0 +1,9 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+ trim_trailing_whitespace = true
8
+ indent_style = space
9
+ indent_size = 2
package/_config.yml CHANGED
@@ -47,7 +47,7 @@ nav:
47
47
  # icon: fas fa-train # Icon
48
48
  # onclick: # Click event
49
49
  # id: travellings_button # id
50
- # --------------------------- end ---------------------------
50
+ # --------------------------- end ---------------------------
51
51
 
52
52
  # --------------------------- start ---------------------------
53
53
  hometop:
@@ -75,9 +75,9 @@ hometop:
75
75
  # img: https://i.postimg.cc/nhgjwjCS/git.png
76
76
  # color: "#df5b40"
77
77
  group:
78
- # Fire: /tags/Fire/ || fas fa-fire || linear-gradient(to right, #f65, #ffbf37)
79
- # Course: /tags/Course/ || fas fa-book || linear-gradient(to right, #358bff, #15c6ff)
80
- # Curation: /tags/Curation/ || fas fa-star || linear-gradient(to right, #18e7ae, #1eebeb)
78
+ # Fire: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37)
79
+ # Course: /tags/Course/ || fas fa-book || linear-gradient(to right,#358bff,#15c6ff)
80
+ # Curation: /tags/Curation/ || fas fa-star || linear-gradient(to right,#18e7ae,#1eebeb)
81
81
  recommendList:
82
82
  sup: Top
83
83
  title: Solitude Documentation
@@ -108,13 +108,13 @@ aside:
108
108
  author:
109
109
  img: /img/avatar.avif # url (avatar)
110
110
  sticker: # url (sticker), 24x24
111
- url: /about/ # Click name to jump to address
111
+ url: /about/ # Click name to jump to address
112
112
  background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # Background image(Invalid if style is 0)
113
113
  content: Here is my personal blog # Introduction (Invalid if style is 1)
114
114
  content2: I believe you can find knowledge and tutorials here that will be useful to you. # Introduction (Invalid if style is 1)
115
115
  sayhello: # Style 2 is invalid
116
- morning: ✨ Good morning. It's a new day
117
- noon: It's time for a midday break
116
+ morning: ✨ Good morning. It's a new day
117
+ noon: It's time for a midday break
118
118
  afternoon: Tea time. 🍵
119
119
  night: early bedtime
120
120
  goodnight: Good night 😴
@@ -175,7 +175,7 @@ aside:
175
175
  pv: true # PV
176
176
  uv: true # UV
177
177
  updatetime: true # Last update date
178
- runtimeenable: true # Website creation time
178
+ runtimeenable: true # Website creation time
179
179
  runtime: "2023-04-20 00:00:00" # Format: yyyy-MM-dd hh-mm-ss
180
180
  # --------------------------- end ---------------------------
181
181
  # --------------------------- end ---------------------------
@@ -338,6 +338,7 @@ errorpage:
338
338
  says:
339
339
  enable: false
340
340
  home_mini: false
341
+ page: '/essay/'
341
342
  style: 1
342
343
  strip: 30
343
344
  # --------------------------- end ---------------------------
@@ -364,8 +365,8 @@ envelope:
364
365
  # --------------------------- end ---------------------------
365
366
 
366
367
  # --------------------------- start ---------------------------
367
- # This part of the content uses metingjs,
368
- # can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
368
+ # This part of the content uses metingjs,
369
+ # can only use NetEase Cloud Music, QQ Music and other music platforms supported by the mainland China region,
369
370
  # the subsequent consideration of the use of JSON files to store music information and customize the implementation of the third-party API does not depend on the.
370
371
  # Music Page
371
372
  meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" # Custom API
@@ -385,7 +386,7 @@ capsule:
385
386
  # --------------------------- end ---------------------------
386
387
 
387
388
  # --------------------------- start ---------------------------
388
- # Quick Menu
389
+ # Quick Menu
389
390
  # Open with shift + ?
390
391
  keyboard:
391
392
  enable: false
@@ -527,7 +528,7 @@ comment:
527
528
  lazyload: false # Lazy load
528
529
  count: false # Whether to use the comment count
529
530
  pv: false # Whether to use the page view count
530
- avatar: https://cravatar.cn # Avatar
531
+ avatar: https://gravatar.com/avatar # Avatar
531
532
  hot_tip: # Hot comment tips
532
533
  enable: false
533
534
  count: 3 # Display when more than 3 comments
@@ -550,8 +551,8 @@ valine:
550
551
  style: true # Use custom styles when turned on
551
552
  option: # options list
552
553
  artalk:
553
- server: # server url
554
- site: # site name
554
+ server: # server url
555
+ site: # site name
555
556
  option: # options
556
557
  giscus:
557
558
  repo: # GitHub repository name
@@ -613,7 +614,7 @@ extends:
613
614
  # PWA
614
615
  pwa:
615
616
  enable: false
616
- manifest: /manifest.json # manifest.json
617
+ manifest: /manifest.json # manifest.json
617
618
  theme_color: "#006a73" # Theme color
618
619
  mask_icon: /img/pwa/favicon.png # Mask icon
619
620
  apple_touch_icon: /img/pwa/favicon.png # Apple touch icon
@@ -728,4 +729,4 @@ CDN:
728
729
  # swiper_js:
729
730
  # busuanzi_js:
730
731
  # snackbar_js:
731
- # --------------------------- end ---------------------------
732
+ # --------------------------- end ---------------------------
@@ -76,7 +76,7 @@ post:
76
76
  nav:
77
77
  next: Next
78
78
  prev: Previous
79
-
79
+
80
80
 
81
81
  nav:
82
82
  site_name_title: Back to home
@@ -110,7 +110,7 @@ aside:
110
110
  toc: Table of contents
111
111
  tagmore: View all
112
112
  avatar: Avatar
113
- hello: Long time no see,
113
+ hello: 'Long time no see, '
114
114
  back: Welcome back again,
115
115
  sticker: Mood sticker
116
116
  newpost: New posts
@@ -226,4 +226,9 @@ about:
226
226
 
227
227
  message:
228
228
  close: Hide message
229
- open: Show message
229
+ open: Show message
230
+
231
+ essay:
232
+ tip0: '- All expanded -'
233
+ tip1: '- Recent Exhibitions #{count} Short Articles -'
234
+ link: 'Link'
package/languages/en.yml CHANGED
@@ -76,7 +76,7 @@ post:
76
76
  nav:
77
77
  next: Next
78
78
  prev: Previous
79
-
79
+
80
80
 
81
81
  nav:
82
82
  site_name_title: Back to home
@@ -110,7 +110,7 @@ aside:
110
110
  toc: Table of contents
111
111
  tagmore: View all
112
112
  avatar: Avatar
113
- hello: Long time no see,
113
+ hello: 'Long time no see, '
114
114
  back: Welcome back again,
115
115
  sticker: Mood sticker
116
116
  newpost: New posts
@@ -226,4 +226,9 @@ about:
226
226
 
227
227
  message:
228
228
  close: Hide message
229
- open: Show message
229
+ open: Show message
230
+
231
+ essay:
232
+ tip0: '- All expanded -'
233
+ tip1: '- Recent Exhibitions #{count} Short Articles -'
234
+ link: 'Link'
@@ -163,9 +163,9 @@ link:
163
163
  banner:
164
164
  toComment: 申请友链
165
165
  random: 随机访问
166
- random: 点击前往按钮进入随机一个友链,不保证跳转网站的安全性和可用性。本次随机到的是本站友链:⌈ ${name} ⌋
166
+ random: 点击前往按钮进入随机一个友链,不保证跳转网站的安全性和可用性。本次随机到的是本站友链:⌈ ${name} ⌋
167
167
  to: 前往
168
-
168
+
169
169
  keyboard:
170
170
  title: 博客快捷键
171
171
 
@@ -226,4 +226,9 @@ about:
226
226
 
227
227
  message:
228
228
  close: 隐藏弹幕
229
- open: 显示弹幕
229
+ open: 显示弹幕
230
+
231
+ essay:
232
+ tip0: '- 已展开所有短文 -'
233
+ tip1: '- 只展示最近 #{count} 条短文 -'
234
+ link: '链接'
@@ -162,7 +162,7 @@ music:
162
162
  link:
163
163
  banner:
164
164
  toComment: 申請友鏈
165
- random: 點擊前往按鈕進入隨機一個友鏈,不保證跳轉網站的安全性和可用性。本次隨機到的是本站友鏈:⌈ ${name} ⌋
165
+ random: 點擊前往按鈕進入隨機一個友鏈,不保證跳轉網站的安全性和可用性。本次隨機到的是本站友鏈:⌈ ${name} ⌋
166
166
  to: 前往
167
167
  keyboard:
168
168
  title: 博客快捷鍵
@@ -223,5 +223,10 @@ about:
223
223
  tip2: 瞭解更多關於
224
224
 
225
225
  message:
226
- close: 隱藏彈幕
227
- open: 顯示彈幕
226
+ close: 隱藏彈幕
227
+ open: 顯示彈幕
228
+
229
+ essay:
230
+ tip0: '- 已展開所有短文 -'
231
+ tip1: '- 只展示最近 #{count} 條短文 -'
232
+ link: '連接'
@@ -5,7 +5,7 @@ link(rel="canonical" href=urlNoIndex())
5
5
  link(rel="stylesheet", href=url_for(theme.cdn.fontawesome))
6
6
 
7
7
  // aplayer
8
- if theme.capsule.enable || theme.music.enable
8
+ if theme.capsule.enable || theme.music.enable || theme.says.enable
9
9
  link(rel="stylesheet", href=url_for(theme.cdn.aplayer_css))
10
10
 
11
11
  // swiper
@@ -47,4 +47,4 @@ if theme.extends.head
47
47
  each item in theme.extends.head
48
48
  != item
49
49
 
50
- !=fragment_cache('injectHeadJs', function(){return inject_head_js()})
50
+ !=fragment_cache('injectHeadJs', function(){return inject_head_js()})
@@ -41,18 +41,18 @@ if theme.says.enable
41
41
  i.solitude.fa-solid.fa-calendar-days
42
42
  time.datetime(datetime=moment(item.date).format())
43
43
  if item.location
44
- .bber-info-location
44
+ .bber-info-location
45
45
  i.solitude.fa-solid.fa-map
46
- | #{item.location}
46
+ = item.location
47
47
  if item.link
48
48
  a.bber-content-link(href=url_for(item.link) target="_blank")
49
49
  i.solitude.fa-solid.fa-link
50
- | 链接
50
+ = _p('essay.link')
51
51
  if item.content
52
52
  a.bber-reply(onclick=`sco.toTalk('${item.content}')`)
53
53
  i.solitude.fa-solid.fa-comment
54
54
  #bber-tips
55
55
  if theme.says.strip === -1
56
- | - 已展开所有短文 -
56
+ = _p('essay.tip0')
57
57
  else
58
- | - 只展示最近 #{theme.says.strip} 条短文 -
58
+ = _p('essay.tip1').replace('{count}', theme.says.strip)
@@ -1,6 +1,6 @@
1
1
  .bbTimeList.container#bbTimeList(class=is_home_first_page() ? '' : 'more-page')
2
- i.bber-logo.solitude.fa-solid.fa-newspaper(onclick=`pjax.loadUrl('/essay/')`)
3
- .swiper-container.swiper-no-swiping.swiper-container-initialized.swiper-container-vertical.swiper-container-pointer-events#bbtalk(tabindex="-1" onclick=`pjax.loadUrl('/essay/')`)
2
+ i.bber-logo.solitude.fa-solid.fa-newspaper(onclick=`pjax.loadUrl('${url_for(theme.says.page)}')`)
3
+ .swiper-container.swiper-no-swiping.swiper-container-initialized.swiper-container-vertical.swiper-container-pointer-events#bbtalk(tabindex="-1" onclick=`pjax.loadUrl('${url_for(theme.says.page)}')`)
4
4
  .swiper-wrapper#bber-talk
5
5
  each item, i in site.data.essay.essay_list.slice(0, 10)
6
6
  .li-style.swiper-slide
@@ -13,4 +13,4 @@
13
13
  i.solitude.fa-solid.fa-video
14
14
  else if item.link
15
15
  i.solitude.fa-solid.fa-link
16
- i.bber-gotobb.solitude.fa-solid.fa-circle-chevron-right(title=_p('home.bbtime.text') onclick=`pjax.loadUrl('/essay/')`)
16
+ i.bber-gotobb.solitude.fa-solid.fa-circle-chevron-right(title=_p('home.bbtime.text') onclick=`pjax.loadUrl('${url_for(theme.says.page)}')`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -158,10 +158,10 @@ hexo.extend.filter.register('before_generate', () => {
158
158
  },
159
159
  footer: {
160
160
  enable: true,
161
- desc: "来自 Efu 的文章",
161
+ desc: "The article from Solitude",
162
162
  button: {
163
163
  enable: true,
164
- name: '返回首页',
164
+ name: 'Learn More',
165
165
  url: '/'
166
166
  }
167
167
  }
@@ -310,7 +310,7 @@ hexo.extend.filter.register('before_generate', () => {
310
310
  commentBarrage: false,
311
311
  lazyload: false,
312
312
  count: false,
313
- avatar: 'https://cravatar.cn',
313
+ avatar: 'https://gravatar.com/avatar',
314
314
  hot_tip: {
315
315
  enable: true,
316
316
  count: 3
@@ -425,4 +425,4 @@ hexo.extend.filter.register('before_generate', () => {
425
425
  }
426
426
  }
427
427
  hexo.theme.config = Object.assign(defaultConfig, hexo.theme.config)
428
- }, 1)
428
+ }, 1)
@@ -1,7 +1,7 @@
1
1
  hexo.on('ready', () => {
2
2
  const {version} = require('../../package.json')
3
3
  hexo.log.info(`
4
- ===================================================================
4
+ =====================[ Hexo Theme - Solitude ]=====================
5
5
  ##### #### # ##### ###### # # ###### ######
6
6
  # # # # # # # # # # #
7
7
  ##### # # # # # # # # # ######
@@ -11,4 +11,4 @@ hexo.on('ready', () => {
11
11
  ===================================================================
12
12
  GitHub: https://github.com/everfu/hexo-theme-solitude
13
13
  `)
14
- })
14
+ })
@@ -1,9 +1,11 @@
1
1
  #twikoo
2
2
  .tk-submit
3
3
  margin-top 0
4
+
4
5
  .tk-admin-config-group-title
5
6
  margin-top 0
6
7
  line-height normal
8
+
7
9
  .tk-row
8
10
  .tk-col
9
11
  flex-direction column-reverse !important
@@ -227,8 +229,8 @@
227
229
 
228
230
  .tk-comments-container
229
231
  > .tk-comment
230
- margin-top 0!important
231
- margin-bottom 0.5rem!important
232
+ margin-top 0 !important
233
+ margin-bottom 0.5rem !important
232
234
  background var(--efu-card-bg)
233
235
  transition .3s
234
236
  border-radius 12px
@@ -335,53 +337,15 @@ img.tk-avatar-img
335
337
  .el-input--small
336
338
  .el-input__inner
337
339
  padding 8px
340
+
338
341
  .el-input__inner, .el-textarea__inner
339
- border-radius 12px
342
+ border-radius 12px
340
343
 
341
344
  .el-input.el-input--small.el-input-group.el-input-group--prepend
342
345
  border-radius 12px
343
346
  background var(--efu-secondbg)
344
347
  border var(--style-border-always)
345
348
 
346
- .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(1):before
347
- content '输入QQ号会自动获取昵称和头像'
348
-
349
- .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(2):before
350
- content '收到回复将会发送到你的邮箱'
351
-
352
- .el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(3):before
353
- content '可以通过昵称访问你的网站'
354
-
355
- .el-input.el-input--small.el-input-group.el-input-group--prepend:focus-within::before
356
- display block
357
- animation commonTipsIn .3s
358
-
359
- .el-input.el-input--small.el-input-group.el-input-group--prepend:focus-within::after
360
- display block
361
- animation commonTriangleIn .3s
362
-
363
- .el-input.el-input--small.el-input-group.el-input-group--prepend::before
364
- display none
365
- position absolute
366
- top -60px
367
- white-space nowrap
368
- border-radius 10px
369
- left 50%
370
- transform translate(-50%)
371
- padding 14px 18px
372
- background #444
373
- color #fff
374
- z-index 100
375
-
376
- .el-input.el-input--small.el-input-group.el-input-group--prepend::after
377
- display none
378
- content ''
379
- position absolute
380
- border 12px solid transparent
381
- border-top-color #444
382
- left 50%
383
- transform translate(-50%, -46px)
384
-
385
349
  .el-input-group__append, .el-input-group__prepend
386
350
  background-color var(--efu-card-bg) !important
387
351
  color var(--efu-fontcolor) !important
@@ -449,6 +413,7 @@ button.el-button.tk-cancel.el-button--default.el-button--small
449
413
  &.OwO-open
450
414
  .OwO-body
451
415
  animation .3s ease .1s 1 normal both running donate_effcet
416
+
452
417
  .OwO-body
453
418
  z-index 102
454
419
  width 500px
@@ -479,10 +444,6 @@ button.el-button.tk-cancel.el-button--default.el-button--small
479
444
  box-shadow var(--efu-shadow-lightblack) !important
480
445
  border-radius 8px
481
446
 
482
- #twikoo > div.tk-comments > div.tk-submit > div.tk-row.actions > div > div.tk-action-icon.OwO.OwO-open > div.OwO-body > div > ul > li > span
483
- line-height 48px
484
- font-size 28px
485
-
486
447
  .OwO-packages
487
448
  background var(--efu-background)
488
449
  padding-left 8px !important
@@ -502,15 +463,3 @@ button.el-button.tk-cancel.el-button--default.el-button--small
502
463
  .OwO-packages
503
464
  li
504
465
  line-height 45px !important
505
-
506
- .tk-replies
507
- .tk-content
508
- margin-top 0 !important
509
-
510
- .el-input-group--prepend
511
- .el-input__inner, .el-input-group__append
512
- border-left-width 0 !important
513
-
514
- .el-textarea .el-input__count
515
- color var(--efu-secondtext) !important
516
- user-select none
@@ -358,7 +358,7 @@ b, strong
358
358
  position relative
359
359
 
360
360
  i.solitude
361
- font-size 16px
361
+ font-size 20px
362
362
  line-height 1
363
363
  font-synthesis style
364
364
 
@@ -148,9 +148,10 @@
148
148
 
149
149
  div
150
150
  padding 0
151
+ margin-left .5rem
151
152
 
152
153
  .nav-button
153
- margin-left 12px
154
+ margin-left .5rem
154
155
  cursor pointer
155
156
 
156
157
  a
@@ -953,4 +954,4 @@ if hexo-config('nav.group')
953
954
  if hexo-config('console.enable')
954
955
  #nav-console
955
956
  +maxWidth768()
956
- display none
957
+ display none
@@ -270,7 +270,6 @@
270
270
  border-radius 60px
271
271
  margin-bottom 12px
272
272
  color var(--efu-white)
273
- width 100px
274
273
  position relative
275
274
  background-size 200%
276
275
 
@@ -281,4 +280,4 @@
281
280
  background-position 100% 0
282
281
 
283
282
  .banners-link-title
284
- margin-left auto
283
+ margin 0 .1rem 0 .5rem
@@ -22,6 +22,8 @@
22
22
  .flink#article-container
23
23
  margin-top 1rem
24
24
 
25
+ #article-container
26
+
25
27
  .flink-desc
26
28
  margin 0
27
29
  color var(--efu-secondtext)
@@ -226,122 +228,122 @@
226
228
  .flink-item-desc
227
229
  display none
228
230
 
229
- > .flink-list-item
230
- margin 6px 6px
231
- transition .3s
232
- border-radius 12px
233
- transition-timing-function ease-in-out
234
- position relative
235
- width calc(20% - 12px)
236
- border var(--style-border-always)
237
- box-shadow var(--efu-shadow-border)
238
- background var(--efu-card-bg)
239
- display flex
240
- float left
241
- overflow hidden
242
- height 90px
243
- line-height 17px
244
- transform translateZ(0)
231
+ .flink-list-item
232
+ margin 6px 6px
233
+ transition .3s
234
+ border-radius 12px
235
+ transition-timing-function ease-in-out
236
+ position relative
237
+ width calc(20% - 12px)
238
+ border var(--style-border-always)
239
+ box-shadow var(--efu-shadow-border)
240
+ background var(--efu-card-bg)
241
+ display flex
242
+ float left
243
+ overflow hidden
244
+ height 90px
245
+ line-height 17px
246
+ transform translateZ(0)
245
247
 
246
- +maxWidth1200()
247
- width calc(25% - 12px)
248
+ +maxWidth1200()
249
+ width calc(25% - 12px)
248
250
 
249
- +maxWidth1024()
250
- width calc(33.3333% - 12px)
251
+ +maxWidth1024()
252
+ width calc(33.3333% - 12px)
251
253
 
252
- +maxWidth768()
253
- width calc(50% - 12px)
254
+ +maxWidth768()
255
+ width calc(50% - 12px)
254
256
 
255
- +maxWidth600()
256
- width calc(100% - 12px)
257
+ +maxWidth600()
258
+ width calc(100% - 12px)
257
259
 
258
- a
259
- display flex
260
- width 100%
261
- height 100%
262
- border none
263
- align-items center
260
+ a
261
+ display flex
262
+ width 100%
263
+ height 100%
264
+ border none
265
+ align-items center
264
266
 
265
- .img-alt
266
- display none
267
+ .img-alt
268
+ display none
267
269
 
268
- img
269
- border-radius 32px
270
- margin 15px 20px 15px 15px
271
- transition .3s
272
- background var(--efu-background)
273
- min-width 60px
274
- min-height 60px
275
- float left
276
- width 60px
277
- height 60px
278
-
279
- .flink-item-info
280
- display flex
281
- flex-direction column
282
- justify-content center
283
- width calc(100% - 90px)
284
- height fit-content
285
- padding 0 4px
270
+ img
271
+ border-radius 32px
272
+ margin 15px 20px 15px 15px
273
+ transition .3s
274
+ background var(--efu-background)
275
+ min-width 60px
276
+ min-height 60px
277
+ float left
278
+ width 60px
279
+ height 60px
286
280
 
287
- span
288
- transition .3s
281
+ .flink-item-info
282
+ display flex
283
+ flex-direction column
284
+ justify-content center
285
+ width calc(100% - 90px)
286
+ height fit-content
287
+ padding 0 4px
289
288
 
290
- .flink-item-name
291
- text-align left
292
- font-size 19px
293
- line-height 20px
294
- color var(--efu-fontcolor)
295
- display block
296
- padding 0 10px 0 0
297
- font-weight 700
298
- max-width calc(100% - 12px)
299
- overflow hidden
300
- text-overflow ellipsis
301
- white-space nowrap
289
+ span
290
+ transition .3s
302
291
 
303
- .flink-item-desc
304
- white-space normal
305
- padding 5px 10px 16px 0
306
- color var(--efu-fontcolor)
307
- text-align left
308
- height 40px
309
- text-overflow ellipsis
310
- opacity .7
311
- display -webkit-box
312
- overflow hidden
313
- -webkit-box-orient vertical
314
- -webkit-line-clamp 2
315
- font-size .93em
292
+ .flink-item-name
293
+ text-align left
294
+ font-size 19px
295
+ line-height 20px
296
+ color var(--efu-fontcolor)
297
+ display block
298
+ padding 0 10px 0 0
299
+ font-weight 700
300
+ max-width calc(100% - 12px)
301
+ overflow hidden
302
+ text-overflow ellipsis
303
+ white-space nowrap
304
+
305
+ .flink-item-desc
306
+ white-space normal
307
+ padding 5px 10px 16px 0
308
+ color var(--efu-fontcolor)
309
+ text-align left
310
+ height 40px
311
+ text-overflow ellipsis
312
+ opacity .7
313
+ display -webkit-box
314
+ overflow hidden
315
+ -webkit-box-orient vertical
316
+ -webkit-line-clamp 2
317
+ font-size .93em
316
318
 
317
- &:hover
318
- background var(--efu-theme)
319
+ &:hover
320
+ background var(--efu-theme)
319
321
 
320
- .site-card-tag
321
- left: -50px
322
+ .site-card-tag
323
+ left: -50px
322
324
 
323
- a
324
- background 0 0
325
+ a
326
+ background 0 0
325
327
 
326
- img
327
- transition .6s
328
- width 0
329
- height 0
330
- opacity 0
331
- margin 5px
332
- min-width 0
333
- min-height 0
328
+ img
329
+ transition .6s
330
+ width 0
331
+ height 0
332
+ opacity 0
333
+ margin 5px
334
+ min-width 0
335
+ min-height 0
334
336
 
335
- .flink-item-info
336
- min-width calc(100% - 20px)
337
+ .flink-item-info
338
+ min-width calc(100% - 20px)
337
339
 
338
- .flink-item-name
339
- color var(--efu-card-bg)
340
+ .flink-item-name
341
+ color var(--efu-card-bg)
340
342
 
341
- .flink-item-desc
342
- color var(--efu-card-bg)
343
- overflow hidden
344
- width 100%
343
+ .flink-item-desc
344
+ color var(--efu-card-bg)
345
+ overflow hidden
346
+ width 100%
345
347
 
346
348
  @keyframes light_tag
347
349
  0%
@@ -349,4 +351,4 @@
349
351
  left -150px
350
352
  99%
351
353
  transform skewx(-25deg)
352
- left 50px
354
+ left 50px
@@ -135,6 +135,11 @@ div#banners
135
135
  font-weight 700
136
136
  box-shadow var(--efu-shadow-blackdeep)
137
137
 
138
+ +maxWidth768()
139
+ .flink &
140
+ width 70px
141
+ height 70px
142
+
138
143
  &:nth-child(even)
139
144
  margin-top 1rem
140
145
  transform translate(-60px)
@@ -269,4 +274,4 @@ div#banners
269
274
  font-size 1.5rem
270
275
 
271
276
  .banner-button-text
272
- display none
277
+ display none
@@ -28,6 +28,7 @@ if hexo-config('says.home_mini')
28
28
  margin 0
29
29
  background var(--efu-background)
30
30
  border none
31
+ padding 0 .2rem
31
32
  i.bber-logo,
32
33
  i.bber-gotobb
33
34
  transition .3s
@@ -38,7 +39,7 @@ if hexo-config('says.home_mini')
38
39
  color var(--efu-theme)
39
40
 
40
41
  i.bber-logo
41
- font-size 2rem
42
+ font-size 1.2rem
42
43
  margin-right 1rem
43
44
 
44
45
  i.bber-gotobb
@@ -367,4 +368,4 @@ if hexo-config('says.enable')
367
368
  .li-style
368
369
  &:hover
369
370
  color var(--efu-theme)
370
- transition .3s
371
+ transition .3s
@@ -85,6 +85,7 @@
85
85
  color var(--efu-white)
86
86
  cursor pointer
87
87
  border-radius 4px
88
+
88
89
  .social-share
89
90
  display flex
90
91
  justify-content center
@@ -114,6 +115,7 @@
114
115
  .icon-qq
115
116
  color #56b6e7
116
117
  border-color #56b6e7
118
+
117
119
  &:hover
118
120
  background-color #56b6e7
119
121
 
@@ -151,18 +153,21 @@
151
153
 
152
154
  &:hover
153
155
  background-color #0077b5
156
+
154
157
  .icon-whatsapp
155
158
  color #25d366
156
159
  border-color #25d366
157
160
 
158
161
  &:hover
159
162
  background-color #25d366
163
+
160
164
  .icon-link
161
165
  color #425AEF
162
166
  border-color #425AEF
163
167
 
164
168
  &:hover
165
169
  background-color #425AEF
170
+
166
171
  .icon-qrcode
167
172
  position relative
168
173
  color #000
@@ -194,7 +199,7 @@
194
199
 
195
200
  .reward-dec
196
201
  font-size 0.6rem
197
- color var(--efu-fontcolor)!important
202
+ color var(--efu-fontcolor) !important
198
203
  text-align center
199
204
 
200
205
  #qrcode
@@ -210,4 +215,4 @@
210
215
 
211
216
  img
212
217
  width 132px
213
- height 132px
218
+ height 132px
@@ -1 +1,5 @@
1
- function waterfall(a){function b(a,b){var c=window.getComputedStyle(b);return parseFloat(c["margin"+a])||0}function c(a){return a+"px"}function d(a){return parseFloat(a.style.top)}function e(a){return parseFloat(a.style.left)}function f(a){return a.clientWidth}function g(a){return a.clientHeight}function h(a){return d(a)+g(a)+b("Bottom",a)}function i(a){return e(a)+f(a)+b("Right",a)}function j(a){a=a.sort(function(a,b){return h(a)===h(b)?e(b)-e(a):h(b)-h(a)})}function k(b){f(a)!=t&&(b.target.removeEventListener(b.type,arguments.callee),waterfall(a))}"string"==typeof a&&(a=document.querySelector(a));var l=[].map.call(a.children,function(a){return a.style.position="absolute",a});a.style.position="relative";var m=[];l.length&&(l[0].style.top="0px",l[0].style.left=c(b("Left",l[0])),m.push(l[0]));for(var n=1;n<l.length;n++){var o=l[n-1],p=l[n],q=i(o)+f(p)<=f(a);if(!q)break;p.style.top=o.style.top,p.style.left=c(i(o)+b("Left",p)),m.push(p)}for(;n<l.length;n++){j(m);var p=l[n],r=m.pop();p.style.top=c(h(r)+b("Top",p)),p.style.left=c(e(r)),m.push(p)}j(m);var s=m[0];a.style.height=c(h(s)+b("Bottom",s));var t=f(a);window.addEventListener?window.addEventListener("resize",k):document.body.onresize=k}
1
+ /**
2
+ * @license Copyright 2024 Ever Funnel. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+ function waterfall(t){function e(t,e){var n=window.getComputedStyle(t);return parseFloat(n["margin"+e])||0}function n(t){return t+"px"}function r(t){return parseFloat(t.style.top)||0}function o(t){return parseFloat(t.style.left)||0}function i(t){return t.clientWidth}function l(t){return t.clientHeight}function u(t){return r(t)+l(t)+e(t,"Bottom")}function a(t){return o(t)+i(t)+e(t,"Right")}function s(t){t.sort(function(t,e){var n=u(t),r=u(e);return n===r?o(e)-o(t):r-n})}function f(e){i(t)!==containerWidth&&(window.removeEventListener(e.type,f),waterfall(t))}"string"==typeof t&&(t=document.querySelector(t));var c=Array.from(t.children).map(function(t){return t.style.position="absolute",t});t.style.position="relative";var p=Array.from(t.querySelectorAll("img")),y=p.map(function(t){return new Promise(function(e){t.complete?e():(t.addEventListener("load",e),t.addEventListener("error",e))})});Promise.all(y).then(function(){var r=[];c.length&&(c[0].style.top="0px",c[0].style.left=n(e(c[0],"Left")),r.push(c[0]));for(var l=1;l<c.length;l++){var p=c[l-1],y=c[l];if(!(a(p)+i(y)<=i(t)))break;y.style.top=p.style.top,y.style.left=n(a(p)),r.push(y)}for(var v=r.length;v<c.length;v++){s(r);var d=c[v],h=r.pop();d.style.top=n(u(h)+e(d,"Top")),d.style.left=n(o(h)),r.push(d)}s(r);var m=r[0];t.style.height=n(u(m)+e(m,"Bottom"));i(t);window.addEventListener("resize",f)})}