steve-for-jekyll 1.0 → 1.1.1
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.
- checksums.yaml +4 -4
- data/404.html +9 -0
- data/LICENSE.txt +21 -21
- data/README.md +61 -21
- data/_config.yml +96 -70
- data/_includes/blog/custom-widgets.html +3 -3
- data/_includes/blog/post.html +16 -2
- data/_includes/blog/sidebar.html +42 -42
- data/_includes/footer.html +11 -11
- data/_includes/footer/custom-text.html +5 -5
- data/_includes/header.html +17 -17
- data/_includes/header/menu.html +12 -12
- data/_includes/post/comment-form.html +69 -0
- data/_includes/post/comments.html +47 -0
- data/_includes/search-form.html +13 -13
- data/_layouts/archive.html +21 -21
- data/_layouts/default.html +18 -18
- data/_layouts/home.html +23 -23
- data/_layouts/page.html +15 -15
- data/_layouts/post.html +115 -92
- data/_sass/{steve.scss → steve-for-jekyll.scss} +51 -51
- data/_sass/steve/_base.scss +237 -249
- data/_sass/steve/_layout.scss +472 -397
- data/assets/css/screen.scss +34 -34
- data/assets/js/responsive-videos.js +79 -79
- data/staticman.yml +30 -0
- metadata +11 -7
data/_sass/steve/_layout.scss
CHANGED
@@ -1,397 +1,472 @@
|
|
1
|
-
body {
|
2
|
-
display: flex;
|
3
|
-
flex-flow: column nowrap;
|
4
|
-
min-height: 100vh;
|
5
|
-
max-width: var(--container);
|
6
|
-
margin: var(--gap) auto;
|
7
|
-
padding-left: calc(var(--gap) / 2);
|
8
|
-
padding-right: calc(var(--gap) / 2);
|
9
|
-
}
|
10
|
-
|
11
|
-
/*
|
12
|
-
Site Header
|
13
|
-
*/
|
14
|
-
|
15
|
-
.masthead {
|
16
|
-
margin-bottom: calc(var(--gap) * 2);
|
17
|
-
|
18
|
-
.site-title {
|
19
|
-
font-size: 2rem;
|
20
|
-
font-weight: bold;
|
21
|
-
line-height: 1.2;
|
22
|
-
margin-bottom: var(--gap);
|
23
|
-
text-align: center;
|
24
|
-
color: var(--color-link);
|
25
|
-
overflow: visible;
|
26
|
-
|
27
|
-
.logo {
|
28
|
-
display: inline-block;
|
29
|
-
max-width: 250px;
|
30
|
-
margin: calc(var(--gap) / 4);
|
31
|
-
box-shadow: none;
|
32
|
-
filter: drop-shadow(0 0 var(--gap) var(--color-details-lighter));
|
33
|
-
}
|
34
|
-
|
35
|
-
&:hover,
|
36
|
-
&:focus {
|
37
|
-
text-decoration: none;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
.site-menu {
|
43
|
-
display: flex;
|
44
|
-
flex-flow: row wrap;
|
45
|
-
justify-content: center;
|
46
|
-
|
47
|
-
@media screen and (max-width: 600px) {
|
48
|
-
flex-flow: row nowrap;
|
49
|
-
justify-content: flex-start;
|
50
|
-
overflow-x: auto;
|
51
|
-
margin-left: calc(var(--gap) / -2);
|
52
|
-
margin-right: calc(var(--gap) / -2);
|
53
|
-
-webkit-overflow-scrolling: touch;
|
54
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
55
|
-
|
56
|
-
&::-webkit-scrollbar {
|
57
|
-
display: none;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
&::before,
|
62
|
-
&::after {
|
63
|
-
content: " ";
|
64
|
-
display: block;
|
65
|
-
}
|
66
|
-
|
67
|
-
&::before {
|
68
|
-
margin-left: auto;
|
69
|
-
padding-left: calc(var(--gap) / 2);
|
70
|
-
}
|
71
|
-
|
72
|
-
&::after {
|
73
|
-
margin-right: auto;
|
74
|
-
padding-right: calc(var(--gap) / 2);
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
.menu-item {
|
79
|
-
flex: 0 0 auto;
|
80
|
-
color: rgba(255, 255, 255, 0.7);
|
81
|
-
background-color: var(--color-link);
|
82
|
-
border-radius: 1.5rem;
|
83
|
-
font-weight: bolder;
|
84
|
-
padding: 0.5rem 1rem;
|
85
|
-
|
86
|
-
&:not(:last-child) {
|
87
|
-
margin-right: var(--gap);
|
88
|
-
|
89
|
-
@media screen and (max-width: 600px) {
|
90
|
-
margin-right: calc(var(--gap) / 2);
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
&:hover,
|
95
|
-
&:focus {
|
96
|
-
color: rgba(255, 255, 255, 1);
|
97
|
-
text-decoration: none;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
/*
|
102
|
-
Content
|
103
|
-
*/
|
104
|
-
|
105
|
-
.content {
|
106
|
-
background-color: var(--color-bg);
|
107
|
-
padding: calc(var(--gap) * 2);
|
108
|
-
margin-bottom: var(--gap);
|
109
|
-
|
110
|
-
@media screen and (max-width: 600px) {
|
111
|
-
padding-left: var(--gap);
|
112
|
-
padding-right: var(--gap);
|
113
|
-
}
|
114
|
-
|
115
|
-
& > *:last-child {
|
116
|
-
margin-bottom: 0;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
.content-header {
|
121
|
-
margin-bottom: var(--gap);
|
122
|
-
text-align: center;
|
123
|
-
|
124
|
-
.content-title {
|
125
|
-
font-size: 2rem;
|
126
|
-
|
127
|
-
a {
|
128
|
-
color: var(--color-text);
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
.content-meta {
|
133
|
-
font-size: 0.75rem;
|
134
|
-
|
135
|
-
a {
|
136
|
-
color: var(--color-details);
|
137
|
-
display: inline-block;
|
138
|
-
|
139
|
-
&:not(:last-child) {
|
140
|
-
margin-right: calc(var(--gap) / 2);
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
.content-body > :last-child {
|
147
|
-
margin-bottom: 0;
|
148
|
-
}
|
149
|
-
|
150
|
-
.content-footer {
|
151
|
-
margin-top: var(--gap);
|
152
|
-
font-size: 0.75rem;
|
153
|
-
color: var(--color-details);
|
154
|
-
|
155
|
-
.content-tags {
|
156
|
-
display: block;
|
157
|
-
list-style: none;
|
158
|
-
margin-left: 0;
|
159
|
-
|
160
|
-
li {
|
161
|
-
display: inline-block;
|
162
|
-
font-size: 0.875rem;
|
163
|
-
|
164
|
-
&:not(:last-child) {
|
165
|
-
&::after {
|
166
|
-
padding-left: calc(var(--gap) / 4);
|
167
|
-
padding-right: calc(var(--gap) / 4);
|
168
|
-
content: "/";
|
169
|
-
color: var(--color-details-lighter);
|
170
|
-
}
|
171
|
-
}
|
172
|
-
|
173
|
-
a {
|
174
|
-
color: var(--color-details-darker);
|
175
|
-
}
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
.content-navigation {
|
181
|
-
display: flex;
|
182
|
-
align-items: center;
|
183
|
-
|
184
|
-
@media screen and (max-width: 600) {
|
185
|
-
flex-flow: column nowrap;
|
186
|
-
}
|
187
|
-
|
188
|
-
.nav-link {
|
189
|
-
background: var(--color-bg);
|
190
|
-
padding: calc(var(--gap) / 2) var(--gap);
|
191
|
-
|
192
|
-
@media screen and (max-width: 600px) {
|
193
|
-
width: 100%;
|
194
|
-
margin-bottom: var(--gap);
|
195
|
-
}
|
196
|
-
|
197
|
-
&.prev-link {
|
198
|
-
justify-self: flex-start;
|
199
|
-
margin-right: auto;
|
200
|
-
}
|
201
|
-
|
202
|
-
&.next-link {
|
203
|
-
justify-self: flex-end;
|
204
|
-
margin-left: auto;
|
205
|
-
text-align: right;
|
206
|
-
}
|
207
|
-
}
|
208
|
-
}
|
209
|
-
|
210
|
-
// The Blog Layout
|
211
|
-
.layout-blog,
|
212
|
-
.layout-post,
|
213
|
-
.layout-archive,
|
214
|
-
.layout-home {
|
215
|
-
.container {
|
216
|
-
display: grid;
|
217
|
-
gap: var(--gap);
|
218
|
-
grid-template-columns: 2fr 1fr;
|
219
|
-
grid-template-areas:
|
220
|
-
"content sidebar"
|
221
|
-
"content sidebar"
|
222
|
-
"content .";
|
223
|
-
|
224
|
-
@media screen and (max-width: 600px) {
|
225
|
-
grid-template-columns: 100%;
|
226
|
-
grid-template-areas:
|
227
|
-
"search"
|
228
|
-
"content"
|
229
|
-
"sidebar";
|
230
|
-
}
|
231
|
-
}
|
232
|
-
}
|
233
|
-
|
234
|
-
.blog-page {
|
235
|
-
grid-area: content;
|
236
|
-
min-width: 0;
|
237
|
-
}
|
238
|
-
|
239
|
-
// The Archive Layout
|
240
|
-
.archive-header {
|
241
|
-
padding: var(--gap);
|
242
|
-
background: var(--color-bg);
|
243
|
-
margin-bottom: var(--gap);
|
244
|
-
|
245
|
-
h1 {
|
246
|
-
font-size: 0.75rem;
|
247
|
-
font-weight: normal;
|
248
|
-
color: var(--color-details);
|
249
|
-
|
250
|
-
strong {
|
251
|
-
font-size: 1.75rem;
|
252
|
-
color: var(--color-text);
|
253
|
-
text-transform: uppercase;
|
254
|
-
}
|
255
|
-
}
|
256
|
-
}
|
257
|
-
|
258
|
-
// Sidebar
|
259
|
-
.widget {
|
260
|
-
background-color: var(--color-bg);
|
261
|
-
padding: var(--gap);
|
262
|
-
}
|
263
|
-
|
264
|
-
.-search {
|
265
|
-
grid-area: sidebar;
|
266
|
-
grid-row: 1;
|
267
|
-
|
268
|
-
@media screen and (max-width: 600px) {
|
269
|
-
grid-area: search;
|
270
|
-
}
|
271
|
-
}
|
272
|
-
|
273
|
-
.-sidebar {
|
274
|
-
grid-area: sidebar;
|
275
|
-
grid-row: 2;
|
276
|
-
|
277
|
-
@media screen and (max-width: 600px) {
|
278
|
-
grid-row: auto;
|
279
|
-
}
|
280
|
-
|
281
|
-
& > *:not(:last-child) {
|
282
|
-
margin-bottom: calc(var(--gap) * 2);
|
283
|
-
}
|
284
|
-
}
|
285
|
-
|
286
|
-
.social-links {
|
287
|
-
margin-left: 0;
|
288
|
-
list-style: none;
|
289
|
-
display: flex;
|
290
|
-
flex-flow: row wrap;
|
291
|
-
justify-content: center;
|
292
|
-
align-items: center;
|
293
|
-
|
294
|
-
.link {
|
295
|
-
display: inline-block;
|
296
|
-
margin: calc(var(--gap) / 2);
|
297
|
-
margin-top: 0;
|
298
|
-
|
299
|
-
svg {
|
300
|
-
width: 1.5rem;
|
301
|
-
height: 1.5rem;
|
302
|
-
}
|
303
|
-
}
|
304
|
-
}
|
305
|
-
|
306
|
-
.blogroll {
|
307
|
-
.blogroll-title {
|
308
|
-
font-weight: normal;
|
309
|
-
margin-bottom: calc(var(--gap) / 2);
|
310
|
-
}
|
311
|
-
|
312
|
-
.blogroll-list {
|
313
|
-
list-style: none;
|
314
|
-
margin-left: 0;
|
315
|
-
|
316
|
-
.link {
|
317
|
-
padding-top: calc(var(--gap) / 2);
|
318
|
-
padding-bottom: calc(var(--gap) / 2);
|
319
|
-
border-bottom: 1px solid var(--color-details-lighter);
|
320
|
-
|
321
|
-
&:first-child {
|
322
|
-
border-top: 1px solid var(--color-details-lighter);
|
323
|
-
}
|
324
|
-
|
325
|
-
a {
|
326
|
-
color: var(--color-details);
|
327
|
-
|
328
|
-
&:hover,
|
329
|
-
&:focus {
|
330
|
-
color: var(--color-details-darker);
|
331
|
-
}
|
332
|
-
}
|
333
|
-
}
|
334
|
-
}
|
335
|
-
}
|
336
|
-
|
337
|
-
// Search Form
|
338
|
-
|
339
|
-
label[for="search_terms"] {
|
340
|
-
display: inline-block;
|
341
|
-
margin-bottom: calc(var(--gap) / 2);
|
342
|
-
}
|
343
|
-
|
344
|
-
.search-controls {
|
345
|
-
display: flex;
|
346
|
-
flex-flow: row nowrap;
|
347
|
-
font-size: 0.75rem;
|
348
|
-
|
349
|
-
input[name="q"] {
|
350
|
-
max-width: 400px;
|
351
|
-
width: 100%;
|
352
|
-
}
|
353
|
-
}
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
}
|
397
|
-
}
|
1
|
+
body {
|
2
|
+
display: flex;
|
3
|
+
flex-flow: column nowrap;
|
4
|
+
min-height: 100vh;
|
5
|
+
max-width: var(--container);
|
6
|
+
margin: var(--gap) auto;
|
7
|
+
padding-left: calc(var(--gap) / 2);
|
8
|
+
padding-right: calc(var(--gap) / 2);
|
9
|
+
}
|
10
|
+
|
11
|
+
/*
|
12
|
+
Site Header
|
13
|
+
*/
|
14
|
+
|
15
|
+
.masthead {
|
16
|
+
margin-bottom: calc(var(--gap) * 2);
|
17
|
+
|
18
|
+
.site-title {
|
19
|
+
font-size: 2rem;
|
20
|
+
font-weight: bold;
|
21
|
+
line-height: 1.2;
|
22
|
+
margin-bottom: var(--gap);
|
23
|
+
text-align: center;
|
24
|
+
color: var(--color-link);
|
25
|
+
overflow: visible;
|
26
|
+
|
27
|
+
.logo {
|
28
|
+
display: inline-block;
|
29
|
+
max-width: 250px;
|
30
|
+
margin: calc(var(--gap) / 4);
|
31
|
+
box-shadow: none;
|
32
|
+
filter: drop-shadow(0 0 var(--gap) var(--color-details-lighter));
|
33
|
+
}
|
34
|
+
|
35
|
+
&:hover,
|
36
|
+
&:focus {
|
37
|
+
text-decoration: none;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.site-menu {
|
43
|
+
display: flex;
|
44
|
+
flex-flow: row wrap;
|
45
|
+
justify-content: center;
|
46
|
+
|
47
|
+
@media screen and (max-width: 600px) {
|
48
|
+
flex-flow: row nowrap;
|
49
|
+
justify-content: flex-start;
|
50
|
+
overflow-x: auto;
|
51
|
+
margin-left: calc(var(--gap) / -2);
|
52
|
+
margin-right: calc(var(--gap) / -2);
|
53
|
+
-webkit-overflow-scrolling: touch;
|
54
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
55
|
+
|
56
|
+
&::-webkit-scrollbar {
|
57
|
+
display: none;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
&::before,
|
62
|
+
&::after {
|
63
|
+
content: " ";
|
64
|
+
display: block;
|
65
|
+
}
|
66
|
+
|
67
|
+
&::before {
|
68
|
+
margin-left: auto;
|
69
|
+
padding-left: calc(var(--gap) / 2);
|
70
|
+
}
|
71
|
+
|
72
|
+
&::after {
|
73
|
+
margin-right: auto;
|
74
|
+
padding-right: calc(var(--gap) / 2);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.menu-item {
|
79
|
+
flex: 0 0 auto;
|
80
|
+
color: rgba(255, 255, 255, 0.7);
|
81
|
+
background-color: var(--color-link);
|
82
|
+
border-radius: 1.5rem;
|
83
|
+
font-weight: bolder;
|
84
|
+
padding: 0.5rem 1rem;
|
85
|
+
|
86
|
+
&:not(:last-child) {
|
87
|
+
margin-right: var(--gap);
|
88
|
+
|
89
|
+
@media screen and (max-width: 600px) {
|
90
|
+
margin-right: calc(var(--gap) / 2);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
&:hover,
|
95
|
+
&:focus {
|
96
|
+
color: rgba(255, 255, 255, 1);
|
97
|
+
text-decoration: none;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/*
|
102
|
+
Content
|
103
|
+
*/
|
104
|
+
|
105
|
+
.content {
|
106
|
+
background-color: var(--color-bg);
|
107
|
+
padding: calc(var(--gap) * 2);
|
108
|
+
margin-bottom: var(--gap);
|
109
|
+
|
110
|
+
@media screen and (max-width: 600px) {
|
111
|
+
padding-left: var(--gap);
|
112
|
+
padding-right: var(--gap);
|
113
|
+
}
|
114
|
+
|
115
|
+
& > *:last-child {
|
116
|
+
margin-bottom: 0;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
.content-header {
|
121
|
+
margin-bottom: var(--gap);
|
122
|
+
text-align: center;
|
123
|
+
|
124
|
+
.content-title {
|
125
|
+
font-size: 2rem;
|
126
|
+
|
127
|
+
a {
|
128
|
+
color: var(--color-text);
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
.content-meta {
|
133
|
+
font-size: 0.75rem;
|
134
|
+
|
135
|
+
a {
|
136
|
+
color: var(--color-details);
|
137
|
+
display: inline-block;
|
138
|
+
|
139
|
+
&:not(:last-child) {
|
140
|
+
margin-right: calc(var(--gap) / 2);
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
.content-body > :last-child {
|
147
|
+
margin-bottom: 0;
|
148
|
+
}
|
149
|
+
|
150
|
+
.content-footer {
|
151
|
+
margin-top: var(--gap);
|
152
|
+
font-size: 0.75rem;
|
153
|
+
color: var(--color-details);
|
154
|
+
|
155
|
+
.content-tags {
|
156
|
+
display: block;
|
157
|
+
list-style: none;
|
158
|
+
margin-left: 0;
|
159
|
+
|
160
|
+
li {
|
161
|
+
display: inline-block;
|
162
|
+
font-size: 0.875rem;
|
163
|
+
|
164
|
+
&:not(:last-child) {
|
165
|
+
&::after {
|
166
|
+
padding-left: calc(var(--gap) / 4);
|
167
|
+
padding-right: calc(var(--gap) / 4);
|
168
|
+
content: "/";
|
169
|
+
color: var(--color-details-lighter);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
a {
|
174
|
+
color: var(--color-details-darker);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
.content-navigation {
|
181
|
+
display: flex;
|
182
|
+
align-items: center;
|
183
|
+
|
184
|
+
@media screen and (max-width: 600) {
|
185
|
+
flex-flow: column nowrap;
|
186
|
+
}
|
187
|
+
|
188
|
+
.nav-link {
|
189
|
+
background: var(--color-bg);
|
190
|
+
padding: calc(var(--gap) / 2) var(--gap);
|
191
|
+
|
192
|
+
@media screen and (max-width: 600px) {
|
193
|
+
width: 100%;
|
194
|
+
margin-bottom: var(--gap);
|
195
|
+
}
|
196
|
+
|
197
|
+
&.prev-link {
|
198
|
+
justify-self: flex-start;
|
199
|
+
margin-right: auto;
|
200
|
+
}
|
201
|
+
|
202
|
+
&.next-link {
|
203
|
+
justify-self: flex-end;
|
204
|
+
margin-left: auto;
|
205
|
+
text-align: right;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
// The Blog Layout
|
211
|
+
.layout-blog,
|
212
|
+
.layout-post,
|
213
|
+
.layout-archive,
|
214
|
+
.layout-home {
|
215
|
+
.container {
|
216
|
+
display: grid;
|
217
|
+
gap: var(--gap);
|
218
|
+
grid-template-columns: 2fr 1fr;
|
219
|
+
grid-template-areas:
|
220
|
+
"content sidebar"
|
221
|
+
"content sidebar"
|
222
|
+
"content .";
|
223
|
+
|
224
|
+
@media screen and (max-width: 600px) {
|
225
|
+
grid-template-columns: 100%;
|
226
|
+
grid-template-areas:
|
227
|
+
"search"
|
228
|
+
"content"
|
229
|
+
"sidebar";
|
230
|
+
}
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
.blog-page {
|
235
|
+
grid-area: content;
|
236
|
+
min-width: 0;
|
237
|
+
}
|
238
|
+
|
239
|
+
// The Archive Layout
|
240
|
+
.archive-header {
|
241
|
+
padding: var(--gap);
|
242
|
+
background: var(--color-bg);
|
243
|
+
margin-bottom: var(--gap);
|
244
|
+
|
245
|
+
h1 {
|
246
|
+
font-size: 0.75rem;
|
247
|
+
font-weight: normal;
|
248
|
+
color: var(--color-details);
|
249
|
+
|
250
|
+
strong {
|
251
|
+
font-size: 1.75rem;
|
252
|
+
color: var(--color-text);
|
253
|
+
text-transform: uppercase;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
// Sidebar
|
259
|
+
.widget {
|
260
|
+
background-color: var(--color-bg);
|
261
|
+
padding: var(--gap);
|
262
|
+
}
|
263
|
+
|
264
|
+
.-search {
|
265
|
+
grid-area: sidebar;
|
266
|
+
grid-row: 1;
|
267
|
+
|
268
|
+
@media screen and (max-width: 600px) {
|
269
|
+
grid-area: search;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
.-sidebar {
|
274
|
+
grid-area: sidebar;
|
275
|
+
grid-row: 2;
|
276
|
+
|
277
|
+
@media screen and (max-width: 600px) {
|
278
|
+
grid-row: auto;
|
279
|
+
}
|
280
|
+
|
281
|
+
& > *:not(:last-child) {
|
282
|
+
margin-bottom: calc(var(--gap) * 2);
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
.social-links {
|
287
|
+
margin-left: 0;
|
288
|
+
list-style: none;
|
289
|
+
display: flex;
|
290
|
+
flex-flow: row wrap;
|
291
|
+
justify-content: center;
|
292
|
+
align-items: center;
|
293
|
+
|
294
|
+
.link {
|
295
|
+
display: inline-block;
|
296
|
+
margin: calc(var(--gap) / 2);
|
297
|
+
margin-top: 0;
|
298
|
+
|
299
|
+
svg {
|
300
|
+
width: 1.5rem;
|
301
|
+
height: 1.5rem;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
.blogroll {
|
307
|
+
.blogroll-title {
|
308
|
+
font-weight: normal;
|
309
|
+
margin-bottom: calc(var(--gap) / 2);
|
310
|
+
}
|
311
|
+
|
312
|
+
.blogroll-list {
|
313
|
+
list-style: none;
|
314
|
+
margin-left: 0;
|
315
|
+
|
316
|
+
.link {
|
317
|
+
padding-top: calc(var(--gap) / 2);
|
318
|
+
padding-bottom: calc(var(--gap) / 2);
|
319
|
+
border-bottom: 1px solid var(--color-details-lighter);
|
320
|
+
|
321
|
+
&:first-child {
|
322
|
+
border-top: 1px solid var(--color-details-lighter);
|
323
|
+
}
|
324
|
+
|
325
|
+
a {
|
326
|
+
color: var(--color-details);
|
327
|
+
|
328
|
+
&:hover,
|
329
|
+
&:focus {
|
330
|
+
color: var(--color-details-darker);
|
331
|
+
}
|
332
|
+
}
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
|
337
|
+
// Search Form
|
338
|
+
|
339
|
+
label[for="search_terms"] {
|
340
|
+
display: inline-block;
|
341
|
+
margin-bottom: calc(var(--gap) / 2);
|
342
|
+
}
|
343
|
+
|
344
|
+
.search-controls {
|
345
|
+
display: flex;
|
346
|
+
flex-flow: row nowrap;
|
347
|
+
font-size: 0.75rem;
|
348
|
+
|
349
|
+
input[name="q"] {
|
350
|
+
max-width: 400px;
|
351
|
+
width: 100%;
|
352
|
+
}
|
353
|
+
}
|
354
|
+
|
355
|
+
// Comments
|
356
|
+
|
357
|
+
.comments-title {
|
358
|
+
margin-bottom: var(--gap);
|
359
|
+
}
|
360
|
+
|
361
|
+
.comments-notice {
|
362
|
+
margin-top: calc(var(--gap) / 2);
|
363
|
+
margin-bottom: calc(var(--gap) / 2);
|
364
|
+
color: var(--color-details-darker);
|
365
|
+
}
|
366
|
+
|
367
|
+
.comments-list {
|
368
|
+
list-style: none;
|
369
|
+
margin-left: 0;
|
370
|
+
margin-bottom: var(--gap);
|
371
|
+
|
372
|
+
.comment-item {
|
373
|
+
margin-bottom: var(--gap);
|
374
|
+
padding-bottom: var(--gap);
|
375
|
+
border-bottom: 3px dotted var(--color-details-lighter);
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
.comment {
|
380
|
+
font-size: 95%;
|
381
|
+
|
382
|
+
.comment-meta {
|
383
|
+
margin-bottom: 1rem;
|
384
|
+
}
|
385
|
+
|
386
|
+
.author-avatar {
|
387
|
+
width: 2.5rem;
|
388
|
+
border-radius: 5px;
|
389
|
+
box-shadow: 0 0 2px var(--color-details);
|
390
|
+
float: left;
|
391
|
+
margin-right: 1rem;
|
392
|
+
}
|
393
|
+
|
394
|
+
.comment-body > *:not(:last-child) {
|
395
|
+
margin-bottom: 0.5rem;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
|
399
|
+
.comment-message-area {
|
400
|
+
margin-bottom: calc(var(--gap) / 2);
|
401
|
+
}
|
402
|
+
|
403
|
+
.message-area {
|
404
|
+
width: 100%;
|
405
|
+
resize: vertical;
|
406
|
+
}
|
407
|
+
|
408
|
+
.comment-fields {
|
409
|
+
display: grid;
|
410
|
+
grid-template-columns: 1fr 1fr 1fr;
|
411
|
+
gap: calc(var(--gap) / 2);
|
412
|
+
margin-bottom: calc(var(--gap) / 2);
|
413
|
+
|
414
|
+
@media screen and (max-width: 800px) {
|
415
|
+
grid-template-columns: 1fr;
|
416
|
+
flex-flow: column nowrap;
|
417
|
+
}
|
418
|
+
|
419
|
+
input {
|
420
|
+
min-width: 0;
|
421
|
+
width: auto;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
.comment-actions {
|
426
|
+
display: flex;
|
427
|
+
justify-content: flex-end;
|
428
|
+
}
|
429
|
+
|
430
|
+
/*
|
431
|
+
Site Footer
|
432
|
+
*/
|
433
|
+
|
434
|
+
.colophon {
|
435
|
+
margin-top: calc(var(--gap) * 2);
|
436
|
+
font-size: 0.875rem;
|
437
|
+
|
438
|
+
h5 {
|
439
|
+
a {
|
440
|
+
color: currentColor;
|
441
|
+
}
|
442
|
+
}
|
443
|
+
|
444
|
+
.site-info {
|
445
|
+
text-align: center;
|
446
|
+
}
|
447
|
+
|
448
|
+
.external-links {
|
449
|
+
text-align: center;
|
450
|
+
list-style: none;
|
451
|
+
margin: calc(var(--gap) / 2) 0;
|
452
|
+
|
453
|
+
.link {
|
454
|
+
display: inline-block;
|
455
|
+
|
456
|
+
a {
|
457
|
+
color: var(--color-details-darker);
|
458
|
+
display: inline-block;
|
459
|
+
}
|
460
|
+
|
461
|
+
&:not(:last-child) {
|
462
|
+
&::after {
|
463
|
+
content: "/";
|
464
|
+
color: var(--color-details-lighter);
|
465
|
+
display: inline-block;
|
466
|
+
margin-left: calc(var(--gap) / 4);
|
467
|
+
margin-right: calc(var(--gap) / 4);
|
468
|
+
}
|
469
|
+
}
|
470
|
+
}
|
471
|
+
}
|
472
|
+
}
|