hexo-theme-solitude 1.5.4 → 1.5.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/.github/ISSUE_TEMPLATE/bug_report.yml +7 -6
- package/.github/ISSUE_TEMPLATE/feature_request.yml +1 -1
- package/README.md +23 -23
- package/{README_EN.md → README_zh-cn.md} +23 -23
- package/README_zh-tw.md +2 -2
- package/_config.yml +0 -12
- package/languages/en.yml +9 -6
- package/languages/zh-CN.yml +9 -6
- package/languages/zh-TW.yml +9 -6
- package/layout/includes/head/config.pug +9 -6
- package/layout/includes/inject/body.pug +7 -6
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/page/music.pug +2 -12
- package/layout/includes/widgets/page/about/personalities.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +0 -2
- package/layout/page.pug +0 -4
- package/package.json +1 -1
- package/plugins.yml +0 -4
- package/scripts/event/cdn.js +6 -1
- package/scripts/tags/button.js +1 -1
- package/scripts/tags/bvideo.js +2 -2
- package/scripts/tags/gallery.js +54 -0
- package/scripts/tags/image.js +1 -1
- package/scripts/tags/link.js +6 -3
- package/scripts/tags/note.js +6 -0
- package/source/css/_global/function.styl +4 -0
- package/source/css/_page/_gallery/index.styl +0 -66
- package/source/css/_page/_home/home-top.styl +1 -1
- package/source/css/_page/music.styl +9 -9
- package/source/css/_page/share.styl +2 -2
- package/source/css/_widgets/_post/content.styl +7 -0
- package/source/css/_widgets/_post/copyright.styl +0 -18
- package/source/css/_widgets/_tags/button.styl +29 -49
- package/source/css/_widgets/_tags/checkbox.styl +176 -57
- package/source/css/_widgets/_tags/fold.styl +65 -79
- package/source/css/_widgets/_tags/gallery.styl +67 -0
- package/source/css/_widgets/_tags/index.styl +32 -30
- package/source/css/_widgets/_tags/label.styl +4 -3
- package/source/css/_widgets/_tags/link.styl +48 -77
- package/source/css/_widgets/_tags/media.styl +57 -0
- package/source/css/_widgets/_tags/mermaid.styl +1 -2
- package/source/css/_widgets/_tags/note.styl +1 -7
- package/source/css/_widgets/_tags/span.styl +24 -51
- package/source/css/_widgets/_tags/tabs.styl +3 -1
- package/source/css/_widgets/index.styl +1 -1
- package/source/js/covercolor/api.js +16 -16
- package/source/js/covercolor/local.js +16 -16
- package/source/js/lately.min.js +6 -0
- package/source/js/main.js +2 -33
- package/source/js/music.js +91 -139
- package/source/js/utils.js +6 -0
- package/layout/includes/page/album.pug +0 -38
- package/layout/includes/page/gallery.pug +0 -11
- package/scripts/generator/gallery.js +0 -49
- package/scripts/tags/card.js +0 -9
- package/scripts/tags/u.js +0 -7
- package/source/css/_widgets/_tags/bvideo.styl +0 -8
- package/source/css/_widgets/_tags/card.styl +0 -52
- package/source/css/_widgets/_tags/image.styl +0 -10
- package/source/css/_widgets/_tags/inline-image.styl +0 -6
- /package/.github/workflows/{npm-publish-github-packages.yml → publish.yml} +0 -0
@@ -8,72 +8,6 @@
|
|
8
8
|
-webkit-box-align stretch
|
9
9
|
align-items stretch
|
10
10
|
|
11
|
-
.gallery-item
|
12
|
-
overflow hidden
|
13
|
-
border var(--style-border-always)
|
14
|
-
border-radius 12px
|
15
|
-
position relative
|
16
|
-
float left
|
17
|
-
display flex
|
18
|
-
height 250px
|
19
|
-
width calc(100% / 3 - 16px)
|
20
|
-
cursor pointer
|
21
|
-
margin 8px
|
22
|
-
+maxWidth1200()
|
23
|
-
width calc(100% / 2 - 16px)
|
24
|
-
|
25
|
-
+maxWidth768()
|
26
|
-
width 100%
|
27
|
-
|
28
|
-
&:hover
|
29
|
-
.cover
|
30
|
-
filter brightness(0.5) blur(2px)
|
31
|
-
transition all .3s
|
32
|
-
|
33
|
-
.title::after
|
34
|
-
width 100%
|
35
|
-
transition all .3s
|
36
|
-
|
37
|
-
.desc
|
38
|
-
left 10%
|
39
|
-
transition left .35s
|
40
|
-
text-wrap unset
|
41
|
-
|
42
|
-
.cover
|
43
|
-
width 100%
|
44
|
-
object-fit cover
|
45
|
-
transition all 0.3s
|
46
|
-
|
47
|
-
.title
|
48
|
-
position absolute
|
49
|
-
top 10%
|
50
|
-
left 10%
|
51
|
-
font-weight 700
|
52
|
-
font-size 32px
|
53
|
-
color var(--efu-white)
|
54
|
-
|
55
|
-
&::after
|
56
|
-
top 55px
|
57
|
-
width 0
|
58
|
-
left 0
|
59
|
-
height 3px
|
60
|
-
background var(--efu-white)
|
61
|
-
content ""
|
62
|
-
border-radius 1px
|
63
|
-
position absolute
|
64
|
-
transition all .3s
|
65
|
-
|
66
|
-
.desc
|
67
|
-
position absolute
|
68
|
-
top 35%
|
69
|
-
left 100%
|
70
|
-
width 80%
|
71
|
-
color var(--efu-white)
|
72
|
-
font-size 1.1em
|
73
|
-
transition left .35s
|
74
|
-
letter-spacing 1px
|
75
|
-
text-wrap break-word
|
76
|
-
|
77
11
|
#album
|
78
12
|
margin 5px auto
|
79
13
|
|
@@ -26,7 +26,6 @@ body[data-type=music]
|
|
26
26
|
left -50%
|
27
27
|
background-size 40%
|
28
28
|
transition 0.6s
|
29
|
-
background-image url(https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg)
|
30
29
|
|
31
30
|
&:before
|
32
31
|
content ''
|
@@ -54,6 +53,7 @@ body[data-type=music]
|
|
54
53
|
|
55
54
|
.aplayer-body
|
56
55
|
width 70%
|
56
|
+
height 88vh
|
57
57
|
|
58
58
|
+maxWidth798()
|
59
59
|
width 100%
|
@@ -64,10 +64,10 @@ body[data-type=music]
|
|
64
64
|
left 0
|
65
65
|
right 0
|
66
66
|
top 0
|
67
|
-
height
|
67
|
+
height 75vh
|
68
68
|
|
69
69
|
ol
|
70
|
-
max-height
|
70
|
+
max-height 88vh !important
|
71
71
|
|
72
72
|
+maxWidth798()
|
73
73
|
max-height 100%!important
|
@@ -194,7 +194,7 @@ body[data-type=music]
|
|
194
194
|
+maxWidth798()
|
195
195
|
display flex
|
196
196
|
position fixed
|
197
|
-
top
|
197
|
+
top 88vh
|
198
198
|
left 0
|
199
199
|
margin 0
|
200
200
|
margin-left 32px
|
@@ -229,7 +229,7 @@ body[data-type=music]
|
|
229
229
|
|
230
230
|
.aplayer-lrc
|
231
231
|
padding-top 240px
|
232
|
-
height
|
232
|
+
height 100vh
|
233
233
|
|
234
234
|
+maxWidth798()
|
235
235
|
margin-top 0
|
@@ -254,7 +254,7 @@ body[data-type=music]
|
|
254
254
|
opacity 0.3
|
255
255
|
transition all 0.9s cubic-bezier(0.56, 0.17, 0.22, 0.76)
|
256
256
|
user-select none
|
257
|
-
text-shadow
|
257
|
+
text-shadow 0 4px 0 #ffffff00
|
258
258
|
overflow hidden
|
259
259
|
|
260
260
|
+maxWidth798()
|
@@ -414,10 +414,10 @@ body[data-type=music]
|
|
414
414
|
bottom 0px
|
415
415
|
left 0
|
416
416
|
background var(--efu-white)
|
417
|
-
border-radius 16px 16px
|
418
|
-
padding 15px
|
417
|
+
border-radius 16px 16px 0 0
|
418
|
+
padding 15px 0
|
419
419
|
max-width 100%
|
420
|
-
height
|
420
|
+
height 75vh
|
421
421
|
|
422
422
|
&.aplayer-list-hide
|
423
423
|
bottom -100% !important
|
@@ -1,5 +1,11 @@
|
|
1
1
|
#article-container
|
2
2
|
overflow-wrap break-word
|
3
|
+
+maxWidth768()
|
4
|
+
overflow hidden
|
5
|
+
|
6
|
+
iframe
|
7
|
+
border-radius 12px
|
8
|
+
margin 0 0 1rem
|
3
9
|
|
4
10
|
a
|
5
11
|
color var(--efu-fontcolor)
|
@@ -11,6 +17,7 @@
|
|
11
17
|
text-decoration none
|
12
18
|
color var(--efu-white)
|
13
19
|
border-radius 4px
|
20
|
+
background var(--efu-main)
|
14
21
|
|
15
22
|
.table-wrap
|
16
23
|
margin 1rem 0
|
@@ -25,14 +25,6 @@
|
|
25
25
|
border var(--style-border-always)
|
26
26
|
box-shadow var(--efu-shadow-main)
|
27
27
|
|
28
|
-
if hexo-config('post.default.copyright.author.enable')
|
29
|
-
&:hover
|
30
|
-
img.post-copyright__author_img_front
|
31
|
-
transform scale(1) translateY(3px)
|
32
|
-
|
33
|
-
img.post-copyright__author_img_back
|
34
|
-
transform scale(.8)
|
35
|
-
|
36
28
|
img
|
37
29
|
width 100%
|
38
30
|
height 100%
|
@@ -42,16 +34,6 @@
|
|
42
34
|
bottom 0
|
43
35
|
left 0
|
44
36
|
|
45
|
-
if hexo-config('post.default.copyright.author.enable')
|
46
|
-
&_back
|
47
|
-
border-radius 66px
|
48
|
-
z-index 10
|
49
|
-
|
50
|
-
if hexo-config('post.default.copyright.author.enable')
|
51
|
-
&_front
|
52
|
-
z-index 20
|
53
|
-
transform scale(1.2) translateY(6px)
|
54
|
-
|
55
37
|
.post-copyright__author_name
|
56
38
|
text-align center
|
57
39
|
font-size 20px
|
@@ -1,60 +1,40 @@
|
|
1
1
|
#article-container
|
2
|
-
.btn-center
|
3
|
-
margin: 0 0 20px
|
4
|
-
text-align: center
|
5
|
-
|
6
2
|
.btn-sco
|
7
3
|
position relative
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
border-radius
|
12
|
-
margin 0 4px 6px
|
13
|
-
font-weight bold
|
14
|
-
border 1px solid var(--efu-main-op)
|
4
|
+
padding 8px 15px
|
5
|
+
text-transform uppercase
|
6
|
+
border var(--style-border)
|
7
|
+
border-radius 10px
|
15
8
|
overflow hidden
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
9
|
+
transition all 0.3s
|
10
|
+
display inline-flex
|
11
|
+
justify-content center
|
12
|
+
align-items center
|
20
13
|
|
21
|
-
|
22
|
-
|
14
|
+
&.outline
|
15
|
+
background var(--efu-white)
|
16
|
+
color var(--efu-main)
|
17
|
+
border-color var(--efu-main)
|
23
18
|
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
&:hover
|
20
|
+
background var(--efu-main)
|
21
|
+
color var(--efu-white)
|
22
|
+
border-color var(--efu-main)
|
27
23
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
width fit-content
|
24
|
+
i
|
25
|
+
transition all 0.3s
|
26
|
+
padding-right 8px
|
32
27
|
|
33
|
-
|
34
|
-
|
28
|
+
span
|
29
|
+
transition all 0.3s
|
35
30
|
|
36
|
-
|
37
|
-
|
31
|
+
&:hover
|
32
|
+
background var(--efu-main)
|
38
33
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
width 100px
|
43
|
-
height 100%
|
44
|
-
background-image linear-gradient(
|
45
|
-
120deg,
|
46
|
-
rgba(255, 255, 255, 0) 30%,
|
47
|
-
rgba(255, 255, 255, 0.8),
|
48
|
-
rgba(255, 255, 255, 0) 70%
|
49
|
-
)
|
50
|
-
top 0
|
51
|
-
left -100px
|
52
|
-
opacity 0.6
|
34
|
+
span
|
35
|
+
transform all 0.3s ease-in-out
|
36
|
+
color var(--efu-white)
|
53
37
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
60%
|
58
|
-
left 100%
|
59
|
-
to
|
60
|
-
left 100%
|
38
|
+
i
|
39
|
+
transform all 0.3s ease-in-out
|
40
|
+
color var(--efu-white)
|
@@ -1,85 +1,204 @@
|
|
1
|
-
$border-colors = {
|
2
|
-
red: #fe5f58,
|
3
|
-
green: #3dc550,
|
4
|
-
yellow: #ffbd2b,
|
5
|
-
cyan: #1bcdfc,
|
6
|
-
blue: #2196f3
|
7
|
-
}
|
8
|
-
|
9
1
|
.checkbox
|
10
2
|
display flex
|
11
3
|
align-items center
|
12
|
-
|
13
|
-
display inline-block
|
14
|
-
margin 2px 0 0 !important
|
4
|
+
|
15
5
|
input
|
16
6
|
appearance none
|
17
7
|
position relative
|
18
8
|
height 16px
|
19
9
|
width 16px
|
20
|
-
transition all
|
10
|
+
transition all .15s ease-out 0s
|
21
11
|
cursor pointer
|
22
12
|
display inline-block
|
23
|
-
outline
|
13
|
+
outline 0
|
14
|
+
border-radius 2px
|
24
15
|
flex-shrink 0
|
25
16
|
margin-right 8px
|
26
17
|
border 2px solid #2196f3
|
27
18
|
pointer-events none
|
28
|
-
|
29
|
-
|
30
|
-
position absolute
|
31
|
-
content ""
|
32
|
-
background #fff
|
33
|
-
&:checked
|
34
|
-
background #2196f3
|
35
|
-
[type="checkbox"]
|
19
|
+
|
20
|
+
&[type=checkbox]
|
36
21
|
&:before
|
37
22
|
left 1px
|
38
23
|
top 5px
|
39
24
|
width 0
|
40
25
|
height 2px
|
41
|
-
transition all
|
26
|
+
transition all .2s ease-in
|
42
27
|
transform rotate(45deg)
|
28
|
+
|
43
29
|
&:after
|
44
30
|
right 7px
|
45
31
|
bottom 3px
|
46
32
|
width 2px
|
47
33
|
height 0
|
48
|
-
transition all
|
34
|
+
transition all .2s ease-out
|
49
35
|
transform rotate(40deg)
|
50
|
-
transition-delay
|
36
|
+
transition-delay .25s
|
37
|
+
|
51
38
|
&:checked
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
39
|
+
background #2196f3
|
40
|
+
|
41
|
+
&:checked:before
|
42
|
+
left 0
|
43
|
+
top 7px
|
44
|
+
width 6px
|
45
|
+
height 2px
|
46
|
+
|
47
|
+
&:checked:after
|
48
|
+
right 3px
|
49
|
+
bottom 1px
|
50
|
+
width 2px
|
51
|
+
height 10px
|
52
|
+
|
53
|
+
&.minus
|
54
|
+
input[type=checkbox]:before
|
55
|
+
transform rotate(0)
|
56
|
+
left 1px
|
57
|
+
top 5px
|
58
|
+
width 0
|
59
|
+
height 2px
|
60
|
+
|
61
|
+
input[type=checkbox]:after
|
62
|
+
transform rotate(0)
|
63
|
+
left 1px
|
64
|
+
top 5px
|
65
|
+
width 0
|
66
|
+
height 2px
|
67
|
+
|
68
|
+
input[type=checkbox]:checked:before
|
69
|
+
left 1px
|
70
|
+
top 5px
|
71
|
+
width 10px
|
72
|
+
height 2px
|
73
|
+
|
74
|
+
input[type=checkbox]:checked:after
|
75
|
+
left 1px
|
76
|
+
top 5px
|
77
|
+
width 10px
|
78
|
+
height 2px
|
79
|
+
|
80
|
+
&.plus
|
81
|
+
input[type=checkbox]:before
|
82
|
+
transform rotate(0)
|
83
|
+
left 1px
|
84
|
+
top 5px
|
85
|
+
width 0
|
86
|
+
height 2px
|
87
|
+
|
88
|
+
input[type=checkbox]:after
|
89
|
+
transform rotate(0)
|
90
|
+
left 5px
|
91
|
+
top 1px
|
92
|
+
width 2px
|
93
|
+
height 0
|
94
|
+
|
95
|
+
input[type=checkbox]:checked:before
|
96
|
+
left 1px
|
97
|
+
top 5px
|
98
|
+
width 10px
|
99
|
+
height 2px
|
100
|
+
|
101
|
+
input[type=checkbox]:checked:after
|
102
|
+
left 5px
|
103
|
+
top 1px
|
104
|
+
width 2px
|
105
|
+
height 10px
|
106
|
+
|
107
|
+
&.times
|
108
|
+
input[type=checkbox]:before
|
109
|
+
transform rotate(45deg)
|
110
|
+
left 3px
|
111
|
+
top 1px
|
112
|
+
width 0
|
113
|
+
height 2px
|
114
|
+
|
115
|
+
input[type=checkbox]:after
|
116
|
+
transform rotate(135deg)
|
117
|
+
right 3px
|
118
|
+
top 1px
|
119
|
+
width 0
|
120
|
+
height 2px
|
121
|
+
|
122
|
+
input[type=checkbox]:checked:before
|
123
|
+
left 1px
|
124
|
+
top 5px
|
125
|
+
width 10px
|
126
|
+
height 2px
|
127
|
+
|
128
|
+
input[type=checkbox]:checked:after
|
129
|
+
right 1px
|
130
|
+
top 5px
|
131
|
+
width 10px
|
132
|
+
height 2px
|
133
|
+
|
134
|
+
input[type=radio]
|
135
|
+
border-radius 50%
|
136
|
+
|
137
|
+
&:before
|
138
|
+
content ""
|
139
|
+
display block
|
140
|
+
width 8px
|
141
|
+
height 8px
|
63
142
|
border-radius 50%
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
143
|
+
margin 2px
|
144
|
+
transform scale(0)
|
145
|
+
transition all .25s ease-out
|
146
|
+
|
147
|
+
&:checked:before
|
148
|
+
transform scale(1)
|
149
|
+
background var(--text-bg-hover)
|
150
|
+
|
151
|
+
&.red input
|
152
|
+
border-color #fe5f58
|
153
|
+
|
154
|
+
&[type=checkbox]:checked
|
155
|
+
background #fe5f58
|
156
|
+
|
157
|
+
&[type=radio]:checked:before
|
158
|
+
background #fe5f58
|
159
|
+
|
160
|
+
&.green input
|
161
|
+
border-color #3dc550
|
162
|
+
|
163
|
+
&[type=checkbox]:checked
|
164
|
+
background #3dc550
|
165
|
+
|
166
|
+
&[type=radio]:checked:before
|
167
|
+
background #3dc550
|
168
|
+
|
169
|
+
&.yellow input
|
170
|
+
border-color #ffbd2b
|
171
|
+
|
172
|
+
&[type=checkbox]:checked
|
173
|
+
background #ffbd2b
|
174
|
+
|
175
|
+
&[type=radio]:checked:before
|
176
|
+
background #ffbd2b
|
177
|
+
|
178
|
+
&.cyan input
|
179
|
+
border-color #1bcdfc
|
180
|
+
|
181
|
+
&[type=checkbox]:checked
|
182
|
+
background #1bcdfc
|
183
|
+
|
184
|
+
&[type=radio]:checked:before
|
185
|
+
background #1bcdfc
|
186
|
+
|
187
|
+
&.blue input
|
188
|
+
border-color #2196f3
|
189
|
+
|
190
|
+
&[type=checkbox]:checked
|
191
|
+
background #2196f3
|
192
|
+
|
193
|
+
&[type=radio]:checked:before
|
194
|
+
background #2196f3
|
195
|
+
|
196
|
+
p
|
197
|
+
display: inline-block
|
198
|
+
margin-top 2px !important
|
199
|
+
margin-bottom 0 !important
|
200
|
+
|
201
|
+
input[type=checkbox]:after, input[type=checkbox]:before
|
202
|
+
position absolute
|
203
|
+
content ""
|
204
|
+
background #fff
|