hexo-theme-solitude 1.10.4 → 1.10.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.
Files changed (38) hide show
  1. package/README.md +1 -1
  2. package/_config.yml +11 -8
  3. package/layout/includes/inject/body.pug +3 -4
  4. package/layout/includes/inject/head.pug +1 -1
  5. package/layout/includes/widgets/aside/asideInfoCard.pug +31 -1
  6. package/layout/includes/widgets/home/hometop.pug +0 -1
  7. package/layout/includes/widgets/home/topGroup.pug +9 -8
  8. package/layout/includes/widgets/third-party/news-comment/artalk.pug +1 -1
  9. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +1 -1
  10. package/layout/includes/widgets/third-party/news-comment/waline.pug +1 -1
  11. package/package.json +1 -1
  12. package/scripts/event/merge_config.js +1 -0
  13. package/source/css/_global/index.styl +29 -29
  14. package/source/css/_layout/article-container.styl +1 -1
  15. package/source/css/_layout/aside.styl +158 -13
  16. package/source/css/_layout/console.styl +7 -13
  17. package/source/css/_layout/header.styl +1 -28
  18. package/source/css/_layout/rightmenu.styl +1 -1
  19. package/source/css/_layout/sidebar.styl +1 -1
  20. package/source/css/_page/_about/about.styl +2 -1
  21. package/source/css/_page/_about/buff.styl +1 -1
  22. package/source/css/_page/_about/contentinfo.styl +2 -2
  23. package/source/css/_page/_about/maxim.styl +1 -1
  24. package/source/css/_page/_about/myphoto.styl +1 -1
  25. package/source/css/_page/_about/oneself.styl +2 -2
  26. package/source/css/_page/_about/personalities.styl +1 -1
  27. package/source/css/_page/_about/skills.styl +1 -1
  28. package/source/css/_page/_about/statistic.styl +1 -1
  29. package/source/css/_page/_home/home-top.styl +17 -96
  30. package/source/css/_page/_home/home.styl +9 -2
  31. package/source/css/_page/links.styl +0 -3
  32. package/source/css/_page/other.styl +127 -115
  33. package/source/css/_page/says.styl +5 -11
  34. package/source/css/_tags/gallery.styl +5 -3
  35. package/source/js/main.js +2 -22
  36. package/source/js/search/algolia.js +11 -0
  37. package/source/js/search/local.js +11 -0
  38. package/layout/includes/widgets/home/categoryGroup.pug +0 -12
package/README.md CHANGED
@@ -62,7 +62,7 @@
62
62
  - [x] 弹幕留言页
63
63
  - [ ] 首页顶部新样式
64
64
 
