hexo-theme-solitude 1.5.11 → 1.6.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.
Files changed (136) hide show
  1. package/.github/logo.svg +44 -10
  2. package/README.md +22 -2
  3. package/README_zh-cn.md +22 -2
  4. package/README_zh-tw.md +22 -2
  5. package/_config.yml +107 -107
  6. package/languages/en.yml +45 -63
  7. package/languages/zh-CN.yml +32 -55
  8. package/languages/zh-TW.yml +32 -55
  9. package/layout/404.pug +1 -1
  10. package/layout/includes/console.pug +5 -5
  11. package/layout/includes/footer.pug +7 -7
  12. package/layout/includes/head/config.pug +15 -9
  13. package/layout/includes/head/opengraph.pug +2 -2
  14. package/layout/includes/head/pwa.pug +6 -6
  15. package/layout/includes/head.pug +1 -1
  16. package/layout/includes/inject/body.pug +0 -4
  17. package/layout/includes/inject/head.pug +1 -2
  18. package/layout/includes/keyboard.pug +1 -1
  19. package/layout/includes/loading.pug +1 -1
  20. package/layout/includes/nav.pug +1 -1
  21. package/layout/includes/sidebar.pug +19 -3
  22. package/layout/includes/widgets/home/banner.pug +1 -1
  23. package/layout/includes/widgets/home/categoryBar.pug +2 -2
  24. package/layout/includes/widgets/home/categoryGroup.pug +0 -1
  25. package/layout/includes/widgets/home/postList.pug +74 -29
  26. package/layout/includes/widgets/home/topGroup.pug +2 -2
  27. package/layout/includes/widgets/nav/group.pug +2 -2
  28. package/layout/includes/widgets/nav/right.pug +1 -1
  29. package/layout/includes/widgets/page/about/award.pug +8 -9
  30. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  31. package/layout/includes/widgets/page/about/other.pug +1 -1
  32. package/layout/includes/widgets/page/banner.pug +1 -1
  33. package/layout/includes/widgets/page/links/banner.pug +5 -4
  34. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  35. package/layout/includes/widgets/post/award.pug +10 -15
  36. package/layout/includes/widgets/post/copyright.pug +2 -2
  37. package/layout/includes/widgets/post/postMeta.pug +10 -10
  38. package/layout/includes/widgets/randomlink.pug +3 -2
  39. package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -0
  40. package/layout/includes/widgets/third-party/comments/waline.pug +1 -0
  41. package/layout/page.pug +1 -1
  42. package/package.json +1 -1
  43. package/plugins.yml +0 -4
  44. package/scripts/event/cdn.js +6 -11
  45. package/scripts/event/merge_config.js +19 -3
  46. package/scripts/event/welcome.js +2 -2
  47. package/scripts/filter/checkThemeConfig.js +2 -2
  48. package/scripts/filter/default.js +4 -2
  49. package/scripts/filter/lazyload.js +18 -5
  50. package/scripts/filter/randomPosts.js +1 -1
  51. package/scripts/helper/stylus.js +8 -14
  52. package/source/css/{_widgets/_comment → _comments}/index.styl +14 -1
  53. package/source/css/{_widgets/_comment → _comments}/twikoo.styl +3 -0
  54. package/source/css/_global/index.styl +362 -1
  55. package/source/css/_highlight/prismjs/line-number.styl +1 -1
  56. package/source/css/{_widgets/_mixins → _layout}/article-sort.styl +1 -1
  57. package/source/css/_layout/aside.styl +751 -0
  58. package/source/css/_layout/capsule.styl +213 -0
  59. package/source/css/{_widgets/_extra → _layout}/console.styl +7 -6
  60. package/source/css/{_widgets/_mixins → _layout}/footer.styl +1 -0
  61. package/source/css/_layout/fullpage.styl +47 -0
  62. package/source/css/_layout/header.styl +2 -0
  63. package/source/css/_layout/keyboard.styl +60 -0
  64. package/source/css/_layout/pace.styl +40 -0
  65. package/source/css/_layout/rightmenu.styl +79 -0
  66. package/source/css/{_widgets/_mixins → _layout}/sidebar.styl +30 -20
  67. package/source/css/_layout/universe.styl +18 -0
  68. package/source/css/_page/_home/home-top.styl +2 -4
  69. package/source/css/_page/_home/recent-post.styl +407 -170
  70. package/source/css/_page/douban.styl +111 -109
  71. package/source/css/_page/links.styl +5 -5
  72. package/source/css/_page/share.styl +1 -17
  73. package/source/css/{_widgets/_post → _post}/content.styl +13 -3
  74. package/source/css/{_widgets/_post → _post}/tools.styl +3 -9
  75. package/source/css/index.styl +20 -5
  76. package/source/css/third_party/snackbar.min.css +1 -0
  77. package/source/css/{_global/var.styl → var.styl} +7 -1
  78. package/source/img/avatar.png +0 -0
  79. package/source/img/default.png +0 -0
  80. package/source/img/flower.gif +0 -0
  81. package/source/img/pwa/favicon.ico +0 -0
  82. package/source/img/pwa/favicon_128.ico +0 -0
  83. package/source/img/pwa/favicon_16.ico +0 -0
  84. package/source/img/pwa/favicon_256.ico +0 -0
  85. package/source/img/pwa/favicon_32.ico +0 -0
  86. package/source/js/{comment/twikoo_commentBarrage.js → commentBarrage/twikoo.js} +0 -6
  87. package/source/js/{comment/waline_commentBarrage.js → commentBarrage/waline.js} +0 -2
  88. package/source/js/main.js +73 -71
  89. package/source/js/utils.js +1 -1
  90. package/layout/includes/recent-posts.pug +0 -9
  91. package/layout/includes/widgets/rightside/index.pug +0 -87
  92. package/source/css/_layout/basic.styl +0 -308
  93. package/source/css/_layout/index.styl +0 -125
  94. package/source/css/_widgets/_aside/allinfo.styl +0 -168
  95. package/source/css/_widgets/_aside/flip.styl +0 -67
  96. package/source/css/_widgets/_aside/index.styl +0 -90
  97. package/source/css/_widgets/_aside/info.styl +0 -263
  98. package/source/css/_widgets/_aside/newPost.styl +0 -61
  99. package/source/css/_widgets/_aside/toc.styl +0 -108
  100. package/source/css/_widgets/_aside/welcome.styl +0 -14
  101. package/source/css/_widgets/_extra/fullpage.styl +0 -46
  102. package/source/css/_widgets/_extra/music.styl +0 -218
  103. package/source/css/_widgets/_extra/pace.styl +0 -39
  104. package/source/css/_widgets/_extra/rightmenu.styl +0 -78
  105. package/source/css/_widgets/_mixins/keyboard.styl +0 -59
  106. package/source/css/_widgets/index.styl +0 -56
  107. package/source/img/logo.png +0 -0
  108. package/source/js/rightside.js +0 -221
  109. /package/source/css/{_widgets/_comment → _comments}/waline.styl +0 -0
  110. /package/source/css/{_widgets/_mixins → _layout}/other.styl +0 -0
  111. /package/source/css/{_widgets/_post → _post}/commentBarrage.styl +0 -0
  112. /package/source/css/{_widgets/_post → _post}/copyright.styl +0 -0
  113. /package/source/css/{_widgets/_post → _post}/index.styl +0 -0
  114. /package/source/css/{_widgets/_post → _post}/meta.styl +0 -0
  115. /package/source/css/{_widgets/_post → _post}/pagination.styl +0 -0
  116. /package/source/css/{_widgets/_post → _post}/postAI.styl +0 -0
  117. /package/source/css/{_widgets/_post → _post}/relatedPost.styl +0 -0
  118. /package/source/css/{_widgets/_search → _search}/algolia-search.styl +0 -0
  119. /package/source/css/{_widgets/_search → _search}/local-search.styl +0 -0
  120. /package/source/css/{_widgets/_tags → _tags}/button.styl +0 -0
  121. /package/source/css/{_widgets/_tags → _tags}/checkbox.styl +0 -0
  122. /package/source/css/{_widgets/_tags → _tags}/fold.styl +0 -0
  123. /package/source/css/{_widgets/_tags → _tags}/gallery.styl +0 -0
  124. /package/source/css/{_widgets/_tags → _tags}/index.styl +0 -0
  125. /package/source/css/{_widgets/_tags → _tags}/label.styl +0 -0
  126. /package/source/css/{_widgets/_tags → _tags}/link.styl +0 -0
  127. /package/source/css/{_widgets/_tags → _tags}/media.styl +0 -0
  128. /package/source/css/{_widgets/_tags → _tags}/mermaid.styl +0 -0
  129. /package/source/css/{_widgets/_tags → _tags}/note.styl +0 -0
  130. /package/source/css/{_widgets/_tags → _tags}/span.styl +0 -0
  131. /package/source/css/{_widgets/_tags → _tags}/tabs.styl +0 -0
  132. /package/source/css/{_widgets/_tags → _tags}/timeline.styl +0 -0
  133. /package/source/js/{lately.min.js → third_party/lately.min.js} +0 -0
  134. /package/source/js/{sco-ai.min.js → third_party/sco-ai.min.js} +0 -0
  135. /package/source/js/{universe.min.js → third_party/universe.min.js} +0 -0
  136. /package/source/js/{waterfall.min.js → third_party/waterfall.min.js} +0 -0
