hexo-theme-solitude 1.7.0 → 1.7.2

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.
@@ -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
- if "about" in aside
187
- #aside-content
188
- .card-widget
189
- &:hover
190
- .avatar-sticker
191
- opacity 0
192
- transform scale(0)
193
-
194
- &.card-recent-post
195
- padding .4rem .6rem !important
196
-
197
- &.card-info
198
- padding 0 !important
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
- > div.card-info-avatarimg
224
- overflow hidden
225
- background var(--efu-yellow)
226
- transition 1.5s
227
- min-height 160px
228
- position relative
229
- box-shadow var(--efu-shadow-yellow)
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
- &:hover img
232
- transform scale(1.03)
249
+ img
250
+ width 26px
251
+ height 26px
233
252
 
234
- .card-info
235
- .avatar-sticker
236
- position absolute
237
- bottom -2px
238
- right -2px
239
- width 33px
240
- height 33px
241
- line-height 34px
242
- z-index 0
243
- display flex
244
- align-items center
245
- justify-content center
246
- transition .3s .2s
247
- transform scale(1)
248
- background var(--efu-card-bg)
249
- border-radius 50%
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
- img
252
- width 26px
253
- height 26px
277
+ / [data-theme=dark] &
278
+ background #00000015
279
+ color var(--efu-black)
254
280
 
255
- ../ :hover .avatar-sticker
256
- opacity 0
257
- transform scale(0)
281
+ &:hover
282
+ color var(--efu-white)
258
283
 
259
- .author-info__desc
260
- font-size 12px
261
- color var(--efu-card-bg)
262
- opacity .6
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
- #author-info__sayhi
266
- text-align center
267
- width fit-content
268
- color var(--efu-white)
269
- background var(--efu-white-op)
270
- font-size 12px
271
- padding 2px 8px
272
- border-radius 12px
273
- cursor pointer
274
- user-select none
275
- transition .3s
276
- margin auto
277
- min-width 100px
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
- / [data-theme=dark] &
280
- background #00000015
281
- color var(--efu-black)
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
- &:hover
284
- color var(--efu-white)
317
+ .author-info__top-group
318
+ display flex
319
+ height 28px
320
+ width 100%
285
321
 
286
- &:hover
287
- background var(--efu-card-bg)
288
- color var(--efu-main)
289
- transform scale(1.1)
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
- .card-info-avatar.is-center
292
- flex-direction column
293
- display flex
294
- align-items flex-start
331
+ ../ :hover .author-info__description_group
332
+ opacity 1
295
333
 
296
- .avatar-img-group
297
- width 118px
298
- height 118px
299
- right calc(50% - 59px)
300
- top 90px
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
- ../ :hover .avatar-img-group
308
- opacity 0
309
- transform scale(0)
340
+ b
341
+ color var(--efu-card-bg)
310
342
 
311
- .author-info__name
343
+ .author-info__description2
344
+ line-height 1.38
345
+ margin .3rem 0
312
346
  text-align left
313
- font-weight 700
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
- .author-info__top-group
320
- display flex
321
- height 28px
322
- width 100%
351
+ b
352
+ color var(--efu-card-bg)
323
353
 
324
- .author-info__description_group
325
- position absolute
326
- top 50px
327
- width 100%
328
- left 0
329
- padding 1.2rem
330
- opacity 0
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
- ../ :hover .author-info__description_group
334
- opacity 1
380
+ a
381
+ .headline
382
+ color var(--efu-fontcolor)
383
+ font-size 1em
335
384
 
336
- .author-info__description
337
- line-height 1.38
338
- margin .3rem 0
339
- text-align left
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
- b
343
- color var(--efu-card-bg)
390
+ &:hover
391
+ background #000
392
+ border-radius 5px
344
393
 
345
- .author-info__description2
346
- line-height 1.38
347
- margin .3rem 0
348
- text-align left
349
- width 100%
350
- z-index 2
351
- color var(--efu-card-bg)
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
- b
354
- color var(--efu-card-bg)
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
- .author-info__bottom-group
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
- a.author-info__bottom-group-left:hover
367
- opacity .8
423
+ &:hover
424
+ background var(--efu-white)
425
+ transform scale(1.1)
426
+ color var(--efu-main)
427
+ box-shadow none
368
428
 
369
- .card-info-data
370
- display table
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
- > div:nth-child(0) > a > div.headline
376
- font-weight 700
432
+ &:hover
433
+ background-color var(--efu-black)
434
+ color var(--efu-white)
377
435
 
378
- > .card-info-data-item
379
- display table-cell
380
- transition .3s
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
- a
383
- .headline
384
- color var(--efu-fontcolor)
385
- font-size 1em
445
+ [data-theme=dark] #aside-content
446
+ > .card-widget.card-info
447
+ border var(--style-border-always)
386
448
 
