jekyll-theme-satellite 1.1.2 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/_includes/footer.html +2 -3
- data/_includes/head.html +37 -8
- data/_includes/pagination.html +1 -1
- data/_includes/post.html +2 -2
- data/_includes/search_event.html +1 -2
- data/_includes/sidebar.html +6 -3
- data/_layouts/page.html +5 -6
- data/_sass/darkmode.scss +115 -122
- data/_sass/layout.scss +40 -40
- data/_sass/navigation.scss +133 -138
- data/_sass/pagination.scss +198 -211
- data/_sass/post.scss +550 -558
- data/_sass/search.scss +185 -204
- data/_sass/sidebar.scss +253 -254
- data/_sass/toc.scss +41 -41
- data/assets/css/404.scss +35 -35
- data/assets/css/highlight.min.css +2 -0
- data/assets/css/style.scss +22 -44
- data/assets/fonts/Lato-Regular.woff2 +0 -0
- data/assets/fonts/NunitoSans-Regular.woff2 +0 -0
- data/assets/fonts/Righteous-Regular.woff2 +0 -0
- data/assets/img/icon/house.webp +0 -0
- data/assets/img/loading.webp +0 -0
- data/assets/img/profile.webp +0 -0
- data/assets/js/background.js +1 -700
- data/assets/js/common.js +194 -21
- data/assets/js/post.js +172 -121
- data/assets/js/subject.js +1 -1
- metadata +22 -12
- data/assets/css/fonts.scss +0 -29
- data/assets/css/highlight-dark.min.css +0 -1
- data/assets/css/highlight-default.min.css +0 -1
- data/assets/fonts/Lato-Regular.ttf +0 -0
- data/assets/fonts/NunitoSans-Regular.ttf +0 -0
- data/assets/fonts/Righteous-Regular.ttf +0 -0
- data/assets/img/profile.jpg +0 -0
- data/assets/js/search.js +0 -168
- data/assets/js/sweet-scroll.min.js +0 -2
- data/assets/js/tocbot.min.js +0 -1
data/_sass/sidebar.scss
CHANGED
@@ -1,318 +1,317 @@
|
|
1
1
|
.sidebar {
|
2
|
-
|
3
|
-
|
2
|
+
z-index:1;
|
3
|
+
flex-wrap:wrap;
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
ul, li {
|
6
|
+
list-style:none;
|
7
|
+
}
|
8
8
|
}
|
9
9
|
|
10
10
|
.sidebar-left {
|
11
|
-
|
12
|
-
|
11
|
+
display:flex;
|
12
|
+
background-color:$color-beige;
|
13
13
|
}
|
14
14
|
|
15
15
|
.side-banner {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
.ico-light {
|
45
|
-
display: none;
|
46
|
-
|
47
|
-
&.active{ display: block; }
|
48
|
-
}
|
16
|
+
width:100%;
|
17
|
+
text-align:center;
|
18
|
+
box-shadow:0px 4px 8px 0 #aaa;
|
19
|
+
|
20
|
+
button {
|
21
|
+
position:absolute;
|
22
|
+
background-color:$color-beige;
|
23
|
+
height:100%;
|
24
|
+
aspect-ratio:1;
|
25
|
+
top:0;
|
26
|
+
|
27
|
+
svg { width:20px; }
|
28
|
+
|
29
|
+
&:hover { background-color:rgba(212, 201, 191, 0.7); }
|
30
|
+
}
|
31
|
+
#btn-nav { right:0; }
|
32
|
+
#btn-search { right:38px; }
|
33
|
+
#btn-brightness { right:76px; }
|
34
|
+
|
35
|
+
.ico-dark {
|
36
|
+
display:block;
|
37
|
+
&.active{ display:none; }
|
38
|
+
}
|
39
|
+
.ico-light {
|
40
|
+
display:none;
|
41
|
+
&.active{ display:block; }
|
42
|
+
}
|
49
43
|
}
|
50
44
|
|
45
|
+
.site-tab img { display: none; }
|
46
|
+
|
51
47
|
.site-avatar {
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
}
|
48
|
+
img {
|
49
|
+
display:none;
|
50
|
+
width:9rem;
|
51
|
+
aspect-ratio:1;
|
52
|
+
border-radius:50%;
|
53
|
+
outline:4.5rem solid rgba(64,64,64,0.5);
|
54
|
+
outline-offset:-4.5rem;
|
55
|
+
transition:.3s;
|
56
|
+
|
57
|
+
&:hover {
|
58
|
+
outline:4px solid orange;
|
59
|
+
outline-offset:8px;
|
65
60
|
}
|
61
|
+
}
|
66
62
|
|
67
|
-
|
63
|
+
img + img { border-radius:50%; }
|
68
64
|
}
|
69
65
|
|
70
|
-
.site-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
66
|
+
.site-tab {
|
67
|
+
padding:8px;
|
68
|
+
font-size:1rem;
|
69
|
+
text-align:left;
|
70
|
+
position:relative;
|
75
71
|
|
76
|
-
|
72
|
+
a, span { letter-spacing:2px; }
|
77
73
|
}
|
78
74
|
|
79
75
|
.side-info {
|
80
|
-
|
81
|
-
|
76
|
+
position:relative;
|
77
|
+
width:100%;
|
82
78
|
}
|
83
79
|
|
84
80
|
#contact{
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
&.contact-open { display: block; }
|
93
|
-
|
94
|
-
hr {
|
95
|
-
border: 0;
|
96
|
-
margin: 0;
|
97
|
-
}
|
81
|
+
display:none;
|
82
|
+
position:relative;
|
83
|
+
width:75%;
|
84
|
+
transform:translateX(12.5%);
|
85
|
+
text-align:center;
|
86
|
+
padding:1rem 0;
|
98
87
|
|
99
|
-
|
88
|
+
&.contact-open { display:block; }
|
100
89
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
overflow: hidden;
|
106
|
-
white-space: nowrap;
|
107
|
-
text-overflow: ellipsis;
|
90
|
+
hr {
|
91
|
+
border:0;
|
92
|
+
margin:0;
|
93
|
+
}
|
108
94
|
|
109
|
-
|
110
|
-
display: inline-block;
|
111
|
-
margin-top: 0.5rem;
|
95
|
+
h3 { display:none; }
|
112
96
|
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
97
|
+
ul{
|
98
|
+
text-align:center;
|
99
|
+
padding:0;
|
100
|
+
margin:0;
|
101
|
+
overflow:hidden;
|
102
|
+
white-space:nowrap;
|
103
|
+
text-overflow:ellipsis;
|
104
|
+
|
105
|
+
li{
|
106
|
+
display:inline-block;
|
107
|
+
margin-top:8px;
|
108
|
+
|
109
|
+
a {
|
110
|
+
display:block;
|
111
|
+
padding:6px;
|
112
|
+
transition:.3s;
|
113
|
+
|
114
|
+
svg {
|
115
|
+
width:16px;
|
116
|
+
fill:dimgrey;
|
117
|
+
}
|
122
118
|
|
123
|
-
|
124
|
-
|
119
|
+
&:hover{
|
120
|
+
svg { fill:orange; }
|
125
121
|
|
126
|
-
|
127
|
-
}
|
128
|
-
}
|
122
|
+
transform:scale(1.5) translateY(-12.5%);
|
129
123
|
}
|
124
|
+
}
|
130
125
|
}
|
126
|
+
}
|
131
127
|
|
132
|
-
|
133
|
-
|
134
|
-
a { color: $color-darkorange; }
|
128
|
+
span { font-size:0.875rem; }
|
129
|
+
a { color:$color-darkorange; }
|
135
130
|
}
|
136
131
|
|
137
|
-
.sidebar-right{
|
138
|
-
display: none;
|
139
|
-
}
|
132
|
+
.sidebar-right{ display:none; }
|
140
133
|
|
141
134
|
.tools {
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
button {
|
146
|
-
width: 2.75rem;
|
147
|
-
aspect-ratio: 1;
|
148
|
-
text-align: center;
|
149
|
-
background: #ffe390;
|
150
|
-
border: none;
|
151
|
-
border-radius: 50%;
|
152
|
-
margin-left: 1rem;
|
153
|
-
position: relative;
|
154
|
-
vertical-align: top;
|
155
|
-
cursor: pointer;
|
156
|
-
|
157
|
-
&:hover {
|
158
|
-
border: 2px solid midnightblue;
|
159
|
-
animation: leaves .75s ease-in-out infinite alternate;
|
160
|
-
}
|
161
|
-
}
|
135
|
+
position:fixed;
|
136
|
+
top:1rem;
|
162
137
|
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
138
|
+
button {
|
139
|
+
width:2.75rem;
|
140
|
+
aspect-ratio:1;
|
141
|
+
text-align:center;
|
142
|
+
background:#ffe390;
|
143
|
+
border:none;
|
144
|
+
border-radius:50%;
|
145
|
+
margin-left:1rem;
|
146
|
+
position:relative;
|
147
|
+
vertical-align:top;
|
148
|
+
cursor:pointer;
|
149
|
+
|
150
|
+
&:hover {
|
151
|
+
border:2px solid midnightblue;
|
152
|
+
animation:leaves .75s ease-in-out infinite alternate;
|
172
153
|
}
|
154
|
+
}
|
173
155
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
transition: all .3s;
|
156
|
+
@keyframes leaves {
|
157
|
+
0% {
|
158
|
+
transform:scale(1.0);
|
159
|
+
background:#ffe390;
|
179
160
|
}
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
top: 50%;
|
184
|
-
left: 50%;
|
185
|
-
transform: translate(-50%, -50%);
|
161
|
+
100% {
|
162
|
+
transform:scale(1.25);
|
163
|
+
background:#ffd044;
|
186
164
|
}
|
165
|
+
}
|
166
|
+
|
167
|
+
svg {
|
168
|
+
fill:#3A241A !important;
|
169
|
+
width:24px;
|
170
|
+
position:relative;
|
171
|
+
transition:all .3s;
|
172
|
+
}
|
173
|
+
.ico-dark, .ico-light {
|
174
|
+
position:absolute;
|
175
|
+
top:50%;
|
176
|
+
left:50%;
|
177
|
+
transform:translate(-50%, -50%);
|
178
|
+
}
|
179
|
+
.ico-dark {
|
180
|
+
transform:translate(-50%, -50%) scale(1);
|
181
|
+
&.active{ transform:translate(-50%, -50%) scale(0); }
|
182
|
+
}
|
183
|
+
.ico-light {
|
184
|
+
transform:translate(-50%, -50%) scale(0);
|
185
|
+
&.active{ transform:translate(-50%, -50%) scale(1); }
|
186
|
+
}
|
187
|
+
}
|
187
188
|
|
188
|
-
|
189
|
-
transform: translate(-50%, -50%) scale(1);
|
190
|
-
|
191
|
-
&.active{ transform: translate(-50%, -50%) scale(0); }
|
192
|
-
}
|
189
|
+
@include mq(tablet){
|
193
190
|
|
194
|
-
|
195
|
-
|
191
|
+
.side-banner {
|
192
|
+
button { font-size:1.75rem; }
|
193
|
+
#btn-search { right:60px; }
|
194
|
+
#btn-brightness { right:120px; }
|
195
|
+
}
|
196
196
|
|
197
|
-
|
198
|
-
|
197
|
+
.site-tab {
|
198
|
+
padding:1rem;
|
199
|
+
font-size:1.375rem;
|
199
200
|
}
|
200
201
|
|
201
|
-
|
202
|
-
|
203
|
-
button { font-size: 1.75rem; }
|
202
|
+
#contact {
|
203
|
+
ul li a svg { width:18px; }
|
204
204
|
|
205
|
-
|
205
|
+
span { font-size:1rem; }
|
206
|
+
}
|
206
207
|
|
207
|
-
|
208
|
-
}
|
209
|
-
|
210
|
-
.site-name {
|
211
|
-
padding: 1rem;
|
212
|
-
font-size: 1.375rem;
|
213
|
-
}
|
208
|
+
}
|
214
209
|
|
215
|
-
|
216
|
-
ul li a svg { width: 18px; }
|
210
|
+
@include mq(desktop){
|
217
211
|
|
218
|
-
|
219
|
-
|
212
|
+
.sidebar { position:fixed; }
|
213
|
+
|
214
|
+
.sidebar-left{
|
215
|
+
flex-flow:column nowrap;
|
216
|
+
width:#{$sidebarwd};
|
217
|
+
min-height:100%;
|
218
|
+
background:none;
|
219
|
+
align-items:flex-end;
|
220
220
|
}
|
221
221
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
.sidebar-left{
|
226
|
-
flex-flow: column nowrap;
|
227
|
-
width: #{$sidebarwd};
|
228
|
-
min-height: 100%;
|
229
|
-
background: none;
|
230
|
-
align-items: flex-end;
|
231
|
-
}
|
222
|
+
.side-banner{
|
223
|
+
width:#{$sidebarwd};
|
224
|
+
box-shadow:none !important;
|
232
225
|
|
233
|
-
|
234
|
-
|
235
|
-
|
226
|
+
button {
|
227
|
+
display:none;
|
228
|
+
font-size:1.5rem;
|
229
|
+
}
|
230
|
+
#btn-search { right:69px; }
|
231
|
+
#btn-brightness { right:138px; }
|
232
|
+
}
|
236
233
|
|
237
|
-
|
238
|
-
display: none;
|
239
|
-
font-size: 1.5rem;
|
240
|
-
}
|
234
|
+
.site-avatar img { display:inline-block; }
|
241
235
|
|
242
|
-
|
236
|
+
.site-tab {
|
237
|
+
font-size:1.375rem;
|
238
|
+
padding:1rem;
|
239
|
+
text-align:center;
|
240
|
+
position:relative;
|
241
|
+
}
|
243
242
|
|
244
|
-
|
243
|
+
.site-name {
|
244
|
+
position:relative;
|
245
|
+
|
246
|
+
img, mark { transition:.5s ease; }
|
247
|
+
mark {
|
248
|
+
color:$color-wenge;
|
249
|
+
word-break:break-word;
|
250
|
+
}
|
251
|
+
|
252
|
+
img {
|
253
|
+
display:inline-block;
|
254
|
+
width:32px;
|
255
|
+
height:32px;
|
256
|
+
top:-4px;
|
257
|
+
left:0;
|
258
|
+
left:-40px;
|
259
|
+
position:absolute;
|
260
|
+
transform:rotateY(90deg);
|
261
|
+
}
|
262
|
+
|
263
|
+
&:hover {
|
264
|
+
mark {
|
265
|
+
color:$color-rose;
|
266
|
+
margin-left:40px;
|
245
267
|
}
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
.site-name {
|
250
|
-
font-size: 1.375rem;
|
251
|
-
padding: 1rem;
|
252
|
-
text-align: center;
|
253
|
-
|
254
|
-
.highlight {
|
255
|
-
font-weight: 600;
|
256
|
-
background-image: -webkit-linear-gradient(left, #a95770 25%, #ff4d7c 32.5%, #97d0ec 50%, #ff4d7c 67.5%, #a95770 75%);
|
257
|
-
background-image: linear-gradient(90deg, #a95770 25%, #ff4d7c 32.5%, #97d0ec 50%, #ff4d7c 67.5%, #a95770 75%);
|
258
|
-
background-position: right center;
|
259
|
-
background-size: 400% auto;
|
260
|
-
-webkit-background-clip: text;
|
261
|
-
background-clip: text;
|
262
|
-
-webkit-text-fill-color: transparent;
|
263
|
-
|
264
|
-
&:hover {
|
265
|
-
color: #ef9671;
|
266
|
-
animation: slidetext 2s ease-in infinite;
|
267
|
-
}
|
268
|
-
|
269
|
-
@keyframes slidetext {
|
270
|
-
100% {
|
271
|
-
background-position: left center;
|
272
|
-
}
|
273
|
-
}
|
274
|
-
}
|
268
|
+
img {
|
269
|
+
left:0;
|
270
|
+
transform:rotateY(360deg);
|
275
271
|
}
|
272
|
+
}
|
273
|
+
}
|
276
274
|
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
275
|
+
.side-info {
|
276
|
+
width:#{$sidebarwd};
|
277
|
+
height:calc(100% - 14rem);
|
278
|
+
display:contents;
|
279
|
+
}
|
282
280
|
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
281
|
+
#contact{
|
282
|
+
display:block;
|
283
|
+
width:calc(#{$sidebarwd} - 4rem);
|
284
|
+
margin-top:2rem;
|
285
|
+
padding:1rem 2rem;
|
286
|
+
transform:none;
|
287
|
+
|
288
|
+
hr {
|
289
|
+
border-top:1px solid lightgrey;
|
290
|
+
margin:8px;
|
291
|
+
}
|
292
|
+
|
293
|
+
h3{
|
294
|
+
display:block;
|
295
|
+
position:absolute;
|
296
|
+
margin:0;
|
297
|
+
top:14px;
|
298
|
+
font-size:1rem;
|
299
|
+
transform:translateX(-50%);
|
300
|
+
left:50%;
|
301
|
+
background-color:#fff;
|
302
|
+
}
|
303
|
+
}
|
289
304
|
|
290
|
-
hr {
|
291
|
-
border-top: 1px solid lightgrey;
|
292
|
-
margin: 0.5rem;
|
293
|
-
}
|
294
|
-
|
295
|
-
h3{
|
296
|
-
display: block;
|
297
|
-
position: absolute;
|
298
|
-
margin: 0;
|
299
|
-
top: 14px;
|
300
|
-
font-size: 1rem;
|
301
|
-
transform: translateX(-50%);
|
302
|
-
left: 50%;
|
303
|
-
background-color: #fff;
|
304
|
-
}
|
305
|
-
}
|
306
305
|
}
|
307
306
|
|
308
307
|
@include mq(wide){
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
308
|
+
|
309
|
+
.sidebar-left{ width:calc((100vw - #{$contentwd})/2); }
|
310
|
+
.sidebar-right{
|
311
|
+
display:flex;
|
312
|
+
height:100%;
|
313
|
+
width:calc((100vw - #{$contentwd})/2);
|
314
|
+
margin-left:calc(#{$contentwd} + (100vw - #{$contentwd})/2);
|
315
|
+
}
|
316
|
+
|
318
317
|
}
|
data/_sass/toc.scss
CHANGED
@@ -1,58 +1,58 @@
|
|
1
1
|
.toc {
|
2
|
-
|
3
|
-
|
2
|
+
position:fixed;
|
3
|
+
top:6rem;
|
4
4
|
}
|
5
5
|
|
6
6
|
.toc-header {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
}
|
7
|
+
font-size:1.25rem;
|
8
|
+
font-weight:600;
|
9
|
+
padding:0 0 4px 12px;
|
10
|
+
border-bottom:burlywood 2px solid;
|
11
|
+
|
12
|
+
svg {
|
13
|
+
width:16px;
|
14
|
+
display:inline-flex;
|
15
|
+
transform:translateY(2px);
|
16
|
+
}
|
18
17
|
}
|
19
18
|
|
20
19
|
.toc-board {
|
21
|
-
|
22
|
-
|
23
|
-
margin-left: 2rem;
|
20
|
+
max-width:#{$sidebarwd};
|
21
|
+
margin: 1rem 0 1rem 2rem !important;
|
24
22
|
}
|
25
23
|
|
26
|
-
.toc-list {
|
27
|
-
|
28
|
-
|
24
|
+
.toc-board, .toc-list {
|
25
|
+
font-size:1.125rem;
|
26
|
+
padding:0;
|
27
|
+
margin: 0 auto;
|
29
28
|
|
30
|
-
|
29
|
+
li a { display:inline-block; }
|
30
|
+
li:last-child { margin-bottom:0; }
|
31
31
|
|
32
|
-
|
32
|
+
.node-name--H1 { margin-top:8px; }
|
33
|
+
.node-name--H2 {
|
34
|
+
font-size:1rem;
|
35
|
+
margin-top:6px;
|
36
|
+
padding-left:16px;
|
37
|
+
}
|
33
38
|
|
34
|
-
|
39
|
+
.toc-list-item {
|
40
|
+
word-break:normal;
|
41
|
+
line-height:150%;
|
35
42
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
padding-left: 0.5rem;
|
43
|
+
a {
|
44
|
+
animation:.5s ease-out 0s 1 slide;
|
45
|
+
cursor: pointer;
|
40
46
|
}
|
41
47
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
line-height: 150%;
|
46
|
-
animation: .5s ease-out 0s 1 slide;
|
47
|
-
|
48
|
-
@keyframes slide {
|
49
|
-
0% { transform: scaleY(0); }
|
50
|
-
100% { transform: scaleY(1); }
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
.is-active-link{
|
55
|
-
color: indianred !important;
|
56
|
-
font-weight:950;
|
48
|
+
@keyframes slide {
|
49
|
+
0% { transform:scaleY(0); }
|
50
|
+
100% { transform:scaleY(1); }
|
57
51
|
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.is-active-link{
|
55
|
+
color:indianred !important;
|
56
|
+
font-weight:950;
|
57
|
+
}
|
58
58
|
}
|