hexo-theme-solitude 2.1.10 → 2.1.11

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.
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: 键盘快捷键
132
132
  switch_music: 音乐开关
133
133
  archive_unit: 篇
134
+ archive_all: 全部文章
134
135
  recent_comment_more: 最近评论
135
136
  newest_comment:
136
137
  image: 图片
package/languages/en.yml CHANGED
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: Keyboard operation
132
132
  switch_music: Music switch
133
133
  archive_unit: Posts
134
+ archive_all: All posts
134
135
  recent_comment_more: Recent comments
135
136
  newest_comment:
136
137
  image: Image
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: 键盘快捷键
132
132
  switch_music: 音乐开关
133
133
  archive_unit: 篇
134
+ archive_all: 全部文章
134
135
  recent_comment_more: 最近评论
135
136
  newest_comment:
136
137
  image: 图片
@@ -131,6 +131,7 @@ console:
131
131
  switch_keyboard: 鍵盤快捷鍵
132
132
  switch_music: 音樂開關
133
133
  archive_unit: 篇
134
+ archive_all: 全部文章
134
135
  recent_comment_more: 最近評論
135
136
  newest_comment:
136
137
  image: 圖片
@@ -82,7 +82,7 @@ div
82
82
  script(src=url_for(theme.cdn.cover_ave))
83
83
 
84
84
  if theme.loading.pace
85
- script(src=url_for(theme.cdn.pace_js))
85
+ include ../mixins/pace.pug
86
86
 
87
87
  if theme.search.enable && theme.search.type === "algolia"
88
88
  script(src=url_for(theme.cdn.instantsearch))
@@ -0,0 +1,10 @@
1
+ script.
2
+ window.paceOptions = {
3
+ restartOnPushState: false
4
+ }
5
+
6
+ utils.addGlobalFn('pjaxSend', () => {
7
+ Pace.restart()
8
+ }, 'pace_restart')
9
+
10
+ script(src=url_for(theme.cdn.pace_js))
@@ -1,3 +1,3 @@
1
- #rightside
1
+ #rightside.needEndHide
2
2
  include ./widgets/rightside/hide
3
3
  include ./widgets/rightside/show
@@ -8,4 +8,10 @@ ul.card-archive-list
8
8
  span.card-archive-list-date= key
9
9
  .card-archive-list-count-group
10
10
  span.card-archive-list-count= value
11
- span.card-archive-list-count-unit= __('console.archive_unit')
11
+ span.card-archive-list-count-unit= __('console.archive_unit')
12
+ li.card-archive-list-item
13
+ a.card-archive-list-link(href='/archives/')
14
+ span.card-archive-list-date= __('console.archive_all')
15
+ .card-archive-list-count-group
16
+ span.card-archive-list-count= site.posts.length
17
+ span.card-archive-list-count-unit= __('console.archive_unit')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "2.1.10",
3
+ "version": "2.1.11",
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
@@ -86,9 +86,10 @@ snackbar:
86
86
  file: dist/snackbar.min.js
87
87
  version: 0.1.16
88
88
  fontawesome:
89
- name: font-awesome
89
+ name: '@fortawesome/fontawesome-free'
90
90
  file: css/all.min.css
91
- version: 6.6.0
91
+ version: 6.7.1
92
+ other_name: font-awesome
92
93
  medium_zoom:
93
94
  name: medium-zoom
94
95
  file: dist/medium-zoom.min.js
@@ -114,7 +115,7 @@ chart_js:
114
115
  other_name: Chart.js
115
116
  typeit_js:
116
117
  name: typeit
117
- file: index.umd.min.js
118
+ file: dist/index.umd.min.js
118
119
  version: 8.8.7
119
120
  other_name: typeit
120
121
  blueimp_md5:
@@ -34,7 +34,6 @@
34
34
  transform translateY(20px)
35
35
  transition .3s
36
36
  max-width 1400px
37
- min-width 1000px
38
37
 
39
38
  +maxWidth1300()
40
39
  justify-content center
@@ -58,7 +57,7 @@
58
57
  width 40%
59
58
  height 100%
60
59
 
61
- +maxWidth1300()
60
+ +maxWidth900()
62
61
  display none
63
62
 
64
63
  .console-card-group-right
@@ -69,8 +68,8 @@
69
68
  width 60%
70
69
  overflow hidden
71
70
 
72
- +maxWidth1300()
73
- display none
71
+ +maxWidth900()
72
+ width 100%
74
73
 
75
74
  .console-card
76
75
  background var(--efu-maskbg)
@@ -134,8 +133,8 @@
134
133
  width fit-content
135
134
 
136
135
  .console-btn-item
137
- width 60px
138
- height 60px
136
+ width 80px
137
+ height 40px
139
138
  transition .3s
140
139
  cursor pointer
141
140
 
@@ -162,7 +161,8 @@
162
161
  align-items center
163
162
  justify-content center
164
163
  color var(--efu-fontcolor)
165
- transition all .3s
164
+ transition .3s
165
+ box-shadow var(--efu-shadow-border)
166
166
 
167
167
  i
168
168
  font-size 1rem
@@ -254,7 +254,7 @@
254
254
  gap .5rem
255
255
 
256
256
  li.card-archive-list-item
257
- flex 0 1 24.101%
257
+ flex 0 1 calc(25% - .375rem)
258
258
 
259
259
  .card-archive-list-link
260
260
  border-radius 8px
@@ -279,6 +279,10 @@
279
279
  opacity 1
280
280
  transition .3s
281
281
  line-height 1
282
+ width 70%
283
+ overflow hidden
284
+ text-overflow ellipsis
285
+ white-space nowrap
282
286
 
283
287
  &:hover
284
288
  &:after
@@ -6,6 +6,11 @@ if hexo-config('rightside.enable')
6
6
  z-index: 1000
7
7
  opacity: 0
8
8
  transition: all .5s
9
+ &.needEndHide
10
+ display block!important
11
+ &.hide.needEndHide
12
+ bottom 0!important
13
+ transform: none !important
9
14
 
10
15
  button
11
16
  display: block
@@ -5,6 +5,10 @@ div.console_recentcomments
5
5
  min-height 100px
6
6
  width 100%
7
7
 
8
+ +maxWidth1300()
9
+ overflow-y scroll
10
+ scrollbar-width none
11
+
8
12
  .comment-card
9
13
  position relative
10
14
  width calc(100% / 3 - 8px)
@@ -22,8 +26,9 @@ div.console_recentcomments
22
26
  .console-card &
23
27
  width calc(100% / 2 - 8px)
24
28
 
25
- +maxWidth900()
26
- width calc(100% / 2 - 6px)
29
+ +maxWidth1300()
30
+ min-width 100%
31
+ height calc(100% / 3 - 8px)
27
32
 
28
33
  +maxWidth768()
29
34
  width 100%