hexo-theme-solitude 3.0.20 → 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 (143) 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 +38 -24
  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 +18 -40
  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 +5 -4
  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/index.pug +1 -1
  68. package/layout/includes/widgets/third-party/hot/twikoo.pug +1 -1
  69. package/layout/includes/widgets/third-party/music.pug +9 -5
  70. package/layout/includes/widgets/third-party/news-comment/artalk.pug +6 -6
  71. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +7 -7
  72. package/layout/includes/widgets/third-party/news-comment/valine.pug +8 -8
  73. package/layout/includes/widgets/third-party/news-comment/waline.pug +7 -7
  74. package/layout/includes/widgets/third-party/pjax.pug +16 -10
  75. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  76. package/layout/includes/widgets/third-party/search/docsearch.pug +3 -3
  77. package/layout/includes/widgets/third-party/search/index.pug +1 -3
  78. package/layout/includes/widgets/third-party/search/local-search.pug +9 -9
  79. package/layout/index.pug +10 -8
  80. package/package.json +8 -7
  81. package/plugins.yml +22 -21
  82. package/scripts/event/cdn.js +11 -6
  83. package/scripts/event/friend_links.js +30 -0
  84. package/scripts/event/merge_config.js +15 -7
  85. package/scripts/filter/comment.js +2 -2
  86. package/scripts/filter/default.js +1 -1
  87. package/scripts/helper/inject_head_js.js +79 -33
  88. package/scripts/helper/related_post.js +16 -21
  89. package/scripts/tags/chart.js +1 -1
  90. package/scripts/tags/typeit.js +1 -1
  91. package/source/css/_components/capsule.styl +259 -168
  92. package/source/css/_components/rightside.styl +98 -242
  93. package/source/css/_global/animation.styl +1 -10
  94. package/source/css/_global/index.styl +27 -1
  95. package/source/css/_layout/aside.styl +7 -1
  96. package/source/css/_layout/console.styl +144 -163
  97. package/source/css/_layout/header.styl +238 -47
  98. package/source/css/_layout/pagination.styl +176 -132
  99. package/source/css/_layout/rightmenu.styl +11 -2
  100. package/source/css/_layout/sidebar.styl +39 -17
  101. package/source/css/_mode/index.styl +7 -1
  102. package/source/css/_page/_about/about.styl +18 -2
  103. package/source/css/_page/_about/buff.styl +1 -1
  104. package/source/css/_page/_about/contentinfo.styl +2 -1
  105. package/source/css/_page/_about/game.styl +57 -1
  106. package/source/css/_page/_about/like.styl +7 -2
  107. package/source/css/_page/_about/maxim.styl +1 -1
  108. package/source/css/_page/_about/reward.styl +226 -108
  109. package/source/css/_page/_about/skills.styl +5 -3
  110. package/source/css/_page/_home/category-bar.styl +162 -88
  111. package/source/css/_page/_home/home-top.styl +309 -263
  112. package/source/css/_page/_home/home.styl +34 -7
  113. package/source/css/_page/archive.styl +412 -0
  114. package/source/css/_page/category.styl +27 -1
  115. package/source/css/_page/index.styl +2 -0
  116. package/source/css/_page/links.styl +190 -0
  117. package/source/css/_page/other.styl +37 -0
  118. package/source/css/_post/index.styl +2 -1
  119. package/source/css/_post/meta.styl +245 -217
  120. package/source/css/_search/local-search.styl +158 -82
  121. package/source/css/var.styl +2 -2
  122. package/source/js/archive-page.js +191 -0
  123. package/source/js/core/actions.js +48 -0
  124. package/source/js/core/api.js +32 -0
  125. package/source/js/core/config.js +13 -0
  126. package/source/js/core/lifecycle.js +52 -0
  127. package/source/js/core/preloader.js +34 -0
  128. package/source/js/core/resources.js +65 -0
  129. package/source/js/covercolor/api.js +13 -103
  130. package/source/js/covercolor/ave.js +14 -77
  131. package/source/js/covercolor/local.js +22 -116
  132. package/source/js/covercolor/shared.js +102 -0
  133. package/source/js/friend_links.js +502 -0
  134. package/source/js/main.js +793 -177
  135. package/source/js/music.js +24 -14
  136. package/source/js/post_ai.js +13 -2
  137. package/source/js/right_menu.js +44 -24
  138. package/source/js/search/algolia.js +29 -21
  139. package/source/js/search/local.js +231 -266
  140. package/source/js/tw_cn.js +37 -12
  141. package/source/js/utils.js +37 -25
  142. package/layout/includes/widgets/randomlink.pug +0 -43
  143. package/scripts/filter/randomPosts.js +0 -16
