hexo-theme-solitude 1.13.4 → 2.0.2

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 (72) hide show
  1. package/README.md +26 -29
  2. package/README_zh-Hant.md +1 -1
  3. package/{README_en-US.md → README_zh_CN.md} +29 -26
  4. package/_config.yml +150 -597
  5. package/languages/default.yml +1 -0
  6. package/languages/en.yml +1 -0
  7. package/layout/404.pug +1 -1
  8. package/layout/includes/console.pug +7 -7
  9. package/layout/includes/footer.pug +6 -6
  10. package/layout/includes/head/config.pug +5 -5
  11. package/layout/includes/inject/body.pug +1 -0
  12. package/layout/includes/inject/head.pug +1 -1
  13. package/layout/includes/mixins/articleSort.pug +3 -1
  14. package/layout/includes/mixins/pagination.pug +2 -2
  15. package/layout/includes/nav.pug +2 -1
  16. package/layout/includes/page/categories.pug +3 -2
  17. package/layout/includes/page/says.pug +5 -5
  18. package/layout/includes/page/tags.pug +3 -2
  19. package/layout/includes/rightmenu.pug +19 -20
  20. package/layout/includes/sidebar.pug +1 -1
  21. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  22. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  23. package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
  24. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  25. package/layout/includes/widgets/aside/asideWebInfo.pug +10 -10
  26. package/layout/includes/widgets/home/bbTimeList.pug +7 -9
  27. package/layout/includes/widgets/home/carousel.pug +3 -1
  28. package/layout/includes/widgets/home/categoryBar.pug +1 -1
  29. package/layout/includes/widgets/home/hot/artalk.pug +1 -1
  30. package/layout/includes/widgets/home/hot/twikoo.pug +1 -1
  31. package/layout/includes/widgets/home/postList.pug +4 -2
  32. package/layout/includes/widgets/home/topGroup.pug +1 -1
  33. package/layout/includes/widgets/nav/right.pug +9 -5
  34. package/layout/includes/widgets/page/about/award.pug +1 -1
  35. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  36. package/layout/includes/widgets/page/about/other.pug +1 -1
  37. package/layout/includes/widgets/page/banner.pug +1 -1
  38. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  39. package/layout/includes/widgets/page/links/banner.pug +2 -2
  40. package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
  41. package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
  42. package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
  43. package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
  44. package/layout/includes/widgets/post/award.pug +1 -1
  45. package/layout/includes/widgets/post/copyright.pug +10 -10
  46. package/layout/includes/widgets/post/post-ai.pug +1 -1
  47. package/layout/includes/widgets/post/postInfo.pug +20 -18
  48. package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
  49. package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -4
  50. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  51. package/layout/includes/widgets/third-party/tianli-talk.pug +1 -1
  52. package/layout/post.pug +3 -2
  53. package/layout/tag.pug +3 -2
  54. package/package.json +1 -1
  55. package/plugins.yml +6 -6
  56. package/scripts/helper/related_post.js +1 -1
  57. package/scripts/helper/stylus.js +1 -0
  58. package/source/css/_global/index.styl +13 -13
  59. package/source/css/_highlight/index.styl +2 -2
  60. package/source/css/_highlight/theme/default.styl +1 -1
  61. package/source/css/_highlight/theme/mac.styl +1 -1
  62. package/source/css/_layout/console.styl +2 -1
  63. package/source/css/_layout/footer.styl +1 -1
  64. package/source/css/_layout/header.styl +66 -21
  65. package/source/css/_page/_home/category-bar.styl +4 -4
  66. package/source/css/_page/_home/home-top.styl +2 -0
  67. package/source/css/_page/_home/hot-tip.styl +2 -1
  68. package/source/css/_post/copyright.styl +104 -105
  69. package/source/css/_search/algolia-search.styl +0 -6
  70. package/source/js/covercolor/local.js +10 -4
  71. package/source/js/main.js +5 -5
  72. package/source/js/tw_cn.js +0 -3
@@ -5,11 +5,11 @@
5
5
  .banner-button-group
6
6
  if theme.footer.randomlink
7
7
  a.banner-button.secondary(onclick="travelling()")
