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.
- package/.github/FUNDING.yml +2 -2
- package/_config.yml +2 -5
- package/languages/en.yml +5 -1
- package/languages/zh-CN.yml +4 -0
- package/languages/zh-TW.yml +4 -0
- package/layout/includes/head/config.pug +1 -1
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/widgets/aside/asideTag.pug +9 -4
- package/layout/includes/widgets/home/banner.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +5 -5
- package/layout/includes/widgets/post/postMeta.pug +1 -1
- package/package.json +1 -1
- 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} +13 -13
- 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} +0 -2
- package/source/css/_post/content.styl +0 -197
- package/source/css/_post/copyright.styl +4 -1
- package/source/css/_post/index.styl +0 -3
- package/source/js/search/algolia.js +0 -10
- package/source/js/search/local.js +0 -10
- package/source/css/_page/home.styl +0 -34
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
#$about-page
|
2
2
|
display flex
|
3
3
|
padding-top 1rem
|
4
4
|
flex-direction column
|
@@ -10,40 +10,40 @@
|
|
10
10
|
margin 1rem 0
|
11
11
|
line-height 1
|
12
12
|
|
13
|
-
if "tenyear" in about
|
13
|
+
if "tenyear" in $about
|
14
14
|
@import "tenyear"
|
15
15
|
|
16
|
-
if "authorinfo" in about
|
16
|
+
if "authorinfo" in $about
|
17
17
|
@import "author"
|
18
18
|
|
19
|
-
if "contentinfo" in about
|
19
|
+
if "contentinfo" in $about
|
20
20
|
@import "contentinfo"
|
21
21
|
|
22
|
-
if "skills" in about
|
22
|
+
if "skills" in $about
|
23
23
|
@import "skills"
|
24
24
|
|
25
|
-
if "oneself" in about
|
25
|
+
if "oneself" in $about
|
26
26
|
@import "oneself"
|
27
27
|
|
28
|
-
if "motto" in about
|
28
|
+
if "motto" in $about
|
29
29
|
@import "buff"
|
30
30
|
@import "maxim"
|
31
31
|
|
32
|
-
if "game1" in about
|
32
|
+
if "game1" in $about
|
33
33
|
@import "game"
|
34
34
|
|
35
|
-
if "personalities" in about
|
35
|
+
if "personalities" in $about
|
36
36
|
@import "personalities"
|
37
37
|
@import "myphoto"
|
38
38
|
|
39
|
-
if "careers" in about
|
39
|
+
if "careers" in $about
|
40
40
|
@import "careers"
|
41
41
|
|
42
|
-
if "likes" in about
|
42
|
+
if "likes" in $about
|
43
43
|
@import "like"
|
44
44
|
|
45
|
-
if "tj" in about
|
45
|
+
if "tj" in $about
|
46
46
|
@import "statistic"
|
47
47
|
|
48
|
-
if "award" in about
|
48
|
+
if "award" in $about
|
49
49
|
@import "reward"
|
@@ -1,32 +1,32 @@
|
|
1
1
|
.google-vignette-test
|
2
|
-
animation
|
2
|
+
animation 0.6s ease 0s 1 normal none running to_show
|
3
3
|
|
4
4
|
> body
|
5
|
-
background-color
|
5
|
+
background-color var(--efu-maskbgdeep)
|
6
6
|
|
7
7
|
.header-panel
|
8
|
-
background-color
|
9
|
-
border
|
8
|
+
background-color transparent
|
9
|
+
border none
|
10
10
|
|
11
11
|
.header-message
|
12
|
-
color
|
12
|
+
color var(--efu-fontcolor)
|
13
13
|
|
14
14
|
.close-button
|
15
|
-
line-height
|
16
|
-
background
|
17
|
-
border-radius
|
18
|
-
padding
|
19
|
-
margin
|
20
|
-
display
|
21
|
-
align-items
|
22
|
-
justify-content
|
15
|
+
line-height inherit
|
16
|
+
background var(--efu-maskbg)
|
17
|
+
border-radius 50%
|
18
|
+
padding 4px
|
19
|
+
margin 12px
|
20
|
+
display flex
|
21
|
+
align-items center
|
22
|
+
justify-content center
|
23
23
|
|
24
24
|
.container
|
25
25
|
ins
|
26
26
|
iframe
|
27
|
-
border-radius
|
28
|
-
border
|
29
|
-
box-shadow
|
27
|
+
border-radius 12px
|
28
|
+
border var(--style-border)
|
29
|
+
box-shadow var(--efu-shadow-border)
|
30
30
|
|
31
31
|
> body
|
32
|
-
background-color
|
32
|
+
background-color var(--efu-maskbg)
|
@@ -1,10 +1,8 @@
|
|
1
|
-
@import "_home/
|
2
|
-
|
3
|
-
@import "home.styl"
|
1
|
+
@import "_home/home"
|
4
2
|
|
5
3
|
@import "category.styl"
|
6
4
|
|
7
|
-
@import "
|
5
|
+
@import "tag.styl"
|
8
6
|
|
9
7
|
@import "error.styl"
|
10
8
|
|
@@ -14,21 +12,56 @@ if hexo-config('moments.enable')
|
|
14
12
|
if hexo-config('says.enable')
|
15
13
|
@import "says.styl"
|
16
14
|
|
17
|
-
|
15
|
+
if hexo-config('music.enable')
|
16
|
+
@import "music.styl"
|
18
17
|
|
19
|
-
|
18
|
+
if hexo-config('google_adsense.enable')
|
19
|
+
@import "google.styl"
|
20
20
|
|
21
|
-
|
21
|
+
if $equipment
|
22
|
+
@import "equipment.styl"
|
22
23
|
|
23
|
-
if
|
24
|
-
@import "
|
24
|
+
if $link
|
25
|
+
@import "links.styl"
|
25
26
|
|
26
|
-
|
27
|
+
if $about
|
28
|
+
@import "_about/about"
|
27
29
|
|
28
|
-
|
29
|
-
@import "music.styl"
|
30
|
+
@import "other"
|
30
31
|
|
31
|
-
@import "
|
32
|
+
@import "douban"
|
32
33
|
|
33
|
-
|
34
|
-
|
34
|
+
#page h1.page-title
|
35
|
+
display inline
|
36
|
+
margin .4rem 0 1rem
|
37
|
+
|
38
|
+
#page
|
39
|
+
background 0 0
|
40
|
+
border none
|
41
|
+
padding 0
|
42
|
+
box-shadow none
|
43
|
+
min-height calc(100vh - 464px)
|
44
|
+
|
45
|
+
+maxWidth768()
|
46
|
+
padding 0 1rem
|
47
|
+
|
48
|
+
> div:not(.author-content-item)
|
49
|
+
animation slide-in .6s .2s backwards
|
50
|
+
|
51
|
+
+minWidth768()
|
52
|
+
> div:nth-child(1) > a::before
|
53
|
+
height: 24px
|
54
|
+
width: 44px
|
55
|
+
content: ""
|
56
|
+
background-size: 38px 24px
|
57
|
+
position: absolute
|
58
|
+
top: 0
|
59
|
+
left: 0
|
60
|
+
|
61
|
+
> a:nth-child(0) > i
|
62
|
+
padding-right: 8px
|
63
|
+
|
64
|
+
+minWidth768()
|
65
|
+
.needEndHide.hide
|
66
|
+
bottom -200px !important
|
67
|
+
opacity 0
|
@@ -29,125 +29,124 @@
|
|
29
29
|
color var(--efu-hovertext)
|
30
30
|
|
31
31
|
.moments-list
|
32
|
-
display
|
33
|
-
flex-direction
|
32
|
+
display flex
|
33
|
+
flex-direction column
|
34
34
|
|
35
35
|
.article-sort-item-info
|
36
|
-
display
|
37
|
-
flex-direction
|
36
|
+
display flex
|
37
|
+
flex-direction column
|
38
38
|
|
39
39
|
.article-sort-item-title
|
40
|
-
color
|
40
|
+
color var(--efu-lighttext)
|
41
41
|
|
42
42
|
&:hover
|
43
|
-
color
|
43
|
+
color var(--efu-hovertext)
|
44
44
|
|
45
45
|
#friend_link_moments
|
46
|
-
border
|
46
|
+
border none
|
47
47
|
|
48
48
|
.moments-article-img
|
49
|
-
height
|
50
|
-
margin
|
49
|
+
height 100%
|
50
|
+
margin 0
|
51
51
|
|
52
52
|
.tab-item-content
|
53
53
|
#moments_container
|
54
54
|
.moments-item
|
55
55
|
a
|
56
|
-
border-bottom
|
57
|
-
padding
|
58
|
-
margin-right
|
59
|
-
width
|
56
|
+
border-bottom none
|
57
|
+
padding 0
|
58
|
+
margin-right auto
|
59
|
+
width auto
|
60
60
|
|
61
61
|
&:hover
|
62
|
-
background
|
63
|
-
color
|
64
|
-
box-shadow
|
62
|
+
background none
|
63
|
+
color var(--efu-lighttext)
|
64
|
+
box-shadow none
|
65
65
|
|
66
66
|
h2
|
67
|
-
display
|
67
|
+
display none
|
68
68
|
|
69
69
|
#friend_moments_list
|
70
70
|
.moments-sort-item
|
71
|
-
margin
|
71
|
+
margin 1rem 0
|
72
72
|
|
73
73
|
.moments-sort-item-img
|
74
|
-
border-radius
|
74
|
+
border-radius 12px
|
75
75
|
|
76
76
|
.moments-item-time
|
77
|
-
order
|
77
|
+
order 1
|
78
78
|
|
79
79
|
.moments-sort-item-title
|
80
80
|
color: var(--efu-lighttext)
|
81
|
-
border-bottom
|
82
|
-
padding
|
81
|
+
border-bottom none
|
82
|
+
padding 0
|
83
83
|
|
84
84
|
&:hover
|
85
|
-
color
|
86
|
-
background
|
87
|
-
box-shadow
|
85
|
+
color var(--efu-hovertext)
|
86
|
+
background 0 0
|
87
|
+
box-shadow none
|
88
88
|
|
89
89
|
.moments_load_button
|
90
|
-
color
|
91
|
-
background
|
92
|
-
padding
|
93
|
-
border-radius
|
94
|
-
transition
|
95
|
-
width
|
96
|
-
margin-top
|
97
|
-
margin-bottom
|
98
|
-
border
|
90
|
+
color var(--efu-fontcolor)
|
91
|
+
background var(--efu-card-btn-bg)
|
92
|
+
padding 12px 16px
|
93
|
+
border-radius 12px
|
94
|
+
transition .3s
|
95
|
+
width 100%
|
96
|
+
margin-top 1rem
|
97
|
+
margin-bottom 1rem
|
98
|
+
border 0
|
99
99
|
|
100
100
|
&:hover
|
101
|
-
color
|
102
|
-
background
|
103
|
-
transition
|
101
|
+
color var(--efu-white)
|
102
|
+
background var(--efu-main)
|
103
|
+
transition .3s
|
104
104
|
|
105
105
|
.moments-item-title
|
106
|
-
color
|
107
|
-
font-size
|
108
|
-
order
|
109
|
-
width
|
110
|
-
font-weight
|
111
|
-
-webkit-line-clamp
|
112
|
-
overflow
|
113
|
-
-webkit-box-orient: vertical
|
106
|
+
color var(--efu-lighttext)
|
107
|
+
font-size 1rem
|
108
|
+
order 0
|
109
|
+
width 100%
|
110
|
+
font-weight 700
|
111
|
+
-webkit-line-clamp 1
|
112
|
+
overflow hidden
|
114
113
|
|
115
114
|
.moments-item-info
|
116
|
-
display
|
117
|
-
flex-direction
|
115
|
+
display flex
|
116
|
+
flex-direction column
|
118
117
|
|
119
118
|
.moments_post_time
|
120
|
-
display
|
119
|
+
display none
|
121
120
|
|
122
121
|
i
|
123
|
-
margin-right
|
122
|
+
margin-right 8px
|
124
123
|
|
125
124
|
.moments-item-title
|
126
|
-
font-weight
|
125
|
+
font-weight 700
|
127
126
|
|
128
127
|
.moments_post_info_number
|
129
|
-
float
|
128
|
+
float right
|
130
129
|
|
131
130
|
.moments-item-img
|
132
|
-
width
|
133
|
-
height
|
131
|
+
width 60px
|
132
|
+
height 60px
|
134
133
|
|
135
134
|
img
|
136
|
-
border-radius
|
137
|
-
width
|
138
|
-
height
|
139
|
-
overflow
|
135
|
+
border-radius 80px
|
136
|
+
width 80px
|
137
|
+
height 80px
|
138
|
+
overflow hidden
|
140
139
|
|
141
140
|
.moments-item
|
142
|
-
margin-left
|
143
|
-
box-shadow
|
141
|
+
margin-left 0
|
142
|
+
box-shadow none
|
144
143
|
|
145
144
|
#hexo-circle-of-friends-root
|
146
|
-
margin
|
145
|
+
margin 0 -8px
|
147
146
|
|
148
147
|
#cf-container
|
149
148
|
a
|
150
|
-
width
|
149
|
+
width fit-content
|
151
150
|
|
152
151
|
.cf-article .cf-img-avatar
|
153
152
|
border-radius 50% !important
|
@@ -156,26 +155,26 @@
|
|
156
155
|
|
157
156
|
#page
|
158
157
|
.title-h2-a
|
159
|
-
display
|
160
|
-
align-items
|
161
|
-
justify-content
|
162
|
-
margin-top
|
158
|
+
display flex
|
159
|
+
align-items center
|
160
|
+
justify-content space-between
|
161
|
+
margin-top .5rem
|
163
162
|
|
164
163
|
a
|
165
|
-
margin-left
|
166
|
-
color
|
167
|
-
font-weight
|
164
|
+
margin-left .5rem
|
165
|
+
color var(--efu-secondtext)
|
166
|
+
font-weight 700
|
168
167
|
|
169
168
|
&:hover
|
170
|
-
color
|
169
|
+
color var(--efu-main)
|
171
170
|
|
172
171
|
.title-h2-a-left
|
173
|
-
display
|
174
|
-
align-items
|
172
|
+
display flex
|
173
|
+
align-items center
|
175
174
|
|
176
175
|
h2
|
177
|
-
margin
|
176
|
+
margin 0
|
178
177
|
|
179
178
|
.title-h2-a-right
|
180
|
-
font-size
|
181
|
-
color
|
179
|
+
font-size 14px
|
180
|
+
color var(--efu-secondtext)
|
@@ -1,197 +0,0 @@
|
|
1
|
-
#article-container
|
2
|
-
overflow-wrap break-word
|
3
|
-
+maxWidth768()
|
4
|
-
overflow hidden
|
5
|
-
|
6
|
-
iframe
|
7
|
-
border-radius 12px
|
8
|
-
margin 0 0 1rem
|
9
|
-
|
10
|
-
a
|
11
|
-
color var(--efu-fontcolor)
|
12
|
-
border-radius 4px 4px 0 0
|
13
|
-
|
14
|
-
border-bottom 2px dotted var(--efu-lighttext)
|
15
|
-
font-weight 700
|
16
|
-
|
17
|
-
&:not(.fancybox)
|
18
|
-
padding 0 4px
|
19
|
-
|
20
|
-
&:hover
|
21
|
-
border 0
|
22
|
-
text-decoration none
|
23
|
-
color var(--efu-white)
|
24
|
-
border-radius 4px
|
25
|
-
background var(--efu-main)
|
26
|
-
|
27
|
-
.table-wrap
|
28
|
-
margin 1rem 0
|
29
|
-
border-radius 8px
|
30
|
-
overflow-x scroll
|
31
|
-
|
32
|
-
a.headerlink
|
33
|
-
float right
|
34
|
-
opacity .08
|
35
|
-
position relative
|
36
|
-
padding 0
|
37
|
-
border none
|
38
|
-
border-radius 8px
|
39
|
-
line-height 1
|
40
|
-
font-size .8rem
|
41
|
-
|
42
|
-
#page &
|
43
|
-
display none
|
44
|
-
|
45
|
-
&::before
|
46
|
-
content "\e082"
|
47
|
-
font-family solitude
|
48
|
-
cursor pointer
|
49
|
-
|
50
|
-
&:hover
|
51
|
-
border-bottom none
|
52
|
-
box-shadow none
|
53
|
-
background var(--efu-none)
|
54
|
-
color var(--efu-lighttext)
|
55
|
-
opacity 1
|
56
|
-
|
57
|
-
&::before
|
58
|
-
color var(--efu-main)
|
59
|
-
|
60
|
-
p
|
61
|
-
font-size .9rem
|
62
|
-
line-height 1.7
|
63
|
-
font-weight 400
|
64
|
-
margin 1rem 0
|
65
|
-
text-align left
|
66
|
-
letter-spacing .6px
|
67
|
-
|
68
|
-
img
|
69
|
-
margin auto
|
70
|
-
|
71
|
-
a
|
72
|
-
&:not(.fancybox)
|
73
|
-
text-decoration none
|
74
|
-
border-bottom 2px dotted var(--efu-lighttext)
|
75
|
-
color var(--efu-fontcolor)
|
76
|
-
font-weight 700
|
77
|
-
padding 0 4px
|
78
|
-
border-radius 4px 4px 0 0
|
79
|
-
|
80
|
-
&:hover
|
81
|
-
color var(--efu-white)
|
82
|
-
border-radius 4px
|
83
|
-
background var(--efu-main)
|
84
|
-
|
85
|
-
code:not([class*='language-'])
|
86
|
-
color var(--efu-white)
|
87
|
-
padding 0.2rem 0.4rem
|
88
|
-
border-radius 4px
|
89
|
-
margin 0 4px
|
90
|
-
background var(--efu-pink)
|
91
|
-
line-height 2
|
92
|
-
box-shadow var(--efu-shadow-border)
|
93
|
-
|
94
|
-
img
|
95
|
-
border-radius 12px
|
96
|
-
object-fit cover
|
97
|
-
display block
|
98
|
-
margin 0.8rem auto
|
99
|
-
max-width 90%
|
100
|
-
max-height 450px
|
101
|
-
|
102
|
-
ul, ol
|
103
|
-
padding 0
|
104
|
-
margin-top 0.4rem
|
105
|
-
list-style none
|
106
|
-
counter-reset li 0
|
107
|
-
|
108
|
-
li
|
109
|
-
&:before
|
110
|
-
position absolute
|
111
|
-
top 0
|
112
|
-
left 0
|
113
|
-
color var(--efu-fontcolor)
|
114
|
-
transition all .3s ease-out 0s
|
115
|
-
background var(--efu-lighttext)
|
116
|
-
|
117
|
-
&:not(.tab)
|
118
|
-
position relative
|
119
|
-
margin 0.2rem 0
|
120
|
-
|
121
|
-
ul
|
122
|
-
> li
|
123
|
-
&:not(.tab)
|
124
|
-
padding 0.2em 0.2em 0.2em 1.4em
|
125
|
-
|
126
|
-
&:before
|
127
|
-
margin 0
|
128
|
-
top 0.78em
|
129
|
-
width 0.42em
|
130
|
-
height 0.42em
|
131
|
-
border-radius 0.42em
|
132
|
-
background 0 0
|
133
|
-
content ""
|
134
|
-
line-height .42em
|
135
|
-
border 0.21em solid var(--efu-lighttext)
|
136
|
-
background var(--efu-lighttext)
|
137
|
-
|
138
|
-
ol
|
139
|
-
> li:before
|
140
|
-
margin-top .65em
|
141
|
-
width 1.45em
|
142
|
-
height 1.45em
|
143
|
-
border-radius .725em
|
144
|
-
text-align center
|
145
|
-
font-size .85em
|
146
|
-
color var(--efu-white)
|
147
|
-
line-height 1.45em
|
148
|
-
|
149
|
-
ul li
|
150
|
-
line-height 1.7
|
151
|
-
|
152
|
-
> li
|
153
|
-
|
154
|
-
&:not(.tab)
|
155
|
-
padding .2em .2em .2em 1.8em
|
156
|
-
|
157
|
-
&:before
|
158
|
-
content counter(li)
|
159
|
-
counter-increment li 1
|
160
|
-
|
161
|
-
> ol
|
162
|
-
> li
|
163
|
-
&:before
|
164
|
-
content counter(li, lower-alpha)
|
165
|
-
counter-increment li
|
166
|
-
|
167
|
-
> ol
|
168
|
-
> li
|
169
|
-
&:before
|
170
|
-
content counter(li, lower-roman)
|
171
|
-
counter-increment li
|
172
|
-
|
173
|
-
&.post-content
|
174
|
-
h1, h2, h3, h4
|
175
|
-
display flex
|
176
|
-
align-items center
|
177
|
-
justify-content space-between
|
178
|
-
flex-direction row-reverse
|
179
|
-
transition all .2s ease-out 0s
|
180
|
-
|
181
|
-
h1
|
182
|
-
font-size 1.5rem
|
183
|
-
line-height 1.3
|
184
|
-
|
185
|
-
h2
|
186
|
-
font-size 1.3rem
|
187
|
-
line-height 1.3
|
188
|
-
border-top 1px dashed var(--efu-theme-op)
|
189
|
-
padding-top 1.5rem
|
190
|
-
|
191
|
-
h3
|
192
|
-
font-size 1.1rem
|
193
|
-
line-height 1.3
|
194
|
-
|
195
|
-
h4
|
196
|
-
font-size 1.1rem
|
197
|
-
line-height 1.3
|
@@ -51,15 +51,18 @@
|
|
51
51
|
.post-copyright__notice
|
52
52
|
font-size 12px
|
53
53
|
margin 0.5rem 0
|
54
|
+
display flex
|
55
|
+
justify-content center
|
54
56
|
|
55
57
|
.post-copyright-info
|
56
58
|
padding-left 0
|
57
59
|
color var(--efu-secondtext)
|
58
60
|
overflow hidden
|
59
61
|
display -webkit-box
|
60
|
-
-webkit-line-clamp
|
62
|
+
-webkit-line-clamp 3
|
61
63
|
-webkit-box-orient vertical
|
62
64
|
text-align center
|
65
|
+
max-width 500px
|
63
66
|
|
64
67
|
+maxWidth768()
|
65
68
|
-webkit-line-clamp 2
|