@@ -11,13 +11,13 @@
11
11
 
12
12
  #nav
13
13
  transition .3s
14
- background var(--efu-card-bg)
14
+ background linear-gradient(to bottom, rgba(255, 255, 255, .3), var(--efu-none))
15
15
 
16
16
  a
17
17
  color var(--efu-fontcolor)
18
18
 
19
19
  &:hover
20
- color var(--efu-card-bg)
20
+ color var(--efu-nav-hover-text)
21
21
 
22
22
  &:not(.nav-fixed)
23
23
  #nav
@@ -88,20 +88,25 @@
88
88
  z-index 102
89
89
  display flex
90
90
  flex-direction row
91
- height 100%
92
91
  align-items center
93
92
  margin-right 1.5rem
94
93
  overflow hidden
94
+ padding 4px
95
+ gap 6px
96
+ border var(--style-border-always)
97
+ border-color var(--efu-none)
98
+ border-radius 99px
99
+ transition box-shadow .3s, border-color .3s, backdrop-filter .3s, background-color .3s, width .3s, max-width .3s, height .3s, max-height .3s, padding .3s, margin .3s
95
100
 
96
101
  +maxWidth768()
97
102
  margin-right 12px
98
103
 
99
104
  div
100
105
  padding 0
101
- margin-left .5rem
106
+ margin-left 0
102
107
 
103
108
  .nav-button
104
- margin-left .5rem
109
+ margin-left 0
105
110
  cursor pointer
106
111
 
107
112
  a
@@ -113,17 +118,18 @@
113
118
  border-radius 40px
114
119
 
115
120
  i
116
- font-size 20px
121
+ font-size 22px
122
+ line-height 1
117
123
 
118
124
  &.totopbtn
119
- width 25px
120
- height 25px
125
+ width 30px
126
+ height 30px
121
127
  border-radius 40px
122
128
  background var(--efu-fontcolor)
123
129
  color var(--efu-card-bg)
124
130
  position absolute
125
- top 5px
126
- right 5px
131
+ top 2px
132
+ right 2px
127
133
  transition .3s
128
134
 
129
135
  &.console_switchbutton
@@ -188,10 +194,8 @@
188
194
  &:not(.long):hover
189
195
  a
190
196
  &.totopbtn
191
- width 35px
192
- height 35px
193
- top 0
194
- right 0
197
+ transform scale(1.167)
198
+ transform-origin center center
195
199
 
196
200
  &.nav-fixed
197
201
  #nav
@@ -199,8 +203,25 @@
199
203
  top 0
200
204
  transition .3s
201
205
  box-shadow none
202
- background var(--efu-card-bg)
203
- outline 1px solid var(--efu-card-border)
206
+ background var(--efu-none)
207
+ outline 1px solid var(--efu-none)
208
+
209
+ #blog_name
210
+ box-shadow var(--efu-shadow-border)
211
+ -webkit-backdrop-filter blur(20px)
212
+ backdrop-filter blur(20px)
213
+
214
+ #nav-right
215
+ box-shadow var(--efu-shadow-glass)
216
+ -webkit-backdrop-filter blur(20px)
217
+ backdrop-filter blur(20px)
218
+
219
+ #blog_name,
220
+ #nav-right
221
+ background linear-gradient(to bottom, var(--efu-maskbg), var(--efu-maskbgdeep))
222
+
223
+ [data-theme="dark"] &
224
+ box-shadow var(--efu-shadow-glass-inset)
204
225
 
