hexo-theme-solitude 3.0.13 → 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 +6 -6
- package/source/css/_components/rightside.styl +3 -3
- package/source/css/_layout/aside.styl +2 -1
- package/source/css/_page/brevity.styl +4 -1
- package/source/css/_page/category.styl +1 -1
- 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
@@ -1,8 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "hexo-theme-solitude",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.15",
|
4
4
|
"description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
|
5
5
|
"main": "package.json",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
6
9
|
"keywords": [
|
7
10
|
"hexo",
|
8
11
|
"theme",
|
@@ -26,8 +29,5 @@
|
|
26
29
|
},
|
27
30
|
"homepage": "https://solitude.js.org",
|
28
31
|
"author": "Hexo-Theme-Solitude<o@efu.me>",
|
29
|
-
"license": "Apache-2.0"
|
30
|
-
|
31
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
32
|
-
}
|
33
|
-
}
|
32
|
+
"license": "Apache-2.0"
|
33
|
+
}
|
@@ -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
|
@@ -502,4 +503,4 @@ if hexo-config('comment.newest_comment.enable')
|
|
502
503
|
cursor pointer
|
503
504
|
|
504
505
|
&:hover
|
505
|
-
background var(--efu-main)
|
506
|
+
background var(--efu-main)
|
@@ -177,6 +177,9 @@ if hexo-config('brevity.enable')
|
|
177
177
|
.aplayer
|
178
178
|
margin 0
|
179
179
|
|
180
|
+
.aplayer-body
|
181
|
+
background-color var(--efu-card-bg)
|
182
|
+
|
180
183
|
.aplayer-info
|
181
184
|
.aplayer-music
|
182
185
|
height 23px
|
@@ -185,7 +188,7 @@ if hexo-config('brevity.enable')
|
|
185
188
|
font-size .8rem
|
186
189
|
font-weight 700
|
187
190
|
margin 0
|
188
|
-
color var(--efu-
|
191
|
+
color var(--efu-fontcolor)
|
189
192
|
|
190
193
|
.aplayer-controller
|
191
194
|
align-items center
|
@@ -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"
|