8
- i.solitude.st-signal-tower-fill
8
+ i.solitude.fa-solid.fa-tower-broadcast
9
9
  span.banner-button-text=_p('link.banner.random')
10
10
  if theme.comment.use
11
11
  a.banner-button(onclick="sco.scrollToComment()")
12
- i.solitude.st-right-btn-fill
12
+ i.solitude.fa-solid.fa-circle-chevron-right
13
13
  span.solitude.banner-button-text=_p('link.banner.toComment')
14
14
 
15
15
  .tags-group-all.nowrapMove
@@ -53,7 +53,7 @@ script(pjax).
53
53
  </div>
54
54
  <div class="comment-content">${i.content}</div>
55
55
  <div class="comment-title">
56
- <i class="solitude st-chat-fill"></i>
56
+ <i class="solitude fa-solid fa-comment"></i>
57
57
  ${i.title}</div>
58
58
  </div>
59
59
  `).join('')
@@ -60,7 +60,7 @@ script(pjax).
60
60
  </div>
61
61
  <div class="comment-content">${formatContent(i.content)}</div>
62
62
  <div class="comment-title">
63
- <i class="solitude st-chat-fill"></i>
63
+ <i class="solitude fa-solid fa-comment"></i>
64
64
  ${i.title}</div>
65
65
  </div>
66
66
  `).join('')
@@ -58,7 +58,7 @@ script(pjax).
58
58
  </div>
59
59
  <div class="comment-content">${i.content}</div>
60
60
  <div class="comment-title">
61
- <i class="solitude st-chat-fill"></i>
61
+ <i class="solitude fa-solid fa-comment"></i>
62
62
  ${i.title}</div>
63
63
  </div>
64
64
  `).join('')
@@ -50,7 +50,7 @@ script(pjax).
50
50
  </div>
51
51
  <div class="comment-content">${i.content}</div>
52
52
  <div class="comment-title">
53
- <i class="solitude st-chat-fill"></i>
53
+ <i class="solitude fa-solid fa-comment"></i>
54
54
  ${i.title}</div>
55
55
  </div>
56
56
  `).join('')
@@ -1,6 +1,6 @@
1
1
  .post-reward
2
2
  .reward-button(title=_p('award.tipping') onclick="AddRewardMask()")
3
- i.solitude.st-hand-heart-fill
3
+ i.solitude.fa-solid.fa-heart
4
4
  =_p('award.tipping')
5
5
  .reward-main
6
6
  ul.reward-all
@@ -13,7 +13,7 @@
13
13
  if theme.post.rss
14
14
  .reward-link.mode
15
15
  a.reward-link-button(href=url_for(theme.post.rss))
16
- i.solitude.st-plant-fill
16
+ i.solitude.fa-solid.fa-seedling
17
17
  = _p('footer.rss')
18
18
  if theme.post.share.enable
19
19
  .social-share
@@ -26,31 +26,31 @@
26
26
  case item
27
27
  when 'qq'
28
28
  a.social-share-ico.icon-qq(href=`https://connect.qq.com/widget/shareqq/index.html?url=${encodedPath}&title=${encodedTitle}&desc=${encodedDescription}&summary=${encodedDescription}&site=${encodedTitle}&pics=${encodedIcon}` title=_p('post.share.qq'))
29
- i.solitude.st-qq-fill
29
+ i.solitude.fab.fa-qq
30
30
  when 'weibo'
31
31
  a.social-share-ico.icon-weibo(href=`http://service.weibo.com/share/share.php?url=${encodedPath}&title=${encodedTitle}&pic=${encodedIcon}` title=_p('post.share.weibo'))
32
- i.solitude.st-weibo-fill
32
+ i.solitude.fab.fa-weibo
33
33
  when 'telegram'
34
34
  a.social-share-ico.icon-telegram(href=`https://t.me/share/url?url=${encodedPath}&text=${encodedTitle}` title=_p('post.share.telegram'))
35
- i.solitude.st-telegram-fill
35
+ i.solitude.fab.fa-telegram
36
36
  when 'whatsapp'
37
37
  a.social-share-ico.icon-whatsapp(href=`https://api.whatsapp.com/send?text=${encodedTitle} ${encodedPath}` title=_p('post.share.whatsapp'))