@@ -0,0 +1,751 @@
1
+ #aside-content
2
+ width 300px
3
+
4
+ > .card-widget:first-child
5
+ transition: .3s
6
+ border: none
7
+ box-shadow: none
8
+ background: var(--efu-main)
9
+ margin-top: 0
10
+
11
+ +minWidth900()
12
+ padding-left 15px
13
+
14
+ +maxWidth1200()
15
+ display none
16
+
17
+ +minWidth1300()
18
+ padding-left 1rem
19
+ animation slide-in .6s .3s backwards
20
+
21
+ .item-headline
22
+ padding-bottom 0
23
+ margin-left 8px
24
+ font-size 1em
25
+ font-weight 700
26
+ display flex
27
+ align-items center
28
+
29
+ i
30
+ font-size 16px
31
+ max-width 20px
32
+
33
+ span
34
+ margin-left 4px
35
+
36
+ + div, + ul
37
+ padding 0
38
+ user-select none
39
+
40
+ .card-widget
41
+ box-shadow var(--efu-shadow-border)
42
+ background var(--efu-card-bg)
43
+ border var(--style-border)
44
+ transition 0.3s
45
+ border-radius 12px
46
+ position relative
47
+ overflow hidden
48
+ margin-top 1rem
49
+ padding 1rem 1.2rem
50
+
51
+ &:hover
52
+ box-shadow var(--efu-shadow-border)
53
+
54
+ > .card-widget
55
+ &:first-child
56
+ transition 0.3s
57
+ border none
58
+ margin-top 0
59
+
60
+ .sticky_layout
61
+ top calc(60px + 1rem)
62
+ position sticky
63
+ transition: top .3s ease 0s
64
+
65
+ +minWidth900()
66
+ html.hide-aside .layout
67
+ -webkit-box-pack: center
68
+ justify-content: center
69
+
70
+ > div:first-child
71
+ width 100%
72
+
73
+ html.hide-aside .layout > .aside-content
74
+ display: none
75
+
76
+ // toc
77
+ #aside-content
78
+ .card-toc
79
+ padding .5rem .5rem
80
+
81
+ &:hover
82
+ box-shadow var(--efu-shadow-border)
83
+
84
+ +minWidth900()
85
+ right 0 !important
86
+
87
+ .toc-content
88
+ overflow-y auto
89
+ max-height calc(100vh - 300px)
90
+
91
+ &::before
92
+ position absolute
93
+ top .6rem
94
+ right 1.2rem
95
+ color #a9a9a9
96
+ content attr(progress-percentage)
97
+ font-style italic
98
+ font-size 1.2rem
99
+
100
+ .toc-link.active
101
+ border-left-color #0061cc
102
+ background #0079ff
103
+ color #fff
104
+
105
+ #card-toc
106
+ +minWidth901()
107
+ right 0
108
+
109
+ .toc-content
110
+ overflow-y: auto
111
+ max-height: calc(100vh - 300px)
112
+
113
+ * > .toc-item > .toc-child
114
+ margin-left 10px
115
+ transition display .3s ease-in-out 0s
116
+ padding-left 10px
117
+
118
+ ol
119
+ margin 0
120
+ padding-left .4rem
121
+
122
+ &ul
123
+ list-style: none
124
+
125
+ > ol
126
+ padding-left 0
127
+
128
+ .toc-child
129
+ display none
130
+
131
+ .toc-child .toc-child
132
+ display none
133
+
134
+ &.active
135
+ display block
136
+
137
+ .toc-item.active > .toc-child
138
+ display block
139
+
140
+ &:hover
141
+ .toc-content
142
+ .toc-link:not(.active) span
143
+ if hexo-config('aside.toc.vague')
144
+ filter: blur(0)
145
+ opacity: 1
146
+
147
+ .toc-item.active .toc-link
148
+ opacity 1
149
+ border-radius 8px
150
+
151
+ .toc-link
152
+ line-height 24px
153
+ padding 8px
154
+ border-left 0 solid transparent
155
+ border-radius 12px
156
+ color var(--efu-secondtext)
157
+ cursor default
158
+ min-height 40px
159
+ display flex
160
+ align-items center
161
+ transition all .2s ease-in-out 0s
162
+
163
+ &.active
164
+ border-radius 12px
165
+ border-left-color var(--efu-hovertext)
166
+ background-color var(--efu-card-bg)
167
+ color var(--efu-lighttext)
168
+ font-weight 700
169
+ font-size 20px
170
+
171
+ &:not(.active) span
172
+ opacity .6
173
+ cursor pointer
174
+ if hexo-config('aside.toc.vague')
175
+ filter blur(1px)
176
+ transition .3s
177
+
178
+ &:hover
179
+ color var(--efu-lighttext)
180
+
181
+ [data-theme=dark]
182
+ .toc
183
+ .toc-item.active .toc-link .toc-text
184
+ color: var(--efu-white)
185
+
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
217
+
218
+ > div.card-content
219
+ padding 1rem 1.2rem
220
+ min-height 320px
221
+ position relative
222
+
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)
230
+
231
+ &:hover img
232
+ transform scale(1.03)
233
+
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%
250
+
251
+ img
252
+ width 26px
253
+ height 26px
254
+
255
+ ../ :hover .avatar-sticker
256
+ opacity 0
257
+ transform scale(0)
258
+
259
+ .author-info__desc
260
+ font-size 12px
261
+ color var(--efu-card-bg)
262
+ opacity .6
263
+ line-height 1
264
+
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
278
+
279
+ / [data-theme=dark] &
280
+ background #00000015
281
+ color var(--efu-black)
282
+
283
+ &:hover
284
+ color var(--efu-white)
285
+
286
+ &:hover
287
+ background var(--efu-card-bg)
288
+ color var(--efu-main)
289
+ transform scale(1.1)
290
+
291
+ .card-info-avatar.is-center
292
+ flex-direction column
293
+ display flex
294
+ align-items flex-start
295
+
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)
306
+
307
+ ../ :hover .avatar-img-group
308
+ opacity 0
309
+ transform scale(0)
310
+
311
+ .author-info__name
312
+ text-align left
313
+ font-weight 700
314
+ color var(--efu-card-bg)
315
+ font-size 20px
316
+ line-height 1
317
+ margin-bottom 5px
318
+
319
+ .author-info__top-group
320
+ display flex
321
+ height 28px
322
+ width 100%
323
+
324
+ .author-info__description_group
325
+ position absolute
326
+ top 50px
327
+ width 100%
328
+ left 0
329
+ padding 1.2rem
330
+ opacity 0
331
+ transition .3s
332
+
333
+ ../ :hover .author-info__description_group
334
+ opacity 1
335
+
336
+ .author-info__description
337
+ line-height 1.38
338
+ margin .3rem 0
339
+ text-align left
340
+ color var(--efu-card-bg)
341
+
342
+ b
343
+ color var(--efu-card-bg)
344
+
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)
352
+
353
+ b
354
+ color var(--efu-card-bg)
355
+
356
+ .author-info__bottom-group
357
+ display flex
358
+ justify-content space-between
359
+ position absolute
360
+ padding 1.2rem
361
+ width 100%
362
+ left 0
363
+ bottom 0
364
+ align-items center
365
+
366
+ a.author-info__bottom-group-left:hover
367
+ opacity .8
368
+
369
+ .card-info-data
370
+ display table
371
+ margin .7rem 0 .2rem
372
+ width 100%
373
+ table-layout fixed
374
+
375
+ > div:nth-child(0) > a > div.headline
376
+ font-weight 700
377
+
378
+ > .card-info-data-item
379
+ display table-cell
380
+ transition .3s
381
+
382
+ a
383
+ .headline
384
+ color var(--efu-fontcolor)
385
+ font-size 1em
386
+
387
+ .length-num
388
+ margin-top -.3rem
389
+ color var(--text-highlight-color)
390
+ font-size 1.4em
391
+
392
+ &:hover
393
+ background #000
394
+ border-radius 5px
395
+
396
+ .card-info-social-icons
397
+ margin 0
398
+ display flex
399
+ justify-content flex-start
400
+ flex-direction row
401
+ flex-wrap nowrap
402
+ cursor pointer
403
+
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
411
+
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
+
425
+ &:hover
426
+ background var(--efu-white)
427
+ transform scale(1.1)
428
+ color var(--efu-main)
429
+ box-shadow none
430
+
431
+ / [data-theme=dark] &
432
+ background var(--efu-black-op)
433
+
434
+ &:hover
435
+ background-color var(--efu-black)
436
+ color var(--efu-white)
437
+
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
446
+
447
+ [data-theme=dark] #aside-content
448
+ > .card-widget.card-info
449
+ border var(--style-border-always)
450
+
451
+ if "allInfo" in aside
452
+ #aside-content
453
+ .card-webinfo
454
+ .webinfo
455
+ .webinfo-item-title
456
+ display flex
457
+
458
+ i
459
+ line-height: 2 !important
460
+ margin-right: 6px
461
+ width: 16px
462
+ text-align: center
463
+ font-size: 16px !important
464
+
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
472
+
473
+ div:first-child
474
+ -webkit-box-flex 1
475
+ flex 1 1 0
476
+ padding-right 1rem
477
+
478
+
479
+ .card-allinfo
480
+
481
+ hr
482
+ display flex
483
+ position relative
484
+ margin 1rem 0
485
+ border 1px dashed var(--efu-theme-op)
486
+
487
+ .item-headline
488
+ display none
489
+
490
+ .card-tag-cloud
491
+ max-height 500px
492
+ overflow hidden
493
+ position relative
494
+
495
+ &.all-tags
496
+ max-height none
497
+
498
+ &:after
499
+ display none
500
+
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
510
+
511
+ a
512
+ display inline-block
513
+ padding 0 0.3rem
514
+ font-size .8rem
515
+ border-radius 8px
516
+
517
+ sup
518
+ opacity .6
519
+ margin-left 2px
520
+
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
+
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
535
+
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
542
+ 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%
563
+
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
628
+ transition .3s
629
+ margin 4px 0
630
+ cursor pointer
631
+ display flex
632
+ align-items flex-start
633
+
634
+ &:hover
635
+ background var(--efu-main)
636
+ color var(--efu-white)
637
+ transition .3s
638
+ box-shadow var(--efu-shadow-main)
639
+
640
+ .content a
641
+ color var(--efu-white)
642
+
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
649
+ 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
+
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
718
+
719
+ &:hover
720
+ #flip-content
721
+ transform rotateY(180deg)
722
+
723
+ #flip-wrapper
724
+ perspective 1000
725
+ position relative
726
+ width 235px
727
+ height 110px
728
+ z-index 1
729
+
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
735
+
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%
744
+
745
+ #flip-wrapper #flip-content .face.back
746
+ display block
747
+ -webkit-transform rotateY(180deg)
748
+ transform rotateY(180deg)
749
+ box-sizing border-box
750
+ background url(faceback) center center no-repeat
751
+ background-size 100%