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.
@@ -70,6 +70,7 @@ post:
70
70
  ip: 作者IP归属地为
71
71
  pv: 文章热度
72
72
  comment: 评论数
73
+ min: 分钟
73
74
  copyright:
74
75
  reprint: 本文是转载或翻译文章,版权归原作者所有。转载本文请联系原作者。
75
76
  original: 本文是原创文章,采用
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.
@@ -67,6 +67,7 @@ post:
67
67
  minread: 阅读耗时
68
68
  ip: 作者IP归属地为
69
69
  pv: 文章热度
70
+ min: 分钟
70
71
  comment: 评论数
71
72
  copyright:
72
73
  reprint: 本文是转载或翻译文章,版权归原作者所有。转载本文请联系原作者。
@@ -67,6 +67,7 @@ post:
67
67
  minread: 閱讀耗時
68
68
  ip: 作者IP歸屬地為
69
69
  pv: 文章熱度
70
+ min: 分
70
71
  comment: 評論數
71
72
  copyright:
72
73
  reprint: 本文是轉載或翻譯文章,版權歸原作者所有。轉載本文請聯繫原作者。
@@ -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
- img.beian-icon(src=url_for(item.icon), alt=item.name)
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) + " min"
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,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "3.0.14",
3
+ "version": "3.0.15",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -27,13 +27,13 @@
27
27
 
28
28
  &.pc
29
29
  display: block
30
- +maxWidth900()
30
+ +maxWidth1200()
31
31
  display: none
32
32
 
33
33
  &.mobile
34
34
  display: none
35
35
 
36
- +maxWidth900()
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
- display inline
33
- margin .4rem 0 1rem
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"