38
- i.solitude.st-whatsapp-fill
38
+ i.solitude.fab.fa-whatsapp
39
39
  when 'linkedin'
40
40
  a.social-share-ico.icon-linkedin(href=`https://www.linkedin.com/shareArticle?mini=true&url=${encodedPath}&title=${encodedTitle}&summary=${encodedDescription}&source=${encodedTitle}` title=_p('post.share.linkedin'))
41
- i.solitude.st-linkedin-box-fill
41
+ i.solitude.fab.fa-linkedin
42
42
  when 'facebook'
43
43
  a.social-share-ico.icon-facebook(href=`https://www.facebook.com/sharer/sharer.php?u=${encodedPath}` title=_p('post.share.facebook'))
44
- i.solitude.st-facebook-fill
44
+ i.solitude.fab.fa-facebook
45
45
  when 'twitter'
46
46
  a.social-share-ico.icon-twitter(href=`https://twitter.com/intent/tweet?url=${encodedPath}&text=${encodedTitle}` title=_p('post.share.twitter'))
47
- i.solitude.st-twitter-x-fill
47
+ i.solitude.fab.fa-twitter
48
48
  when 'link'
49
49
  .social-share-ico.icon-link(onclick=`utils.copy("${path}")` title=_p('post.share.link'))
50
- i.solitude.st-links-line
50
+ i.solitude.fas.fa-link
51
51
  when 'qrcode'
52
52
  .social-share-ico.icon-qrcode(title=_p('post.share.qrcode'))
53
- i.solitude.st-qr-code-fill
53
+ i.solitude.fas.fa-qrcode
54
54
  .share-main
55
55
  .share-main-all
56
56
  #qrcode
@@ -1,7 +1,7 @@
1
1
  .post-ai
2
2
  .ai-title
3
3
  .ai-title-left
4
- i.ai-title-icon.solitude.st-robot-fill
4
+ i.ai-title-icon.solitude.fa-solid.fa-robot
5
5
  .ai-title-text=_p('post.ai.title')
6
6
  .ai-tag#ai-tag= theme.post_ai.modelName
7
7
  .ai-explanation(style="display: block;")
@@ -10,71 +10,73 @@
10
10
  .post-meta__tag-list
11
11
  each tag in page.tags.data
12
12
  a.post-meta__tags(href=url_for(tag.path))
13
- span.tags-name.tags-punctuation= tag.name
13
+ span.tags-name.tags-punctuation
14
+ i.solitude.fa-solid.fa-hashtag
15
+ = tag.name
14
16
  h1.post-title= page.title
15
17
  #post-meta
16
18
  .meta-secondline
17
19
  if theme.post.meta.date
18
20
  span.post-meta-date(title=_p('post.posted') + ' ' + full_date(page.date))
19
- i.post-meta-icon.solitude.st-calendar-todo-fill
21
+ i.post-meta-icon.solitude.fa-solid.fa-calendar-days
20
22
  time(datetime=date_xml(page.date))= date_xml(page.date)
21
23
  if theme.post.meta.updated
22
24
  span.post-meta-date(title=_p('post.updated') + ' ' + full_date(page.updated))
23
- i.post-meta-icon.solitude.st-refresh-line
25
+ i.post-meta-icon.solitude.fa-solid.fa-arrow-rotate-right
24
26
  time(datetime=date_xml(page.updated))= date_xml(page.updated)
25
27
  if theme.wordcount
26
28
  span.post-meta-wordcount
27
29
  if theme.post.meta.wordcount
28
- i.post-meta-icon.solitude.st-word-fill(title=_p('post.wordcount'))
30
+ i.post-meta-icon.solitude.fa-solid.fa-file-word(title=_p('post.wordcount'))
29
31
  span.word-count= wordcount(page.content)
30
32
  span.post-meta-separator
31
33
  if theme.post.meta.readtime
32
- i.post-meta-icon.solitude.st-clock-fill(title=_p('post.minread'))
34
+ i.post-meta-icon.solitude.fa-solid.fa-clock(title=_p('post.minread'))
33
35
  span= min2read(page.content) + " min"
34
36
  if theme.post.meta.locate
35
37
  span.post-meta-position(title=_p('post.ip') + page.locate)
