hexo-theme-solitude 3.0.16 → 3.0.18
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/layout/includes/footer.pug +1 -1
- package/layout/includes/widgets/page/about/hobbies.pug +35 -14
- package/layout/includes/widgets/post/postInfo.pug +1 -2
- package/package.json +1 -1
- package/source/css/_global/index.styl +0 -8
- package/source/css/_layout/recent-post.styl +2 -6
- package/source/css/_page/_about/like.styl +58 -3
- package/source/css/_page/category.styl +2 -1
- package/source/css/_page/tag.styl +8 -11
- package/source/css/_post/index.styl +6 -1
- package/source/css/_post/meta.styl +12 -10
@@ -66,7 +66,7 @@ div#footer-bar
|
|
66
66
|
a.footer-bar-link(href=url_for(item.url), title=item.name)
|
67
67
|
if item.icon
|
68
68
|
img.beian-icon(src=url_for(item.icon), alt=item.name)
|
69
|
-
|
69
|
+
span.beian-name= item.name
|
70
70
|
a.footer-bar-link(href=_p('hexo'))
|
71
71
|
= _p('framework_by') + 'Hexo'
|
72
72
|
a.footer-bar-link(href=_p('repo'))
|
@@ -22,17 +22,38 @@ if games
|
|
22
22
|
.tips= game.tips_right
|
23
23
|
|
24
24
|
if site.data.about.likes
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
25
|
+
- const likes = site.data.about.likes
|
26
|
+
.author-content
|
27
|
+
each like in likes
|
28
|
+
if like.type === 'comic'
|
29
|
+
.author-content-item.comic
|
30
|
+
.card-content
|
31
|
+
.author-content-item-tips= like.tips
|
32
|
+
span.author-content-item-title= like.title
|
33
|
+
.content-bottom
|
34
|
+
if like.subtips
|
35
|
+
.tips= like.subtips
|
36
|
+
if like.button
|
37
|
+
.banner-button-group
|
38
|
+
a.banner-button(href=url_for(like.button_link))
|
39
|
+
i.solitude.fas.fa-circle-chevron-right
|
40
|
+
span.banner-button-text= like.button_text
|
41
|
+
.comic-box
|
42
|
+
each item in like.list
|
43
|
+
a.comic-item(href=item.href target="_blank", rel="noopener noreferrer", title=item.name)
|
44
|
+
.comic-item-cover
|
45
|
+
img.nolazyload(src=item.cover, alt=item.name)
|
46
|
+
|
47
|
+
else
|
48
|
+
.author-content-item(class=like.type style=`background: url(${like.bg}) no-repeat center/cover`)
|
49
|
+
.card-content
|
50
|
+
.author-content-item-tips= like.tips
|
51
|
+
span.author-content-item-title= like.title
|
52
|
+
.content-bottom
|
53
|
+
if like.subtips
|
54
|
+
.tips= like.subtips
|
55
|
+
if like.button
|
56
|
+
.banner-button-group
|
57
|
+
a.banner-button(href=url_for(like.button_link))
|
58
|
+
i.solitude.fas.fa-circle-chevron-right
|
59
|
+
span.banner-button-text= like.button_text
|
package/package.json
CHANGED
@@ -380,7 +380,6 @@ i.solitude
|
|
380
380
|
&#content-inner
|
381
381
|
max-width 1400px
|
382
382
|
flex-grow 1
|
383
|
-
padding-top .5rem
|
384
383
|
|
385
384
|
&.hide-aside
|
386
385
|
> div:first-child
|
@@ -396,19 +395,12 @@ i.solitude
|
|
396
395
|
width 100%
|
397
396
|
|
398
397
|
> #post, #category, #tag, #archive
|
399
|
-
box-shadow var(--efu-shadow-border)
|
400
|
-
padding 1rem 2rem
|
401
|
-
border-radius 12px
|
402
|
-
border var(--style-border)
|
403
398
|
align-self flex-start
|
404
399
|
animation slide-in .6s .1s backwards
|
405
400
|
position relative
|
406
401
|
if hexo-config('aside.position') == 0
|
407
402
|
order 2
|
408
403
|
|
409
|
-
+minWidth768()
|
410
|
-
background var(--efu-card-bg)
|
411
|
-
|
412
404
|
+maxWidth768()
|
413
405
|
box-shadow none
|
414
406
|
border none
|
@@ -8,10 +8,8 @@
|
|
8
8
|
padding 0
|
9
9
|
|
10
10
|
#tag-page-tags+#recent-posts
|
11
|
-
|
12
|
-
|
13
|
-
+maxWidth768()
|
14
|
-
margin-top: calc(74px - 0.5rem)
|
11
|
+
+minWidth768()
|
12
|
+
margin-top calc(64px - 0.5rem)
|
15
13
|
|
16
14
|
if hexo-config('index_post_list.direction') == "column"
|
17
15
|
.recent-post-item
|
@@ -29,8 +27,6 @@ if hexo-config('index_post_list.direction') == "column"
|
|
29
27
|
|
30
28
|
+maxWidth1300()
|
31
29
|
margin-bottom .5rem
|
32
|
-
#tag &:first-child
|
33
|
-
margin-top: 2.5rem
|
34
30
|
|
35
31
|
+maxWidth768()
|
36
32
|
border-radius 12px
|
@@ -3,7 +3,6 @@
|
|
3
3
|
background-size cover
|
4
4
|
min-height 230px
|
5
5
|
color var(--efu-white)
|
6
|
-
|
7
6
|
&::after
|
8
7
|
box-shadow 0 -69px 203px 11px #050b20 inset
|
9
8
|
position absolute
|
@@ -18,7 +17,6 @@
|
|
18
17
|
min-height 400px
|
19
18
|
color var(--efu-white)
|
20
19
|
overflow hidden
|
21
|
-
|
22
20
|
&::after
|
23
21
|
box-shadow 0 -69px 203px 11px #0e0e0e inset
|
24
22
|
position absolute
|
@@ -26,4 +24,61 @@
|
|
26
24
|
width 100%
|
27
25
|
height 100%
|
28
26
|
top 0
|
29
|
-
left 0
|
27
|
+
left 0
|
28
|
+
|
29
|
+
.author-content-item.comic
|
30
|
+
min-height 400px
|
31
|
+
color var(--efu-white)
|
32
|
+
position relative
|
33
|
+
|
34
|
+
.comic-box
|
35
|
+
display flex
|
36
|
+
width 110%
|
37
|
+
height 100%
|
38
|
+
position absolute
|
39
|
+
left 50%
|
40
|
+
top 0
|
41
|
+
transform translateX(-50%)
|
42
|
+
&::after
|
43
|
+
box-shadow 0 -69px 203px 11px #04120f inset
|
44
|
+
position absolute
|
45
|
+
content ''
|
46
|
+
width 100%
|
47
|
+
height 100%
|
48
|
+
top 0
|
49
|
+
left 0
|
50
|
+
pointer-events: none;
|
51
|
+
|
52
|
+
.author-content-item-tips,
|
53
|
+
.author-content-item-title,
|
54
|
+
.content-bottom
|
55
|
+
z-index 3
|
56
|
+
color var(--efu-white)
|
57
|
+
pointer-events none
|
58
|
+
|
59
|
+
.comic-item
|
60
|
+
height 100%
|
61
|
+
color var(--efu-white)
|
62
|
+
width 20%
|
63
|
+
transform skew(-10deg, 0deg)
|
64
|
+
transition 0.8s
|
65
|
+
position relative
|
66
|
+
overflow hidden
|
67
|
+
&:hover
|
68
|
+
width 46%
|
69
|
+
.comic-item-cover
|
70
|
+
left 16%
|
71
|
+
transform skew(10deg, 0deg) scale(1.6)
|
72
|
+
|
73
|
+
.comic-item-cover
|
74
|
+
position absolute
|
75
|
+
top 0
|
76
|
+
left -50%
|
77
|
+
height 100%
|
78
|
+
transform skew(10deg, 0deg)
|
79
|
+
object-fit cover
|
80
|
+
transition scale 0.2s, all 0.8s
|
81
|
+
img
|
82
|
+
height 100%
|
83
|
+
max-width none
|
84
|
+
transition 0.8s
|
@@ -1,8 +1,4 @@
|
|
1
1
|
#tag
|
2
|
-
+minWidth1300()
|
3
|
-
padding: 4rem 2rem 1rem 2rem!important
|
4
|
-
overflow hidden
|
5
|
-
|
6
2
|
+maxWidth768()
|
7
3
|
padding 0 1rem
|
8
4
|
|
@@ -10,19 +6,20 @@
|
|
10
6
|
display flex
|
11
7
|
flex-direction row
|
12
8
|
flex-wrap wrap
|
13
|
-
margin 0
|
14
|
-
margin-bottom 0.5rem
|
15
|
-
position absolute
|
16
|
-
z-index 2
|
17
9
|
width 100%
|
18
|
-
|
10
|
+
position absolute
|
11
|
+
z-index 1
|
19
12
|
left 0
|
20
13
|
top 0
|
21
|
-
max-height
|
22
|
-
overflow hidden
|
14
|
+
max-height 44px
|
15
|
+
overflow: hidden
|
23
16
|
background var(--efu-card-bg)
|
24
17
|
backdrop-filter saturate(180%) blur(20px)
|
25
18
|
transition .1s ease-out
|
19
|
+
border-radius 12px
|
20
|
+
border var(--style-border-always)
|
21
|
+
+maxWidth768()
|
22
|
+
display none
|
26
23
|
|
27
24
|
&:hover
|
28
25
|
max-height 1000px
|
@@ -34,6 +34,17 @@
|
|
34
34
|
|
35
35
|
+maxWidth768()
|
36
36
|
height 15rem
|
37
|
+
&::after
|
38
|
+
position absolute
|
39
|
+
content ''
|
40
|
+
width 100%
|
41
|
+
height 32px
|
42
|
+
background var(--efu-background)
|
43
|
+
bottom 0
|
44
|
+
border-radius 16px 16px 0 0
|
45
|
+
|
46
|
+
+maxWidth768()
|
47
|
+
display none
|
37
48
|
|
38
49
|
.post-bg
|
39
50
|
#post-cover
|
@@ -342,13 +353,4 @@
|
|
342
353
|
background var(--efu-hovertext)
|
343
354
|
border-radius 12px 12px 0 0
|
344
355
|
+minWidth768()
|
345
|
-
min-height 250px
|
346
|
-
|
347
|
-
#post-info-bottom
|
348
|
-
display flex
|
349
|
-
position absolute
|
350
|
-
width 100%
|
351
|
-
bottom 0
|
352
|
-
border-radius 1rem 1rem 0 0
|
353
|
-
padding .5rem 0
|
354
|
-
background var(--efu-background)
|
356
|
+
min-height 250px
|