hexo-theme-solitude 3.0.12 → 3.0.13
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.
@@ -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,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
|
4
|
-
overflow
|
5
|
-
margin
|
6
|
-
width
|
7
|
-
height
|
8
|
-
border-radius
|
9
|
-
background
|
10
|
-
-webkit-transform
|
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
|
17
|
+
width calc(100% - 8px)
|
14
18
|
|
15
19
|
&:hover
|
16
20
|
img
|
17
|
-
opacity
|
18
|
-
transform
|
19
|
-
|
21
|
+
opacity 0.4
|
22
|
+
transform translate3d(0, 0, 0)
|
20
23
|
.gallery-group-name::after
|
21
|
-
transform
|
22
|
-
|
24
|
+
transform translate3d(0, 0, 0)
|
23
25
|
p
|
24
|
-
opacity
|
25
|
-
transform
|
26
|
+
opacity 1
|
27
|
+
transform translate3d(0, 0, 0)
|
26
28
|
|
27
29
|
img
|
28
|
-
position
|
29
|
-
margin
|
30
|
-
max-width
|
31
|
-
width
|
32
|
-
height
|
33
|
-
backface-visibility
|
34
|
-
opacity
|
35
|
-
transition
|
36
|
-
transform
|
37
|
-
object-fit
|
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
|
42
|
-
top
|
43
|
-
left
|
44
|
-
padding
|
45
|
-
width
|
46
|
-
height
|
47
|
-
color
|
48
|
-
text-transform
|
49
|
-
backface-visibility
|
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
|
53
|
-
top
|
54
|
-
right
|
55
|
-
bottom
|
56
|
-
left
|
57
|
-
z-index
|
58
|
-
opacity
|
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
|
63
|
-
padding
|
64
|
-
letter-spacing
|
65
|
-
font-size
|
66
|
-
line-height
|
67
|
-
opacity
|
68
|
-
transition
|
69
|
-
transform
|
70
|
-
-webkit-line-clamp
|
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
|
75
|
-
margin
|
76
|
-
padding
|
77
|
-
font-weight
|
78
|
-
font-size
|
79
|
-
line-height
|
80
|
-
-webkit-line-clamp
|
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
|
84
|
-
bottom
|
85
|
-
left
|
86
|
-
width
|
87
|
-
height
|
88
|
-
background
|
89
|
-
content
|
90
|
-
transition
|
91
|
-
transform
|
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
|
-
|
109
|
+
width 32.97%
|
108
110
|
|
109
111
|
+maxWidth768()
|
110
112
|
width 49.97%
|
111
113
|
|
112
114
|
img
|
113
|
-
max-width
|
114
|
-
border-radius
|
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
|