36
- i.post-meta-icon.solitude.st-map-pin-fill
38
+ i.post-meta-icon.solitude.fa-solid.fa-map
37
39
  span= page.locate
38
40
  if theme.post.meta.pv
39
41
  a.post-meta-pv(href=url_for(page.path), title=_p('post.pv'))
40
- i.post-meta-icon.solitude.st-fire-fill
42
+ i.post-meta-icon.solitude.fa-solid.fa-fire-flame-curved
41
43
  if theme.comment.use && theme.comment.pv
42
44
  case theme.comment.use[0]
43
45
  when "Twikoo"
44
46
  span#twikoo_visitors
45
- i.solitude.st-loading-line
47
+ i.solitude.fa-solid.fa-spinner
46
48
  when "Waline"
47
49
  span.waline-pageview-count
48
- i.solitude.st-loading-line
50
+ i.solitude.fa-solid.fa-spinner
49
51
  when "Valine"
50
52
  span.leancloud_visitors(id=url_for(page.path))
51
53
  span.leancloud-visitors-count
52
- i.solitude.st-loading-line
54
+ i.solitude.fa-solid.fa-spinner
53
55
  when 'Artalk'
54
56
  span#ArtalkPV
55
- i.solitude.st-loading-line
57
+ i.solitude.fa-solid.fa-spinner
56
58
  else
57
59
  if theme.busuanzi
58
60
  if theme.busuanzi_use === 0
59
61
  span#busuanzi_value_page_pv
60
- i.solitude.st-loading-line
62
+ i.solitude.fa-solid.fa-spinner
61
63
  else
62
64
  span#busuanzi_page_pv
63
- i.solitude.st-loading-line
65
+ i.solitude.fa-solid.fa-spinner
64
66
  if theme.post.meta.comment && page.comment && theme.comment.count && theme.comment.use
65
67
  span.post-meta-commentcount(title=_p('post.comment'), onclick="sco.scrollTo('post-comment')")
66
- i.solitude.st-chat-fill
68
+ i.solitude.fa-solid.fa-comment
67
69
  a(href=url_for(page.path) + "#post-comment")
68
70
  case theme.comment.use[0]
69
71
  when "Twikoo"
70
72
  span.twikoo-count
71
- i.solitude.st-loading-line
73
+ i.solitude.fa-solid.fa-spinner
72
74
  when "Waline"
73
75
  span.waline-comment-count
74
- i.solitude.st-loading-line
76
+ i.solitude.fa-solid.fa-spinner
75
77
  when "Valine"
76
78
  span.valine-comment-count(data-xid=url_for(page.path) itemprop="commentCount")
77
- i.solitude.st-loading-line
79
+ i.solitude.fa-solid.fa-spinner
78
80
  when 'Artalk'
79
81
  span.artalk-count
80
- i.solitude.st-loading-line
82
+ i.solitude.fa-solid.fa-spinner
@@ -3,7 +3,7 @@
3
3
  #post-comment
4
4
  .comment-head
5
5
  .comment-headline
6
- i.solitude.st-chat-fill
6
+ i.solitude.fa-solid.fa-comment
7
7
  span=' ' + _p('comment.title')
8
8
  if count && is_post()
9
9
  span.count
@@ -12,13 +12,13 @@
12
12
  case name
13
13
  when "Twikoo"
14
14
  span.twikoo-count
15
- i.solitude.st-loading-line
15
+ i.solitude.fa-solid.fa-spinner
16
16
  when "Waline"
17
17
  span.waline-comment-count
18
- i.solitude.st-loading-line
18
+ i.solitude.fa-solid.fa-spinner
19
19
  when "Valine"
20
20
  span.valine-comment-count(data-xid=url_for(page.path) itemprop="commentCount")
21
- i.solitude.st-loading-line
21
+ i.solitude.fa-solid.fa-spinner
22
22
  when "Artalk"
23
23
  span.artalk-count
24
24
  | )
@@ -2,11 +2,8 @@
2
2
  .search-dialog
3
3
  .algolia-navbar
4
4
  .search-dialog__title#algolia-search-title=__('nav.search')
5
- .algolia-tips
6
- i.solitude.st-algolia-fill
7
- span.algolia-tips-text='Algolia'
8
5
  span.search-close-button