65
- > 如有問題請提 [issue](https://github.com/valor-x/hexo-theme-solitude/issues)
65
+ > 如有问题请提 [issue](https://github.com/valor-x/hexo-theme-solitude/issues)
66
66
 
67
67
  ## 应用
68
68
 
package/_config.yml CHANGED
@@ -184,21 +184,24 @@ aside:
184
184
  # 表情图片链接
185
185
  # Emoticon image link
186
186
  # tip: 26x26 size
187
- sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png
188
- # 点击作者名称跳转链接
189
- # Click the author name to jump link
187
+ sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png # 不填不显示
188
+ # 点击作者头像跳转链接
189
+ # Click the author's avatar to jump link
190
190
  url: /about/
191
+ # 背景图片
192
+ # Background image
193
+ background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # 不设置不会展示(仅样式为1、2时有效)
191
194
  # 文案1
192
195
  # label1
193
- content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。
196
+ content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。 # 样式为1时无效
194
197
  # 文案2
195
198
  # label2
196
- content2: 相信你可以在这里找到对你有用的知识和教程。
199
+ content2: 相信你可以在这里找到对你有用的知识和教程。 # 样式为1时无效
197
200
  # 个人信息卡片底部的小图标,按照例子填写
198
201
  # Small icons at the bottom of the personal information card, fill in according to the example
199
202
  # 个人信息卡片顶部按钮的打招呼语句
200
203
  # Greeting statement of the button at the top of the personal information card
201
- sayhello:
204
+ sayhello: # 样式为2时无效
202
205
  morning: 一日之计在于晨
203
206
  noon: 吃饱了才有力气干活
204
207
  afternoon: 集中精力,攻克难关
@@ -206,7 +209,7 @@ aside:
206
209
  goodnight: 睡个好觉,保证精力充沛
207
210
  # 个人信息卡片顶部按钮的切换文字
208
211
  # Switching text of the button at the top of the personal information card
209
- sayhello2:
212
+ sayhello2: # 样式为2时无效
210
213
  # - 🤖️ 数码科技爱好者
211
214
  # - 🔍 分享与热心帮助
212
215
  # - 🏠 智能家居小能手
@@ -217,7 +220,7 @@ aside:
217
220
  # - 💢 壮汉人狠话不多
218
221
  # - 🎮 电竞游戏爱好者
219
222
  # 个人信息卡片底部的小图标,按照例子填写
220
- information:
223
+ information: # 样式为1时请不要超过4个
221
224
  # Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
222
225
  # Bilibili: https://space.bilibili.com/1329819902 || st-bilibili-line
223
226
 
@@ -80,6 +80,9 @@ div
80
80
  != item
81
81
 
82
82
  .js-pjax
83
+ if is_home() && theme.says.enable && theme.says.home_mini
84
+ script.
85
+ sco.initbbtalk()
83
86
  if page.type === 'says' && theme.says.enable
84
87
  script.
85
88
  GLOBAL_CONFIG.lightbox && utils.lightbox(document.querySelectorAll(".bber-content-img img"));
@@ -92,10 +95,6 @@ div
92
95
  if is_home() && theme.carousel && site.posts.data.filter(item => item.recommend === true).slice(0, 6) || false
93
96
  script.
94
97
  carousel_swiper()
95
- if page.type === 'says' && theme.says.enable
96
- script.
97
- GLOBAL_CONFIG.lightbox && utils.lightbox(document.querySelectorAll(".bber-content-img img"));
98
- sco.changeTimeFormat(document.querySelectorAll('.bber-info-time time'))
99
98
  if theme.busuanzi && (theme.aside.siteinfo.uv || theme.aside.siteinfo.pv)
100
99
  if theme.busuanzi_use === 0
101
100
  script(defer pjax src=url_for(theme.cdn.busuanzi_js))
@@ -27,7 +27,7 @@ include ../head/pwa.pug
27
27
 
28
28
  script.
29
29
  console.log(
30
- "%c Program: Hexo %c Theme: Solitude %c Version: v1.10.4",
30
+ "%c Program: Hexo %c Theme: Solitude %c Version: v1.10.6",
31
31
  "border-radius:5px 0 0 5px;padding: 5px 10px;color:white;background:#ff3842;",
32
32
  "padding: 5px 10px;color:white;background:#3e9f50;",
33
33
  "padding: 5px 10px;color:white;background:#0084ff;border-radius:0 5px 5px 0",
@@ -53,4 +53,34 @@
53
53
  each value, label in theme.aside.card.information || {}
54
54
  - var array = value.split('||')
55
55
  a.social-icon(href=url_for(trim(array[0])), title=label)
56
- i.solitude(class=array[1])
56
+ i.solitude(class=array[1])
57
+ when 2
58
+ .card-info-bg-top
59
+ .author-info-social
60
+ .social-icons
61
+ each value, label in theme.aside.card.information || {}
62
+ - var array = value.split('||')
63
+ a.social-icon(href=url_for(trim(array[0])), title=label)
64
+ i.solitude(class=array[1])
65
+ span.more-info(onclick="document.querySelector('.social-icons').classList.toggle('show')")
66
+ i.solitude.st-more-2-fill
67
+ a.card-info-avatar(href=url_for(theme.aside.card.url) title=_p('aside.avatar'))
68
+ .avatar-img
69
+ img(src=theme.aside.card.author.img alt=_p('aside.avatar'))
70
+ if theme.aside.card.author.sticker
71
+ .avatar-sticker
72
+ img.avatar-sticker-img(src=theme.aside.card.author.sticker, alt=_p('aside.sticker'))
73
+ .author-info__name= config.author
74
+ .card-info__data.is-center
75
+ a(href=url_for('/archives/') title=_p('aside.card.posts') + site.posts.length)
76
+ .length-num= site.posts.length
77
+ .headline= _p('page.archives')
78
+ a(href=url_for('/tags/') title=_p('aside.card.tags') + site.tags.length)
79
+ .length-num= site.tags.length
80
+ .headline= _p('page.tag')
81
+ a(href=url_for('/categories/') title=_p('aside.card.categories') + site.categories.length)
82
+ .length-num= site.categories.length
83
+ .headline= _p('page.category')
84
+ .card-info__desc_group
85
+ .author-info__description!= theme.aside.card.content
86
+ .author-info__description2!= theme.aside.card.content2
@@ -3,6 +3,5 @@
3
3
  #bannerGroup
4
4
  #banners
5
5
  include ./banner.pug
6
- include ./categoryGroup.pug
7
6
  .topGroup
8
7
  include ./topGroup.pug
@@ -1,12 +1,13 @@
1
1
  - var filteredPosts = site.posts.data.filter(item => item.recommend === true).slice(0,6)
2
- each post in filteredPosts
3
- .recent-post-item
4
- .post_cover
5
- a(href=url_for(post.path), title=post.title)
6
- span.recent-post-top-text= _p('home.recommend')
7
- img.post_bg(alt=post.title, src=post.cover)
8
- .recent-post-info
9
- a.article-title(href=url_for(post.path), title=post.title)= post.title
2
+ .recent-post-group
3
+ each post in filteredPosts
4
+ .recent-post-item
5
+ .post_cover
6
+ a(href=url_for(post.path), title=post.title)
7
+ span.recent-post-top-text= _p('home.recommend')
8
+ img.post_bg(alt=post.title, src=post.cover)
9
+ .recent-post-info
10
+ a.article-title(href=url_for(post.path), title=post.title)= post.title
10
11
 
11
12
  mixin todayCardContent
12
13
  .todayCard-info
@@ -61,7 +61,7 @@ script.
61
61
  nick: e.nick,
62
62
  url: e.page_key,
63
63
  date: e.date,
64
- }))
64
+ })).slice(0, 6)
65
65
  utils.saveToLocal.set('artalk-newest-comments', artalk, !{theme.comment.newest_comment.storage})
