hexo-theme-solitude 1.12.2 → 1.13.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/.github/FUNDING.yml +3 -2
- package/.github/persona.avif +0 -0
- package/.github/screenshot.avif +0 -0
- package/README.md +5 -3
- package/README_en-US.md +5 -3
- package/README_zh-Hant.md +5 -3
- package/_config.yml +52 -8
- 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/404.pug +1 -1
- package/layout/includes/console.pug +39 -26
- package/layout/includes/head/config.pug +31 -7
- package/layout/includes/header.pug +4 -2
- package/layout/includes/inject/head.pug +4 -6
- package/layout/includes/layout.pug +6 -1
- package/layout/includes/mixins/articleSort.pug +1 -1
- package/layout/includes/page/recentcomment.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/home/banner.pug +15 -12
- package/layout/includes/widgets/home/hot/index.pug +7 -0
- package/layout/includes/widgets/home/hot/twikoo.pug +46 -0
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +2 -1
- package/layout/includes/widgets/page/recentcomment/artalk.pug +3 -3
- package/layout/includes/widgets/page/recentcomment/twikoo.pug +3 -3
- package/layout/includes/widgets/page/recentcomment/valine.pug +3 -3
- package/layout/includes/widgets/page/recentcomment/waline.pug +3 -3
- package/layout/includes/widgets/post/postInfo.pug +80 -0
- package/layout/includes/widgets/post/postMeta.pug +1 -81
- package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -1
- package/layout/index.pug +2 -0
- package/layout/post.pug +6 -3
- package/package.json +3 -3
- package/plugins.yml +6 -6
- package/scripts/event/merge_config.js +34 -1
- package/scripts/filter/checkThemeConfig.js +0 -5
- package/scripts/helper/inject_head_js.js +5 -0
- package/source/css/_comments/comment.styl +3 -4
- package/source/css/_global/index.styl +19 -6
- package/source/css/_highlight/highlight/index.styl +2 -1
- package/source/css/_highlight/index.styl +3 -3
- package/source/css/_highlight/prismjs/index.styl +2 -1
- package/source/css/_layout/article-container.styl +4 -0
- package/source/css/_layout/console.styl +1 -1
- package/source/css/_layout/expire.styl +13 -0
- package/source/css/_layout/header.styl +15 -13
- package/source/css/_page/_home/home-top.styl +7 -0
- package/source/css/_page/_home/home.styl +4 -1
- package/source/css/_page/_home/hot-tip.styl +11 -0
- package/source/css/_page/index.styl +1 -1
- package/source/css/_page/links.styl +22 -1
- package/source/css/_page/other.styl +2 -0
- package/source/css/_page/recentcomment.styl +5 -2
- package/source/css/_post/copyright.styl +1 -1
- package/source/css/_post/meta.styl +196 -187
- package/source/css/_post/pagination.styl +12 -8
- package/source/css/_post/relatedPost.styl +1 -1
- package/source/css/_post/tools.styl +1 -1
- package/source/js/main.js +63 -15
- package/source/js/music.js +1 -1
- package/source/js/right_menu.js +9 -11
- package/.github/logo.svg +0 -23
- package/.github/screenshot.webp +0 -0
@@ -1,6 +1,24 @@
|
|
1
1
|
.flink#banners
|
2
2
|
margin-bottom: .5rem
|
3
3
|
|
4
|
+
.tags-group-title
|
5
|
+
font-size 14px
|
6
|
+
color var(--efu-card-bg)
|
7
|
+
background var(--efu-lighttext)
|
8
|
+
position absolute
|
9
|
+
width 100%
|
10
|
+
height 100%
|
11
|
+
display flex
|
12
|
+
border-radius 120px
|
13
|
+
align-items center
|
14
|
+
justify-content center
|
15
|
+
opacity 0
|
16
|
+
transition .3s
|
17
|
+
|
18
|
+
.flink .tags-group-icon:hover .tags-group-title
|
19
|
+
opacity 1
|
20
|
+
backdrop-filter saturate(180%) blur(20px)
|
21
|
+
|
4
22
|
.flink#article-container
|
5
23
|
margin-top 1rem
|
6
24
|
|
@@ -67,7 +85,10 @@
|
|
67
85
|
width calc(25% - 16px)
|
68
86
|
|
69
87
|
+maxWidth768()
|
70
|
-
width calc(
|
88
|
+
width calc(100% / 3 - 16px)
|
89
|
+
|
90
|
+
+maxWidth600()
|
91
|
+
width calc(100% / 2 - 16px)
|
71
92
|
|
72
93
|
.img
|
73
94
|
border-radius 0
|
@@ -13,6 +13,7 @@ div#banners
|
|
13
13
|
animation slide-in .6s .1s backwards
|
14
14
|
|
15
15
|
#home_top &
|
16
|
+
height 100%
|
16
17
|
+maxWidth1200()
|
17
18
|
height calc(328px + .5rem)
|
18
19
|
|
@@ -122,6 +123,7 @@ div#banners
|
|
122
123
|
border-radius 50%
|
123
124
|
|
124
125
|
/.tags-group-icon
|
126
|
+
position relative
|
125
127
|
width 120px
|
126
128
|
height 120px
|
127
129
|
border-radius 30px
|
@@ -1,4 +1,4 @@
|
|
1
|
-
div#
|
1
|
+
div#console_recentcomments
|
2
2
|
display flex
|
3
3
|
flex-wrap wrap
|
4
4
|
gap 12px
|
@@ -20,6 +20,9 @@ div#comments-page
|
|
20
20
|
display flex
|
21
21
|
flex-direction column
|
22
22
|
|
23
|
+
.console-card &
|
24
|
+
width calc(100% / 2 - 8px)
|
25
|
+
|
23
26
|
+maxWidth900()
|
24
27
|
width calc(100% / 2 - 6px)
|
25
28
|
|
@@ -69,7 +72,7 @@ div#comments-page
|
|
69
72
|
font-size 12px
|
70
73
|
line-height 12px
|
71
74
|
|
72
|
-
#
|
75
|
+
#console_recentcomments .comment-info img
|
73
76
|
width 30px
|
74
77
|
height 30px
|
75
78
|
object-fit cover
|
@@ -136,242 +136,251 @@
|
|
136
136
|
&.loaded
|
137
137
|
display block
|
138
138
|
|
139
|
-
|
139
|
+
#post-info
|
140
|
+
top 0
|
141
|
+
position absolute
|
142
|
+
padding 0 3rem
|
143
|
+
margin 0 auto
|
144
|
+
color var(--efu-white)
|
145
|
+
max-width 1400px
|
146
|
+
display flex
|
147
|
+
flex-direction column
|
148
|
+
align-items flex-start
|
149
|
+
height calc(100% + 0px)
|
150
|
+
justify-content center
|
151
|
+
animation slide-in .6s 0s backwards
|
152
|
+
width 100%
|
153
|
+
text-align center
|
154
|
+
|
155
|
+
+minWidth1300()
|
156
|
+
height calc(100% + 0px)
|
140
157
|
top 0
|
141
|
-
position absolute
|
142
|
-
padding 0 3rem
|
143
|
-
margin 0 auto
|
144
|
-
color var(--efu-white)
|
145
|
-
max-width 1400px
|
146
158
|
display flex
|
147
|
-
flex-direction column
|
148
|
-
align-items flex-start
|
149
|
-
height calc(100% + 0px)
|
150
159
|
justify-content center
|
151
|
-
|
152
|
-
|
153
|
-
|
160
|
+
|
161
|
+
+maxWidth900()
|
162
|
+
bottom 1.5rem
|
163
|
+
text-align left
|
164
|
+
|
165
|
+
+maxWidth768()
|
166
|
+
padding 0 6%
|
167
|
+
justify-content normal
|
168
|
+
padding-top 18rem
|
169
|
+
|
170
|
+
.post-title
|
171
|
+
color var(--efu-white)
|
172
|
+
font-weight 700
|
173
|
+
font-size 2.3rem
|
174
|
+
line-height 1.2
|
175
|
+
text-align left
|
176
|
+
margin 1rem 0 1rem 0
|
177
|
+
-webkit-line-clamp 2
|
178
|
+
padding 0
|
179
|
+
overflow hidden
|
180
|
+
|
181
|
+
+maxWidth768()
|
182
|
+
font-size 1.2rem
|
183
|
+
-webkit-line-clamp 3
|
184
|
+
margin .2rem auto
|
185
|
+
text-align center
|
186
|
+
z-index 1
|
154
187
|
|
155
188
|
+minWidth1300()
|
156
|
-
|
157
|
-
|
158
|
-
display flex
|
159
|
-
justify-content center
|
189
|
+
width 1100px
|
190
|
+
font-size 2.6rem !important
|
160
191
|
|
161
|
-
|
162
|
-
|
163
|
-
|
192
|
+
#post-meta
|
193
|
+
margin-top .4rem
|
194
|
+
transition .3s
|
195
|
+
display flex
|
196
|
+
user-select none
|
197
|
+
color var(--light-grey)
|
198
|
+
font-size 95%
|
164
199
|
|
165
200
|
+maxWidth768()
|
166
|
-
|
167
|
-
|
168
|
-
padding-top 18rem
|
169
|
-
|
170
|
-
.post-title
|
171
|
-
color var(--efu-white)
|
172
|
-
font-weight 700
|
173
|
-
font-size 2.3rem
|
174
|
-
line-height 1.2
|
175
|
-
text-align left
|
176
|
-
margin 1rem 0 1rem 0
|
177
|
-
-webkit-line-clamp 2
|
178
|
-
padding 0
|
179
|
-
overflow hidden
|
201
|
+
font-size 90%
|
202
|
+
padding 0 2rem
|
180
203
|
|
181
|
-
|
182
|
-
font-size 1.2rem
|
183
|
-
-webkit-line-clamp 3
|
184
|
-
margin .2rem auto
|
185
|
-
text-align center
|
186
|
-
z-index 1
|
187
|
-
|
188
|
-
+minWidth1300()
|
189
|
-
width 1100px
|
190
|
-
font-size 2.6rem !important
|
191
|
-
|
192
|
-
#post-meta
|
193
|
-
margin-top .4rem
|
194
|
-
transition .3s
|
195
|
-
display flex
|
196
|
-
user-select none
|
204
|
+
a
|
197
205
|
color var(--light-grey)
|
198
|
-
|
206
|
+
transition all .3s ease-out 0s
|
199
207
|
|
200
|
-
|
201
|
-
|
202
|
-
|
208
|
+
i
|
209
|
+
font-size 16px
|
210
|
+
margin-right 4px
|
203
211
|
|
204
|
-
|
205
|
-
|
206
|
-
transition all .3s ease-out 0s
|
212
|
+
> div
|
213
|
+
text-align left
|
207
214
|
|
208
|
-
|
209
|
-
|
210
|
-
|
215
|
+
.meta-secondline
|
216
|
+
display flex
|
217
|
+
flex-direction row
|
218
|
+
flex-wrap wrap
|
219
|
+
justify-content flex-start
|
220
|
+
align-items center
|
211
221
|
|
212
|
-
|
213
|
-
|
222
|
+
+maxWidth768()
|
223
|
+
justify-content center
|
214
224
|
|
215
|
-
|
216
|
-
display flex
|
217
|
-
flex-direction row
|
218
|
-
flex-wrap wrap
|
219
|
-
justify-content flex-start
|
225
|
+
> span
|
226
|
+
display: flex
|
220
227
|
align-items center
|
228
|
+
line-height 1
|
229
|
+
margin 0 .5rem
|
221
230
|
|
222
231
|
+maxWidth768()
|
223
|
-
|
232
|
+
line-height 1.5
|
224
233
|
|
225
|
-
|
226
|
-
|
227
|
-
align-items center
|
228
|
-
line-height 1
|
229
|
-
margin 0 .5rem
|
234
|
+
> span:first-child
|
235
|
+
margin-left 0
|
230
236
|
|
231
|
-
|
232
|
-
|
237
|
+
.post-meta-date, .post-meta-wordcount, .post-meta-position, .post-meta-pv
|
238
|
+
opacity .6
|
233
239
|
|
234
|
-
|
235
|
-
|
240
|
+
.post-meta-separator
|
241
|
+
margin 0 1rem 0 0
|
236
242
|
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
243
|
+
.post-meta-pv
|
244
|
+
margin-right 8px
|
245
|
+
padding 0 8px
|
246
|
+
display flex
|
247
|
+
align-items center
|
248
|
+
border-radius 12px
|
242
249
|
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
border-radius 12px
|
250
|
+
&:hover
|
251
|
+
opacity 1
|
252
|
+
background var(--efu-white-op)
|
253
|
+
text-decoration none
|
254
|
+
color var(--efu-white)
|
249
255
|
|
250
|
-
|
251
|
-
|
252
|
-
background var(--efu-white-op)
|
253
|
-
text-decoration none
|
254
|
-
color var(--efu-white)
|
256
|
+
.post-meta-pv-cv
|
257
|
+
margin-left .8rem
|
255
258
|
|
256
|
-
|
257
|
-
|
259
|
+
#busuanzi_value_page_pv
|
260
|
+
font-weight 800
|
258
261
|
|
259
|
-
|
260
|
-
|
262
|
+
.post-meta-commentcount
|
263
|
+
opacity .6
|
264
|
+
cursor pointer
|
265
|
+
transition .3s
|
266
|
+
border-radius 12px
|
267
|
+
padding 8px
|
261
268
|
|
262
|
-
|
263
|
-
opacity
|
264
|
-
|
265
|
-
transition .3s
|
266
|
-
border-radius 12px
|
267
|
-
padding 8px
|
269
|
+
&:hover
|
270
|
+
opacity 1
|
271
|
+
background var(--efu-white-op)
|
268
272
|
|
269
|
-
|
270
|
-
|
271
|
-
|
273
|
+
.post-meta-wechat
|
274
|
+
margin-right .8rem
|
275
|
+
opacity .6
|
276
|
+
transition .3s
|
277
|
+
cursor pointer
|
272
278
|
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
transition .3s
|
277
|
-
cursor pointer
|
279
|
+
&:hover
|
280
|
+
opacity 1
|
281
|
+
background var(--efu-white-op)
|
278
282
|
|
279
|
-
|
280
|
-
|
281
|
-
|
283
|
+
#post-firstinfo
|
284
|
+
text-align left
|
285
|
+
display flex
|
286
|
+
white-space nowrap
|
287
|
+
user-select none
|
282
288
|
|
283
|
-
|
284
|
-
text-align left
|
285
|
-
display flex
|
289
|
+
+maxWidth768()
|
286
290
|
white-space nowrap
|
287
|
-
|
291
|
+
margin 0 auto
|
292
|
+
z-index 1
|
288
293
|
|
289
|
-
|
290
|
-
|
291
|
-
margin 0 auto
|
292
|
-
z-index 1
|
294
|
+
.tag_share
|
295
|
+
display none
|
293
296
|
|
294
|
-
|
295
|
-
|
297
|
+
.meta-firstline
|
298
|
+
display flex
|
299
|
+
align-items center
|
300
|
+
height 32px
|
296
301
|
|
297
|
-
|
302
|
+
+maxWidth768()
|
303
|
+
margin-bottom .4rem
|
304
|
+
|
305
|
+
.post-meta-original
|
306
|
+
background var(--efu-white-op)
|
307
|
+
color var(--efu-white)
|
308
|
+
padding 0 .5rem
|
309
|
+
font-size .7rem
|
310
|
+
margin auto
|
311
|
+
border-radius 8px
|
312
|
+
font-weight 700
|
313
|
+
line-height 32px
|
314
|
+
width 100%
|
315
|
+
height 100%
|
298
316
|
display flex
|
299
|
-
align-items center
|
300
|
-
height 32px
|
301
|
-
|
302
|
-
+maxWidth768()
|
303
|
-
margin-bottom .4rem
|
304
317
|
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
padding 0 .5rem
|
309
|
-
font-size .7rem
|
310
|
-
margin auto
|
318
|
+
&:hover
|
319
|
+
color var(--efu-main)
|
320
|
+
background var(--efu-white)
|
311
321
|
border-radius 8px
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
322
|
+
|
323
|
+
.tag_share
|
324
|
+
margin-left .5rem
|
325
|
+
|
326
|
+
.post-meta__tag-list
|
316
327
|
display flex
|
328
|
+
flex-direction row
|
329
|
+
align-items center
|
317
330
|
|
318
|
-
|
319
|
-
|
320
|
-
background var(--efu-white)
|
321
|
-
border-radius 8px
|
331
|
+
+maxWidth768()
|
332
|
+
display none
|
322
333
|
|
323
|
-
|
324
|
-
|
334
|
+
&::-webkit-scrollbar
|
335
|
+
display none
|
325
336
|
|
326
|
-
.post-
|
337
|
+
.post-meta__tags
|
338
|
+
color var(--efu-white)
|
339
|
+
opacity .8
|
340
|
+
margin-right 8px
|
341
|
+
padding 0 8px
|
342
|
+
border-radius 12px
|
327
343
|
display flex
|
328
|
-
flex-direction row
|
329
344
|
align-items center
|
345
|
+
flex-direction row
|
346
|
+
|
347
|
+
&:hover
|
348
|
+
color var(--efu-white)
|
349
|
+
opacity 1
|
350
|
+
background var(--efu-white-op)
|
330
351
|
|
331
352
|
+maxWidth768()
|
332
|
-
|
353
|
+
margin 0 .5rem 0 0
|
333
354
|
|
334
|
-
|
335
|
-
|
355
|
+
span.post-meta-categories
|
356
|
+
background-color var(--efu-white-op)
|
357
|
+
border-radius 8px
|
358
|
+
line-height 32px
|
359
|
+
height 32px
|
360
|
+
transition .3s
|
336
361
|
|
337
|
-
|
338
|
-
|
339
|
-
opacity .8
|
340
|
-
margin-right 8px
|
341
|
-
padding 0 8px
|
342
|
-
border-radius 12px
|
343
|
-
display flex
|
344
|
-
align-items center
|
345
|
-
flex-direction row
|
346
|
-
|
347
|
-
&:hover
|
348
|
-
color var(--efu-white)
|
349
|
-
opacity 1
|
350
|
-
background var(--efu-white-op)
|
351
|
-
|
352
|
-
+maxWidth768()
|
353
|
-
margin 0 .5rem 0 0
|
354
|
-
|
355
|
-
span.post-meta-categories
|
356
|
-
background-color var(--efu-white-op)
|
357
|
-
border-radius 8px
|
358
|
-
line-height 32px
|
359
|
-
height 32px
|
360
|
-
transition .3s
|
362
|
+
&:not(:first-child)
|
363
|
+
margin-left 8px
|
361
364
|
|
362
|
-
|
363
|
-
|
365
|
+
&:hover
|
366
|
+
background-color var(--efu-white)
|
364
367
|
|
365
|
-
|
366
|
-
|
368
|
+
a.post-meta-categories
|
369
|
+
color var(--efu-white)
|
370
|
+
font-size .7rem
|
371
|
+
width 100%
|
372
|
+
height 100%
|
373
|
+
display flex
|
374
|
+
padding 0 .5rem
|
367
375
|
|
368
|
-
|
369
|
-
color var(--efu-
|
370
|
-
font-size .7rem
|
371
|
-
width 100%
|
372
|
-
height 100%
|
373
|
-
display flex
|
374
|
-
padding 0 .5rem
|
376
|
+
&:hover
|
377
|
+
color var(--efu-main)
|
375
378
|
|
376
|
-
|
377
|
-
|
379
|
+
#post #post-info
|
380
|
+
height auto
|
381
|
+
position unset
|
382
|
+
padding 1rem 2rem
|
383
|
+
background var(--efu-main)
|
384
|
+
border-radius 12px 12px 0 0
|
385
|
+
+minWidth768()
|
386
|
+
min-height 250px
|
@@ -1,10 +1,18 @@
|
|
1
1
|
#post #pagination
|
2
|
+
width auto
|
2
3
|
overflow hidden
|
3
4
|
position inherit
|
4
5
|
border var(--style-border-always)
|
5
6
|
|
6
7
|
div:only-child
|
7
|
-
|
8
|
+
&.next-post, &.prev-post
|
9
|
+
width 100%
|
10
|
+
|
11
|
+
&.next-post a
|
12
|
+
border-left 0
|
13
|
+
|
14
|
+
&.prev-post a
|
15
|
+
border-right 0
|
8
16
|
|
9
17
|
+minWidth1300()
|
10
18
|
position fixed
|
@@ -26,15 +34,11 @@
|
|
26
34
|
box-shadow var(--efu-shadow-border)
|
27
35
|
|
28
36
|
&.pagination-post
|
29
|
-
margin
|
37
|
+
margin 0 2rem
|
30
38
|
background var(--efu-card-bg)
|
31
39
|
|
32
40
|
+minWidth768()
|
33
41
|
border-radius 12px
|
34
|
-
margin-top 1rem
|
35
|
-
|
36
|
-
+minWidth1300()
|
37
|
-
margin-top 0
|
38
42
|
|
39
43
|
.next-post, .prev-post, .next-post.pull-right, .prev-post.pull-left
|
40
44
|
background var(--efu-secondbg)
|
@@ -113,7 +117,7 @@
|
|
113
117
|
a
|
114
118
|
+minWidth768()
|
115
119
|
border-right var(--efu-main-op)
|
116
|
-
border-right-width
|
120
|
+
border-right-width .5px
|
117
121
|
border-right-style solid
|
118
122
|
|
119
123
|
+minWidth1300()
|
@@ -131,7 +135,7 @@
|
|
131
135
|
a
|
132
136
|
+minWidth768()
|
133
137
|
border-left var(--efu-main-op)
|
134
|
-
border-left-width
|
138
|
+
border-left-width .5px
|
135
139
|
border-left-style solid
|
136
140
|
display flex
|
137
141
|
align-items flex-start
|
@@ -198,12 +198,12 @@
|
|
198
198
|
|
199
199
|
|
200
200
|
.post-tools-right
|
201
|
-
padding-right: 0
|
202
201
|
display: flex
|
203
202
|
align-items: center
|
204
203
|
flex-direction: row
|
205
204
|
justify-content: space-between
|
206
205
|
flex-wrap: wrap
|
206
|
+
padding 0 2rem
|
207
207
|
|
208
208
|
.tag_share
|
209
209
|
.post-meta__tag-list
|