9
- i.solitude.st-close-fill
6
+ i.solitude.fa-solid.fa-xmark
10
7
  #algolia-input-panel
11
8
  #algolia-search-input
12
9
  #search-results
@@ -3,7 +3,7 @@
3
3
  nav.search-nav
4
4
  span.search-dialog-title=__('nav.search')
5
5
  button.search-close-button
6
- i.solitude.st-close-fill
6
+ i.solitude.fa-solid.fa-xmark
7
7
  div.search-wrap
8
8
  div.search-box
9
9
  input.search-box-input#search-input(type="text", autocomplete="off", spellcheck="false", autocorrect="off", autocapitalize="off", placeholder=__('search.placeholder'))
@@ -1,7 +1,7 @@
1
1
  - const {key,option,title} = theme.tianli_talk
2
2
 
3
3
  span.needEndHide#efuTalk(onclick="togglePostChatContainer(); return false;" title=title)
4
- i.solitude.st-robot-fill
4
+ i.solitude.fa-solid.fa-robot
5
5
  span.efuTalkTitle=title
6
6
 
7
7
  script.
package/layout/post.pug CHANGED
@@ -16,8 +16,9 @@ block content
16
16
  each data in page.tags.data
17
17
  a(href=url_for(data.path)).post-meta__tags
18
18
  span.tags-punctuation
19
- | #{data.name}
20
- span.tagsPageCount #{data.length}
19
+ i.solitude.fa-solid.fa-hashtag
20
+ =data.name
21
+ span.tagsPageCount=data.length
21
22
  if theme.google_adsense.enable && !theme.google_adsense.auto_ads && theme.google_adsense.post_content
22
23
  div.google-ads-warp
23
24
  ins.adsbygoogle(style="display:block; text-align:center; height:284px", data-ad-layout="in-article", data-ad-format="fluid", hide-unfilled="true", data-ad-client=theme.google_adsense.client, data-ad-slot=theme.google_adsense.slot)
package/layout/tag.pug CHANGED
@@ -7,8 +7,9 @@ block content
7
7
  each tag in site.tags.find({ parent: { $exists: false } }).data
8
8
  a(id=tag.name class=(tag.name === page.tag ? 'select' : '') href=url_for(tag.path))
9
9
  span.tags-punctuation
10
- | #{tag.name}
11
- span.tagsPageCount #{tag.length}
10
+ i.solitude.fa-solid.fa-hashtag
11
+ =tag.name
12
+ span.tagsPageCount=tag.length
12
13
  .recent-posts#recent-posts
13
14
  each post,index in page.posts.find({ parent: { $exists: false } }).data
14
15
  include includes/widgets/home/postList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "1.13.4",
3
+ "version": "2.0.2",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
package/plugins.yml CHANGED
@@ -70,12 +70,12 @@ pace_js:
70
70
  swiper_css:
71
71
  name: swiper
72
72
  file: swiper-bundle.min.css
73
- version: 11.1.7
73
+ version: 11.0.5
74
74
  other_name: Swiper
75
75
  swiper_js:
76
76
  name: swiper
77
77
  file: swiper-bundle.min.js
78
- version: 11.1.7
78
+ version: 11.0.5
79
79
  other_name: Swiper
80
80
  busuanzi_js:
81
81
  name: busuanzi
@@ -89,10 +89,10 @@ snackbar:
89
89
  name: node-snackbar
90
90
  file: dist/snackbar.min.js
91
91
  version: 0.1.16
92
- solitude_css:
93
- name: solitude-source
94
- file: icon/solitude.min.css
95
- version: 1.0.5
92
+ fontawesome:
93
+ name: font-awesome
94
+ file: css/all.min.css
95
+ version: 6.6.0
96
96
  medium_zoom:
97
97
  name: medium-zoom
98
98
  file: dist/medium-zoom.min.js
