jekyll-theme-tallneck 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +89 -89
- data/_includes/article-preview.html +19 -19
- data/_includes/footer.html +23 -23
- data/_includes/head.html +15 -15
- data/_includes/header.html +11 -11
- data/_layouts/400.html +6 -6
- data/_layouts/404.html +5 -5
- data/_layouts/500.html +5 -5
- data/_layouts/base.html +11 -11
- data/_layouts/feed.html +8 -8
- data/_layouts/home.html +10 -10
- data/_layouts/page.html +10 -10
- data/_layouts/post.html +26 -26
- data/assets/css/style.css +382 -353
- data/assets/font/roboto.svg +366 -366
- metadata +6 -6
data/assets/css/style.css
CHANGED
@@ -1,353 +1,382 @@
|
|
1
|
-
/*
|
2
|
-
Font
|
3
|
-
*/
|
4
|
-
|
5
|
-
@font-face {
|
6
|
-
font-family: 'Roboto';
|
7
|
-
font-style: normal;
|
8
|
-
font-weight: 400;
|
9
|
-
src: url('../font/roboto.eot');
|
10
|
-
/* IE9 Compat Modes */
|
11
|
-
src: local(''),
|
12
|
-
/* IE6-IE8 */ url('../font/roboto.eot?#iefix') format('embedded-opentype'),
|
13
|
-
/* Super Modern Browsers */ url('../font/roboto.woff2') format('woff2'),
|
14
|
-
/* Modern Browsers */ url('../font/roboto.woff') format('woff'),
|
15
|
-
/* Safari, Android, iOS */ url('../font/roboto.ttf') format('truetype'),
|
16
|
-
/* Legacy iOS */ url('../font/roboto.svg#Roboto') format('svg');
|
17
|
-
font-display: swap;
|
18
|
-
}
|
19
|
-
|
20
|
-
|
21
|
-
/*
|
22
|
-
General
|
23
|
-
*/
|
24
|
-
|
25
|
-
html {
|
26
|
-
font-family: 'Roboto', sans-serif;
|
27
|
-
font-size: 100%;
|
28
|
-
min-width:
|
29
|
-
}
|
30
|
-
|
31
|
-
body {
|
32
|
-
margin: 0;
|
33
|
-
box-sizing: border-box;
|
34
|
-
}
|
35
|
-
|
36
|
-
h1 {
|
37
|
-
font-size: 3rem;
|
38
|
-
text-align: center;
|
39
|
-
}
|
40
|
-
|
41
|
-
h2 {
|
42
|
-
font-size: 2rem;
|
43
|
-
margin-block-end: 0.5em;
|
44
|
-
}
|
45
|
-
|
46
|
-
h3 {
|
47
|
-
font-size: 1.3rem;
|
48
|
-
margin-block-start: 0.5em;
|
49
|
-
margin-block-end: 0.5em;
|
50
|
-
}
|
51
|
-
|
52
|
-
h4 {
|
53
|
-
margin-block-start: 0.5em;
|
54
|
-
margin-block-end: 0.5em;
|
55
|
-
}
|
56
|
-
|
57
|
-
h5 {
|
58
|
-
margin-block-start: 0.5em;
|
59
|
-
margin-block-end: 0.5em;
|
60
|
-
}
|
61
|
-
|
62
|
-
small {
|
63
|
-
font-size: small;
|
64
|
-
}
|
65
|
-
|
66
|
-
a {
|
67
|
-
text-decoration: none;
|
68
|
-
color: #000;
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
margin-block-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
margin-block-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
margin-block-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
color: #
|
103
|
-
|
104
|
-
}
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
}
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
max-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
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
|
-
padding-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
}
|
181
|
-
|
182
|
-
.
|
183
|
-
|
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
|
-
font-size:
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
.
|
215
|
-
|
216
|
-
}
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
.post-preview__box
|
252
|
-
border: 2px solid #
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
}
|
290
|
-
|
291
|
-
.post-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
}
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
footer
|
331
|
-
display:
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
1
|
+
/*
|
2
|
+
Font
|
3
|
+
*/
|
4
|
+
|
5
|
+
@font-face {
|
6
|
+
font-family: 'Roboto';
|
7
|
+
font-style: normal;
|
8
|
+
font-weight: 400;
|
9
|
+
src: url('../font/roboto.eot');
|
10
|
+
/* IE9 Compat Modes */
|
11
|
+
src: local(''),
|
12
|
+
/* IE6-IE8 */ url('../font/roboto.eot?#iefix') format('embedded-opentype'),
|
13
|
+
/* Super Modern Browsers */ url('../font/roboto.woff2') format('woff2'),
|
14
|
+
/* Modern Browsers */ url('../font/roboto.woff') format('woff'),
|
15
|
+
/* Safari, Android, iOS */ url('../font/roboto.ttf') format('truetype'),
|
16
|
+
/* Legacy iOS */ url('../font/roboto.svg#Roboto') format('svg');
|
17
|
+
font-display: swap;
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
/*
|
22
|
+
General
|
23
|
+
*/
|
24
|
+
|
25
|
+
html {
|
26
|
+
font-family: 'Roboto', sans-serif;
|
27
|
+
font-size: 100%;
|
28
|
+
min-width: 270px;
|
29
|
+
}
|
30
|
+
|
31
|
+
body {
|
32
|
+
margin: 0;
|
33
|
+
box-sizing: border-box;
|
34
|
+
}
|
35
|
+
|
36
|
+
h1 {
|
37
|
+
font-size: 3rem;
|
38
|
+
text-align: center;
|
39
|
+
}
|
40
|
+
|
41
|
+
h2 {
|
42
|
+
font-size: 2rem;
|
43
|
+
margin-block-end: 0.5em;
|
44
|
+
}
|
45
|
+
|
46
|
+
h3 {
|
47
|
+
font-size: 1.3rem;
|
48
|
+
margin-block-start: 0.5em;
|
49
|
+
margin-block-end: 0.5em;
|
50
|
+
}
|
51
|
+
|
52
|
+
h4 {
|
53
|
+
margin-block-start: 0.5em;
|
54
|
+
margin-block-end: 0.5em;
|
55
|
+
}
|
56
|
+
|
57
|
+
h5 {
|
58
|
+
margin-block-start: 0.5em;
|
59
|
+
margin-block-end: 0.5em;
|
60
|
+
}
|
61
|
+
|
62
|
+
small {
|
63
|
+
font-size: small;
|
64
|
+
}
|
65
|
+
|
66
|
+
a {
|
67
|
+
text-decoration: none;
|
68
|
+
color: #000;
|
69
|
+
word-break: break-all;
|
70
|
+
}
|
71
|
+
|
72
|
+
a:hover {
|
73
|
+
color: #000000aa;
|
74
|
+
}
|
75
|
+
|
76
|
+
p {
|
77
|
+
margin-block-start: 0.5em;
|
78
|
+
margin-block-end: 0.5em;
|
79
|
+
}
|
80
|
+
|
81
|
+
ul {
|
82
|
+
margin-block-start: 0.4em;
|
83
|
+
margin-block-end: 0.6em;
|
84
|
+
}
|
85
|
+
|
86
|
+
ul li {
|
87
|
+
margin-block-start: 0.2em;
|
88
|
+
margin-block-end: 0.2em;
|
89
|
+
}
|
90
|
+
|
91
|
+
@media (prefers-color-scheme: dark) {
|
92
|
+
a {
|
93
|
+
color: #fff;
|
94
|
+
text-decoration: none;
|
95
|
+
}
|
96
|
+
|
97
|
+
a:hover {
|
98
|
+
color: #ffffffaa;
|
99
|
+
}
|
100
|
+
|
101
|
+
html {
|
102
|
+
background-color: #121212;
|
103
|
+
color: #fefefe;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
@media print {
|
108
|
+
.no_print, .no_print * {
|
109
|
+
display: none !important;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
img {
|
114
|
+
max-width: 100%;
|
115
|
+
max-height: 100%;
|
116
|
+
}
|
117
|
+
|
118
|
+
img[src*='#center'] {
|
119
|
+
display: block;
|
120
|
+
margin: auto;
|
121
|
+
}
|
122
|
+
|
123
|
+
/*
|
124
|
+
Header
|
125
|
+
*/
|
126
|
+
|
127
|
+
header {
|
128
|
+
max-height: 2em;
|
129
|
+
font-size: 1.1rem;
|
130
|
+
|
131
|
+
position: relative !important;
|
132
|
+
display: flex;
|
133
|
+
flex-direction: row;
|
134
|
+
justify-content: space-between;
|
135
|
+
align-items: center;
|
136
|
+
padding: 1.0rem 1.5rem;
|
137
|
+
|
138
|
+
background-color: #1d1d1d;
|
139
|
+
}
|
140
|
+
|
141
|
+
header nav {
|
142
|
+
float: right;
|
143
|
+
}
|
144
|
+
|
145
|
+
header nav ul {
|
146
|
+
padding-inline-start: 0;
|
147
|
+
display: flex;
|
148
|
+
flex-direction: row;
|
149
|
+
}
|
150
|
+
|
151
|
+
header nav ul li {
|
152
|
+
display: inline-block;
|
153
|
+
width: 4em;
|
154
|
+
text-align: center;
|
155
|
+
padding-right: 0.4em;
|
156
|
+
padding-left: 0.4em;
|
157
|
+
}
|
158
|
+
|
159
|
+
header nav ul li a {
|
160
|
+
width: 100%;
|
161
|
+
display: block;
|
162
|
+
color: #fefefe;
|
163
|
+
}
|
164
|
+
|
165
|
+
header nav ul li a:hover {
|
166
|
+
color: #cacaca;
|
167
|
+
}
|
168
|
+
|
169
|
+
.header__logo {
|
170
|
+
float: left;
|
171
|
+
vertical-align: middle;
|
172
|
+
height: fit-content;
|
173
|
+
width: fit-content;
|
174
|
+
}
|
175
|
+
|
176
|
+
|
177
|
+
.header__logo__img {
|
178
|
+
-webkit-filter: brightness(100%);
|
179
|
+
filter: brightness(100%);
|
180
|
+
}
|
181
|
+
|
182
|
+
.header__logo__img:hover {
|
183
|
+
-webkit-filter: brightness(70%);
|
184
|
+
filter: brightness(70%);
|
185
|
+
-webkit-transition: all 1s ease;
|
186
|
+
-moz-transition: all 1s ease;
|
187
|
+
-o-transition: all 1s ease;
|
188
|
+
-ms-transition: all 1s ease;
|
189
|
+
transition: all 1s ease;
|
190
|
+
}
|
191
|
+
|
192
|
+
/*
|
193
|
+
Content
|
194
|
+
*/
|
195
|
+
|
196
|
+
.container {
|
197
|
+
position: relative;
|
198
|
+
max-width: 900px;
|
199
|
+
margin: auto;
|
200
|
+
padding: 0 1.5rem;
|
201
|
+
}
|
202
|
+
|
203
|
+
.content {
|
204
|
+
margin: 0 auto;
|
205
|
+
padding: 1.5rem;
|
206
|
+
}
|
207
|
+
|
208
|
+
.content__info {
|
209
|
+
opacity: 0.7; /* Adjust as needed, 1 is fully opaque, 0 is fully transparent */
|
210
|
+
font-size: 0.8em; /* Adjust as needed, 1em is the current font size */
|
211
|
+
}
|
212
|
+
|
213
|
+
.subtitle {
|
214
|
+
font-size: 1.2rem;
|
215
|
+
margin-bottom: 0.5rem;
|
216
|
+
}
|
217
|
+
|
218
|
+
.center {
|
219
|
+
text-align: center;
|
220
|
+
}
|
221
|
+
|
222
|
+
/*
|
223
|
+
Post preview
|
224
|
+
*/
|
225
|
+
.post-preview {
|
226
|
+
width: 90%;
|
227
|
+
margin: auto;
|
228
|
+
}
|
229
|
+
|
230
|
+
.post-preview__box {
|
231
|
+
display: flex;
|
232
|
+
flex-direction: row;
|
233
|
+
justify-content: space-between;
|
234
|
+
align-items: center;
|
235
|
+
padding: 0 1rem 0 0;
|
236
|
+
margin: 0.5rem;
|
237
|
+
border: 2px solid #00000050;
|
238
|
+
border-radius: 0.5rem;
|
239
|
+
transition: all 0.2s ease-in-out;
|
240
|
+
max-height: 10rem;
|
241
|
+
max-width: 100%;
|
242
|
+
overflow: hidden;
|
243
|
+
}
|
244
|
+
|
245
|
+
.post-preview__box:hover {
|
246
|
+
border: 2px solid #00000055;
|
247
|
+
background-color: #00000011;
|
248
|
+
}
|
249
|
+
|
250
|
+
@media (prefers-color-scheme: dark) {
|
251
|
+
.post-preview__box {
|
252
|
+
border: 2px solid #ffffff50;
|
253
|
+
}
|
254
|
+
|
255
|
+
.post-preview__box:hover {
|
256
|
+
border: 2px solid #ffffff55;
|
257
|
+
background-color: #ffffff11;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
.post-preview__box__image {
|
262
|
+
width: 90%;
|
263
|
+
height: 10rem;
|
264
|
+
overflow: hidden;
|
265
|
+
}
|
266
|
+
|
267
|
+
.post-preview__box__image img {
|
268
|
+
width: 100%;
|
269
|
+
height: 100%;
|
270
|
+
object-fit: cover;
|
271
|
+
}
|
272
|
+
|
273
|
+
@media (max-width: 870px) {
|
274
|
+
.post-preview__box__image {
|
275
|
+
display: none;
|
276
|
+
}
|
277
|
+
|
278
|
+
.post-preview__box__content__title {
|
279
|
+
margin-bottom: 0.2em;
|
280
|
+
margin-top: 0.2em;
|
281
|
+
font-size: 1.5rem;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
|
286
|
+
@media (max-width: 350px) {
|
287
|
+
.post-preview__box__image {
|
288
|
+
display: none;
|
289
|
+
}
|
290
|
+
|
291
|
+
.post-preview__box__content__title {
|
292
|
+
margin-bottom: 0.2em;
|
293
|
+
margin-top: 0.2em;
|
294
|
+
font-size: 1.2rem;
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
.post-preview__box__content {
|
299
|
+
width: 100%;
|
300
|
+
padding-left: 0.5rem;
|
301
|
+
padding-top: 0.5rem;
|
302
|
+
padding-bottom: 0.5rem;
|
303
|
+
}
|
304
|
+
|
305
|
+
.post-preview__box__content__title {
|
306
|
+
margin-bottom: 0.2em;
|
307
|
+
margin-top: 0.2em;
|
308
|
+
}
|
309
|
+
|
310
|
+
.post-preview__box__content__date {
|
311
|
+
font-size: 0.8rem;
|
312
|
+
opacity: 0.7;
|
313
|
+
}
|
314
|
+
|
315
|
+
.post-preview__box__content__author {
|
316
|
+
font-size: 0.8rem;
|
317
|
+
opacity: 0.7;
|
318
|
+
}
|
319
|
+
|
320
|
+
.post-preview__box__content__description {
|
321
|
+
font-size: 0.9rem;
|
322
|
+
opacity: 0.8;
|
323
|
+
}
|
324
|
+
|
325
|
+
|
326
|
+
/*
|
327
|
+
Footer
|
328
|
+
*/
|
329
|
+
|
330
|
+
footer {
|
331
|
+
display: block;
|
332
|
+
margin: 2.5em auto 0;
|
333
|
+
font-size: 1.1rem;
|
334
|
+
}
|
335
|
+
|
336
|
+
footer hr {
|
337
|
+
width: auto;
|
338
|
+
margin-left: auto;
|
339
|
+
margin-right: auto;
|
340
|
+
border: 0;
|
341
|
+
border-top: 0.1em solid;
|
342
|
+
}
|
343
|
+
|
344
|
+
footer nav {
|
345
|
+
text-align: center;
|
346
|
+
}
|
347
|
+
|
348
|
+
footer nav ul {
|
349
|
+
display: flex;
|
350
|
+
flex-direction: row;
|
351
|
+
flex-wrap: wrap;
|
352
|
+
justify-content: center;
|
353
|
+
margin: auto;
|
354
|
+
padding-inline-start: 0;
|
355
|
+
list-style: none;
|
356
|
+
width: 100%;
|
357
|
+
}
|
358
|
+
|
359
|
+
footer nav ul li {
|
360
|
+
display: inline-block;
|
361
|
+
width: 5em;
|
362
|
+
text-align: center;
|
363
|
+
align-items: center;
|
364
|
+
padding-right: 0.5em;
|
365
|
+
padding-left: 0.5em;
|
366
|
+
}
|
367
|
+
|
368
|
+
@media (max-width: 280px) { /* Adjust this value based on when you want the items to wrap */
|
369
|
+
footer nav ul li {
|
370
|
+
width: 50%; /* Make each li take up half the width of the ul on small screens */
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
footer nav ul li a {
|
375
|
+
width: 100%;
|
376
|
+
display: block;
|
377
|
+
}
|
378
|
+
|
379
|
+
footer div {
|
380
|
+
padding-bottom: 0.25em;
|
381
|
+
padding-top: 0.25em;
|
382
|
+
}
|