hexo-theme-solitude 1.13.4 → 2.0.1
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/README.md +26 -29
- package/README_zh-Hant.md +1 -1
- package/{README_en-US.md → README_zh_CN.md} +29 -26
- package/_config.yml +150 -597
- package/languages/default.yml +1 -0
- package/languages/en.yml +1 -0
- package/layout/404.pug +1 -1
- package/layout/includes/console.pug +7 -7
- package/layout/includes/footer.pug +6 -6
- package/layout/includes/head/config.pug +5 -5
- package/layout/includes/inject/body.pug +1 -0
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/mixins/articleSort.pug +3 -1
- package/layout/includes/mixins/pagination.pug +2 -2
- package/layout/includes/nav.pug +2 -1
- package/layout/includes/page/categories.pug +3 -2
- package/layout/includes/page/says.pug +5 -5
- package/layout/includes/page/tags.pug +3 -2
- package/layout/includes/rightmenu.pug +19 -20
- package/layout/includes/sidebar.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +10 -10
- package/layout/includes/widgets/home/bbTimeList.pug +7 -9
- package/layout/includes/widgets/home/carousel.pug +3 -1
- package/layout/includes/widgets/home/categoryBar.pug +1 -1
- package/layout/includes/widgets/home/hot/artalk.pug +1 -1
- package/layout/includes/widgets/home/hot/twikoo.pug +1 -1
- package/layout/includes/widgets/home/postList.pug +4 -2
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +9 -5
- package/layout/includes/widgets/page/about/award.pug +1 -1
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/other.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/equipment/content.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +2 -2
- package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
- package/layout/includes/widgets/post/award.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +10 -10
- package/layout/includes/widgets/post/post-ai.pug +1 -1
- package/layout/includes/widgets/post/postInfo.pug +20 -18
- package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
- package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -4
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/includes/widgets/third-party/tianli-talk.pug +1 -1
- package/layout/post.pug +3 -2
- package/layout/tag.pug +3 -2
- package/package.json +1 -1
- package/plugins.yml +6 -6
- package/scripts/helper/related_post.js +1 -1
- package/scripts/helper/stylus.js +1 -0
- package/source/css/_global/index.styl +13 -13
- package/source/css/_highlight/index.styl +2 -2
- package/source/css/_highlight/theme/default.styl +1 -1
- package/source/css/_highlight/theme/mac.styl +1 -1
- package/source/css/_layout/console.styl +2 -1
- package/source/css/_layout/footer.styl +1 -1
- package/source/css/_layout/header.styl +56 -11
- package/source/css/_page/_home/category-bar.styl +4 -4
- package/source/css/_page/_home/home-top.styl +2 -0
- package/source/css/_page/_home/hot-tip.styl +2 -1
- package/source/css/_post/copyright.styl +104 -105
- package/source/css/_search/algolia-search.styl +0 -6
- package/source/js/covercolor/local.js +10 -4
- package/source/js/main.js +5 -5
- 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.
|
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.
|
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
|
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
53
|
+
i.solitude.fas.fa-qrcode
|
54
54
|
.share-main
|
55
55
|
.share-main-all
|
56
56
|
#qrcode
|
@@ -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
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
47
|
+
i.solitude.fa-solid.fa-spinner
|
46
48
|
when "Waline"
|
47
49
|
span.waline-pageview-count
|
48
|
-
i.solitude.
|
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.
|
54
|
+
i.solitude.fa-solid.fa-spinner
|
53
55
|
when 'Artalk'
|
54
56
|
span#ArtalkPV
|
55
|
-
i.solitude.
|
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.
|
62
|
+
i.solitude.fa-solid.fa-spinner
|
61
63
|
else
|
62
64
|
span#busuanzi_page_pv
|
63
|
-
i.solitude.
|
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.
|
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.
|
73
|
+
i.solitude.fa-solid.fa-spinner
|
72
74
|
when "Waline"
|
73
75
|
span.waline-comment-count
|
74
|
-
i.solitude.
|
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.
|
79
|
+
i.solitude.fa-solid.fa-spinner
|
78
80
|
when 'Artalk'
|
79
81
|
span.artalk-count
|
80
|
-
i.solitude.
|
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.
|
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.
|
15
|
+
i.solitude.fa-solid.fa-spinner
|
16
16
|
when "Waline"
|
17
17
|
span.waline-comment-count
|
18
|
-
i.solitude.
|
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.
|
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.
|
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.
|
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'))
|
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
|
-
|
20
|
-
|
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
|
-
|
11
|
-
|
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
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.
|
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.
|
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
|
-
|
93
|
-
name:
|
94
|
-
file:
|
95
|
-
version:
|
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
|
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++) {
|
package/scripts/helper/stylus.js
CHANGED
@@ -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
|
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
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
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
|
-
|
420
|
-
|
419
|
+
.hide-aside #page &
|
420
|
+
font-size 16px
|
421
421
|
|
422
|
-
|
423
|
-
|
424
|
-
|
422
|
+
#post-info &
|
423
|
+
font-size 14px
|
424
|
+
line-height 32px
|
425
425
|
|
426
426
|
if hexo-config('memorial.enable')
|
427
427
|
.memorial
|
@@ -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,55 @@
|
|
166
163
|
transition .3s
|
167
164
|
|
168
165
|
&.console_switchbutton
|
169
|
-
padding
|
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
|
+
.right
|
181
|
+
width .3rem
|
182
|
+
height 100%
|
183
|
+
|
184
|
+
label
|
185
|
+
display flex
|
186
|
+
position relative
|
187
|
+
width 100%
|
188
|
+
height 100%
|
189
|
+
cursor pointer
|
190
|
+
|
191
|
+
i
|
192
|
+
transition all .3s
|
193
|
+
position absolute
|
194
|
+
border-radius 12px
|
195
|
+
background var(--efu-fontcolor)
|
196
|
+
|
197
|
+
.post &
|
198
|
+
background var(--efu-white)
|
199
|
+
|
200
|
+
&.left
|
201
|
+
top 0
|
202
|
+
width 100%
|
203
|
+
height .3rem
|
204
|
+
|
205
|
+
&.center
|
206
|
+
bottom 0
|
207
|
+
width .3rem
|
208
|
+
height .3rem
|
209
|
+
|
210
|
+
&.right
|
211
|
+
right 0
|
212
|
+
bottom 0
|
213
|
+
width .5rem
|
214
|
+
height .3rem
|
170
215
|
|
171
216
|
&.long
|
172
217
|
a
|
@@ -344,18 +389,16 @@
|
|
344
389
|
i, span, img
|
345
390
|
opacity 0
|
346
391
|
|
347
|
-
|
392
|
+
i.fa-solid.fa-home
|
348
393
|
+minWidth900()
|
349
394
|
opacity: 1
|
350
395
|
|
351
|
-
|
396
|
+
i.fa-solid.fa-home
|
352
397
|
+minWidth900()
|
353
398
|
opacity 0
|
354
399
|
position absolute
|
355
400
|
display flex
|
356
401
|
z-index 1
|
357
|
-
content "\e008"
|
358
|
-
font-family solitude, serif
|
359
402
|
align-items center
|
360
403
|
justify-content center
|
361
404
|
font-size 22px
|
@@ -489,7 +532,7 @@
|
|
489
532
|
|
490
533
|
i
|
491
534
|
&:not(.fa-brands)
|
492
|
-
font-size
|
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
|
-
&:
|
798
|
+
&:before
|
756
799
|
color var(--efu-white)
|
757
800
|
|
758
801
|
.nav-fixed
|
759
802
|
#nav
|
760
803
|
#site-name
|
761
|
-
|
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
|
-
|
78
|
-
|
79
|
-
|
77
|
+
a:hover
|
78
|
+
background var(--efu-main)
|
79
|
+
color var(--efu-white)
|
80
80
|
|
81
81
|
a
|
82
82
|
padding .1rem .5rem
|