hexo-theme-solitude 3.0.14 → 3.0.15
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/languages/default.yml +1 -0
- package/languages/en.yml +1 -0
- package/languages/zh-CN.yml +1 -0
- package/languages/zh-TW.yml +1 -0
- package/layout/includes/footer.pug +1 -1
- package/layout/includes/widgets/post/postInfo.pug +1 -1
- package/package.json +1 -1
- package/source/css/_components/rightside.styl +3 -3
- package/source/css/_layout/aside.styl +2 -2
- package/source/css/_page/index.styl +3 -3
- package/source/js/main.js +1 -1
package/languages/default.yml
CHANGED
package/languages/en.yml
CHANGED
@@ -58,6 +58,7 @@ post:
|
|
58
58
|
minread: Reading time
|
59
59
|
ip: The author's IP belongs to
|
60
60
|
pv: PV
|
61
|
+
min: min
|
61
62
|
comment: Comments
|
62
63
|
copyright:
|
63
64
|
reprint: This article is a reproduction or translation, and the copyright belongs to the original author. Please contact the original author for permission to republish this article.
|
package/languages/zh-CN.yml
CHANGED
package/languages/zh-TW.yml
CHANGED
@@ -65,7 +65,7 @@ div#footer-bar
|
|
65
65
|
each item in beian
|
66
66
|
a.footer-bar-link(href=url_for(item.url), title=item.name)
|
67
67
|
if item.icon
|
68
|
-
|
68
|
+
img.beian-icon(src=url_for(item.icon), alt=item.name)
|
69
69
|
span.beian-name= item.name
|
70
70
|
a.footer-bar-link(href=_p('hexo'))
|
71
71
|
= _p('framework_by') + 'Hexo'
|
@@ -32,7 +32,7 @@
|
|
32
32
|
span.post-meta-separator
|
33
33
|
if theme.post.meta.readtime
|
34
34
|
i.post-meta-icon.solitude.fas.fa-clock(title=_p('post.minread'))
|
35
|
-
span= min2read(page.content) +
|
35
|
+
span= min2read(page.content) + ' ' + _p('post.min')
|
36
36
|
if theme.post.meta.locate
|
37
37
|
span.post-meta-position(title=_p('post.ip') + page.locate)
|
38
38
|
i.post-meta-icon.solitude.fas.fa-location-dot
|
package/package.json
CHANGED
@@ -27,13 +27,13 @@
|
|
27
27
|
|
28
28
|
&.pc
|
29
29
|
display: block
|
30
|
-
+
|
30
|
+
+maxWidth1200()
|
31
31
|
display: none
|
32
32
|
|
33
33
|
&.mobile
|
34
34
|
display: none
|
35
35
|
|
36
|
-
+
|
36
|
+
+maxWidth1200()
|
37
37
|
display: block
|
38
38
|
|
39
39
|
&.top
|
@@ -60,4 +60,4 @@
|
|
60
60
|
|
61
61
|
&.show
|
62
62
|
opacity .8
|
63
|
-
transform: translate(0, 0)
|
63
|
+
transform: translate(0, 0)
|
@@ -3,6 +3,7 @@
|
|
3
3
|
flex-direction column
|
4
4
|
gap var(--gap)
|
5
5
|
animation slide-in .6s .3s backwards
|
6
|
+
z-index 10
|
6
7
|
|
7
8
|
.hide-aside &
|
8
9
|
display none
|
@@ -32,7 +33,6 @@
|
|
32
33
|
box-shadow var(--efu-shadow-black)
|
33
34
|
border var(--style-border)
|
34
35
|
user-select none
|
35
|
-
position relative
|
36
36
|
|
37
37
|
.item-headline
|
38
38
|
padding-bottom 0
|
@@ -503,4 +503,4 @@ if hexo-config('comment.newest_comment.enable')
|
|
503
503
|
cursor pointer
|
504
504
|
|
505
505
|
&:hover
|
506
|
-
background var(--efu-main)
|
506
|
+
background var(--efu-main)
|
@@ -29,8 +29,8 @@ if hexo-config('google_adsense.enable')
|
|
29
29
|
@import "message"
|
30
30
|
|
31
31
|
#page h1.page-title
|
32
|
-
|
33
|
-
|
32
|
+
margin .4rem 1rem 1rem
|
33
|
+
text-align center
|
34
34
|
|
35
35
|
#page
|
36
36
|
background 0 0
|
@@ -65,4 +65,4 @@ if hexo-config('google_adsense.enable')
|
|
65
65
|
|
66
66
|
+maxWidth768()
|
67
67
|
.needEndHide
|
68
|
-
display none!important
|
68
|
+
display none!important
|
package/source/js/main.js
CHANGED
@@ -904,7 +904,7 @@ window.refreshFn = () => {
|
|
904
904
|
const { runtime, lazyload, lightbox, randomlink, covercolor, lure, expire } =
|
905
905
|
GLOBAL_CONFIG;
|
906
906
|
const timeSelector =
|
907
|
-
(is_home
|
907
|
+
(is_home || is_page
|
908
908
|
? ".post-meta-date time"
|
909
909
|
: is_post
|
910
910
|
? ".post-meta-date time"
|