205
226
  #menus
206
227
  +minWidth900()
@@ -208,8 +229,8 @@
208
229
 
209
230
  & > div
210
231
  &.menus_items
211
- transition .3s
212
- height 40px
232
+ transition top .3s, transform .3s, opacity .3s, box-shadow .3s, backdrop-filter .3s, background-color .3s
233
+ height 44px
213
234
  margin auto 0
214
235
 
215
236
  #menus[style*="padding-right: 300px;"]
@@ -219,8 +240,21 @@
219
240
  #page-name
220
241
  +minWidth900()
221
242
  z-index 101
222
- transition .3s
223
- top 10px
243
+ top 8px
244
+ transform scale(1)
245
+ opacity 1
246
+ max-width calc(100dvw - 420px)
247
+ pointer-events auto
248
+ border-radius 99px
249
+ box-shadow var(--efu-shadow-glass)
250
+ -webkit-backdrop-filter blur(20px)
251
+ backdrop-filter blur(20px)
252
+
253
+ [data-theme="dark"] &
254
+ box-shadow var(--efu-shadow-glass-inset)
255
+
256
+ &::before
257
+ opacity 1
224
258
 
225
259
  &-text
226
260
  +minWidth900()
@@ -228,7 +262,7 @@
228
262
  opacity 1
229
263
  transition .3s
230
264
  line-height 1
231
- width 70%
265
+ max-width 100%
232
266
  overflow hidden
233
267
  text-overflow ellipsis
234
268
  white-space nowrap
@@ -244,6 +278,8 @@
244
278
  transition .15s
245
279
  position relative
246
280
  top -60px
281
+ transform scale(0)
282
+ opacity 0
247
283
 
248
284
  &.nav-visible
249
285
  #nav
@@ -251,7 +287,10 @@
251
287
  +minWidth900()
252
288
  z-index 100
253
289
  top 60px
254
- transition .3s
290
+ transform scale(0)
291
+ opacity 0
292
+ pointer-events none
293
+ transition .15s
255
294
 
256
295
  &-text
257
296
  +minWidth900()
@@ -264,6 +303,12 @@
264
303
  transition .15s
265
304
  position relative
266
305
  top: 0
306
+ transform scale(1)
307
+ border-radius 99px
308
+ box-shadow var(--efu-shadow-glass)
309
+ -webkit-backdrop-filter blur(20px)
310
+ backdrop-filter blur(20px)
311
+ background linear-gradient(to bottom, var(--efu-maskbg), var(--efu-maskbgdeep))
267
312
 
268
313
  #menus
269
314
  +minWidth900()
@@ -276,7 +321,7 @@
276
321
  &.no-top-img
277
322
  margin-bottom 0
278
323
 
279
- &:not(.nav-fixed)
324
+ &.nav-at-top
280
325
  #percent
281
326
  transition .3s
282
327
 
@@ -287,6 +332,12 @@
287
332
  overflow hidden
288
333
  transition .3s
289
334
 
335
+ &:not(.not-top-img)
336
+ #nav #menus > .menus_items > .menus_item:hover > .site-page
337
+ background var(--efu-none)
338
+ box-shadow none
339
+ color var(--efu-white)
340
+
290
341
  #nav
291
342
  padding 0
292
343
  position absolute
@@ -316,12 +367,23 @@
316
367
 
317
368
  #toggle-menu
318
369
  display none
319
- padding .1rem 0 0 .3rem
370
+ padding 0
320
371
  vertical-align top
372
+ width 35px
373
+ height 35px
321
374
 
322
375
  +maxWidth768()
323
376
  display inline-block
324
377
 
