hexo-theme-solitude 3.0.12 → 3.0.14

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/languages/en.yml CHANGED
File without changes
File without changes
File without changes
@@ -8,6 +8,4 @@ case use[0]
8
8
  when 'Valine'
9
9
  !=partial('includes/widgets/sidebar/valine', {}, {cache: true})
10
10
  when 'Artalk'
11
- !=partial('includes/widgets/sidebar/artalk', {}, {cache: true})
12
- when 'Giscus'
13
- !=partial('includes/widgets/sidebar/giscus', {}, {cache: true})
11
+ !=partial('includes/widgets/sidebar/artalk', {}, {cache: true})
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "3.0.12",
3
+ "version": "3.0.14",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
5
5
  "main": "package.json",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
6
9
  "keywords": [
7
10
  "hexo",
8
11
  "theme",
@@ -26,8 +29,5 @@
26
29
  },
27
30
  "homepage": "https://solitude.js.org",
28
31
  "author": "Hexo-Theme-Solitude<o@efu.me>",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "test": "echo \"Error: no test specified\" && exit 1"
32
- }
33
- }
32
+ "license": "Apache-2.0"
33
+ }
@@ -2,7 +2,6 @@
2
2
  overflow-wrap break-word
3
3
  +maxWidth768()
4
4
  overflow hidden
5
- padding .5rem
6
5
 
7
6
  .post &
8
7
  padding 1rem 2rem
@@ -32,6 +32,7 @@
32
32
  box-shadow var(--efu-shadow-black)
33
33
  border var(--style-border)
34
34
  user-select none
35
+ position relative
35
36
 
36
37
  .item-headline
37
38
  padding-bottom 0
@@ -177,6 +177,9 @@ if hexo-config('brevity.enable')
177
177
  .aplayer
178
178
  margin 0
179
179
 
180
+ .aplayer-body
181
+ background-color var(--efu-card-bg)
182
+
180
183
  .aplayer-info
181
184
  .aplayer-music
182
185
  height 23px
@@ -185,7 +188,7 @@ if hexo-config('brevity.enable')
185
188
  font-size .8rem
186
189
  font-weight 700
187
190
  margin 0
188
- color var(--efu-black)
191
+ color var(--efu-fontcolor)
189
192
 
190
193
  .aplayer-controller
191
194
  align-items center
@@ -68,7 +68,7 @@
68
68
  font-size 2em
69
69
 
70
70
  .tag-cloud-list
71
- gap .5rem
71
+ gap 1rem
72
72
  a
73
73
  display flex
74
74
  width fit-content
@@ -1,100 +1,102 @@
1
+ galleryHeight = 250px
2
+ transitionTime = 0.35s
3
+ easeTransition = 375ms ease-in 0.2s
4
+
1
5
  .article-container
2
6
  figure.gallery-group
3
- position: relative
4
- overflow: hidden
5
- margin: 0
6
- width: calc(50% - 8px)
7
- height: 250px
8
- border-radius: 8px
9
- background: var(--efu-black)
10
- -webkit-transform: translate3d(0, 0, 0)
7
+ position relative
8
+ overflow hidden
9
+ margin 0
10
+ width calc(50% - 8px)
11
+ height galleryHeight
12
+ border-radius 8px
13
+ background var(--efu-black)
14
+ -webkit-transform translate3d(0, 0, 0)
11
15
 
12
16
  +maxWidth600()
13
- width: calc(100% - 8px)
17
+ width calc(100% - 8px)
14
18
 
15
19
  &:hover
16
20
  img
17
- opacity: .4
18
- transform: translate3d(0, 0, 0)
19
-
21
+ opacity 0.4
22
+ transform translate3d(0, 0, 0)
20
23
  .gallery-group-name::after
21
- transform: translate3d(0, 0, 0)
22
-
24
+ transform translate3d(0, 0, 0)
23
25
  p
24
- opacity: 1
25
- transform: translate3d(0, 0, 0)
26
+ opacity 1
27
+ transform translate3d(0, 0, 0)
26
28
 
27
29
  img