@@ -41,7 +41,7 @@ hexo.extend.helper.register('related_posts', function (currentPost, allPosts) {
41
41
  relatedPosts.sort(compare('weight', dateType))
42
42
 
43
43
  let result = '<div class="relatedPosts">'
44
- result += `<div class="headline"><i class="solitude st-star-smile-fill"></i><span>${headlineLang}</span><div class="relatedPosts-link"><a onclick="event.preventDefault(); toRandomPost();" href="javascript:void(0);" rel="external nofollow" data-pjax-state="">${this._p('random')}</a></div></div>`
44
+ result += `<div class="headline"><i class="solitude fa-solid fa-star"></i><span>${headlineLang}</span><div class="relatedPosts-link"><a onclick="event.preventDefault(); toRandomPost();" href="javascript:void(0);" rel="external nofollow" data-pjax-state="">${this._p('random')}</a></div></div>`
45
45
  result += '<div class="relatedPosts-list">'
46
46
 
47
47
  for (let i = 0; i < Math.min(relatedPosts.length, limitNum); i++) {
@@ -21,4 +21,5 @@ hexo.extend.filter.register('stylus:renderer', function (style) {
21
21
  style.define('$highlight_line_number', highlightLineNumber)
22
22
  style.define('$prismjs_enable', prismjsEnable)
23
23
  style.define('$prismjs_line_number', prismjsLineNumber)
24
+ style.define('$language', config.language)
24
25
  });
@@ -358,7 +358,7 @@ b, strong
358
358
  position relative
359
359
 
360
360
  i.solitude
361
- font-size 22px
361
+ font-size 16px
362
362
  line-height 1
363
363
  font-synthesis style
364
364
 
@@ -408,20 +408,20 @@ i.solitude
408
408
  opacity 1 !important
409
409
  pointer-events all !important
410
410
 
411
- span.tags-punctuation::before
412
- content: "\e071"
413
- font-family: solitude, serif !important
414
- font-size: 12px
415
- transition none
416
- margin-right: 2px
417
- opacity: .4
411
+ span.tags-punctuation
412
+ i
413
+ font-weight bold
414
+ font-size: 14px
415
+ transition none
416
+ margin-right: 2px
417
+ opacity: .4
418
418
 
419
- .hide-aside #page &
420
- font-size 16px
419
+ .hide-aside #page &
420
+ font-size 16px
421
421
 
422
- #post-info &
423
- font-size 14px
424
- line-height 32px
422
+ #post-info &
423
+ font-size 14px
424
+ line-height 32px
425
425
 
426
426
  if hexo-config('memorial.enable')
427
427
  .memorial
@@ -56,13 +56,13 @@ figure
56
56
  & ~ *
57
57
  display none
58
58
 
59
- .st-copy-fill
59
+ .copy-button
60
60
  position absolute
61
61
  cursor pointer
62
62
  transition color .2s
63
63
  font-size 18px
64
64
 
65
- .st-copy-fill:hover
65
+ .copy-button:hover
66
66
  color var(--efu-main)
67
67
 
68
68
  .expand
@@ -1,7 +1,7 @@
1
1
  figure
2
2
  &.highlight
3
3
  .highlight-tools
4
- .st-copy-fill
4
+ .copy-button
5
5
  right .7rem
6
6
 
7
7
  &.closed
@@ -1,7 +1,7 @@
1
1
  figure
2
2
  &.highlight
3
3
  .highlight-tools
4
- .st-copy-fill
4
+ .copy-button
5
5
  right 1.7rem
6
6
 
7
7
  &:after
@@ -216,8 +216,9 @@
216
216
  max-width 1400px
217
217
 
218
218
  i
219
- font-size 32px
219
+ font-size 24px
220
220
  margin-right 1.5rem
221
+ padding 6px 8px
221
222
  margin-left auto
222
223
  line-height 1
223
224
  transform rotate(-30deg)
@@ -58,7 +58,7 @@
58
58
  flex-direction row
59
59
 
60
60
  i
61
- font-size .9rem
61
+ font-size .8rem
62
62
  line-height .9rem
63
63
  height .9rem
64
64
 
@@ -143,9 +143,6 @@
143
143
  .nav-button
144
144
  margin-left .5rem
145
145
 
146
- &#nav-totop
147
- margin-right .5rem
148
-
149
146
  a
150
147
  height 35px
151
148
  width 35px
@@ -166,7 +163,56 @@
166
163
  transition .3s
167
164
 
168
165
  &.console_switchbutton
169
- padding 4px 8px
166
+ padding 10px 8px
167
+
168
+ &:hover
169
+ label
170
+ i
171
+ background var(--efu-white)
172
+
173
+ .left
174
+ width .5rem
175
+ height .3rem
176
+
177
+ .center
178
+ width .5rem
179
+ height .3rem
180
+
181
+ .right
182
+ width .3rem
183
+ height 100%
184
+
185
+ label
186
+ display flex
187
+ position relative
188
+ width 100%
189
+ height 100%
190
+ cursor pointer
191
+
192
+ i
193
+ transition all .3s
194
+ position absolute
195
+ border-radius 12px
196
+ background var(--efu-fontcolor)
197
+
198
+ .post &
199
+ background var(--efu-white)
200
+
201
+ &.left
202
+ top 0
203
+ width 100%
204
+ height .3rem
205
+
206
+ &.center
207
+ bottom 0
208
+ width .3rem
209
+ height .3rem
210
+
211
+ &.right
212
+ right 0
213
+ bottom 0
214
+ width .5rem
215
+ height .3rem
170
216
 
171
217
  &.long
172
218
  a
@@ -344,23 +390,20 @@
344
390
  i, span, img
345
391
  opacity 0
346
392
 
347
- &:after
393
+ i.fa-solid.fa-home
348
394
  +minWidth900()
349
395
  opacity: 1
350
396
 
351
- &:after
352
- +minWidth900()
353
- opacity 0
354
- position absolute
355
- display flex
356
- z-index 1
357
- content "\e008"
358
- font-family solitude, serif
359
- align-items center
360
- justify-content center
361
- font-size 22px
362
- line-height 1
363
- color var(--efu-card-bg)
397
+ i.fa-solid.fa-home
398
+ opacity 0
399
+ position absolute
400
+ display flex
401
+ z-index 1
402
+ align-items center
403
+ justify-content center
404
+ font-size 22px
405
+ line-height 1
406
+ color var(--efu-card-bg)
364
407
 
365
408
  if hexo-config('site.name.class') == i_class
366
409
  i
@@ -489,7 +532,7 @@
489
532
 
490
533
  i
491
534
  &:not(.fa-brands)
492
- font-size 22px
535
+ font-size 16px
493
536
  margin-right 8px
494
537
  line-height 1
495
538
 
@@ -752,13 +795,13 @@ if hexo-config('nav.group')
752
795
  +minWidth900()
753
796
  align-items center
754
797
 
755
- &:after
798
+ &:before
756
799
  color var(--efu-white)
757
800
 
758
801
  .nav-fixed
759
802
  #nav
760
803
  #site-name
761
- &:after
804
+ i.fa-solid.fa-home
762
805
  color var(--efu-card-bg)
763
806
 
764
807
  .not-top-img
@@ -866,6 +909,8 @@ if hexo-config('nav.group')
866
909
  height 35px
867
910
  line-height 35px
868
911
  border-radius 40px
912
+ if $language == 'en-US'
913
+ letter-spacing normal
869
914
 
870
915
  #travellings_button
871
916
  display inline
@@ -54,7 +54,7 @@
54
54
  border-radius 8px
55
55
  padding 0 8px
56
56
 
57
- div:hover,a:hover
57
+ div:hover, a:hover
58
58
  background var(--efu-secondbg-bg)
59
59
  color var(--efu-lighttext)
60
60
 
@@ -74,9 +74,9 @@
74
74
  display: none
75
75
 
76
76
  .category-bar-item
77
- a:hover
78
- background var(--efu-main)
79
- color var(--efu-white)
77
+ a:hover
78
+ background var(--efu-main)
79
+ color var(--efu-white)
80
80
 
81
81
  a
82
82
  padding .1rem .5rem
@@ -129,6 +129,8 @@
129
129
  border-radius 0 0 12px 0
130
130
  transition .3s
131
131
  cursor pointer
132
+ if $language == 'en-US'
133
+ left -90px
132
134
 
133
135
  /.recent-post-info
134
136
  padding .3rem .5rem .3rem .5rem
@@ -8,4 +8,5 @@
8
8
  gap 1px
9
9
 
10
10
  i
11
- font-size 10px
11
+ font-size 10px
12
+ margin-right 2px