hexo-theme-solitude 1.7.1 → 1.7.3
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 +2 -2
- package/_config.yml +12 -15
- package/languages/en.yml +1 -5
- package/languages/zh-CN.yml +1 -4
- package/languages/zh-TW.yml +1 -4
- package/layout/includes/head/config.pug +40 -34
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/page/says.pug +2 -2
- package/layout/includes/widgets/aside/asideTag.pug +9 -4
- package/layout/includes/widgets/home/banner.pug +1 -1
- package/layout/post.pug +2 -1
- package/package.json +3 -3
- package/scripts/event/merge_config.js +1 -1
- package/scripts/event/welcome.js +7 -9
- package/scripts/helper/related_post.js +5 -0
- package/scripts/helper/stylus.js +7 -39
- package/source/css/_layout/article-container.styl +197 -0
- package/source/css/_layout/aside.styl +483 -486
- package/source/css/_page/_about/{index.styl → about.styl} +12 -12
- package/source/css/_page/_home/home-top.styl +1 -6
- package/source/css/_page/_home/{index.styl → home.styl} +0 -3
- package/source/css/_page/_home/recent-post.styl +1 -0
- package/source/css/_page/category.styl +0 -2
- package/source/css/_page/error.styl +1 -1
- package/source/css/_page/google.styl +17 -17
- package/source/css/_page/index.styl +48 -15
- package/source/css/_page/moment.styl +73 -74
- package/source/css/_page/{share.styl → other.styl} +1 -3
- package/source/css/_post/content.styl +0 -197
- package/source/css/_post/index.styl +0 -3
- package/source/img/404.webp +0 -0
- package/source/img/pwa/favicon_512.ico +0 -0
- package/source/js/search/algolia.js +0 -10
- package/source/js/search/local.js +3 -14
- package/source/css/_page/home.styl +0 -34
@@ -73,7 +73,6 @@
|
|
73
73
|
html.hide-aside .layout > .aside-content
|
74
74
|
display: none
|
75
75
|
|
76
|
-
// toc
|
77
76
|
#aside-content
|
78
77
|
.card-toc
|
79
78
|
padding .5rem .5rem
|
@@ -183,569 +182,567 @@
|
|
183
182
|
.toc-item.active .toc-link .toc-text
|
184
183
|
color: var(--efu-white)
|
185
184
|
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
box-shadow var(--efu-shadow-black)
|
200
|
-
|
201
|
-
> div.card-content
|
202
|
-
padding 1rem 1.2rem
|
203
|
-
min-height 320px
|
204
|
-
position relative
|
205
|
-
|
206
|
-
> .card-widget.card-info
|
207
|
-
&:before
|
208
|
-
background linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep))
|
209
|
-
background-size 400%
|
210
|
-
position absolute
|
211
|
-
width 100%
|
212
|
-
height 100%
|
213
|
-
left 0
|
214
|
-
top 0
|
215
|
-
content ''
|
216
|
-
animation gradient 15s ease infinite
|
185
|
+
#aside-content
|
186
|
+
.card-widget
|
187
|
+
&:hover
|
188
|
+
.avatar-sticker
|
189
|
+
opacity 0
|
190
|
+
transform scale(0)
|
191
|
+
|
192
|
+
&.card-recent-post
|
193
|
+
padding .4rem .6rem !important
|
194
|
+
|
195
|
+
&.card-info
|
196
|
+
padding 0 !important
|
197
|
+
box-shadow var(--efu-shadow-black)
|
217
198
|
|
218
199
|
> div.card-content
|
219
200
|
padding 1rem 1.2rem
|
220
201
|
min-height 320px
|
221
202
|
position relative
|
222
203
|
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
204
|
+
> .card-widget.card-info
|
205
|
+
&:before
|
206
|
+
background linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep))
|
207
|
+
background-size 400%
|
208
|
+
position absolute
|
209
|
+
width 100%
|
210
|
+
height 100%
|
211
|
+
left 0
|
212
|
+
top 0
|
213
|
+
content ''
|
214
|
+
animation gradient 15s ease infinite
|
215
|
+
|
216
|
+
> div.card-content
|
217
|
+
padding 1rem 1.2rem
|
218
|
+
min-height 320px
|
219
|
+
position relative
|
220
|
+
|
221
|
+
> div.card-info-avatarimg
|
222
|
+
overflow hidden
|
223
|
+
background var(--efu-yellow)
|
224
|
+
transition 1.5s
|
225
|
+
min-height 160px
|
226
|
+
position relative
|
227
|
+
box-shadow var(--efu-shadow-yellow)
|
228
|
+
|
229
|
+
&:hover img
|
230
|
+
transform scale(1.03)
|
231
|
+
|
232
|
+
.card-info
|
233
|
+
.avatar-sticker
|
234
|
+
position absolute
|
235
|
+
bottom -2px
|
236
|
+
right -2px
|
237
|
+
width 33px
|
238
|
+
height 33px
|
239
|
+
line-height 34px
|
240
|
+
z-index 0
|
241
|
+
display flex
|
242
|
+
align-items center
|
243
|
+
justify-content center
|
244
|
+
transition .3s .2s
|
245
|
+
transform scale(1)
|
246
|
+
background var(--efu-card-bg)
|
247
|
+
border-radius 50%
|
230
248
|
|
231
|
-
|
232
|
-
|
249
|
+
img
|
250
|
+
width 26px
|
251
|
+
height 26px
|
233
252
|
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
253
|
+
../ :hover .avatar-sticker
|
254
|
+
opacity 0
|
255
|
+
transform scale(0)
|
256
|
+
|
257
|
+
.author-info__desc
|
258
|
+
font-size 12px
|
259
|
+
color var(--efu-card-bg)
|
260
|
+
opacity .6
|
261
|
+
line-height 1
|
262
|
+
|
263
|
+
#author-info__sayhi
|
264
|
+
text-align center
|
265
|
+
width fit-content
|
266
|
+
color var(--efu-white)
|
267
|
+
background var(--efu-white-op)
|
268
|
+
font-size 12px
|
269
|
+
padding 2px 8px
|
270
|
+
border-radius 12px
|
271
|
+
cursor pointer
|
272
|
+
user-select none
|
273
|
+
transition .3s
|
274
|
+
margin auto
|
275
|
+
min-width 100px
|
250
276
|
|
251
|
-
|
252
|
-
|
253
|
-
|
277
|
+
/ [data-theme=dark] &
|
278
|
+
background #00000015
|
279
|
+
color var(--efu-black)
|
254
280
|
|
255
|
-
|
256
|
-
|
257
|
-
transform scale(0)
|
281
|
+
&:hover
|
282
|
+
color var(--efu-white)
|
258
283
|
|
259
|
-
|
260
|
-
|
261
|
-
color var(--efu-
|
262
|
-
|
263
|
-
line-height 1
|
284
|
+
&:hover
|
285
|
+
background var(--efu-card-bg)
|
286
|
+
color var(--efu-main)
|
287
|
+
transform scale(1.1)
|
264
288
|
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
289
|
+
.card-info-avatar.is-center
|
290
|
+
flex-direction column
|
291
|
+
display flex
|
292
|
+
align-items flex-start
|
293
|
+
|
294
|
+
.avatar-img-group
|
295
|
+
width 118px
|
296
|
+
height 118px
|
297
|
+
right calc(50% - 59px)
|
298
|
+
top 90px
|
299
|
+
border-radius 500px
|
300
|
+
position absolute
|
301
|
+
transition cubic-bezier(.69, .39, 0, 1.21) .3s
|
302
|
+
transform-origin bottom
|
303
|
+
border 5px solid var(--efu-card-bg)
|
304
|
+
|
305
|
+
../ :hover .avatar-img-group
|
306
|
+
opacity 0
|
307
|
+
transform scale(0)
|
278
308
|
|
279
|
-
|
280
|
-
|
281
|
-
|
309
|
+
.author-info__name
|
310
|
+
text-align left
|
311
|
+
font-weight 700
|
312
|
+
color var(--efu-card-bg)
|
313
|
+
font-size 20px
|
314
|
+
line-height 1
|
315
|
+
margin-bottom 5px
|
282
316
|
|
283
|
-
|
284
|
-
|
317
|
+
.author-info__top-group
|
318
|
+
display flex
|
319
|
+
height 28px
|
320
|
+
width 100%
|
285
321
|
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
322
|
+
.author-info__description_group
|
323
|
+
position absolute
|
324
|
+
top 50px
|
325
|
+
width 100%
|
326
|
+
left 0
|
327
|
+
padding 1.2rem
|
328
|
+
opacity 0
|
329
|
+
transition .3s
|
290
330
|
|
291
|
-
.
|
292
|
-
|
293
|
-
display flex
|
294
|
-
align-items flex-start
|
331
|
+
../ :hover .author-info__description_group
|
332
|
+
opacity 1
|
295
333
|
|
296
|
-
.
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
border-radius 500px
|
302
|
-
position absolute
|
303
|
-
transition cubic-bezier(.69, .39, 0, 1.21) .3s
|
304
|
-
transform-origin bottom
|
305
|
-
border 5px solid var(--efu-card-bg)
|
334
|
+
.author-info__description
|
335
|
+
line-height 1.38
|
336
|
+
margin .3rem 0
|
337
|
+
text-align left
|
338
|
+
color var(--efu-card-bg)
|
306
339
|
|
307
|
-
|
308
|
-
|
309
|
-
transform scale(0)
|
340
|
+
b
|
341
|
+
color var(--efu-card-bg)
|
310
342
|
|
311
|
-
.author-
|
343
|
+
.author-info__description2
|
344
|
+
line-height 1.38
|
345
|
+
margin .3rem 0
|
312
346
|
text-align left
|
313
|
-
|
347
|
+
width 100%
|
348
|
+
z-index 2
|
314
349
|
color var(--efu-card-bg)
|
315
|
-
font-size 20px
|
316
|
-
line-height 1
|
317
|
-
margin-bottom 5px
|
318
350
|
|
319
|
-
|
320
|
-
|
321
|
-
height 28px
|
322
|
-
width 100%
|
351
|
+
b
|
352
|
+
color var(--efu-card-bg)
|
323
353
|
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
354
|
+
.author-info__bottom-group
|
355
|
+
display flex
|
356
|
+
justify-content space-between
|
357
|
+
position absolute
|
358
|
+
padding 1.2rem
|
359
|
+
width 100%
|
360
|
+
left 0
|
361
|
+
bottom 0
|
362
|
+
align-items center
|
363
|
+
|
364
|
+
a.author-info__bottom-group-left:hover
|
365
|
+
opacity .8
|
366
|
+
|
367
|
+
.card-info-data
|
368
|
+
display table
|
369
|
+
margin .7rem 0 .2rem
|
370
|
+
width 100%
|
371
|
+
table-layout fixed
|
372
|
+
|
373
|
+
> div:nth-child(0) > a > div.headline
|
374
|
+
font-weight 700
|
375
|
+
|
376
|
+
> .card-info-data-item
|
377
|
+
display table-cell
|
331
378
|
transition .3s
|
332
379
|
|
333
|
-
|
334
|
-
|
380
|
+
a
|
381
|
+
.headline
|
382
|
+
color var(--efu-fontcolor)
|
383
|
+
font-size 1em
|
335
384
|
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
color var(--efu-card-bg)
|
385
|
+
.length-num
|
386
|
+
margin-top -.3rem
|
387
|
+
color var(--text-highlight-color)
|
388
|
+
font-size 1.4em
|
341
389
|
|
342
|
-
|
343
|
-
|
390
|
+
&:hover
|
391
|
+
background #000
|
392
|
+
border-radius 5px
|
344
393
|
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
394
|
+
.card-info-social-icons
|
395
|
+
margin 0
|
396
|
+
display flex
|
397
|
+
justify-content flex-start
|
398
|
+
flex-direction row
|
399
|
+
flex-wrap nowrap
|
400
|
+
cursor pointer
|
352
401
|
|
353
|
-
|
354
|
-
|
402
|
+
.social-icon
|
403
|
+
margin 0
|
404
|
+
margin-left 8px
|
405
|
+
color var(--efu-fontcolor)
|
406
|
+
font-size 1.4em
|
407
|
+
cursor pointer
|
408
|
+
display flex
|
355
409
|
|
356
|
-
|
410
|
+
i
|
411
|
+
transition all .3s ease 0s
|
412
|
+
padding 8px
|
413
|
+
border-radius 32px
|
414
|
+
cursor pointer
|
415
|
+
background var(--efu-white-op)
|
416
|
+
color var(--efu-card-bg)
|
417
|
+
width 40px
|
418
|
+
height 40px
|
357
419
|
display flex
|
358
|
-
justify-content space-between
|
359
|
-
position absolute
|
360
|
-
padding 1.2rem
|
361
|
-
width 100%
|
362
|
-
left 0
|
363
|
-
bottom 0
|
364
420
|
align-items center
|
421
|
+
justify-content center
|
365
422
|
|
366
|
-
|
367
|
-
|
423
|
+
&:hover
|
424
|
+
background var(--efu-white)
|
425
|
+
transform scale(1.1)
|
426
|
+
color var(--efu-main)
|
427
|
+
box-shadow none
|
368
428
|
|
369
|
-
|
370
|
-
|
371
|
-
margin .7rem 0 .2rem
|
372
|
-
width 100%
|
373
|
-
table-layout fixed
|
429
|
+
/ [data-theme=dark] &
|
430
|
+
background var(--efu-black-op)
|
374
431
|
|
375
|
-
|
376
|
-
|
432
|
+
&:hover
|
433
|
+
background-color var(--efu-black)
|
434
|
+
color var(--efu-white)
|
377
435
|
|
378
|
-
|
379
|
-
|
380
|
-
|
436
|
+
img.avatar-img
|
437
|
+
width 118px
|
438
|
+
right 0
|
439
|
+
top 0
|
440
|
+
border-radius 500px
|
441
|
+
position absolute
|
442
|
+
opacity 1
|
443
|
+
transition .3s
|
381
444
|
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
font-size 1em
|
445
|
+
[data-theme=dark] #aside-content
|
446
|
+
> .card-widget.card-info
|
447
|
+
border var(--style-border-always)
|
386
448
|
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
449
|
+
#aside-content
|
450
|
+
.card-webinfo
|
451
|
+
.webinfo
|
452
|
+
.webinfo-item-title
|
453
|
+
display flex
|
391
454
|
|
392
|
-
|
393
|
-
|
394
|
-
|
455
|
+
i
|
456
|
+
line-height: 2 !important
|
457
|
+
margin-right: 6px
|
458
|
+
width: 16px
|
459
|
+
text-align: center
|
460
|
+
font-size: 16px !important
|
395
461
|
|
396
|
-
.
|
397
|
-
margin 0
|
462
|
+
.webinfo-item
|
398
463
|
display flex
|
399
|
-
justify-content
|
400
|
-
|
401
|
-
|
402
|
-
|
464
|
+
justify-content space-between
|
465
|
+
white-space nowrap
|
466
|
+
-webkit-box-align center
|
467
|
+
align-items center
|
468
|
+
padding .1rem .5rem 0
|
403
469
|
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
font-size 1.4em
|
409
|
-
cursor pointer
|
410
|
-
display flex
|
470
|
+
div:first-child
|
471
|
+
-webkit-box-flex 1
|
472
|
+
flex 1 1 0
|
473
|
+
padding-right 1rem
|
411
474
|
|
412
|
-
i
|
413
|
-
transition all .3s ease 0s
|
414
|
-
padding 8px
|
415
|
-
border-radius 32px
|
416
|
-
cursor pointer
|
417
|
-
background var(--efu-white-op)
|
418
|
-
color var(--efu-card-bg)
|
419
|
-
width 40px
|
420
|
-
height 40px
|
421
|
-
display flex
|
422
|
-
align-items center
|
423
|
-
justify-content center
|
424
475
|
|
425
|
-
|
426
|
-
background var(--efu-white)
|
427
|
-
transform scale(1.1)
|
428
|
-
color var(--efu-main)
|
429
|
-
box-shadow none
|
476
|
+
.card-allinfo
|
430
477
|
|
431
|
-
|
432
|
-
|
478
|
+
hr
|
479
|
+
display flex
|
480
|
+
position relative
|
481
|
+
margin 1rem 0
|
482
|
+
border 1px dashed var(--efu-theme-op)
|
433
483
|
|
434
|
-
|
435
|
-
|
436
|
-
color var(--efu-white)
|
484
|
+
.item-headline
|
485
|
+
display none
|
437
486
|
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
border-radius 500px
|
443
|
-
position absolute
|
444
|
-
opacity 1
|
445
|
-
transition .3s
|
487
|
+
.card-tag-cloud
|
488
|
+
max-height 500px
|
489
|
+
overflow hidden
|
490
|
+
position relative
|
446
491
|
|
447
|
-
|
448
|
-
|
449
|
-
border var(--style-border-always)
|
492
|
+
&.all-tags
|
493
|
+
max-height none
|
450
494
|
|
451
|
-
|
452
|
-
|
453
|
-
.card-webinfo
|
454
|
-
.webinfo
|
455
|
-
.webinfo-item-title
|
456
|
-
display flex
|
495
|
+
&:after
|
496
|
+
display none
|
457
497
|
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
498
|
+
&:after
|
499
|
+
content ""
|
500
|
+
position absolute
|
501
|
+
bottom 0
|
502
|
+
left 0
|
503
|
+
right 0
|
504
|
+
height 150px
|
505
|
+
background-image linear-gradient(to top, var(--efu-card-bg), transparent)
|
506
|
+
pointer-events none
|
507
|
+
|
508
|
+
a
|
509
|
+
display inline-block
|
510
|
+
padding 0 0.3rem
|
511
|
+
font-size .8rem
|
512
|
+
border-radius 8px
|
464
513
|
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
white-space nowrap
|
469
|
-
-webkit-box-align center
|
470
|
-
align-items center
|
471
|
-
padding .1rem .5rem 0
|
514
|
+
sup
|
515
|
+
opacity .6
|
516
|
+
margin-left 2px
|
472
517
|
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
518
|
+
&:hover
|
519
|
+
background var(--efu-theme)
|
520
|
+
color var(--efu-white) !important
|
521
|
+
box-shadow var(--efu-shadow-theme)
|
522
|
+
cursor pointer
|
523
|
+
border-radius 5px
|
477
524
|
|
525
|
+
&.tags-cloud-more
|
526
|
+
width 100%
|
527
|
+
text-align center
|
528
|
+
border-radius 8px !important
|
529
|
+
border var(--style-border)
|
530
|
+
margin-top 8px
|
531
|
+
font-size 16px !important
|
532
|
+
|
533
|
+
span#more-tags-btn
|
534
|
+
transition .3s
|
535
|
+
width 100%
|
536
|
+
text-align center
|
537
|
+
background var(--efu-secondbg)
|
538
|
+
color var(--efu-fontcolor)
|
539
|
+
border-radius 8px
|
540
|
+
display flex
|
541
|
+
justify-content center
|
542
|
+
font-size 14px
|
543
|
+
padding 4px 0
|
544
|
+
border var(--style-border-always)
|
545
|
+
box-shadow var(--heo-shadow-border)
|
546
|
+
cursor pointer
|
478
547
|
|
479
|
-
|
548
|
+
&:hover
|
549
|
+
background var(--efu-main)
|
480
550
|
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
551
|
+
.card-archives
|
552
|
+
ul.card-archive-list
|
553
|
+
margin 0
|
554
|
+
padding 0
|
555
|
+
list-style none
|
556
|
+
display: flex
|
557
|
+
flex-direction: row
|
558
|
+
justify-content: space-between
|
559
|
+
flex-wrap: wrap
|
486
560
|
|
487
|
-
.item
|
488
|
-
|
561
|
+
> .card-archive-list-item
|
562
|
+
width 100%
|
563
|
+
flex 0 0 48%
|
489
564
|
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
565
|
+
a
|
566
|
+
display inline-block
|
567
|
+
padding .15rem .5rem
|
568
|
+
width 100%
|
569
|
+
color var(--efu-fontcolor)
|
570
|
+
transition all .4s ease 0s
|
571
|
+
border-radius: 8px
|
572
|
+
margin: 4px 0
|
573
|
+
flex-direction: column
|
574
|
+
align-content: space-between
|
575
|
+
border: var(--style-border)
|
576
|
+
|
577
|
+
&:hover
|
578
|
+
background-color var(--efu-theme)
|
579
|
+
color var(--efu-card-bg)
|
580
|
+
border-radius 5px
|
581
|
+
box-shadow: var(--efu-shadow-theme)
|
582
|
+
padding: .15rem .5rem
|
583
|
+
border: var(--style-border-hover)
|
584
|
+
cursor pointer
|
494
585
|
|
495
|
-
|
496
|
-
|
586
|
+
span
|
587
|
+
display inline-block
|
588
|
+
vertical-align bottom
|
497
589
|
|
498
|
-
|
499
|
-
|
590
|
+
&:last-child
|
591
|
+
text-align right
|
592
|
+
margin-left: 4px
|
500
593
|
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
bottom 0
|
505
|
-
left 0
|
506
|
-
right 0
|
507
|
-
height 150px
|
508
|
-
background-image linear-gradient(to top, var(--efu-card-bg), transparent)
|
509
|
-
pointer-events none
|
594
|
+
.card-archive-list-count-group
|
595
|
+
display flex
|
596
|
+
flex-direction row
|
510
597
|
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
598
|
+
span.card-archive-list-count
|
599
|
+
ext-align left
|
600
|
+
font-size 1.1rem
|
601
|
+
line-height 0.9
|
602
|
+
font-weight bold
|
603
|
+
|
604
|
+
.card-archive-list-count-unit
|
605
|
+
width auto
|
606
|
+
text-align left
|
607
|
+
font-size 14px
|
608
|
+
font-weight 700
|
516
609
|
|
517
|
-
|
610
|
+
.card-archive-list-date
|
611
|
+
font-size 14px
|
518
612
|
opacity .6
|
519
|
-
margin-left 2px
|
520
613
|
|
521
|
-
&:hover
|
522
|
-
background var(--efu-theme)
|
523
|
-
color var(--efu-white) !important
|
524
|
-
box-shadow var(--efu-shadow-theme)
|
525
|
-
cursor pointer
|
526
|
-
border-radius 5px
|
527
614
|
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
border-radius 8px !important
|
532
|
-
border var(--style-border)
|
533
|
-
margin-top 8px
|
534
|
-
font-size 16px !important
|
615
|
+
#aside-content .card-tag-cloud a.highlight
|
616
|
+
color var(--efu-lighttext)
|
617
|
+
font-weight 500
|
535
618
|
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
border-radius
|
619
|
+
#aside-content
|
620
|
+
.card-recent-post
|
621
|
+
.aside-list
|
622
|
+
.aside-list-item
|
623
|
+
padding 2px 6px 8px 6px
|
624
|
+
border-radius 12px
|
625
|
+
transition .3s
|
626
|
+
margin 4px 0
|
627
|
+
cursor pointer
|
542
628
|
display flex
|
543
|
-
|
544
|
-
font-size 14px
|
545
|
-
user-select none
|
546
|
-
padding 4px 0
|
547
|
-
border var(--style-border-always)
|
548
|
-
box-shadow var(--heo-shadow-border)
|
549
|
-
|
550
|
-
.card-archives
|
551
|
-
ul.card-archive-list
|
552
|
-
margin 0
|
553
|
-
padding 0
|
554
|
-
list-style none
|
555
|
-
display: flex
|
556
|
-
flex-direction: row
|
557
|
-
justify-content: space-between
|
558
|
-
flex-wrap: wrap
|
559
|
-
|
560
|
-
> .card-archive-list-item
|
561
|
-
width 100%
|
562
|
-
flex 0 0 48%
|
629
|
+
align-items flex-start
|
563
630
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
width 100%
|
568
|
-
color var(--efu-fontcolor)
|
569
|
-
transition all .4s ease 0s
|
570
|
-
border-radius: 8px
|
571
|
-
margin: 4px 0
|
572
|
-
flex-direction: column
|
573
|
-
align-content: space-between
|
574
|
-
border: var(--style-border)
|
575
|
-
|
576
|
-
&:hover
|
577
|
-
background-color var(--efu-theme)
|
578
|
-
color var(--efu-card-bg)
|
579
|
-
border-radius 5px
|
580
|
-
box-shadow: var(--efu-shadow-theme)
|
581
|
-
padding: .15rem .5rem
|
582
|
-
border: var(--style-border-hover)
|
583
|
-
cursor pointer
|
584
|
-
|
585
|
-
span
|
586
|
-
display inline-block
|
587
|
-
vertical-align bottom
|
588
|
-
|
589
|
-
&:last-child
|
590
|
-
text-align right
|
591
|
-
margin-left: 4px
|
592
|
-
|
593
|
-
.card-archive-list-count-group
|
594
|
-
display flex
|
595
|
-
flex-direction row
|
596
|
-
|
597
|
-
span.card-archive-list-count
|
598
|
-
ext-align left
|
599
|
-
font-size 1.1rem
|
600
|
-
line-height 0.9
|
601
|
-
font-weight bold
|
602
|
-
|
603
|
-
.card-archive-list-count-unit
|
604
|
-
width auto
|
605
|
-
text-align left
|
606
|
-
font-size 14px
|
607
|
-
font-weight 700
|
608
|
-
|
609
|
-
.card-archive-list-date
|
610
|
-
font-size 14px
|
611
|
-
opacity .6
|
612
|
-
|
613
|
-
|
614
|
-
if hexo-config('aside.tags.highlight')
|
615
|
-
for tag in highlightTags
|
616
|
-
tag = '"/tags/' + tag + '/"'
|
617
|
-
#aside-content .card-tag-cloud a[href*={tag}]
|
618
|
-
color var(--efu-lighttext)
|
619
|
-
font-weight 500
|
620
|
-
|
621
|
-
if "newestPost" in aside
|
622
|
-
#aside-content
|
623
|
-
.card-recent-post
|
624
|
-
.aside-list
|
625
|
-
.aside-list-item
|
626
|
-
padding 2px 6px 8px 6px
|
627
|
-
border-radius 12px
|
631
|
+
&:hover
|
632
|
+
background var(--efu-main)
|
633
|
+
color var(--efu-white)
|
628
634
|
transition .3s
|
629
|
-
|
630
|
-
cursor pointer
|
631
|
-
display flex
|
632
|
-
align-items flex-start
|
635
|
+
box-shadow var(--efu-shadow-main)
|
633
636
|
|
634
|
-
|
635
|
-
background var(--efu-main)
|
637
|
+
.content a
|
636
638
|
color var(--efu-white)
|
637
|
-
transition .3s
|
638
|
-
box-shadow var(--efu-shadow-main)
|
639
639
|
|
640
|
-
|
641
|
-
|
640
|
+
.thumbnail
|
641
|
+
-webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
|
642
|
+
border-radius 8px
|
643
|
+
border var(--style-border)
|
644
|
+
display flex
|
645
|
+
align-items center
|
646
|
+
overflow hidden
|
647
|
+
width 2.1em
|
648
|
+
height 2.1em
|
649
|
+
margin-top 4px
|
650
|
+
|
651
|
+
img
|
652
|
+
width 140%
|
653
|
+
height 140%
|
654
|
+
transition all .6s ease 0s
|
655
|
+
object-fit cover
|
656
|
+
|
657
|
+
.content
|
658
|
+
-webkit-box-flex 1
|
659
|
+
flex 1 1 0
|
660
|
+
padding-left 10px
|
661
|
+
word-break break-all
|
662
|
+
display flex
|
663
|
+
flex-direction column
|
642
664
|
|
643
|
-
.
|
644
|
-
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
665
|
+
.title
|
666
|
+
font-weight 700
|
667
|
+
padding 2px 0
|
668
|
+
margin-bottom 8px
|
669
|
+
color var(--efu-fontcolor)
|
670
|
+
font-size 95%
|
671
|
+
line-height 1.3
|
672
|
+
-webkit-line-clamp 2
|
649
673
|
overflow hidden
|
650
|
-
width 2.1em
|
651
|
-
height 2.1em
|
652
|
-
margin-top 4px
|
653
|
-
|
654
|
-
img
|
655
|
-
width 140%
|
656
|
-
height 140%
|
657
|
-
transition all .6s ease 0s
|
658
|
-
object-fit cover
|
659
|
-
|
660
|
-
.content
|
661
|
-
-webkit-box-flex 1
|
662
|
-
flex 1 1 0
|
663
|
-
padding-left 10px
|
664
|
-
word-break break-all
|
665
|
-
display flex
|
666
|
-
flex-direction column
|
667
|
-
|
668
|
-
.title
|
669
|
-
font-weight 700
|
670
|
-
padding 2px 0
|
671
|
-
margin-bottom 8px
|
672
|
-
color var(--efu-fontcolor)
|
673
|
-
font-size 95%
|
674
|
-
line-height 1.3
|
675
|
-
-webkit-line-clamp 2
|
676
|
-
overflow hidden
|
677
|
-
|
678
|
-
.article-recent_post_categories
|
679
|
-
font-size 12px
|
680
|
-
font-weight 700
|
681
|
-
opacity .6
|
682
|
-
line-height 1
|
683
|
-
|
684
|
-
if "flip" in aside
|
685
|
-
favicon = hexo-config('aside.flip.favicon')
|
686
|
-
face = hexo-config('aside.flip.face')
|
687
|
-
faceback = hexo-config('aside.flip.backface')
|
688
|
-
backcolor = convert(hexo-config('aside.flip.backcolor'))
|
689
|
-
|
690
|
-
#aside-content
|
691
|
-
.card-widget.card-platform
|
692
|
-
background backcolor
|
693
|
-
display flex
|
694
|
-
justify-content center
|
695
|
-
align-content center
|
696
|
-
padding 0
|
697
|
-
cursor pointer
|
698
|
-
border none
|
699
|
-
height 110px
|
700
|
-
border var(--style-border)
|
701
|
-
transition 0.6s
|
702
674
|
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
top 0
|
709
|
-
background url(favicon) center center no-repeat
|
710
|
-
content ''
|
711
|
-
background-size cover
|
712
|
-
transition .2s cubic-bezier(.45, .04, .43, 1.21)
|
713
|
-
|
714
|
-
&:hover:before
|
715
|
-
top 100%
|
716
|
-
opacity 0
|
717
|
-
transition .3s ease-out
|
675
|
+
.article-recent_post_categories
|
676
|
+
font-size 12px
|
677
|
+
font-weight 700
|
678
|
+
opacity .6
|
679
|
+
line-height 1
|
718
680
|
|
719
|
-
&:hover
|
720
|
-
#flip-content
|
721
|
-
transform rotateY(180deg)
|
722
681
|
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
height 110px
|
728
|
-
z-index 1
|
682
|
+
favicon = hexo-config('aside.flip.favicon')
|
683
|
+
face = hexo-config('aside.flip.face')
|
684
|
+
faceback = hexo-config('aside.flip.backface')
|
685
|
+
backcolor = convert(hexo-config('aside.flip.backcolor'))
|
729
686
|
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
687
|
+
#aside-content
|
688
|
+
.card-widget.card-platform
|
689
|
+
background backcolor
|
690
|
+
display flex
|
691
|
+
justify-content center
|
692
|
+
align-content center
|
693
|
+
padding 0
|
694
|
+
cursor pointer
|
695
|
+
border none
|
696
|
+
height 110px
|
697
|
+
border var(--style-border)
|
698
|
+
transition 0.6s
|
735
699
|
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
700
|
+
&:before
|
701
|
+
position absolute
|
702
|
+
width 100%
|
703
|
+
height 100%
|
704
|
+
left 0
|
705
|
+
top 0
|
706
|
+
background url(favicon) center center no-repeat
|
707
|
+
content ''
|
708
|
+
background-size cover
|
709
|
+
transition .2s cubic-bezier(.45, .04, .43, 1.21)
|
710
|
+
|
711
|
+
&:hover:before
|
712
|
+
top 100%
|
713
|
+
opacity 0
|
714
|
+
transition .3s ease-out
|
744
715
|
|
745
|
-
|
746
|
-
|
747
|
-
-webkit-transform rotateY(180deg)
|
716
|
+
&:hover
|
717
|
+
#flip-content
|
748
718
|
transform rotateY(180deg)
|
749
|
-
|
750
|
-
|
751
|
-
|
719
|
+
|
720
|
+
#flip-wrapper
|
721
|
+
perspective 1000
|
722
|
+
position relative
|
723
|
+
width 235px
|
724
|
+
height 110px
|
725
|
+
z-index 1
|
726
|
+
|
727
|
+
#flip-wrapper #flip-content
|
728
|
+
width 100%
|
729
|
+
height 100%
|
730
|
+
transform-style preserve-3d
|
731
|
+
transition cubic-bezier(0, 0, 0, 1.29) 0.3s
|
732
|
+
|
733
|
+
#flip-wrapper #flip-content .face
|
734
|
+
position absolute
|
735
|
+
width 100%
|
736
|
+
height 100%
|
737
|
+
-webkit-backface-visibility hidden
|
738
|
+
backface-visibility hidden
|
739
|
+
background url(face) center center no-repeat
|
740
|
+
background-size 100%
|
741
|
+
|
742
|
+
#flip-wrapper #flip-content .face.back
|
743
|
+
display block
|
744
|
+
-webkit-transform rotateY(180deg)
|
745
|
+
transform rotateY(180deg)
|
746
|
+
box-sizing border-box
|
747
|
+
background url(faceback) center center no-repeat
|
748
|
+
background-size 100%
|