28
- position: relative
29
- margin: 0
30
- max-width: none
31
- width: calc(100% + 20px)
32
- height: 250px
33
- backface-visibility: hidden
34
- opacity: .8
35
- transition: all .3s, filter 375ms ease-in .2s
36
- transform: translate3d(-10px, 0, 0)
37
- object-fit: cover
30
+ position relative
31
+ margin 0
32
+ max-width none
33
+ width calc(100% + 20px)
34
+ height galleryHeight
35
+ backface-visibility hidden
36
+ opacity 0.8
37
+ transition all 0.3s, filter easeTransition
38
+ transform translate3d(-10px, 0, 0)
39
+ object-fit cover
38
40
  border none
39
41
 
40
42
  figcaption
41
- position: absolute
42
- top: 0
43
- left: 0
44
- padding: 30px
45
- width: 100%
46
- height: 100%
47
- color: var(--efu-white)
48
- text-transform: uppercase
49
- backface-visibility: hidden
43
+ position absolute
44
+ top 0
45
+ left 0
46
+ padding 30px
47
+ width 100%
48
+ height 100%
49
+ color var(--efu-white)
50
+ text-transform uppercase
51
+ backface-visibility hidden
50
52
 
51
53
  & > a
52
- position: absolute
53
- top: 0
54
- right: 0
55
- bottom: 0
56
- left: 0
57
- z-index: 1000
58
- opacity: 0
54
+ position absolute
55
+ top 0
56
+ right 0
57
+ bottom 0
58
+ left 0
59
+ z-index 1000
60
+ opacity 0
59
61
 
60
62
  p
61
63
  @extend .limit-more-line
62
- margin: 0
63
- padding: 8px 0 0
64
- letter-spacing: 1px
65
- font-size: 1.1em
66
- line-height: 1.5
67
- opacity: 0
68
- transition: opacity .35s, transform .35s
69
- transform: translate3d(100%, 0, 0)
70
- -webkit-line-clamp: 4
64
+ margin 0
65
+ padding 8px 0 0
66
+ letter-spacing 1px
67
+ font-size 1.1em
68
+ line-height 1.5
69
+ opacity 0
70
+ transition opacity transitionTime, transform transitionTime
71
+ transform translate3d(100%, 0, 0)
72
+ -webkit-line-clamp 4
71
73
 
72
74
  .gallery-group-name
73
75
  @extend .limit-more-line
74
- position: relative
75
- margin: 0
76
- padding: 8px 0
77
- font-weight: bold
78
- font-size: 1.65em
79
- line-height: 1.5
80
- -webkit-line-clamp: 2
76
+ position relative
77
+ margin 0
78
+ padding 8px 0
79
+ font-weight bold
80
+ font-size 1.65em
81
+ line-height 1.5
82
+ -webkit-line-clamp 2
81
83
 
82
84
  &:after
83
- position: absolute
84
- bottom: 0
85
- left: 0
86
- width: 100%
87
- height: 2px
88
- background: var(--efu-white)
89
- content: ''
90
- transition: transform .35s
91
- transform: translate3d(-100%, 0, 0)
85
+ position absolute
86
+ bottom 0
87
+ left 0
88
+ width 100%
89
+ height 2px
90
+ background var(--efu-white)
91
+ content ''
92
+ transition transform transitionTime
93
+ transform translate3d(-100%, 0, 0)
92
94
 
93
95
  .gallery-group-main
94
96
  overflow auto
95
97
  display flex
96
- gap .5rem
97
- margin-top .5rem
98
+ gap 0.5rem
99
+ margin-top 0.5rem
98
100
  flex-wrap wrap
99
101
 
100
102
  .gallery-item
@@ -104,21 +106,18 @@
104
106
  position relative
105
107
 
106
108
  +maxWidth1200()
107
- width 32.97%
109
+ width 32.97%
108
110
 
109
111
  +maxWidth768()
110
112
  width 49.97%
111
113
 
112
114
  img
113
- max-width: 100%;
114
- border-radius: 0;
115
+ max-width 100%
116
+ border-radius 0
115
117
  margin 0
116
118
 
117
- / #page &
118
- border-radius 8px
119
-
120
119
  .waterfall
121
120
  opacity 0
122
- transition .3s
121
+ transition 0.3s
123
122
  &.show
124
123
  opacity 1
@@ -25,7 +25,7 @@
25
25
  &.active
26
26
  background var(--light-grey)
27
27
  i,button
28
- color var(--efu-card-bg)
28
+ color var(--efu-main)
29
29
 
30
30
  i
31
31
  font-size 14px