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/post.scss
CHANGED
@@ -1,647 +1,639 @@
|
|
1
1
|
#post {
|
2
|
-
|
3
|
-
|
2
|
+
max-width:#{$contentwd};
|
3
|
+
margin:auto;
|
4
4
|
}
|
5
5
|
|
6
6
|
.inner-header {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
7
|
+
display:none;
|
8
|
+
background:linear-gradient(180deg, rgba(240,240,240,1) 0%, rgba(224,224,224,1) 100%);
|
9
|
+
border-radius:1rem 1rem 0 0;
|
10
|
+
padding:8px 16px;
|
11
|
+
|
12
|
+
.dot {
|
13
|
+
height:1rem;
|
14
|
+
width:1rem;
|
15
|
+
margin:0 4px;
|
16
|
+
border-radius:50%;
|
17
|
+
display:inline-block;
|
18
|
+
}
|
19
19
|
}
|
20
20
|
|
21
21
|
.inner-content {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
.img-md { width: 50% !important; }
|
36
|
-
|
37
|
-
.img-lg { width: 75% !important; }
|
22
|
+
background:#fff;
|
23
|
+
|
24
|
+
img {
|
25
|
+
display:block;
|
26
|
+
text-align:center;
|
27
|
+
width:100%;
|
28
|
+
margin:auto;
|
29
|
+
}
|
30
|
+
.img-xs { width:12.5% !important; }
|
31
|
+
.img-sm { width:25% !important; }
|
32
|
+
.img-md { width:50% !important; }
|
33
|
+
.img-lg { width:75% !important; }
|
38
34
|
}
|
39
35
|
|
40
36
|
.thumbnail {
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
37
|
+
display:block;
|
38
|
+
position:relative;
|
39
|
+
width:100%;
|
40
|
+
aspect-ratio:2;
|
41
|
+
margin:auto;
|
42
|
+
background-size:cover;
|
43
|
+
background-position:center center;
|
44
|
+
box-shadow:0 16px 16px 8px rgba(31, 35, 46, .15);
|
49
45
|
}
|
50
46
|
|
51
47
|
.transbox {
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
48
|
+
position:absolute;
|
49
|
+
top:50%;
|
50
|
+
left:50%;
|
51
|
+
-webkit-transform:translate(-50%, -50%);
|
52
|
+
-moz-transform:translate(-50%, -50%);
|
53
|
+
transform:translate(-50%, -50%);
|
54
|
+
width:100%;
|
55
|
+
margin:auto;
|
56
|
+
padding:1rem 0;
|
57
|
+
text-align:center;
|
58
|
+
backdrop-filter:blur(4px);
|
59
|
+
background-color:rgba(255, 255, 255, 0.5);
|
64
60
|
}
|
65
61
|
|
66
62
|
.post-title {
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
63
|
+
font-size:1.25rem;
|
64
|
+
word-spacing:4px;
|
65
|
+
font-weight:600;
|
66
|
+
word-wrap:break-word;
|
67
|
+
font-family:Cambria, sans-serif;
|
72
68
|
}
|
73
69
|
|
74
70
|
.post-info {
|
75
|
-
|
76
|
-
|
71
|
+
margin-top:1.25rem;
|
72
|
+
font-size:0.875rem;
|
77
73
|
|
78
|
-
|
74
|
+
svg { width:14px; }
|
79
75
|
}
|
80
76
|
|
81
77
|
.info-box {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
78
|
+
display:inline-flex;
|
79
|
+
border-radius:8px;
|
80
|
+
margin:0;
|
81
|
+
padding:6px;
|
82
|
+
position:relative;
|
83
|
+
transition:all .5s;
|
84
|
+
|
85
|
+
background:
|
86
|
+
linear-gradient(
|
87
|
+
to right,
|
88
|
+
rgba(100, 200, 200, 1),
|
89
|
+
rgba(100, 200, 200, 1)
|
90
|
+
),
|
91
|
+
linear-gradient(
|
92
|
+
to right,
|
93
|
+
rgba(255, 0, 0, 1),
|
94
|
+
rgba(255, 0, 180, 1),
|
95
|
+
rgba(0, 100, 200, 1)
|
96
|
+
);
|
97
|
+
background-size:100% 3px, 0 3px;
|
98
|
+
background-position:100% 100%, 0 100%;
|
99
|
+
background-repeat:no-repeat;
|
100
|
+
|
101
|
+
&:hover {
|
102
|
+
background-size:0 3px, 100% 3px;
|
103
|
+
box-shadow:0 3px 48px 12px rgba(100, 200, 200, 1);
|
104
|
+
}
|
105
|
+
|
106
|
+
svg { margin-right:4px; }
|
111
107
|
}
|
112
108
|
|
113
109
|
.tag-box {
|
114
|
-
|
115
|
-
|
110
|
+
margin:1rem;
|
111
|
+
display:inline-block;
|
116
112
|
}
|
117
113
|
|
118
114
|
.tag {
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
70% { transform: scale(0.9); }
|
160
|
-
|
161
|
-
100% { transform: scale(1); }
|
162
|
-
}
|
115
|
+
float:left;
|
116
|
+
position:relative;
|
117
|
+
margin:8px 12px;
|
118
|
+
padding:0 10px 0 12px;
|
119
|
+
line-height:1.5rem;
|
120
|
+
color:#fff !important;
|
121
|
+
font-size:1rem;
|
122
|
+
text-shadow:0 1px 2px rgba(0,0,0,0.6);
|
123
|
+
cursor:pointer;
|
124
|
+
|
125
|
+
&:before {
|
126
|
+
content:"";
|
127
|
+
position:absolute;
|
128
|
+
left:-12px;
|
129
|
+
border-style:solid;
|
130
|
+
border-width:12px 12px 12px 0;
|
131
|
+
}
|
132
|
+
&:after {
|
133
|
+
content:"";
|
134
|
+
position:absolute;
|
135
|
+
top:10px;
|
136
|
+
left:1px;
|
137
|
+
width:5px;
|
138
|
+
height:5px;
|
139
|
+
-webkit-border-radius:50%;
|
140
|
+
border-radius:50%;
|
141
|
+
background:#fff;
|
142
|
+
-webkit-box-shadow:-1px -1px 2px rgba(0,0,0,0.4);
|
143
|
+
box-shadow:-1px -1px 2px rgba(0,0,0,0.4);
|
144
|
+
}
|
145
|
+
&:hover {
|
146
|
+
animation:pulse 1s infinite;
|
147
|
+
transition:0.3s;
|
148
|
+
}
|
149
|
+
|
150
|
+
@keyframes pulse {
|
151
|
+
0% { transform:scale(1); }
|
152
|
+
70% { transform:scale(0.9); }
|
153
|
+
100% { transform:scale(1); }
|
154
|
+
}
|
163
155
|
}
|
164
156
|
|
165
157
|
.theme-0 {
|
166
|
-
|
167
|
-
|
168
|
-
&::before { border-color: transparent hsl(50, 65%, 50%) transparent transparent; }
|
158
|
+
background:hsl(50, 65%, 50%);
|
159
|
+
&::before { border-color:transparent hsl(50, 65%, 50%) transparent transparent; }
|
169
160
|
}
|
170
|
-
|
171
161
|
.theme-1 {
|
172
|
-
|
173
|
-
|
174
|
-
&::before { border-color: transparent hsl(360, 65%, 50%) transparent transparent; }
|
162
|
+
background:hsl(360, 65%, 50%);
|
163
|
+
&::before { border-color:transparent hsl(360, 65%, 50%) transparent transparent; }
|
175
164
|
}
|
176
|
-
|
177
165
|
.theme-2 {
|
178
|
-
|
179
|
-
|
180
|
-
&::before { border-color: transparent hsl(200, 65%, 50%) transparent transparent; }
|
166
|
+
background:hsl(200, 65%, 50%);
|
167
|
+
&::before { border-color:transparent hsl(200, 65%, 50%) transparent transparent; }
|
181
168
|
}
|
182
169
|
|
183
170
|
main {
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
171
|
+
padding:1rem;
|
172
|
+
margin:auto;
|
173
|
+
font-size:1rem;
|
174
|
+
line-height:200%;
|
175
|
+
position:relative;
|
176
|
+
overflow-wrap:break-word;
|
177
|
+
word-wrap:break-word;
|
178
|
+
|
179
|
+
* { margin:auto; }
|
180
|
+
|
181
|
+
h1, h2, h3 {
|
182
|
+
margin-top:3rem;
|
183
|
+
margin-bottom:1rem;
|
184
|
+
}
|
185
|
+
h1, .sh1 { font-size:1.75rem; }
|
186
|
+
h2, .sh2 { font-size:1.375rem; }
|
187
|
+
h3, .sh3 { font-size:1.125rem; }
|
188
|
+
|
189
|
+
p { text-align:justify; }
|
190
|
+
|
191
|
+
u {
|
192
|
+
color:$color-rose;
|
193
|
+
text-underline-offset:2px;
|
194
|
+
}
|
195
|
+
|
196
|
+
em { padding-right:2px; }
|
197
|
+
|
198
|
+
a {
|
199
|
+
color:dodgerblue;
|
200
|
+
text-decoration:none;
|
201
|
+
|
202
|
+
&::before {
|
203
|
+
position:absolute;
|
204
|
+
content:attr(data-content);
|
205
|
+
color:midnightblue;
|
206
|
+
text-decoration:underline;
|
207
|
+
text-decoration-style:wavy;
|
208
|
+
text-underline-offset:4px;
|
209
|
+
text-decoration-color:midnightblue;
|
210
|
+
clip-path:polygon(0 0, 0 0, 0% 100%, 0 100%);
|
211
|
+
transition:clip-path .25s;
|
212
|
+
}
|
213
|
+
&:hover::before {
|
214
|
+
clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
p, ul, table, div { margin-bottom:3rem; }
|
219
|
+
|
220
|
+
p + div,
|
221
|
+
p + pre,
|
222
|
+
p + blockquote,
|
223
|
+
div + div,
|
224
|
+
div + blockquote {
|
225
|
+
margin-top:-2rem;
|
226
|
+
}
|
227
|
+
|
228
|
+
ul { padding-left:2rem; }
|
229
|
+
|
230
|
+
li > ul { margin:0; }
|
231
|
+
|
232
|
+
code {
|
233
|
+
margin:0 2px;
|
234
|
+
padding:1px 5px;
|
235
|
+
border:1px solid #eaeaea;
|
236
|
+
background-color:#f4f4f4;
|
237
|
+
border-radius:3px;
|
238
|
+
font-family:'Courier New', Courier, monospace;
|
239
|
+
color:$color-darkorange;
|
240
|
+
position:relative;
|
241
|
+
top:-1px;
|
242
|
+
vertical-align:middle;
|
243
|
+
}
|
244
|
+
|
245
|
+
.highlighter-rouge .highlight {
|
246
|
+
background:#f4f4f4;
|
247
|
+
border:1px solid #eaeaea;
|
248
|
+
border-radius:3px;
|
249
|
+
margin:8px auto;
|
250
|
+
|
251
|
+
pre {
|
252
|
+
margin:0;
|
253
|
+
border:none;
|
254
|
+
overflow-x:auto;
|
255
|
+
position:relative;
|
256
|
+
|
257
|
+
button {
|
258
|
+
display:none;
|
259
|
+
position:absolute;
|
260
|
+
top:20px;
|
261
|
+
right:20px;
|
262
|
+
width:2rem;
|
263
|
+
height:2rem;
|
264
|
+
font-size:1.125rem;
|
265
|
+
color:#777;
|
266
|
+
padding:4px;
|
267
|
+
background-color:#ddd;
|
268
|
+
border-radius:4px;
|
269
|
+
|
270
|
+
svg {
|
271
|
+
background-color:darkslategrey !important;
|
272
|
+
-webkit-mask-image:url(/assets/img/icon/clipboard-regular.svg);
|
273
|
+
mask-image:url(/assets/img/icon/clipboard-regular.svg);
|
274
|
+
mask-repeat:no-repeat;
|
275
|
+
mask-position:center;
|
276
|
+
mask-size:80%;
|
228
277
|
}
|
229
278
|
|
230
|
-
&:
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
margin-top: -2rem;
|
243
|
-
}
|
244
|
-
|
245
|
-
ul { padding-left: 2rem; }
|
246
|
-
|
247
|
-
li > ul { margin: 0; }
|
248
|
-
|
249
|
-
code {
|
250
|
-
margin: 0 2px;
|
251
|
-
padding: 1px 5px;
|
252
|
-
border: 1px solid #eaeaea;
|
253
|
-
background-color: #f4f4f4;
|
254
|
-
border-radius: 3px;
|
255
|
-
font-family:'Courier New', Courier, monospace;
|
256
|
-
color: $color-darkorange;
|
257
|
-
position: relative;
|
258
|
-
top: -1px;
|
259
|
-
vertical-align: middle;
|
260
|
-
}
|
261
|
-
|
262
|
-
.highlighter-rouge .highlight {
|
263
|
-
background: #f4f4f4;
|
264
|
-
border: 1px solid #eaeaea;
|
265
|
-
border-radius: 3px;
|
266
|
-
margin: 0.5rem auto;
|
267
|
-
|
268
|
-
pre {
|
269
|
-
margin: 0;
|
270
|
-
border: none;
|
271
|
-
overflow-x: auto;
|
272
|
-
position: relative;
|
273
|
-
|
274
|
-
button {
|
275
|
-
display: none;
|
276
|
-
position: absolute;
|
277
|
-
top: 20px;
|
278
|
-
right: 20px;
|
279
|
-
width: 2rem;
|
280
|
-
height: 2rem;
|
281
|
-
font-size: 1.125rem;
|
282
|
-
color: #777;
|
283
|
-
padding: 0.25rem;
|
284
|
-
background-color: #ddd;
|
285
|
-
border-radius: 4px;
|
286
|
-
|
287
|
-
svg {
|
288
|
-
background-color: darkslategrey !important;
|
289
|
-
-webkit-mask-image: url(/assets/img/icon/clipboard-regular.svg);
|
290
|
-
mask-image: url(/assets/img/icon/clipboard-regular.svg);
|
291
|
-
mask-repeat: no-repeat;
|
292
|
-
mask-position: center;
|
293
|
-
mask-size: 80%;
|
294
|
-
}
|
295
|
-
|
296
|
-
&:after {
|
297
|
-
content: "";
|
298
|
-
display: block;
|
299
|
-
position: absolute;
|
300
|
-
border-radius: 4rem;
|
301
|
-
left:0;
|
302
|
-
top:0;
|
303
|
-
width: 100%;
|
304
|
-
height: 100%;
|
305
|
-
opacity: 0;
|
306
|
-
transition: .5s;
|
307
|
-
box-shadow: 0 0 6px 24px #888;
|
308
|
-
}
|
309
|
-
|
310
|
-
&:active:after {
|
311
|
-
box-shadow: 0 0 0 0 #888;
|
312
|
-
position: absolute;
|
313
|
-
border-radius: 4rem;
|
314
|
-
left:0;
|
315
|
-
top:0;
|
316
|
-
opacity: 1;
|
317
|
-
transition: 0s;
|
318
|
-
}
|
319
|
-
}
|
320
|
-
|
321
|
-
&:hover {
|
322
|
-
button { display: block; }
|
323
|
-
}
|
324
|
-
}
|
325
|
-
|
326
|
-
code {
|
327
|
-
margin: 0;
|
328
|
-
padding: 1.5rem 1rem;
|
329
|
-
border: none;
|
330
|
-
}
|
331
|
-
}
|
332
|
-
|
333
|
-
blockquote {
|
334
|
-
background: $color-beige;
|
335
|
-
border-left: 4px solid burlywood;
|
336
|
-
border-radius: 4px;
|
337
|
-
box-shadow: 0 1px 2px rgba(0,0,0,.15), 0 3px 10px rgba(0,0,0,.1);
|
338
|
-
padding-left: 1rem;
|
339
|
-
padding-right: 1rem;
|
340
|
-
margin: 0.5rem auto;
|
341
|
-
word-break: break-all;
|
342
|
-
|
343
|
-
p {
|
344
|
-
margin: 0;
|
345
|
-
padding: 1rem 0;
|
279
|
+
&:after {
|
280
|
+
content:"";
|
281
|
+
display:block;
|
282
|
+
position:absolute;
|
283
|
+
border-radius:4rem;
|
284
|
+
left:0;
|
285
|
+
top:0;
|
286
|
+
width:100%;
|
287
|
+
height:100%;
|
288
|
+
opacity:0;
|
289
|
+
transition:.5s;
|
290
|
+
box-shadow:0 0 6px 24px #888;
|
346
291
|
}
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
overflow-x: auto;
|
356
|
-
white-space: nowrap;
|
357
|
-
position: relative;
|
358
|
-
background-color: #fff;
|
359
|
-
border-radius: 10px;
|
360
|
-
border-collapse: collapse;
|
361
|
-
line-height: 1.5;
|
362
|
-
box-shadow: 0 0 40px 0 rgba(0,0,0,.15);
|
363
|
-
|
364
|
-
thead { box-shadow: 0 0 40px 0 rgba(0,0,0,.15); }
|
365
|
-
|
366
|
-
th, td {
|
367
|
-
border: 1px solid lightgrey;
|
368
|
-
word-wrap: break-word;
|
369
|
-
white-space: initial;
|
370
|
-
max-width: 16rem;
|
292
|
+
&:active:after {
|
293
|
+
box-shadow:0 0 0 0 #888;
|
294
|
+
position:absolute;
|
295
|
+
border-radius:4rem;
|
296
|
+
left:0;
|
297
|
+
top:0;
|
298
|
+
opacity:1;
|
299
|
+
transition:0s;
|
371
300
|
}
|
301
|
+
}
|
372
302
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
tbody td, thead th { padding: 0.5rem; }
|
378
|
-
|
379
|
-
tr:first-child th { border-top: 0; }
|
380
|
-
|
381
|
-
td:first-child, th:first-child { border-left: 0; }
|
382
|
-
|
383
|
-
td:last-child, th:last-child { border-right: 0; }
|
303
|
+
&:hover {
|
304
|
+
button { display:block; }
|
305
|
+
}
|
384
306
|
}
|
385
307
|
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
308
|
+
code {
|
309
|
+
margin:0;
|
310
|
+
padding:1.5rem 1rem;
|
311
|
+
border:none;
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
blockquote {
|
316
|
+
background:$color-beige;
|
317
|
+
border-left:4px solid burlywood;
|
318
|
+
border-radius:4px;
|
319
|
+
box-shadow:0 1px 2px rgba(0,0,0,.15), 0 3px 10px rgba(0,0,0,.1);
|
320
|
+
padding-left:1rem;
|
321
|
+
padding-right:1rem;
|
322
|
+
margin:8px auto;
|
323
|
+
word-break:break-all;
|
324
|
+
|
325
|
+
p {
|
326
|
+
margin:0;
|
327
|
+
padding:1rem 0;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
.table-wrapper { overflow-x:auto; }
|
332
|
+
|
333
|
+
table {
|
334
|
+
display:block;
|
335
|
+
max-width:-moz-fit-content;
|
336
|
+
max-width:fit-content;
|
337
|
+
overflow-x:auto;
|
338
|
+
white-space:nowrap;
|
339
|
+
position:relative;
|
340
|
+
background-color:#fff;
|
341
|
+
border-radius:10px;
|
342
|
+
border-collapse:collapse;
|
343
|
+
line-height:1.5;
|
344
|
+
box-shadow:0 0 40px 0 rgba(0,0,0,.15);
|
345
|
+
|
346
|
+
thead { box-shadow:0 0 40px 0 rgba(0,0,0,.15); }
|
347
|
+
th, td {
|
348
|
+
border:1px solid lightgrey;
|
349
|
+
word-wrap:break-word;
|
350
|
+
white-space:initial;
|
351
|
+
max-width:16rem;
|
352
|
+
}
|
353
|
+
thead tr { height:3.5rem; }
|
354
|
+
tbody tr { height:3rem; }
|
355
|
+
tbody td, thead th { padding:8px; }
|
356
|
+
|
357
|
+
tr:first-child th { border-top:0; }
|
358
|
+
td:first-child, th:first-child { border-left:0; }
|
359
|
+
td:last-child, th:last-child { border-right:0; }
|
360
|
+
}
|
361
|
+
|
362
|
+
li { padding:4px 0; }
|
363
|
+
|
364
|
+
hr {
|
365
|
+
border:0;
|
366
|
+
height:2px;
|
367
|
+
margin:1rem 0;
|
368
|
+
background:burlywood;
|
369
|
+
}
|
370
|
+
|
371
|
+
img + em {
|
372
|
+
display:block;
|
373
|
+
text-align:center;
|
374
|
+
color:dimgrey;
|
375
|
+
font-size:0.875rem;
|
376
|
+
font-style:normal;
|
377
|
+
}
|
402
378
|
}
|
403
379
|
|
404
380
|
#related-box {
|
405
|
-
|
381
|
+
margin-top:2rem;
|
406
382
|
|
407
|
-
|
383
|
+
span { font-size:1.25rem; }
|
408
384
|
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
385
|
+
svg {
|
386
|
+
width:20px;
|
387
|
+
display:inline-flex;
|
388
|
+
transform:translateY(3px);
|
389
|
+
}
|
414
390
|
}
|
415
391
|
|
416
392
|
#related-posts {
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
&:hover {
|
434
|
-
transform: translate(0px, -4px);
|
435
|
-
box-shadow: 8px 8px 16px -4px rgba(0, 0, 255, .2);
|
436
|
-
}
|
437
|
-
}
|
393
|
+
display:inline-table;
|
394
|
+
position:relative;
|
395
|
+
width:100%;
|
396
|
+
margin:1rem 0;
|
397
|
+
padding:0;
|
398
|
+
|
399
|
+
li {
|
400
|
+
float:left;
|
401
|
+
position:relative;
|
402
|
+
width:45%;
|
403
|
+
margin-left:5%;
|
404
|
+
margin-bottom:2rem;
|
405
|
+
padding:0;
|
406
|
+
list-style:none;
|
407
|
+
transition:.3s;
|
408
|
+
overflow: hidden;
|
438
409
|
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
410
|
+
&:hover {
|
411
|
+
box-shadow:8px 8px 16px -4px rgba(0, 0, 255, .2);
|
412
|
+
|
413
|
+
-webkit-transform:scale(1.05);
|
414
|
+
-moz-transform:scale(1.05);
|
415
|
+
transform:scale(1.05);
|
416
|
+
|
417
|
+
img {
|
418
|
+
opacity:.7;
|
419
|
+
}
|
420
|
+
}
|
421
|
+
}
|
422
|
+
|
423
|
+
@media (max-width:768px){
|
424
|
+
li:nth-child(2n+1) { margin-left:0; }
|
425
|
+
}
|
426
|
+
|
427
|
+
a {
|
428
|
+
width:100%;
|
429
|
+
display:inline-block;
|
430
|
+
text-decoration:none;
|
431
|
+
|
432
|
+
p {
|
433
|
+
width:100%;
|
434
|
+
margin:8px 0;
|
435
|
+
line-height:1.25;
|
436
|
+
font-family:Verdana, Tahoma, sans-serif;
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
img {
|
441
|
+
display:block;
|
442
|
+
width:100%;
|
443
|
+
aspect-ratio:1.5/1;
|
444
|
+
transition:.3s;
|
445
|
+
}
|
446
|
+
|
447
|
+
.category {
|
448
|
+
color:$color-aqua;
|
449
|
+
font-size:1rem;
|
450
|
+
}
|
451
|
+
|
452
|
+
.title {
|
453
|
+
display:-webkit-box;
|
454
|
+
color:$color-darkbrown;
|
455
|
+
font-size:1.125rem;
|
456
|
+
font-weight:600;
|
457
|
+
height:2.5em;
|
458
|
+
text-align:left;
|
459
|
+
overflow:hidden;
|
460
|
+
text-overflow:ellipsis;
|
461
|
+
-webkit-line-clamp:2;
|
462
|
+
-webkit-box-orient:vertical;
|
463
|
+
word-wrap:break-word;
|
464
|
+
}
|
465
|
+
|
466
|
+
.date {
|
467
|
+
color:goldenrod;
|
468
|
+
font-size:0.875rem;
|
469
|
+
text-transform:uppercase;
|
470
|
+
}
|
484
471
|
}
|
485
472
|
|
486
473
|
.top-arrow {
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
}
|
474
|
+
position:fixed;
|
475
|
+
display:none;
|
476
|
+
bottom:2rem;
|
477
|
+
right:2rem;
|
478
|
+
width:48px;
|
479
|
+
background:rgba(100, 200, 200, 0.75);
|
480
|
+
cursor:pointer;
|
481
|
+
|
482
|
+
&, &:before{
|
483
|
+
aspect-ratio:1.0;
|
484
|
+
border-radius:50%;
|
485
|
+
}
|
486
|
+
&:before{
|
487
|
+
content:"";
|
488
|
+
width:40px;
|
489
|
+
border:2px solid #fff;
|
490
|
+
position:absolute;
|
491
|
+
top:2px;
|
492
|
+
left:2px;
|
493
|
+
}
|
494
|
+
|
495
|
+
svg {
|
496
|
+
width:28px;
|
497
|
+
top:11px;
|
498
|
+
left:10px;
|
499
|
+
fill:#fff !important;
|
500
|
+
filter:drop-shadow(0 1px 2px rgba(0,0,0,0.6));
|
501
|
+
position:absolute;
|
502
|
+
animation:ascend 2s infinite;
|
503
|
+
}
|
504
|
+
|
505
|
+
@keyframes ascend {
|
506
|
+
0% {
|
507
|
+
opacity:0;
|
508
|
+
transform:translateY(8px);
|
509
|
+
}
|
510
|
+
50% {
|
511
|
+
opacity:1;
|
512
|
+
}
|
513
|
+
100% {
|
514
|
+
opacity:0;
|
515
|
+
transform:translateY(-8px);
|
516
|
+
}
|
517
|
+
}
|
532
518
|
}
|
533
519
|
|
534
|
-
.arrow-open { display:
|
520
|
+
.arrow-open { display:block; }
|
535
521
|
|
536
522
|
@include mq(tablet){
|
537
|
-
.transbox {
|
538
|
-
width: 87.5%;
|
539
|
-
padding: 2rem;
|
540
|
-
}
|
541
523
|
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
font-size: 1.25rem;
|
547
|
-
|
548
|
-
svg { width: 20px; }
|
549
|
-
}
|
524
|
+
.transbox {
|
525
|
+
width:87.5%;
|
526
|
+
padding:2rem;
|
527
|
+
}
|
550
528
|
|
551
|
-
|
552
|
-
margin: 0 8px;
|
553
|
-
padding: 8px;
|
554
|
-
background-size: 100% 4px, 0 4px;
|
529
|
+
.post-title { font-size:2.25rem; }
|
555
530
|
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
}
|
531
|
+
.post-info {
|
532
|
+
margin-top:4rem;
|
533
|
+
font-size:1.25rem;
|
560
534
|
|
561
|
-
|
562
|
-
|
535
|
+
svg { width:20px; }
|
536
|
+
}
|
563
537
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
538
|
+
.info-box {
|
539
|
+
margin:0 8px;
|
540
|
+
padding:8px;
|
541
|
+
background-size:100% 4px, 0 4px;
|
568
542
|
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
font-size: 1.125rem;
|
543
|
+
&:hover {
|
544
|
+
background-size:0 4px, 100% 4px;
|
545
|
+
box-shadow:0 4px 64px 16px rgba(100, 200, 200, 1);
|
546
|
+
}
|
574
547
|
|
575
|
-
|
576
|
-
|
577
|
-
border-width: 16px 16px 16px 0;
|
578
|
-
}
|
548
|
+
svg { margin-right:8px; }
|
549
|
+
}
|
579
550
|
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
}
|
551
|
+
.tag-box {
|
552
|
+
margin:3rem;
|
553
|
+
margin-top:1rem;
|
554
|
+
}
|
585
555
|
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
556
|
+
.tag {
|
557
|
+
margin:12px 16px;
|
558
|
+
padding:0 14px 0 16px;
|
559
|
+
line-height:2rem;
|
560
|
+
font-size:1.125rem;
|
561
|
+
|
562
|
+
&:before {
|
563
|
+
left:-16px;
|
564
|
+
border-width:16px 16px 16px 0;
|
565
|
+
}
|
566
|
+
&:after {
|
567
|
+
top:14px;
|
568
|
+
left:2px;
|
569
|
+
}
|
570
|
+
}
|
590
571
|
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
572
|
+
main {
|
573
|
+
padding:2.5rem;
|
574
|
+
padding-top:0;
|
575
|
+
font-size:1.125rem;
|
576
|
+
|
577
|
+
h1, .sh1 {
|
578
|
+
font-size:2.25rem;
|
579
|
+
margin-top:5rem;
|
580
|
+
}
|
581
|
+
h2, .sh2 {
|
582
|
+
font-size:1.75rem;
|
583
|
+
margin-top:4rem;
|
584
|
+
}
|
585
|
+
h3, .sh3 {
|
586
|
+
font-size:1.375rem;
|
587
|
+
}
|
588
|
+
|
589
|
+
table {
|
590
|
+
tbody td, thead th { padding:1rem; }
|
591
|
+
}
|
592
|
+
|
593
|
+
code { font-size:1rem; }
|
594
|
+
|
595
|
+
blockquote p { font-size:1rem; }
|
596
|
+
}
|
604
597
|
|
605
|
-
|
606
|
-
|
607
|
-
}
|
598
|
+
#related-box {
|
599
|
+
margin-top:4rem;
|
608
600
|
|
609
|
-
|
601
|
+
span { font-size:1.5rem; }
|
610
602
|
|
611
|
-
|
612
|
-
|
603
|
+
svg { width:24px; }
|
604
|
+
}
|
613
605
|
|
614
|
-
|
615
|
-
|
606
|
+
#related-posts {
|
607
|
+
li { width:30%; }
|
608
|
+
li:nth-child(3n+1) { margin-left:0; }
|
609
|
+
}
|
616
610
|
|
617
|
-
|
611
|
+
}
|
618
612
|
|
619
|
-
|
620
|
-
}
|
613
|
+
@include mq(desktop){
|
621
614
|
|
622
|
-
|
615
|
+
#post {
|
616
|
+
margin:4rem 0;
|
617
|
+
margin-left:#{$sidebarwd};
|
618
|
+
width:var(--pagewidth-desktop);
|
619
|
+
display:inline-block;
|
623
620
|
}
|
624
621
|
|
625
|
-
|
626
|
-
#post {
|
627
|
-
margin: 4rem 0;
|
628
|
-
margin-left: #{$sidebarwd};
|
629
|
-
width: var(--pagewidth-desktop);
|
630
|
-
display: inline-block;
|
631
|
-
}
|
622
|
+
.inner-header { display:block; }
|
632
623
|
|
633
|
-
|
624
|
+
.inner-content {
|
625
|
+
border-radius:0 0 1rem 1rem;
|
626
|
+
box-shadow:0 16px 16px 8px rgba(31, 35, 46, 0.15);
|
627
|
+
}
|
634
628
|
|
635
|
-
|
636
|
-
border-radius: 0 0 1rem 1rem;
|
637
|
-
box-shadow: 0 16px 16px 8px rgba(31, 35, 46, 0.15);
|
638
|
-
}
|
629
|
+
.top-arrow { left:calc(#{$sidebarwd} + var(--pagewidth-desktop) - 4rem); }
|
639
630
|
|
640
|
-
.top-arrow { left: calc(#{$sidebarwd} + var(--pagewidth-desktop) - 4rem); }
|
641
631
|
}
|
642
632
|
|
643
633
|
@include mq(wide){
|
644
|
-
#post { margin-left: calc((100vw - #{$contentwd})/2); }
|
645
634
|
|
646
|
-
|
635
|
+
#post { margin-left:calc((100vw - #{$contentwd})/2); }
|
636
|
+
|
637
|
+
.top-arrow { left:calc(50vw + #{$contentwd}/2 - 4rem); }
|
638
|
+
|
647
639
|
}
|