66
66
  generateHtml(artalk, asideList)
67
67
  }).catch(error => {
@@ -46,7 +46,7 @@ script.
46
46
  nick: e.nick,
47
47
  url: `${e.url}#${e.id}`,
48
48
  date: new Date(e.created).toString()
49
- }))
49
+ })).slice(0, 6)
50
50
  utils.saveToLocal.set('twikoo-newest-comment', twikooArray, !{theme.comment.newest_comment.storage})
51
51
  generateHtml(twikooArray)
52
52
  }).catch((err) => {
@@ -39,7 +39,7 @@ script.
39
39
  'url': e.url + '#' + e.objectId,
40
40
  'date': e.time || e.insertedAt
41
41
  }
42
- })
42
+ }).slice(0, 6)
43
43
  utils.saveToLocal.set('waline-newest-comment', walineArray, !{theme.comment.newest_comment.storage})
44
44
  generateHtml(walineArray)
45
45
  }).catch(error => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "1.10.4",
3
+ "version": "1.10.6",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -53,6 +53,7 @@ hexo.extend.filter.register('before_generate', () => {
53
53
  sticker: '/img/happy-sticker.png',
54
54
  },
55
55
  url: '/about/',
56
+ background: null,
56
57
  content1: 'Solitude',
57
58
  content2: 'A simple theme for Hexo',
58
59
  sayhello: {
@@ -86,22 +86,37 @@ main
86
86
 
87
87
  // scrollbar - chrome/safari
88
88
  *::-webkit-scrollbar
89
- width 5px
90
- height 5px
89
+ width 12px
90
+ height 6px
91
91
 
92
92
  *::-webkit-scrollbar-thumb
93
93
  background var(--scrollbar-color)
94
+ opacity .5
95
+ border-radius 8px
96
+ cursor pointer
97
+ border 2px solid var(--efu-background)
98
+
99
+ &:hover
100
+ background var(--efu-lighttext)
101
+ display block
94
102
 
95
103
  *::-webkit-scrollbar-track
96
104
  background-color transparent
97
105
 
98
- #site-title,
99
- #site-subtitle,
100
- .site-name,
101
- #aside-content .author-info__name,
102
- #aside-content .author-info__description
103
- font-family "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
106
+ ::-webkit-scrollbar-thumb
107
+ background var(--efu-card-border)
108
+ opacity .5
109
+ border-radius 8px
110
+ cursor pointer
111
+ border 2px solid var(--efu-background)
104
112
 
113
+ ::-webkit-scrollbar-thumb:hover
114
+ background var(--efu-main)
115
+ opacity 1
116
+ display block !important
117
+
118
+ ::-webkit-scrollbar-track
119
+ background-color var(--efu-none)
105
120
 
106
121
  if hexo-config('lazyload.enable') && !hexo-config('lazyload.placeholder')
107
122
  img
@@ -124,7 +139,7 @@ h1, h2, h3, h4, h5, h6
124
139
  padding-left 0
125
140
  font-weight 700
126
141
  position relative
127
- margin 1rem 0 0.7rem
142
+ margin .5rem 0
128
143
  color var(--efu-fontcolor)
129
144
 
130
145
  hr
@@ -327,25 +342,6 @@ li, ul
327
342
  margin 0
328
343
  padding 0
329
344
 
330
- ::-webkit-scrollbar
331
- width 10px
332
- height 6px
333
-
334
- ::-webkit-scrollbar-thumb
335
- background var(--efu-card-border)
336
- opacity .5
337
- border-radius 8px
338
- cursor pointer
339
- border 2px solid var(--efu-background)
340
-
341
- ::-webkit-scrollbar-thumb:hover
342
- background var(--efu-main)
343
- opacity 1
344
- display block !important
345
-
346
- ::-webkit-scrollbar-track
347
- background-color var(--efu-none)
348
-
349
345
  [data-theme=dark] img
350
346
  filter brightness(1)
351
347
 
@@ -391,7 +387,7 @@ i.solitude
391
387
  +maxWidth1200()
392
388
  width 100%
393
389
 
394
- > #post,#category,#tag,#archive
390
+ > #post, #category, #tag, #archive
395
391
  box-shadow var(--efu-shadow-border)
396
392
  padding 1rem 2rem
397
393
  border-radius 12px
@@ -409,6 +405,10 @@ i.solitude
409
405
  padding 0 1rem
410
406
  background var(--efu-background)
411
407
 
408
+ .show
409
+ opacity 1 !important
410
+ pointer-events all !important
411
+
412
412
  span.tags-punctuation::before
413
413
  content: "\e071"
414
414
  font-family: solitude, serif !important
@@ -191,7 +191,7 @@
191
191
  font-size 1.3rem
192
192
  line-height 1.3
193
193
  border-top 1px dashed var(--efu-theme-op)
194
- padding-top 1.5rem
194
+ padding-top 1rem
195
195
 
196
196
  h3
197
197
  font-size 1.1rem
@@ -1,5 +1,9 @@
1
1
  #aside-content
2
2
  width 300px
3
+ if hexo-config('aside.position') == 0
4
+ order 1
5
+ else
6
+ order 2
3
7
 
4
8
  +minWidth900()
5
9
  if hexo-config('aside.position') == 0
@@ -50,11 +54,10 @@
50
54
  &:hover
51
55
  box-shadow var(--efu-shadow-border)
52
56
 
53
- > .card-widget
54
- &:first-child
55
- transition 0.3s
56
- border none
57
- margin-top 0
57
+ > .card-widget
58
+ &:first-child
59
+ transition 0.3s
60
+ margin-top 0
58
61
 
59
62
  .sticky_layout
60
63
  top calc(60px + .5rem)
@@ -66,6 +69,7 @@
66
69
  width fit-content
67
70
  color var(--efu-white)
68
71
  background var(--efu-white-op)
72
+ backdrop-filter blur(10px)
69
73
  font-size 12px
70
74
  padding 2px 8px
71
75
  border-radius 12px
@@ -90,7 +94,7 @@
90
94
  &:active
91
95
  transform scale(.97)
92
96
  opacity .8
93
-
97
+
94
98
  .card-info-social-icons
95
99
  margin 0
96
100
  display flex
@@ -256,12 +260,6 @@
256
260
 
257
261
  if hexo-config('aside.card.style') == 0
258
262
  #aside-content
259
- > .card-widget:first-child
260
- transition: .3s
261
- border: none
262
- box-shadow: none
263
- background: var(--efu-main)
264
- margin-top: 0
265
263
 
266
264
  .card-widget
267
265
  if hexo-config('aside.card.author.sticker')
@@ -475,6 +473,11 @@ if hexo-config('aside.card.style') == 1
475
473
  min-height 140px
476
474
  background: linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep), var(--efu-main), var(--efu-main-op-deep))
477
475
  background-size: 400%
476
+ if hexo-config('aside.card.background')
477
+ background-image url(hexo-config('aside.card.background'))
478
+ background-size cover
479
+ background-position center
480
+ background-repeat no-repeat
478
481
 
479
482
  .card-info-avatar
480
483
  width 114px
@@ -485,6 +488,7 @@ if hexo-config('aside.card.style') == 1
485
488
  position absolute
486
489
  transition cubic-bezier(.69, .39, 0, 1.21) .3s
487
490
  transform-origin bottom
491
+ z-index 1
488
492
  border 7px solid var(--efu-card-bg)
489
493
 
490
494
  .avatar-img
@@ -546,7 +550,7 @@ if hexo-config('aside.card.style') == 1
546
550
  margin-top 60px
547
551
  text-align center
548
552
  font-weight 700
549
- color var(--efu-font-color)
553
+ color var(--efu-fontcolor)
550
554
  font-size 20px
551
555
  line-height 1
552
556
  margin-bottom 5px
@@ -596,6 +600,147 @@ if hexo-config('aside.card.style') == 1
596
600
  font-size: 1em
597
601
  line-height: 1.5
598
602
 
603
+ if hexo-config('aside.card.style') == 2
604
+ #aside-content .card-widget.card-info
605
+ padding 0
606
+
607
+ .card-info-bg-top
608
+ width 100%
609
+ height 95px
610
+ position relative
611
+ background: linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep), var(--efu-main), var(--efu-main-op-deep))
612
+ if hexo-config('aside.card.background')
613
+ background-image url(hexo-config('aside.card.background'))
614
+ background-size cover
615
+ background-position center
616
+ background-repeat no-repeat
617
+ .author-info__name
618
+ font-size 24px
619
+ line-height 35px
620
+ color var(--efu-white)
621
+ font-weight 700
622
+ position absolute
623
+ top 55px
624
+ if hexo-config('aside.position') == 0
625
+ left 6rem
626
+ else
627
+ left 1rem
628
+ .card-info__data
629
+ position absolute
630
+ top 98px
631
+ gap .5rem
632
+ z-index 1
633
+ if hexo-config('aside.position') == 0
634
+ right 1rem
635
+ else
636
+ left 1rem
637
+
638
+ .headline
639
+ color var(--efu-gray)
640
+
641
+ .length-num
642
+ font-weight 700
643
+
644
+ a
645
+ font-size 14px
646
+ display flex
647
+ line-height 18px
648
+ gap .1rem
649
+ .card-info__desc_group
650
+ padding 44px 1rem 1rem
651
+ min-height 50px
652
+ opacity .8
653
+ line-height 18px
654
+ .author-info-social
655
+ position absolute
656
+ display inline-flex
657
+ gap: 5px
658
+ top .5rem
659
+ if hexo-config('aside.position') == 0
660
+ right 1rem
661
+ else
662
+ left 1rem
663
+
664
+ i
665
+ font-size 18px
666
+ width 30px
667
+ height 30px
668
+ border-radius 50%
669
+ background rgba(255, 255, 255, .2)
670
+ backdrop-filter blur(10px)
671
+ color var(--efu-white)
672
+ display flex
673
+ justify-content center
674
+ align-items center
675
+
676
+ .social-icons
677
+ order 1
678
+ opacity 0
679
+ transition .3s
680
+ display flex
681
+ pointer-events none
682
+ gap 5px
683
+ .more-info
684
+ if hexo-config('aside.position') == 0
685
+ order 1
686
+ else
687
+ order 0
688
+ cursor pointer
689
+ display flex
690
+ justify-content center
691
+ align-items center
692
+ .card-info-avatar
693
+ width 80px
694
+ height 80px
695
+ top 50px
696
+ border-radius 500px
697
+ position absolute
698
+ transition cubic-bezier(.69, .39, 0, 1.21) .3s
699
+ transform-origin bottom
700
+ border 3px solid var(--efu-card-bg)
701
+ z-index 1
702
+ if hexo-config('aside.position') == 0
703
+ left 1rem
704
+ else
705
+ right 1rem
706
+
707
+ .avatar-img
708
+ overflow hidden
709
+ border-radius 500px
710
+ width 74px
711
+ cursor pointer
712
+ height 74px
713
+
714
+ img
715
+ object-fit cover
716
+ width 100%
717
+ height 100%
718
+ transition .3s
719
+
720
+ &:hover
721
+ transform: scale(1.3)
722
+
723
+ if hexo-config('aside.card.author.sticker')
724
+ .avatar-sticker
725
+ position absolute
726
+ bottom -2px
727
+ right -2px
728
+ width 26px
729
+ height 26px
730
+ line-height 26px
731
+ z-index 0
732
+ display flex
733
+ align-items center
734
+ justify-content center
735
+ transition .3s .2s
736
+ transform scale(1)
737
+ background var(--efu-card-bg)
738
+ border-radius 50%
739
+
740
+ img
741
+ width 21px
742
+ height 21px
743
+
599
744
  [data-theme=dark] #aside-content