378
+ .site-page
379
+ width 35px
380
+ height 35px
381
+ padding 0
382
+ display flex
383
+ align-items center
384
+ justify-content center
385
+ border-radius 40px
386
+
325
387
  &:hover
326
388
  color var(--efu-white)
327
389
 
@@ -339,7 +401,7 @@
339
401
  &:hover
340
402
  @media (hover: hover)
341
403
  i, span, img
342
- color var(--efu-card-bg)
404
+ color var(--efu-nav-hover-text)
343
405
  transition .3s
344
406
 
345
407
  +minWidth900()
@@ -359,7 +421,7 @@
359
421
  justify-content center
360
422
  font-size 22px
361
423
  line-height 1
362
- color var(--efu-card-bg)
424
+ color var(--efu-nav-hover-text)
363
425
 
364
426
  if hexo-config('site.name.class') == i_class
365
427
  i
@@ -392,11 +454,21 @@
392
454
 
393
455
  #blog_name
394
456
  flex-wrap nowrap
395
- height 60px
457
+ height 44px
396
458
  display flex
397
459
  align-items center
398
460
  z-index 102
399
- transition .3s
461
+ position absolute
462
+ left 1.5rem
463
+ padding 2px 6px
464
+ border var(--style-border-always)
465
+ border-color var(--efu-none)
466
+ border-radius 99px
467
+ transition box-shadow .3s, border-color .3s, backdrop-filter .3s, background-color .3s, width .3s, max-width .3s, height .3s, max-height .3s, padding .3s, margin .3s
468
+
469
+ +maxWidth768()
470
+ left 12px
471
+ padding 0
400
472
 
401
473
  a
402
474
  transition .3s
@@ -438,9 +510,18 @@
438
510
  display flex
439
511
  flex-direction row
440
512
  justify-content center
513
+ gap 8px
514
+ padding 0 4px
515
+ height 44px
516
+ margin auto 0
517
+ border-radius 99px
518
+ box-sizing border-box
519
+ transform scale(1)
520
+ opacity 1
521
+ transition top .5s, transform .5s, opacity .5s, box-shadow .5s, backdrop-filter .5s, background-color .5s
441
522
 
442
523
  .menus_item
443
- padding 0 .4rem
524
+ padding 0
444
525
  display flex
445
526
  flex-direction column
446
527
  align-items center
@@ -448,13 +529,14 @@
448
529
  position relative
449
530
 
450
531
  .menus_item_child
451
- padding 6px 4px 8px 4px
532
+ padding 6px 3.5px
452
533
  border-radius 100px
453
534
  background-color var(--efu-maskbgdeep)
454
535
  box-shadow var(--efu-shadow-black)
455
536
  border var(--style-border)
456
537
  transition .3s
457
- backdrop-filter blur(20px)
538
+ -webkit-backdrop-filter none
539
+ backdrop-filter none
458
540
  top 35px
459
541
  position absolute
460
542
  margin-top 8px
@@ -480,7 +562,7 @@
480
562
 
481
563
  &:hover
482
564
  background var(--efu-lighttext)
483
- color var(--efu-card-bg)
565
+ color var(--efu-nav-hover-text)
484
566
  box-shadow var(--efu-shadow-main)
485
567
  margin 0 auto
486
568
  transform scale(1)
@@ -488,7 +570,7 @@
488
570
 
489
571
  i
490
572
  &:not(.fa-brands)
491
- font-size 16px
573
+ font-size 22px
492
574
  margin-right 8px
493
575
  line-height 1
494
576
 
@@ -503,7 +585,30 @@
503
585
  &:before
504
586
  top -10px
505
587
 
588
+ &:first-child
589
+ .menus_item_child::after
590
+ position absolute
591
+ top -60px
592
+ left 0
593
+ width 50%
594
+ height 60px
595
+ content ""
596
+
597
+ &:last-child
598
+ .menus_item_child::after
599
+ position absolute
600
+ top -60px
601
+ right 0
602
+ width 50%
603
+ height 60px
604
+ content ""
605
+
506
606
  &:hover