387
- .length-num
388
- margin-top -.3rem
389
- color var(--text-highlight-color)
390
- font-size 1.4em
449
+ #aside-content
450
+ .card-webinfo
451
+ .webinfo
452
+ .webinfo-item-title
453
+ display flex
391
454
 
392
- &:hover
393
- background #000
394
- border-radius 5px
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
- .card-info-social-icons
397
- margin 0
462
+ .webinfo-item
398
463
  display flex
399
- justify-content flex-start
400
- flex-direction row
401
- flex-wrap nowrap
402
- cursor pointer
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
- .social-icon
405
- margin 0
406
- margin-left 8px
407
- color var(--efu-fontcolor)
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
- &:hover
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
- / [data-theme=dark] &
432
- background var(--efu-black-op)
478
+ hr
479
+ display flex
480
+ position relative
481
+ margin 1rem 0
482
+ border 1px dashed var(--efu-theme-op)
433
483
 
434
- &:hover
435
- background-color var(--efu-black)
436
- color var(--efu-white)
484
+ .item-headline
485
+ display none
437
486
 
438
- img.avatar-img
439
- width 118px
440
- right 0
441
- top 0
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
- [data-theme=dark] #aside-content
448
- > .card-widget.card-info
449
- border var(--style-border-always)
492
+ &.all-tags
493
+ max-height none
450
494
 
451
- if "allInfo" in aside
452
- #aside-content
453
- .card-webinfo
454
- .webinfo
455
- .webinfo-item-title
456
- display flex
495
+ &:after
496
+ display none
457
497
 
458
- i
459
- line-height: 2 !important
460
- margin-right: 6px
461
- width: 16px
462
- text-align: center
463
- font-size: 16px !important
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
- .webinfo-item
466
- display flex
467
- justify-content space-between
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
- div:first-child
474
- -webkit-box-flex 1
475
- flex 1 1 0
476
- padding-right 1rem
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
- .card-allinfo
548
+ &:hover
549
+ background var(--efu-main)
480
550
 
481
- hr
482
- display flex
483
- position relative
484
- margin 1rem 0
485
- border 1px dashed var(--efu-theme-op)
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-headline
488
- display none
561
+ > .card-archive-list-item
562
+ width 100%
563
+ flex 0 0 48%
489
564
 
490
- .card-tag-cloud
491
- max-height 500px
492
- overflow hidden
493
- position relative
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
- &.all-tags
496
- max-height none
586
+ span
587
+ display inline-block
588
+ vertical-align bottom
497
589
 
498
- &:after
499
- display none
590
+ &:last-child
591
+ text-align right
592
+ margin-left: 4px
500
593
 
501
- &:after
502
- content ""
503
- position absolute
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
- a
512
- display inline-block
513
- padding 0 0.3rem
514
- font-size .8rem
515
- border-radius 8px
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
- sup
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
- &.tags-cloud-more
529
- width 100%
530
- text-align center
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
- a#more-tags-btn
537
- width 100%
538
- text-align center
539
- background var(--efu-secondbg)
540
- color var(--efu-fontcolor)
541
- border-radius 8px
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
- justify-content center
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
- a
565
- display inline-block
566
- padding .15rem .5rem
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
- margin 4px 0
630
- cursor pointer
631
- display flex
632
- align-items flex-start
635
+ box-shadow var(--efu-shadow-main)
633
636
 
634
- &:hover
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
- .content a
641
- color var(--efu-white)
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
- .thumbnail
644
- -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
645
- border-radius 8px
646
- border var(--style-border)
647
- display flex
648
- align-items center
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
- &:before
704
- position absolute
705
- width 100%
706
- height 100%
707
- left 0
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
- #flip-wrapper
724
- perspective 1000
725
- position relative
726
- width 235px
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
- #flip-wrapper #flip-content
731
- width 100%
732
- height 100%
733
- transform-style preserve-3d
734
- transition cubic-bezier(0, 0, 0, 1.29) 0.3s
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
- #flip-wrapper #flip-content .face
737
- position absolute
738
- width 100%
739
- height 100%
740
- -webkit-backface-visibility hidden
741
- backface-visibility hidden
742
- background url(face) center center no-repeat
743
- background-size 100%
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
- #flip-wrapper #flip-content .face.back
746
- display block
747
- -webkit-transform rotateY(180deg)
716
+ &:hover
717
+ #flip-content
748
718
  transform rotateY(180deg)
749
- box-sizing border-box
750
- background url(faceback) center center no-repeat
751
- background-size 100%
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%