600
745
  > .card-widget.card-info
601
746
  border var(--style-border-always)
@@ -14,10 +14,6 @@
14
14
  pointer-events none
15
15
  user-select none
16
16
 
17
- &.show
18
- opacity 1
19
- pointer-events all
20
-
21
17
  &.show .close-btn i
22
18
  transform rotate(0)
23
19
 
@@ -39,11 +35,13 @@
39
35
  +maxHeight800()
40
36
  display none
41
37
 
38
+
42
39
  &.show
43
40
  .console-card-group
44
41
  transform translateY(0)
45
42
  opacity 1
46
43
  transition-delay .1s
44
+ max-height 80%
47
45
 
48
46
  .console-card-group-left
49
47
  margin-right .5rem
@@ -175,10 +173,8 @@
175
173
  background var(--efu-orange)
176
174
  color var(--efu-white)
177
175
  .button-group
176
+ gap .5rem
178
177
  .console-btn-item
179
- &:not(:last-child)
180
- margin-right .5rem
181
-
182
178
  &:hover
183
179
  span
184
180
  background var(--efu-main)
@@ -216,11 +212,11 @@
216
212
  .card-tag-cloud
217
213
  margin-top 1.5rem
218
214
  display flex
215
+ gap .5rem
219
216
  flex-wrap wrap
