hexo-theme-solitude 2.0.4 → 2.0.5

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.
@@ -1,212 +0,0 @@
1
- [data-theme="dark"]
2
- div
3
- &.btns
4
- filter brightness(0.7)
5
- a
6
- background 0 0
7
- div
8
- &.btns
9
- margin 0 -8px
10
- display flex
11
- flex-wrap wrap
12
- align-items flex-start
13
- overflow visible
14
- line-height 1.8
15
- b
16
- font-size 0.875rem
17
- &.wide
18
- & > a
19
- padding-left 32px
20
- padding-right 32px
21
- &.fill
22
- & > a
23
- flex-grow 1
24
- width auto
25
- &.around
26
- justify-content space-around
27
- &.center
28
- justify-content center
29
- &.grid2
30
- & > a
31
- width calc(100% / 2 - 16px)
32
- &.grid3
33
- & > a
34
- width calc(100% / 3 - 16px)
35
- &.grid4
36
- & > a
37
- width calc(100% / 4 - 16px)
38
- &.grid5
39
- & > a
40
- width calc(100% / 5 - 16px)
41
- a
42
- transition all 0.28s ease
43
- -moz-transition all 0.28s ease
44
- -webkit-transition all 0.28s ease
45
- -o-transition all 0.28s ease
46
- margin 8px
47
- margin-top calc(1.25 * 16px + 32px)
48
- min-width 120px
49
- font-weight bold
50
- display flex
51
- justify-content flex-start
52
- align-content center
53
- align-items center
54
- flex-direction column
55
- padding 8px
56
- text-align center
57
- background #f6f6f6
58
- border-radius 4px
59
- border-bottom none!important
60
- & > i
61
- background #2196f3!important
62
- &:first-child
63
- color #fff
64
- background #2196f3
65
- b
66
- font-weight bold
67
- line-height 1.3
68
- img
69
- margin 0.4em auto !important
70
- &:not([href])
71
- cursor default
72
- color inherit
73
- a[href]:hover
74
- background: var(--efu-main)
75
- color: var(--efu-white) !important
76
- & > i
77
- &:first-child
78
- background: var(--efu-main)
79
-
80
- div.btns,
81
- div.btns p,
82
- div.btns a
83
- font-size 0.8125rem
84
- color #555
85
-
86
- @media screen and (max-width: 1200px)
87
- div
88
- &.btns
89
- &.grid2
90
- & > a
91
- width calc(100% / 2 - 16px)
92
-
93
- @media screen and (max-width: 768px)
94
- div
95
- &.btns
96
- &.grid2
97
- & > a
98
- width calc(100% / 2 - 16px)
99
-
100
- @media screen and (max-width: 500px)
101
- div
102
- &.btns
103
- &.grid2
104
- & > a
105
- width calc(100% / 1 - 16px)
106
-
107
- @media screen and (max-width: 1200px)
108
- div
109
- &.btns
110
- &.grid3
111
- & > a
112
- width calc(100% / 3 - 16px)
113
-
114
- @media screen and (max-width: 768px)
115
- div
116
- &.btns
117
- &.grid3
118
- & > a
119
- width calc(100% / 3 - 16px)
120
-
121
- @media screen and (max-width: 500px)
122
- div
123
- &.btns
124
- &.grid3
125
- & > a
126
- width calc(100% / 1 - 16px)
127
-
128
- @media screen and (max-width: 1200px)
129
- div
130
- &.btns
131
- &.grid4
132
- & > a
133
- width calc(100% / 3 - 16px)
134
-
135
- @media screen and (max-width: 768px)
136
- div
137
- &.btns
138
- &.grid4
139
- & > a
140
- width calc(100% / 3 - 16px)
141
-
142
- @media screen and (max-width: 500px)
143
- div
144
- &.btns
145
- &.grid4
146
- & > a
147
- width calc(100% / 2 - 16px)
148
-
149
- @media screen and (max-width: 1200px)
150
- div
151
- &.btns
152
- &.grid5
153
- & > a
154
- width calc(100% / 4 - 16px)
155
-
156
- @media screen and (max-width: 768px)
157
- div
158
- &.btns
159
- &.grid5
160
- & > a
161
- width calc(100% / 3 - 16px)
162
-
163
- @media screen and (max-width: 500px)
164
- div
165
- &.btns
166
- &.grid5
167
- & > a
168
- width calc(100% / 2 - 16px)
169
-
170
- div.btns a > img:first-child,
171
- div.btns a > i:first-child
172
- transition all 0.28s ease
173
- -moz-transition all 0.28s ease
174
- -webkit-transition all 0.28s ease
175
- -o-transition all 0.28s ease
176
- height 64px
177
- width 64px
178
- box-shadow 0 1px 2px 0 rgba(0, 0, 0, 0.1)
179
- margin 16px 8px 4px 8px
180
- margin-top calc(-1.25 * 16px - 32px)
181
- border 2px solid #fff
182
- background #fff
183
- line-height 60px
184
- font-size 28px
185
-
186
- div.btns a > img:first-child.auto,
187
- div.btns a > i:first-child.auto
188
- width auto
189
-
190
- div.btns a p,
191
- div.btns a b
192
- margin 0.25em
193
- font-weight normal
194
- line-height 1.25
195
- word-wrap break-word
196
-
197
- div.btns a[href]:hover,
198
- div.btns a[href]:hover b
199
- color #ff5722
200
-
201
- div.btns a[href]:hover > img:first-child,
202
- div.btns a[href]:hover > i:first-child
203
- transform scale(1.1) translateY(-8px)
204
- box-shadow 0 4px 8px 0 rgba(0, 0, 0, 0.1)
205
-
206
- div.btns.circle a > img:first-child,
207
- div.btns.circle a > i:first-child
208
- border-radius 32px
209
-
210
- div.btns.rounded a > img:first-child,
211
- div.btns.rounded a > i:first-child
212
- border-radius 16px
@@ -1,40 +0,0 @@
1
- #article-container
2
- .btn-sco
3
- position relative
4
- padding 8px 15px
5
- text-transform uppercase
6
- border var(--style-border)
7
- border-radius 10px
8
- overflow hidden
9
- transition all 0.3s
10
- display inline-flex
11
- justify-content center
12
- align-items center
13
-
14
- &.outline
15
- background var(--efu-white)
16
- color var(--efu-main)
17
- border-color var(--efu-main)
18
-
19
- &:hover
20
- background var(--efu-main)
21
- color var(--efu-white)
22
- border-color var(--efu-main)
23
-
24
- i
25
- transition all 0.3s
26
- padding-right 8px
27
-
28
- span
29
- transition all 0.3s
30
-
31
- &:hover
32
- background var(--efu-main)
33
-
34
- span
35
- transform all 0.3s ease-in-out
36
- color var(--efu-white)
37
-
38
- i
39
- transform all 0.3s ease-in-out
40
- color var(--efu-white)
@@ -1,204 +0,0 @@
1
- .checkbox
2
- display flex
3
- align-items center
4
-
5
- input
6
- appearance none
7
- position relative
8
- height 16px
9
- width 16px
10
- transition all .15s ease-out 0s
11
- cursor pointer
12
- display inline-block
13
- outline 0
14
- border-radius 2px
15
- flex-shrink 0
16
- margin-right 8px
17
- border 2px solid #2196f3
18
- pointer-events none
19
-
20
- &[type=checkbox]
21
- &:before
22
- left 1px
23
- top 5px
24
- width 0
25
- height 2px
26
- transition all .2s ease-in
27
- transform rotate(45deg)
28
-
29
- &:after
30
- right 7px
31
- bottom 3px
32
- width 2px
33
- height 0
34
- transition all .2s ease-out
35
- transform rotate(40deg)
36
- transition-delay .25s
37
-
38
- &:checked
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
142
- border-radius 50%
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
@@ -1,65 +0,0 @@
1
- details
2
- display: block
3
- position: relative
4
- margin-bottom: 1rem
5
- min-height: 54px
6
- overflow: hidden
7
- border-radius: 12px
8
- border: var(--style-border)
9
- transition: border .3s
10
- details:hover
11
- border: var(--style-border-hover-always)
12
- details summary
13
- position: absolute
14
- padding: .5rem 1rem
15
- background: var(--efu-card-bg)
16
- margin: 0
17
- transition: .3s
18
- box-shadow: var(--efu-shadow-border)
19
- left: 0
20
- width: 100%
21
- font-weight: 700
22
- white-space: nowrap
23
- overflow: hidden
24
- text-overflow: ellipsis
25
- details>:nth-child(2)
26
- margin-top: calc(54px + 1rem)!important
27
- details[open] summary
28
- background: var(--efu-lighttext)
29
- color: var(--efu-card-bg)
30
- details summary::before
31
- content: ''
32
- padding: 4px
33
- details summary:hover
34
- cursor: pointer
35
- background: var(--efu-lighttext)
36
- color: var(--efu-card-bg)
37
- transition: .3s
38
- box-shadow: var(--efu-shadow-main)
39
- details summary:focus
40
- outline: 0
41
- details summary::marker
42
- color: var(--efu-lighttext)
43
- transition: .3s
44
- details[open] summary::marker
45
- color: var(--efu-card-bg)
46
- details summary:hover::marker
47
- color: var(--efu-card-bg)
48
- details[open]
49
- border-radius: 12px
50
- border: var(--style-border-hover-always)
51
- padding: 0 1.5rem
52
- background: var(--efu-card-bg)
53
- details summary:hover:after
54
- position: absolute
55
- content: '+'
56
- text-align: center
57
- top: calc(50% - 2px)
58
- transform: translateY(-50%)
59
- right: 16px
60
- line-height: 1
61
- details[open]>summary:hover:after
62
- content: '-'
63
- @media screen and (max-width: 768px)
64
- details[open]
65
- padding:0 16px
@@ -1,4 +0,0 @@
1
- #article-container
2
- .inline-img
3
- display inline-block
4
- margin 0
@@ -1,63 +0,0 @@
1
- .red
2
- color var(--efu-red)
3
-
4
- .green
5
- color var(--efu-green)
6
-
7
- .blue
8
- color var(--efu-blue)
9
-
10
- .yellow
11
- color var(--efu-yellow)
12
-
13
- .pink
14
- color var(--efu-pink)
15
-
16
- .purple
17
- color var(--efu-purple)
18
-
19
- .orange
20
- color var(--efu-orange)
21
-
22
- .bg-red
23
- background-color var(--efu-red)
24
- color var(--efu-white)
25
-
26
- .bg-green
27
- background-color var(--efu-green)
28
- color var(--efu-white)
29
-
30
- .bg-blue
31
- background-color var(--efu-blue)
32
- color var(--efu-white)
33
-
34
- .bg-yellow
35
- background-color var(--efu-yellow)
36
-
37
- .bg-pink
38
- background-color var(--efu-pink)
39
- color var(--efu-white)
40
-
41
- .bg-purple
42
- background-color var(--efu-purple)
43
- color var(--efu-white)
44
-
45
- .bg-orange
46
- background-color var(--efu-orange)
47
- color var(--efu-white)
48
-
49
- .block
50
- display block
51
-
52
- .center
53
- margin 0 auto
54
-
55
- .right
56
- margin-left auto
57
-
58
- .larger
59
- font-size 1.5rem
60
- margin 5px
61
-
62
- i
63
- transform scale(1.5)
@@ -1,4 +0,0 @@
1
- #article-container
2
- .hl-label
3
- padding 2px 4px
4
- border-radius 3px
@@ -1,59 +0,0 @@
1
- #article-container
2
- a.tag-link
3
- background var(--efu-secondbg)
4
- border-radius 8px !important
5
- display flex
6
- border var(--style-border)
7
- flex-direction column
8
- padding 0.5rem 1rem
9
- border-width 1px
10
- margin 1rem 0
11
-
12
- &:hover
13
- background var(--efu-main)
14
- border var(--style-border-hover) !important
15
-
16
- .tag-link-tips
17
- color var(--efu-white)
18
-
19
- i
20
- opacity 1
21
-
22
- i
23
- transition .3s
24
- margin-left auto
25
- opacity .6
26
-
27
- .tag-link-bottom
28
- display flex
29
- margin-top 0.5rem
30
- align-items center
31
- justify-content space-around
32
-
33
- .tag-link-left
34
- width 60px
35
- min-width 60px
36
- height 60px
37
- background-size cover
38
- border-radius 8px
39
- background-color var(--efu-card-bg)
40
- display flex
41
- align-items center
42
- justify-content center
43
-
44
- i
45
- padding 0
46
- margin auto
47
- font-size 24px
48
- color var(--efu-fontcolor)
49
-
50
- .tag-link-right
51
- margin-left 1rem
52
- max-width calc(100% - 76px - 1rem)
53
-
54
- .tag-link-tips
55
- border-bottom var(--style-border)
56
- padding-bottom 4px
57
- font-size 12px
58
- color var(--efu-gray)
59
- font-weight 400
@@ -1,57 +0,0 @@
1
- trans($time = 0.28s)
2
- transition: all $time ease
3
- -moz-transition: all $time ease
4
- -webkit-transition: all $time ease
5
- -o-transition: all $time ease
6
-
7
- audio,video
8
- border-radius: 4px
9
- max-width: 100%
10
- video
11
- z-index: 1
12
- trans()
13
- &:hover
14
- box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.24), 0 8px 16px 0px rgba(0, 0, 0, 0.24)
15
-
16
- div.video
17
- line-height: 0
18
- text-align: center
19
-
20
- div.videos
21
- max-width: "calc(100% + 2 * %s)" % 4px
22
- display: flex
23
- flex-wrap: wrap
24
- justify-content: flex-start
25
- align-items: flex-end
26
- margin: 1em 0 - 4px
27
- .video,iframe
28
- width: 100%
29
- margin: 4px
30
-
31
- iframe
32
- border-radius: 4px
33
- width: 100%
34
- min-height: 300px
35
- &.left
36
- justify-content: flex-start
37
- &.center
38
- justify-content: center
39
- &.right
40
- justify-content: flex-end
41
- &.stretch
42
- align-items: stretch
43
- &[col='1']
44
- .video,iframe
45
- width: 100%
46
- &[col='2']
47
- .video,iframe
48
- width: "calc(50% - 2 * %s)" % 4px
49
- &[col='3']
50
- .video,iframe
51
- width: "calc(33.33% - 2 * %s)" % 4px
52
- &[col='4']
53
- .video,iframe
54
- width: "calc(25% - 2 * %s)" % 4px
55
- [data-theme="dark"]
56
- audio,video
57
- filter brightness(0.7)