607
+ > .site-page
608
+ background var(--efu-main)
609
+ color var(--efu-nav-hover-text)
610
+ box-shadow var(--efu-shadow-main)
611
+
507
612
  .menus_item_child
508
613
  display block
509
614
  border var(--style-border-hover)
@@ -511,6 +616,8 @@
511
616
  opacity 1
512
617
  pointer-events all
513
618
  transform translateY(0) scale(1)
619
+ -webkit-backdrop-filter blur(20px)
620
+ backdrop-filter blur(20px)
514
621
 
515
622
  i
516
623
  &.expand
@@ -634,6 +741,9 @@ if hexo-config('nav.group')
634
741
  transition .3s
635
742
  border-radius 40px
636
743
 
744
+ +minWidth768()
745
+ position relative
746
+
637
747
  +maxWidth768()
638
748
  display: none
639
749
 
@@ -642,7 +752,7 @@ if hexo-config('nav.group')
642
752
 
643
753
  &:hover
644
754
  background var(--efu-main)
645
- color var(--efu-card-bg)
755
+ color var(--efu-nav-hover-text)
646
756
 
647
757
  .back-menu-list-groups
648
758
  display flex
@@ -652,6 +762,9 @@ if hexo-config('nav.group')
652
762
  left 1.5rem
653
763
  transform scale(1)
654
764
 
765
+ +minWidth768()
766
+ left 0
767
+
655
768
  +maxWidth768()
656
769
  padding-bottom 8px
657
770
  box-shadow var(--efu-shadow-border)
@@ -688,6 +801,12 @@ if hexo-config('nav.group')
688
801
  backdrop-filter blur(20px)
689
802
  -webkit-backdrop-filter blur(20px)
690
803
 
804
+ +minWidth768()
805
+ left 0
806
+ background-color var(--efu-card-bg)
807
+ backdrop-filter none
808
+ -webkit-backdrop-filter none
809
+
691
810
  +maxWidth768()
692
811
  left 0
693
812
 
@@ -698,6 +817,12 @@ if hexo-config('nav.group')
698
817
  .back-menu-item
699
818
  width 150px
700
819
 
820
+ +minWidth768()
821
+ gap 8px
822
+
823
+ .back-menu-item-text
824
+ margin-left 0
825
+
701
826
  .nav-fixed
702
827
  #nav
703
828
  a
@@ -706,7 +831,7 @@ if hexo-config('nav.group')
706
831
 
707
832
  &:hover
708
833
  background var(--efu-lighttext)
709
- color var(--efu-card-bg)
834
+ color var(--efu-nav-hover-text)
710
835
  transition .3s
711
836
 
712
837
  #site-name
@@ -720,7 +845,7 @@ if hexo-config('nav.group')
720
845
 
721
846
  &:hover
722
847
  background var(--efu-lighttext)
723
- color var(--efu-card-bg)
848
+ color var(--efu-nav-hover-text)
724
849
 
725
850
  .menus_item
726
851
  &:hover
@@ -742,6 +867,13 @@ if hexo-config('nav.group')
742
867
  color var(--efu-white)
743
868
  cursor pointer
744
869
 
870
+ #page-header
871
+ #nav
872
+ .menus_item_child
873
+ .site-page.child
874
+ &:hover
875
+ color var(--efu-card-bg)
876
+
745
877
  #nav
746
878
  #site-name
747
879
  &:hover
@@ -796,7 +928,7 @@ if hexo-config('nav.group')
796
928
  background var(--efu-lighttext)
797
929
 
798
930
  .back-menu-item-text
799
- color var(--efu-card-bg)
931
+ color var(--efu-nav-hover-text)
800
932
 
801
933
  .back-menu-item-icon
802
934
  width 24px
@@ -817,7 +949,7 @@ if hexo-config('nav.group')
817
949
  #nav
818
950
  a
819
951
  &:hover