220
217
 
221
218
  a
222
219
  color var(--efu-fontcolor)
223
- margin 6px 4px
224
220
  padding 2px 8px
225
221
  border-radius 8px
226
222
  background var(--efu-card-bg)
@@ -281,12 +277,10 @@
281
277
  flex-direction row
282
278
  flex-wrap wrap
283
279
  height 164px
280
+ gap .5rem
284
281
 
285
282
  li.card-archive-list-item
286
- flex 0 0 24%
287
-
288
- &:not(:nth-child(4n))
289
- margin-right .555rem
283
+ flex 0 1 24.101%
290
284
 
291
285
  .card-archive-list-link
292
286
  border-radius 8px
@@ -296,7 +290,7 @@
296
290
  border var(--style-border)
297
291
  transition all .3s ease 0s
298
292
  background var(--efu-maskbgdeep)
299
- padding 12px 16px
293
+ padding 9.5px 16px
300
294
 
301
295
  &:hover
302
296
  background var(--efu-main)
@@ -134,12 +134,12 @@
134
134
  align-items center
135
135
  margin-right 1.5rem
136
136
  overflow hidden
137
+ gap .5rem
137
138
 
138
139
  +maxWidth768()
139
140
  margin-right 12px
140
141
 
141
142
  div
142
- margin-left .5rem
143
143
  padding 0
144
144
 
145
145
  .nav-button
@@ -521,33 +521,6 @@
521
521
  padding 4px
522
522
  transition transform .3s ease 0s
523
523
 
524
- &.hide-menu
525
- #toggle-menu
526
- display inline-block
527
-
528
- +minWidth768()
529
- display none
530
-
531
- .site-page
532
- font-size inherit
533
-
534
- +maxWidth768()
535
- width 35px
536
- height 35px
537
- display flex
538
- align-items center
539
- justify-content center
540
-
541
- .menus_items
542
- position absolute
543
- left 0
544
- visibility hidden
545
- opacity 0
546
-
547
- #search-button
548
- span
549
- display none
550
-
551
524
  #search-button
552
525
  display inline
553
526
  padding 0 .4rem
@@ -23,7 +23,7 @@ if hexo-config('right_menu.enable')
23
23
  box-shadow var(--efu-shadow-theme)
24
24
 
25
25
  .rightMenu-group
26
- padding .5rem .3rem
26
+ padding .35rem .3rem
27
27
 
28
28
  &.rightMenu-small
29
29
  display flex