hexo-theme-solitude 1.10.4 → 1.10.6
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/README.md +1 -1
- package/_config.yml +11 -8
- package/layout/includes/inject/body.pug +3 -4
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +31 -1
- package/layout/includes/widgets/home/hometop.pug +0 -1
- package/layout/includes/widgets/home/topGroup.pug +9 -8
- package/layout/includes/widgets/third-party/news-comment/artalk.pug +1 -1
- package/layout/includes/widgets/third-party/news-comment/twikoo.pug +1 -1
- package/layout/includes/widgets/third-party/news-comment/waline.pug +1 -1
- package/package.json +1 -1
- package/scripts/event/merge_config.js +1 -0
- package/source/css/_global/index.styl +29 -29
- package/source/css/_layout/article-container.styl +1 -1
- package/source/css/_layout/aside.styl +158 -13
- package/source/css/_layout/console.styl +7 -13
- package/source/css/_layout/header.styl +1 -28
- package/source/css/_layout/rightmenu.styl +1 -1
- package/source/css/_layout/sidebar.styl +1 -1
- package/source/css/_page/_about/about.styl +2 -1
- package/source/css/_page/_about/buff.styl +1 -1
- package/source/css/_page/_about/contentinfo.styl +2 -2
- package/source/css/_page/_about/maxim.styl +1 -1
- package/source/css/_page/_about/myphoto.styl +1 -1
- package/source/css/_page/_about/oneself.styl +2 -2
- package/source/css/_page/_about/personalities.styl +1 -1
- package/source/css/_page/_about/skills.styl +1 -1
- package/source/css/_page/_about/statistic.styl +1 -1
- package/source/css/_page/_home/home-top.styl +17 -96
- package/source/css/_page/_home/home.styl +9 -2
- package/source/css/_page/links.styl +0 -3
- package/source/css/_page/other.styl +127 -115
- package/source/css/_page/says.styl +5 -11
- package/source/css/_tags/gallery.styl +5 -3
- package/source/js/main.js +2 -22
- package/source/js/search/algolia.js +11 -0
- package/source/js/search/local.js +11 -0
- package/layout/includes/widgets/home/categoryGroup.pug +0 -12
@@ -171,13 +171,13 @@
|
|
171
171
|
display flex
|
172
172
|
white-space nowrap
|
173
173
|
flex-direction row
|
174
|
+
gap .5rem
|
174
175
|
flex-wrap wrap
|
175
176
|
margin-bottom 60px
|
176
177
|
|
177
178
|
a
|
178
179
|
color var(--efu-fontcolor) !important
|
179
180
|
padding 2px 8px 2px 12px
|
180
|
-
margin 4px
|
181
181
|
border-radius 8px
|
182
182
|
border var(--style-border-always)
|
183
183
|
background var(--efu-card-bg)
|
@@ -7,7 +7,7 @@
|
|
7
7
|
background linear-gradient(120deg, #5b27ff 0, #00d4ff 100%)
|
8
8
|
background-size 200%
|
9
9
|
animation gradient 15s ease infinite
|
10
|
-
width 59%
|
10
|
+
width 59.5%
|
11
11
|
|
12
12
|
.title1
|
13
13
|
opacity .8
|
@@ -28,7 +28,7 @@
|
|
28
28
|
justify-content center
|
29
29
|
align-items flex-start
|
30
30
|
flex-direction column
|
31
|
-
width 39%
|
31
|
+
width 39.5%
|
32
32
|
|
33
33
|
h2
|
34
34
|
margin-right auto
|
@@ -10,7 +10,8 @@
|
|
10
10
|
width 100% !important
|
11
11
|
|
12
12
|
&.mapAndInfo
|
13
|
-
width 59%
|
13
|
+
width 59.5%
|
14
|
+
gap .5rem
|
14
15
|
|
15
16
|
.author-content-item
|
16
17
|
+minWidth1300()
|
@@ -22,7 +23,6 @@
|
|
22
23
|
max-height 400px
|
23
24
|
position relative
|
24
25
|
overflow hidden
|
25
|
-
margin-bottom 0.5rem
|
26
26
|
height 60%
|
27
27
|
background-size 100%
|
28
28
|
transition 1s ease-in-out
|
@@ -2,7 +2,6 @@
|
|
2
2
|
.recent-top-post-group
|
3
3
|
border-radius 12px
|
4
4
|
overflow hidden
|
5
|
-
overflow-x auto
|
6
5
|
width 100%
|
7
6
|
margin-bottom 0
|
8
7
|
user-select none
|
@@ -15,15 +14,24 @@
|
|
15
14
|
flex-direction row
|
16
15
|
flex-wrap nowrap
|
17
16
|
width 100%
|
18
|
-
overflow-x scroll
|
19
17
|
gap .5rem
|
20
18
|
|
21
19
|
+maxWidth1200()
|
22
|
-
|
20
|
+
flex-direction column
|
23
21
|
|
24
22
|
&::-webkit-scrollbar
|
25
23
|
display none
|
26
24
|
|
25
|
+
.recent-post-group
|
26
|
+
display flex
|
27
|
+
flex-direction row
|
28
|
+
flex-wrap wrap
|
29
|
+
align-content space-between
|
30
|
+
gap .5rem
|
31
|
+
|
32
|
+
+maxWidth1200()
|
33
|
+
flex-wrap nowrap
|
34
|
+
|
27
35
|
/ #bannerGroup
|
28
36
|
display flex
|
29
37
|
+minWidth1201()
|
@@ -47,94 +55,17 @@
|
|
47
55
|
.tags-group-icon:nth-child(even)
|
48
56
|
margin-left 4rem
|
49
57
|
|
50
|
-
.categoryGroup
|
51
|
-
display flex
|
52
|
-
flex-direction column
|
53
|
-
justify-content space-between
|
54
|
-
min-width 200px
|
55
|
-
+minWidth1201()
|
56
|
-
display none
|
57
|
-
+maxWidth768()
|
58
|
-
min-width 130px
|
59
|
-
margin-left 1rem
|
60
|
-
max-height 164px
|
61
|
-
overflow hidden
|
62
|
-
position relative
|
63
|
-
|
64
|
-
.categoryItem
|
65
|
-
overflow hidden
|
66
|
-
transform scale(1)
|
67
|
-
transition all .8s cubic-bezier(.65, .15, .37, 1.19)
|
68
|
-
height 48%
|
69
|
-
border-radius 12px
|
70
|
-
+maxWidth768()
|
71
|
-
border-radius 0
|
72
|
-
height 47%
|
73
|
-
box-shadow none
|
74
|
-
|
75
|
-
a.categoryButton
|
76
|
-
height 100%
|
77
|
-
width 100%
|
78
|
-
background var(--efu-card-bg)
|
79
|
-
background-size 200%
|
80
|
-
border-radius 12px
|
81
|
-
display inline-block
|
82
|
-
text-align left
|
83
|
-
line-height 4em
|
84
|
-
font-weight 700
|
85
|
-
font-size .9rem
|
86
|
-
color var(--efu-white)
|
87
|
-
transition all .8s cubic-bezier(.39, .575, .565, 1)
|
88
|
-
transform scale(1)
|
89
|
-
overflow hidden
|
90
|
-
+maxWidth768()
|
91
|
-
border-radius 8px
|
92
|
-
|
93
|
-
&:after
|
94
|
-
top 50px
|
95
|
-
width 1rem
|
96
|
-
left 21px
|
97
|
-
height 2px
|
98
|
-
background var(--efu-white)
|
99
|
-
content ""
|
100
|
-
border-radius 1px
|
101
|
-
position absolute
|
102
|
-
|
103
|
-
i
|
104
|
-
font-size 5rem
|
105
|
-
opacity .2
|
106
|
-
position absolute
|
107
|
-
right 0
|
108
|
-
top 20%
|
109
|
-
transition .3s
|
110
|
-
width 100px
|
111
|
-
text-align center
|
112
|
-
filter blur(2px)
|
113
|
-
transform scale(1) rotate(15deg)
|
114
|
-
|
115
|
-
+maxWidth768()
|
116
|
-
display none
|
117
|
-
|
118
|
-
&:hover
|
119
|
-
i
|
120
|
-
opacity .8
|
121
|
-
transition .8s
|
122
|
-
transition-delay .15s
|
123
|
-
transform scale(1.03) rotate(0)
|
124
|
-
font-size 2.5rem
|
125
|
-
filter blur(0)
|
126
|
-
|
127
|
-
.categoryButtonText
|
128
|
-
padding-left 21px
|
129
|
-
|
130
58
|
/.topGroup
|
131
|
-
display
|
59
|
+
display flex
|
60
|
+
gap .5rem
|
61
|
+
+maxWidth1200()
|
62
|
+
overflow-x auto
|
132
63
|
|
133
64
|
+minWidth1201()
|
134
65
|
display flex
|
135
66
|
flex-direction row
|
136
67
|
flex-wrap wrap
|
137
|
-
justify-content
|
68
|
+
justify-content flex-start
|
138
69
|
height calc(328px + 0.5rem)
|
139
70
|
align-content space-between
|
140
71
|
width calc(50% - 0.25rem)
|
@@ -144,7 +75,7 @@
|
|
144
75
|
.recent-post-item
|
145
76
|
display flex
|
146
77
|
flex-direction column
|
147
|
-
width calc(100% / 3 - 0.
|
78
|
+
width calc(100% / 3 - 0.5rem)
|
148
79
|
align-items flex-start
|
149
80
|
background var(--efu-card-bg)
|
150
81
|
border-radius 12px
|
@@ -159,10 +90,6 @@
|
|
159
90
|
+maxWidth1200()
|
160
91
|
width 200px
|
161
92
|
min-width 200px
|
162
|
-
margin-left .5rem
|
163
|
-
|
164
|
-
&:last-child
|
165
|
-
margin-right 1rem
|
166
93
|
|
167
94
|
&:hover .post_cover a .recent-post-top-text
|
168
95
|
left 0
|
@@ -214,7 +141,6 @@
|
|
214
141
|
&:hover
|
215
142
|
color var(--efu-fontcolor)
|
216
143
|
|
217
|
-
|
218
144
|
.todayCard
|
219
145
|
display none
|
220
146
|
|
@@ -227,7 +153,6 @@
|
|
227
153
|
right 0
|
228
154
|
background var(--efu-card-bg)
|
229
155
|
border-radius 12px
|
230
|
-
margin-left 0.5rem
|
231
156
|
overflow hidden
|
232
157
|
transition .3s
|
233
158
|
display flex
|
@@ -315,10 +240,6 @@
|
|
315
240
|
|
316
241
|
.banner-button-group
|
317
242
|
bottom: 1rem
|
318
|
-
|
319
|
-
+maxWidth768()
|
320
|
-
margin-right 1rem
|
321
|
-
|
322
243
|
.banners-links
|
323
244
|
display flex
|
324
245
|
position absolute
|
@@ -5,7 +5,7 @@ if hexo-config('hometop.enable') || hexo-config('says.enable')
|
|
5
5
|
padding .5rem 1.5rem
|
6
6
|
|
7
7
|
+maxWidth768()
|
8
|
-
padding 0
|
8
|
+
padding 0 1rem
|
9
9
|
margin-top 0
|
10
10
|
|
11
11
|
if hexo-config('hometop.enable')
|
@@ -14,4 +14,11 @@ if hexo-config('hometop.enable')
|
|
14
14
|
if hexo-config('carousel')
|
15
15
|
@import "carousel.styl"
|
16
16
|
|
17
|
-
@import "category-bar.styl"
|
17
|
+
@import "category-bar.styl"
|
18
|
+
|
19
|
+
if hexo-config('aside.position') == 0
|
20
|
+
#home
|
21
|
+
order 2
|
22
|
+
else
|
23
|
+
#home
|
24
|
+
order 1
|
@@ -1,137 +1,155 @@
|
|
1
1
|
div#banners
|
2
|
-
display
|
3
|
-
|
2
|
+
display flex
|
3
|
+
width 100%
|
4
|
+
background var(--efu-card-bg)
|
5
|
+
border var(--style-border-always)
|
6
|
+
border-radius 12px
|
7
|
+
overflow hidden
|
8
|
+
position relative
|
9
|
+
box-shadow var(--efu-shadow-border)
|
10
|
+
flex-direction column
|
11
|
+
transition .3s
|
12
|
+
will-change transform
|
13
|
+
animation slide-in .6s .1s backwards
|
14
|
+
|
15
|
+
#home_top &
|
16
|
+
+maxWidth1200()
|
17
|
+
height calc(328px + .5rem)
|
18
|
+
|
19
|
+
:not(.flink)&:hover
|
20
|
+
box-shadow var(--efu-shadow-main)
|
21
|
+
|
22
|
+
.banner-button-group
|
23
|
+
position absolute
|
24
|
+
right 2rem
|
25
|
+
top 2rem
|
4
26
|
display flex
|
5
|
-
|
6
|
-
|
7
|
-
|
27
|
+
|
28
|
+
+maxWidth768()
|
29
|
+
display none
|
30
|
+
|
31
|
+
.banner-button
|
32
|
+
padding 8px 12px
|
33
|
+
background var(--efu-fontcolor)
|
8
34
|
border-radius 12px
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
35
|
+
color var(--efu-card-bg)
|
36
|
+
display flex
|
37
|
+
align-items center
|
38
|
+
z-index 1
|
13
39
|
transition .3s
|
14
|
-
|
15
|
-
|
40
|
+
cursor pointer
|
41
|
+
box-shadow var(--efu-shadow-black)
|
42
|
+
|
43
|
+
&.secondary
|
44
|
+
background var(--efu-secondbg)
|
45
|
+
border var(--style-border-always)
|
46
|
+
color var(--efu-lighttext)
|
47
|
+
margin-right 1rem
|
48
|
+
box-shadow var(--efu-shadow-border)
|
49
|
+
|
50
|
+
&:hover
|
51
|
+
background var(--efu-theme)
|
52
|
+
color var(--efu-white)
|
53
|
+
|
54
|
+
i
|
55
|
+
margin-right 8px
|
56
|
+
font-size 1rem
|
57
|
+
|
58
|
+
/.banners-title
|
59
|
+
top 2.6rem
|
60
|
+
left 2rem
|
61
|
+
position absolute
|
62
|
+
display flex
|
63
|
+
flex-direction column
|
16
64
|
|
17
|
-
|
18
|
-
|
65
|
+
&-big
|
66
|
+
font-size 36px
|
67
|
+
line-height 1
|
68
|
+
font-weight 700
|
69
|
+
margin-bottom 8px
|
70
|
+
|
71
|
+
&-small
|
72
|
+
font-size 12px
|
73
|
+
line-height 1
|
74
|
+
color var(--efu-secondtext)
|
75
|
+
margin-top 8px
|
76
|
+
margin-bottom 0.5rem
|
77
|
+
margin-left 2px
|
78
|
+
|
79
|
+
/.flink
|
80
|
+
.banners-title
|
81
|
+
top 1.5rem
|
82
|
+
|
83
|
+
.bannerText
|
84
|
+
font-size 4rem
|
85
|
+
line-height 4rem
|
86
|
+
font-weight 700
|
19
87
|
|
20
|
-
|
21
|
-
|
22
|
-
right 2rem
|
23
|
-
top 2rem
|
24
|
-
display flex
|
88
|
+
/.tags-group-all
|
89
|
+
display flex
|
25
90
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
color var(--efu-card-bg)
|
31
|
-
display flex
|
32
|
-
align-items center
|
33
|
-
z-index 1
|
34
|
-
transition .3s
|
35
|
-
cursor pointer
|
36
|
-
box-shadow var(--efu-shadow-black)
|
37
|
-
|
38
|
-
&.secondary
|
39
|
-
background var(--efu-secondbg)
|
40
|
-
border var(--style-border-always)
|
41
|
-
color var(--efu-lighttext)
|
42
|
-
margin-right 1rem
|
43
|
-
box-shadow var(--efu-shadow-border)
|
44
|
-
|
45
|
-
&:hover
|
46
|
-
background var(--efu-theme)
|
47
|
-
color var(--efu-white)
|
91
|
+
#home_top &
|
92
|
+
+maxWidth600()
|
93
|
+
opacity 0.06
|
94
|
+
filter blur(8px)
|
48
95
|
|
49
|
-
|
50
|
-
|
51
|
-
font-size 1rem
|
96
|
+
&.nowrapMove
|
97
|
+
padding-bottom 2rem
|
52
98
|
|
53
|
-
|
54
|
-
top
|
55
|
-
|
56
|
-
position absolute
|
99
|
+
.tags-group-wrapper
|
100
|
+
margin-top: 7rem
|
101
|
+
animation: rowleft 120s linear infinite
|
57
102
|
display flex
|
58
|
-
flex-direction column
|
59
|
-
|
60
|
-
&-big
|
61
|
-
font-size 36px
|
62
|
-
line-height 1
|
63
|
-
font-weight 700
|
64
|
-
margin-bottom 8px
|
65
|
-
|
66
|
-
&-small
|
67
|
-
font-size 12px
|
68
|
-
line-height 1
|
69
|
-
color var(--efu-secondtext)
|
70
|
-
margin-top 8px
|
71
|
-
margin-bottom 0.5rem
|
72
|
-
margin-left 2px
|
73
|
-
|
74
|
-
/.flink
|
75
|
-
.banners-title
|
76
|
-
top 1.5rem
|
77
|
-
|
78
|
-
.bannerText
|
79
|
-
font-size 4rem
|
80
|
-
line-height 4rem
|
81
|
-
font-weight 700
|
82
|
-
|
83
|
-
/.tags-group-all
|
84
|
-
display flex
|
85
103
|
|
86
|
-
|
87
|
-
|
104
|
+
+maxWidth768()
|
105
|
+
margin-top 7.5rem
|
88
106
|
|
89
|
-
|
90
|
-
|
91
|
-
animation: rowleft 120s linear infinite
|
92
|
-
display flex
|
107
|
+
.tags-group-icon
|
108
|
+
border-radius 50%
|
93
109
|
|
94
|
-
|
110
|
+
img
|
111
|
+
min-width 100%
|
112
|
+
min-height 100%
|
95
113
|
border-radius 50%
|
114
|
+
object-fit cover
|
96
115
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
border-radius 50%
|
101
|
-
object-fit cover
|
116
|
+
.tags-group-icon-pair
|
117
|
+
margin-left 1rem
|
118
|
+
user-select none
|
102
119
|
|
103
|
-
|
104
|
-
|
105
|
-
user-select none
|
120
|
+
a img
|
121
|
+
border-radius 50%
|
106
122
|
|
107
|
-
|
108
|
-
|
123
|
+
/.tags-group-icon
|
124
|
+
width 120px
|
125
|
+
height 120px
|
126
|
+
border-radius 30px
|
127
|
+
display flex
|
128
|
+
align-items center
|
129
|
+
justify-content center
|
130
|
+
color #fff
|
131
|
+
font-size 66px
|
132
|
+
font-weight 700
|
133
|
+
box-shadow var(--efu-shadow-blackdeep)
|
109
134
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
display flex
|
115
|
-
align-items center
|
116
|
-
justify-content center
|
117
|
-
color #fff
|
118
|
-
font-size 66px
|
119
|
-
font-weight 700
|
120
|
-
box-shadow var(--efu-shadow-blackdeep)
|
135
|
+
#page &
|
136
|
+
+maxWidth768()
|
137
|
+
width 50px
|
138
|
+
height 50px
|
121
139
|
|
122
|
-
|
123
|
-
|
124
|
-
|
140
|
+
&:nth-child(even)
|
141
|
+
margin-top 1rem
|
142
|
+
transform translate(-60px)
|
125
143
|
|
126
|
-
|
127
|
-
|
144
|
+
img
|
145
|
+
width 60%
|
128
146
|
|
129
147
|
.author-content
|
130
148
|
display flex
|
131
149
|
flex-wrap wrap
|
132
150
|
justify-content space-between
|
133
151
|
width 100%
|
134
|
-
|
152
|
+
gap .5rem
|
135
153
|
|
136
154
|
+maxWidth768()
|
137
155
|
margin-top 0
|
@@ -141,7 +159,6 @@ div#banners
|
|
141
159
|
animation slide-in .6s 0s backwards
|
142
160
|
+maxWidth768()
|
143
161
|
width 100% !important
|
144
|
-
margin-top 1rem
|
145
162
|
padding 1rem
|
146
163
|
|
147
164
|
.author-content.author-content-item.sharePage
|
@@ -152,7 +169,7 @@ div#banners
|
|
152
169
|
margin-top 0
|
153
170
|
|
154
171
|
.author-content-item
|
155
|
-
width 49%
|
172
|
+
width 49.5%
|
156
173
|
border-radius 12px
|
157
174
|
background var(--efu-card-bg)
|
158
175
|
border var(--style-border-always)
|
@@ -161,11 +178,6 @@ div#banners
|
|
161
178
|
overflow hidden
|
162
179
|
padding 1rem 2rem
|
163
180
|
|
164
|
-
+maxWidth768()
|
165
|
-
width 100%
|
166
|
-
margin-top 1rem
|
167
|
-
padding 1rem
|
168
|
-
|
169
181
|
&.single
|
170
182
|
width 100%
|
171
183
|
|
@@ -56,7 +56,7 @@ if hexo-config('says.home_mini')
|
|
56
56
|
|
57
57
|
if hexo-config('says.enable')
|
58
58
|
#bber
|
59
|
-
margin-top
|
59
|
+
margin-top .5rem
|
60
60
|
width 100%
|
61
61
|
|
62
62
|
if hexo-config('says.style') == 2
|
@@ -101,12 +101,6 @@ if hexo-config('says.enable')
|
|
101
101
|
width 100%
|
102
102
|
height 100%
|
103
103
|
|
104
|
-
& > section
|
105
|
-
& > ul
|
106
|
-
& > li
|
107
|
-
&.item
|
108
|
-
margin-bottom 1rem
|
109
|
-
|
110
104
|
if hexo-config('says.style') == 1
|
111
105
|
.bber-bottom
|
112
106
|
display flex
|
@@ -279,7 +273,7 @@ if hexo-config('says.enable')
|
|
279
273
|
li
|
280
274
|
&.item
|
281
275
|
position relative
|
282
|
-
width
|
276
|
+
width calc(33% - .06rem)
|
283
277
|
border var(--style-border-always)
|
284
278
|
border-radius 12px
|
285
279
|
padding 1rem 1rem .5rem
|
@@ -290,11 +284,12 @@ if hexo-config('says.enable')
|
|
290
284
|
justify-content space-between
|
291
285
|
align-items flex-start
|
292
286
|
background var(--efu-card-bg)
|
287
|
+
margin-right .5rem
|
288
|
+
margin-bottom .5rem
|
293
289
|
box-shadow var(--efu-shadow-border)
|
294
|
-
margin-right 2%
|
295
290
|
|
296
291
|
+maxWidth1300()
|
297
|
-
width 49%
|
292
|
+
width 49.5%
|
298
293
|
margin-right 1%
|
299
294
|
|
300
295
|
+maxWidth768()
|
@@ -317,7 +312,6 @@ if hexo-config('says.enable')
|
|
317
312
|
display flex
|
318
313
|
flex-direction row
|
319
314
|
flex-wrap wrap
|
320
|
-
justify-content space-between
|
321
315
|
|
322
316
|
li
|
323
317
|
&.item
|
@@ -3,7 +3,7 @@
|
|
3
3
|
position: relative
|
4
4
|
float: left
|
5
5
|
overflow: hidden
|
6
|
-
margin:
|
6
|
+
margin: 0
|
7
7
|
width: calc(50% - 8px)
|
8
8
|
height: 250px
|
9
9
|
border-radius: 8px
|
@@ -92,8 +92,10 @@
|
|
92
92
|
transform: translate3d(-100%, 0, 0)
|
93
93
|
|
94
94
|
.gallery-group-main
|
95
|
-
overflow
|
96
|
-
|
95
|
+
overflow auto
|
96
|
+
display flex
|
97
|
+
gap .5rem
|
98
|
+
margin-top .5rem
|
97
99
|
|
98
100
|
.gallery-item
|
99
101
|
min-height 5rem
|