820
- color var(--efu-card-bg)
952
+ color var(--efu-nav-hover-text)
821
953
  background var(--efu-main)
822
954
  transition .3s
823
955
  box-shadow var(--efu-shadow-main)
@@ -825,13 +957,13 @@ if hexo-config('nav.group')
825
957
  #site-name
826
958
  &:hover
827
959
  i
828
- color var(--efu-card-bg)
960
+ color var(--efu-nav-hover-text)
829
961
 
830
962
  .menus_item
831
963
  &:hover
832
964
  & > a.site-page
833
965
  +minWidth768()
834
- color var(--efu-card-bg) !important
966
+ color var(--efu-nav-hover-text) !important
835
967
  background var(--efu-main)
836
968
  box-shadow var(--efu-shadow-main)
837
969
 
@@ -851,23 +983,30 @@ if hexo-config('nav.group')
851
983
  &.menus_items
852
984
  & > div
853
985
  & > a
854
- letter-spacing .3rem
855
- padding-left .7rem
986
+ max-width 10rem
987
+ padding-left 12px
988
+ padding-right 12px
856
989
  font-weight 700
857
990
  padding-top 0
858
991
  padding-bottom 0
859
992
  height 35px
860
993
  line-height 35px
861
994
  border-radius 40px
862
- if $language == 'en-US'
863
- letter-spacing normal
995
+ letter-spacing 0
996
+
997
+ > span
998
+ display block
999
+ min-width 0
1000
+ overflow hidden
1001
+ text-overflow ellipsis
1002
+ white-space nowrap
864
1003
 
865
1004
  #page-name
866
1005
  +minWidth900()
867
1006
  align-items center
868
1007
  display flex
869
1008
  border-radius 12px
870
- height 40px
1009
+ height 44px
871
1010
  position absolute
872
1011
  top 62px
873
1012
  left 0
@@ -875,16 +1014,68 @@ if hexo-config('nav.group')
875
1014
  margin auto
876
1015
  justify-content center
877
1016
  animation-timing-function ease-out
1017
+ transform scale(1.1)
1018
+ width fit-content
1019
+ padding 0 12px
1020
+ opacity 0
1021
+ pointer-events none
1022
+ transition top .3s, transform .3s, opacity .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s
1023
+
1024
+ &::before
1025
+ content ""
1026
+ position absolute
1027
+ inset 0
1028
+ border-radius inherit
1029
+ background linear-gradient(to bottom, var(--efu-maskbg), var(--efu-maskbgdeep))
1030
+ opacity 0
1031
+ transition opacity .3s
1032
+ pointer-events none
1033
+
1034
+ > *
1035
+ position relative
1036
+ z-index 1
878
1037
 
879
1038
  #page-name-mask
880
1039
  +minWidth900()
881
1040
  width 100%
882
- height 100%
1041
+ height 60px
883
1042
  position absolute
884
- overflow hidden
885
1043
  left 0
1044
+ pointer-events none
1045
+
1046
+ #page-header.nav-fixed
1047
+ #menus > .menus_items:hover,
1048
+ #page-name:hover
1049
+ +minWidth900()
1050
+ transform scale(1.05)
886
1051
 
887
1052
  if hexo-config('console.enable')
1053
+ #page-header.console-open
1054
+ #nav
1055
+ z-index 10000
1056
+
1057
+ #nav-right
1058
+ #nav-console
1059
+ .console_switchbutton.console-open
1060
+ label
1061
+ i
1062
+ width 100%
1063
+ height .2rem
1064
+ top calc(50% - .1rem)
1065
+ bottom auto
1066
+ left 0
1067
+ right auto
1068
+
1069
+ &.left
1070
+ transform rotate(45deg)
1071
+
1072
+ &.center
1073
+ opacity 0
1074
+ transform scale(0)
1075
+
1076
+ &.right
1077
+ transform rotate(-45deg)
1078
+
888
1079
  #nav-console
889
1080
  +maxWidth768()
890
1081
  display none