kaschber 0.2.0 → 0.2.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 +37 -0
- data/_includes/dynamic_title.html +8 -8
- data/_includes/head.html +13 -11
- data/_includes/post-card.html +48 -55
- data/_layouts/author.html +49 -50
- data/_layouts/default.html +99 -96
- data/_layouts/home.html +26 -30
- data/_layouts/page.html +22 -26
- data/_layouts/post.html +95 -92
- data/_layouts/tag.html +37 -40
- data/assets/built/global.css +441 -2
- data/assets/built/kaschber.js +119 -2
- data/assets/built/screen.css +2157 -2
- metadata +4 -4
data/assets/built/global.css
CHANGED
@@ -1,2 +1,441 @@
|
|
1
|
-
a,
|
2
|
-
|
1
|
+
a,
|
2
|
+
abbr,
|
3
|
+
acronym,
|
4
|
+
address,
|
5
|
+
applet,
|
6
|
+
article,
|
7
|
+
aside,
|
8
|
+
audio,
|
9
|
+
big,
|
10
|
+
blockquote,
|
11
|
+
body,
|
12
|
+
canvas,
|
13
|
+
caption,
|
14
|
+
cite,
|
15
|
+
code,
|
16
|
+
dd,
|
17
|
+
del,
|
18
|
+
details,
|
19
|
+
dfn,
|
20
|
+
div,
|
21
|
+
dl,
|
22
|
+
dt,
|
23
|
+
em,
|
24
|
+
embed,
|
25
|
+
fieldset,
|
26
|
+
figcaption,
|
27
|
+
figure,
|
28
|
+
footer,
|
29
|
+
form,
|
30
|
+
h1,
|
31
|
+
h2,
|
32
|
+
h3,
|
33
|
+
h4,
|
34
|
+
h5,
|
35
|
+
h6,
|
36
|
+
header,
|
37
|
+
hgroup,
|
38
|
+
html,
|
39
|
+
iframe,
|
40
|
+
img,
|
41
|
+
ins,
|
42
|
+
kbd,
|
43
|
+
label,
|
44
|
+
legend,
|
45
|
+
li,
|
46
|
+
mark,
|
47
|
+
menu,
|
48
|
+
nav,
|
49
|
+
object,
|
50
|
+
ol,
|
51
|
+
output,
|
52
|
+
p,
|
53
|
+
pre,
|
54
|
+
q,
|
55
|
+
ruby,
|
56
|
+
s,
|
57
|
+
samp,
|
58
|
+
section,
|
59
|
+
small,
|
60
|
+
span,
|
61
|
+
strike,
|
62
|
+
strong,
|
63
|
+
sub,
|
64
|
+
summary,
|
65
|
+
sup,
|
66
|
+
table,
|
67
|
+
tbody,
|
68
|
+
td,
|
69
|
+
tfoot,
|
70
|
+
th,
|
71
|
+
thead,
|
72
|
+
time,
|
73
|
+
tr,
|
74
|
+
tt,
|
75
|
+
ul,
|
76
|
+
var,
|
77
|
+
video {
|
78
|
+
border: 0;
|
79
|
+
font: inherit;
|
80
|
+
font-size: 100%;
|
81
|
+
margin: 0;
|
82
|
+
padding: 0;
|
83
|
+
vertical-align: baseline;
|
84
|
+
}
|
85
|
+
body {
|
86
|
+
line-height: 1;
|
87
|
+
}
|
88
|
+
ol,
|
89
|
+
ul {
|
90
|
+
list-style: none;
|
91
|
+
}
|
92
|
+
blockquote,
|
93
|
+
q {
|
94
|
+
quotes: none;
|
95
|
+
}
|
96
|
+
blockquote:after,
|
97
|
+
blockquote:before,
|
98
|
+
q:after,
|
99
|
+
q:before {
|
100
|
+
content: "";
|
101
|
+
content: none;
|
102
|
+
}
|
103
|
+
img {
|
104
|
+
display: block;
|
105
|
+
height: auto;
|
106
|
+
max-width: 100%;
|
107
|
+
}
|
108
|
+
html {
|
109
|
+
-ms-text-size-adjust: 100%;
|
110
|
+
-webkit-text-size-adjust: 100%;
|
111
|
+
box-sizing: border-box;
|
112
|
+
font-family: sans-serif;
|
113
|
+
}
|
114
|
+
*,
|
115
|
+
:after,
|
116
|
+
:before {
|
117
|
+
box-sizing: inherit;
|
118
|
+
}
|
119
|
+
a {
|
120
|
+
background-color: transparent;
|
121
|
+
}
|
122
|
+
a:active,
|
123
|
+
a:hover {
|
124
|
+
outline: 0;
|
125
|
+
}
|
126
|
+
b,
|
127
|
+
strong {
|
128
|
+
font-weight: 700;
|
129
|
+
}
|
130
|
+
dfn,
|
131
|
+
em,
|
132
|
+
i {
|
133
|
+
font-style: italic;
|
134
|
+
}
|
135
|
+
h1 {
|
136
|
+
font-size: 2em;
|
137
|
+
margin: 0.67em 0;
|
138
|
+
}
|
139
|
+
small {
|
140
|
+
font-size: 80%;
|
141
|
+
}
|
142
|
+
sub,
|
143
|
+
sup {
|
144
|
+
font-size: 75%;
|
145
|
+
line-height: 0;
|
146
|
+
position: relative;
|
147
|
+
vertical-align: baseline;
|
148
|
+
}
|
149
|
+
sup {
|
150
|
+
top: -0.5em;
|
151
|
+
}
|
152
|
+
sub {
|
153
|
+
bottom: -0.25em;
|
154
|
+
}
|
155
|
+
img {
|
156
|
+
border: 0;
|
157
|
+
}
|
158
|
+
svg:not(:root) {
|
159
|
+
overflow: hidden;
|
160
|
+
}
|
161
|
+
mark {
|
162
|
+
background-color: #fdffb6;
|
163
|
+
}
|
164
|
+
code,
|
165
|
+
kbd,
|
166
|
+
pre,
|
167
|
+
samp {
|
168
|
+
font-family: monospace, monospace;
|
169
|
+
font-size: 1em;
|
170
|
+
}
|
171
|
+
kbd {
|
172
|
+
background: #f6f8fa;
|
173
|
+
border: 1px solid rgba(124, 139, 154, 0.25);
|
174
|
+
border-radius: 6px;
|
175
|
+
box-shadow: inset 0 -1px 0 rgba(124, 139, 154, 0.25);
|
176
|
+
font-family: var(--font-mono);
|
177
|
+
font-size: 1.5rem;
|
178
|
+
padding: 3px 5px;
|
179
|
+
}
|
180
|
+
@media (max-width: 600px) {
|
181
|
+
kbd {
|
182
|
+
font-size: 1.3rem;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
button,
|
186
|
+
input,
|
187
|
+
optgroup,
|
188
|
+
select,
|
189
|
+
textarea {
|
190
|
+
color: inherit;
|
191
|
+
font: inherit;
|
192
|
+
margin: 0;
|
193
|
+
}
|
194
|
+
button {
|
195
|
+
border: none;
|
196
|
+
overflow: visible;
|
197
|
+
}
|
198
|
+
button,
|
199
|
+
select {
|
200
|
+
text-transform: none;
|
201
|
+
}
|
202
|
+
button,
|
203
|
+
html input[type="button"],
|
204
|
+
input[type="reset"],
|
205
|
+
input[type="submit"] {
|
206
|
+
-webkit-appearance: button;
|
207
|
+
cursor: pointer;
|
208
|
+
}
|
209
|
+
button[disabled],
|
210
|
+
html input[disabled] {
|
211
|
+
cursor: default;
|
212
|
+
}
|
213
|
+
button::-moz-focus-inner,
|
214
|
+
input::-moz-focus-inner {
|
215
|
+
border: 0;
|
216
|
+
padding: 0;
|
217
|
+
}
|
218
|
+
input {
|
219
|
+
line-height: normal;
|
220
|
+
}
|
221
|
+
input:focus {
|
222
|
+
outline: none;
|
223
|
+
}
|
224
|
+
input[type="checkbox"],
|
225
|
+
input[type="radio"] {
|
226
|
+
box-sizing: border-box;
|
227
|
+
padding: 0;
|
228
|
+
}
|
229
|
+
input[type="number"]::-webkit-inner-spin-button,
|
230
|
+
input[type="number"]::-webkit-outer-spin-button {
|
231
|
+
height: auto;
|
232
|
+
}
|
233
|
+
input[type="search"] {
|
234
|
+
-webkit-appearance: textfield;
|
235
|
+
box-sizing: content-box;
|
236
|
+
}
|
237
|
+
input[type="search"]::-webkit-search-cancel-button,
|
238
|
+
input[type="search"]::-webkit-search-decoration {
|
239
|
+
-webkit-appearance: none;
|
240
|
+
}
|
241
|
+
legend {
|
242
|
+
border: 0;
|
243
|
+
padding: 0;
|
244
|
+
}
|
245
|
+
textarea {
|
246
|
+
overflow: auto;
|
247
|
+
}
|
248
|
+
table {
|
249
|
+
border-collapse: collapse;
|
250
|
+
border-spacing: 0;
|
251
|
+
}
|
252
|
+
td,
|
253
|
+
th {
|
254
|
+
padding: 0;
|
255
|
+
}
|
256
|
+
html {
|
257
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
258
|
+
font-size: 62.5%;
|
259
|
+
}
|
260
|
+
body {
|
261
|
+
-webkit-font-smoothing: antialiased;
|
262
|
+
-moz-osx-font-smoothing: grayscale;
|
263
|
+
-moz-font-feature-settings: "liga" on;
|
264
|
+
background: #fff;
|
265
|
+
color: var(--color-darkgrey);
|
266
|
+
font-family: var(--font-sans);
|
267
|
+
font-size: 1.6rem;
|
268
|
+
font-style: normal;
|
269
|
+
font-weight: 400;
|
270
|
+
letter-spacing: 0;
|
271
|
+
line-height: 1.6em;
|
272
|
+
text-rendering: optimizeLegibility;
|
273
|
+
}
|
274
|
+
::-moz-selection {
|
275
|
+
background: #daf2fd;
|
276
|
+
text-shadow: none;
|
277
|
+
}
|
278
|
+
::selection {
|
279
|
+
background: #daf2fd;
|
280
|
+
text-shadow: none;
|
281
|
+
}
|
282
|
+
hr {
|
283
|
+
border: 0;
|
284
|
+
border-top: 1px solid #f0f0f0;
|
285
|
+
display: block;
|
286
|
+
height: 1px;
|
287
|
+
margin: 2.5em 0 3.5em;
|
288
|
+
padding: 0;
|
289
|
+
position: relative;
|
290
|
+
width: 100%;
|
291
|
+
}
|
292
|
+
audio,
|
293
|
+
canvas,
|
294
|
+
iframe,
|
295
|
+
img,
|
296
|
+
svg,
|
297
|
+
video {
|
298
|
+
vertical-align: middle;
|
299
|
+
}
|
300
|
+
fieldset {
|
301
|
+
border: 0;
|
302
|
+
margin: 0;
|
303
|
+
padding: 0;
|
304
|
+
}
|
305
|
+
textarea {
|
306
|
+
resize: vertical;
|
307
|
+
}
|
308
|
+
::not(.gh-content) blockquote,
|
309
|
+
::not(.gh-content) dl,
|
310
|
+
::not(.gh-content) ol,
|
311
|
+
::not(.gh-content) p,
|
312
|
+
::not(.gh-content) ul {
|
313
|
+
margin: 0 0 1.5em;
|
314
|
+
}
|
315
|
+
ol,
|
316
|
+
ul {
|
317
|
+
padding-left: 1.3em;
|
318
|
+
padding-right: 1.5em;
|
319
|
+
}
|
320
|
+
ol ol,
|
321
|
+
ol ul,
|
322
|
+
ul ol,
|
323
|
+
ul ul {
|
324
|
+
margin: 0.5em 0 1em;
|
325
|
+
}
|
326
|
+
ul {
|
327
|
+
list-style: disc;
|
328
|
+
}
|
329
|
+
ol {
|
330
|
+
list-style: decimal;
|
331
|
+
}
|
332
|
+
ol,
|
333
|
+
ul {
|
334
|
+
max-width: 100%;
|
335
|
+
}
|
336
|
+
li {
|
337
|
+
line-height: 1.6em;
|
338
|
+
padding-left: 0.3em;
|
339
|
+
}
|
340
|
+
li + li {
|
341
|
+
margin-top: 0.5em;
|
342
|
+
}
|
343
|
+
dt {
|
344
|
+
color: #daf2fd;
|
345
|
+
float: left;
|
346
|
+
font-weight: 500;
|
347
|
+
margin: 0 20px 0 0;
|
348
|
+
text-align: right;
|
349
|
+
width: 120px;
|
350
|
+
}
|
351
|
+
dd {
|
352
|
+
margin: 0 0 5px;
|
353
|
+
text-align: left;
|
354
|
+
}
|
355
|
+
blockquote {
|
356
|
+
border-left: #daf2fd;
|
357
|
+
margin: 1.5em 0;
|
358
|
+
padding: 0 1.6em;
|
359
|
+
}
|
360
|
+
blockquote small {
|
361
|
+
display: inline-block;
|
362
|
+
font-size: 0.9em;
|
363
|
+
margin: 0.8em 0 0.8em 1.5em;
|
364
|
+
opacity: 0.8;
|
365
|
+
}
|
366
|
+
blockquote small:before {
|
367
|
+
content: "\2014 \00A0";
|
368
|
+
}
|
369
|
+
blockquote cite {
|
370
|
+
font-weight: 700;
|
371
|
+
}
|
372
|
+
blockquote cite a {
|
373
|
+
font-weight: 400;
|
374
|
+
}
|
375
|
+
a {
|
376
|
+
color: #15171a;
|
377
|
+
text-decoration: none;
|
378
|
+
}
|
379
|
+
h1,
|
380
|
+
h2,
|
381
|
+
h3,
|
382
|
+
h4,
|
383
|
+
h5,
|
384
|
+
h6 {
|
385
|
+
font-weight: 600;
|
386
|
+
letter-spacing: -0.01em;
|
387
|
+
line-height: 1.15;
|
388
|
+
margin-top: 0;
|
389
|
+
text-rendering: optimizeLegibility;
|
390
|
+
}
|
391
|
+
h1 {
|
392
|
+
font-size: 4.8rem;
|
393
|
+
font-weight: 700;
|
394
|
+
letter-spacing: -0.015em;
|
395
|
+
margin: 0 0 0.5em;
|
396
|
+
}
|
397
|
+
@media (max-width: 600px) {
|
398
|
+
h1 {
|
399
|
+
font-size: 2.8rem;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
h2 {
|
403
|
+
font-size: 2.8rem;
|
404
|
+
font-weight: 700;
|
405
|
+
margin: 1.5em 0 0.5em;
|
406
|
+
}
|
407
|
+
@media (max-width: 600px) {
|
408
|
+
h2 {
|
409
|
+
font-size: 2.3rem;
|
410
|
+
}
|
411
|
+
}
|
412
|
+
h3 {
|
413
|
+
font-size: 2.4rem;
|
414
|
+
font-weight: 600;
|
415
|
+
margin: 1.5em 0 0.5em;
|
416
|
+
}
|
417
|
+
@media (max-width: 600px) {
|
418
|
+
h3 {
|
419
|
+
font-size: 1.7rem;
|
420
|
+
}
|
421
|
+
}
|
422
|
+
h4 {
|
423
|
+
font-size: 2rem;
|
424
|
+
margin: 1.5em 0 0.5em;
|
425
|
+
}
|
426
|
+
@media (max-width: 600px) {
|
427
|
+
h4 {
|
428
|
+
font-size: 1.7rem;
|
429
|
+
}
|
430
|
+
}
|
431
|
+
h5 {
|
432
|
+
font-size: 2rem;
|
433
|
+
}
|
434
|
+
h5,
|
435
|
+
h6 {
|
436
|
+
margin: 1.5em 0 0.5em;
|
437
|
+
}
|
438
|
+
h6 {
|
439
|
+
font-size: 1.8rem;
|
440
|
+
}
|
441
|
+
/*# sourceMappingURL=global.css.map */
|
data/assets/built/kaschber.js
CHANGED
@@ -1,2 +1,119 @@
|
|
1
|
-
!
|
2
|
-
|
1
|
+
!(function (o) {
|
2
|
+
"use strict";
|
3
|
+
(o.fn.fitVids = function (e) {
|
4
|
+
var t,
|
5
|
+
i,
|
6
|
+
n = { customSelector: null, ignore: null };
|
7
|
+
return (
|
8
|
+
document.getElementById("fit-vids-style") ||
|
9
|
+
((t = document.head || document.getElementsByTagName("head")[0]),
|
10
|
+
((i = document.createElement("div")).innerHTML =
|
11
|
+
'<p>x</p><style id="fit-vids-style">.fluid-width-video-container{flex-grow: 1;width:100%;}.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>'),
|
12
|
+
t.appendChild(i.childNodes[1])),
|
13
|
+
e && o.extend(n, e),
|
14
|
+
this.each(function () {
|
15
|
+
var e = [
|
16
|
+
'iframe[src*="player.vimeo.com"]',
|
17
|
+
'iframe[src*="youtube.com"]',
|
18
|
+
'iframe[src*="youtube-nocookie.com"]',
|
19
|
+
'iframe[src*="kickstarter.com"][src*="video.html"]',
|
20
|
+
"object",
|
21
|
+
"embed",
|
22
|
+
],
|
23
|
+
r = (n.customSelector && e.push(n.customSelector), ".fitvidsignore"),
|
24
|
+
e =
|
25
|
+
(n.ignore && (r = r + ", " + n.ignore), o(this).find(e.join(",")));
|
26
|
+
(e = (e = e.not("object object")).not(r)).each(function () {
|
27
|
+
var e,
|
28
|
+
t,
|
29
|
+
i = o(this);
|
30
|
+
0 < i.parents(r).length ||
|
31
|
+
("embed" === this.tagName.toLowerCase() &&
|
32
|
+
i.parent("object").length) ||
|
33
|
+
i.parent(".fluid-width-video-wrapper").length ||
|
34
|
+
(i.css("height") ||
|
35
|
+
i.css("width") ||
|
36
|
+
(!isNaN(i.attr("height")) && !isNaN(i.attr("width"))) ||
|
37
|
+
(i.attr("height", 9), i.attr("width", 16)),
|
38
|
+
(e =
|
39
|
+
("object" === this.tagName.toLowerCase() ||
|
40
|
+
(i.attr("height") && !isNaN(parseInt(i.attr("height"), 10)))
|
41
|
+
? parseInt(i.attr("height"), 10)
|
42
|
+
: i.height()) /
|
43
|
+
(isNaN(parseInt(i.attr("width"), 10))
|
44
|
+
? i.width()
|
45
|
+
: parseInt(i.attr("width"), 10))),
|
46
|
+
i.attr("name") ||
|
47
|
+
((t = "fitvid" + o.fn.fitVids._count),
|
48
|
+
i.attr("name", t),
|
49
|
+
o.fn.fitVids._count++),
|
50
|
+
i
|
51
|
+
.wrap(
|
52
|
+
'<div class="fluid-width-video-container"><div class="fluid-width-video-wrapper"></div></div>'
|
53
|
+
)
|
54
|
+
.parent(".fluid-width-video-wrapper")
|
55
|
+
.css("padding-top", 100 * e + "%"),
|
56
|
+
i.removeAttr("height").removeAttr("width"));
|
57
|
+
});
|
58
|
+
})
|
59
|
+
);
|
60
|
+
}),
|
61
|
+
(o.fn.fitVids._count = 0);
|
62
|
+
})(window.jQuery || window.Zepto),
|
63
|
+
(function (t, i) {
|
64
|
+
var r,
|
65
|
+
n,
|
66
|
+
o,
|
67
|
+
d,
|
68
|
+
s,
|
69
|
+
a,
|
70
|
+
c,
|
71
|
+
l = i.querySelector("link[rel=next]");
|
72
|
+
function h() {
|
73
|
+
var e;
|
74
|
+
404 === this.status
|
75
|
+
? (t.removeEventListener("scroll", p),
|
76
|
+
t.removeEventListener("resize", m))
|
77
|
+
: (this.response
|
78
|
+
.querySelectorAll("article.post-card")
|
79
|
+
.forEach(function (e) {
|
80
|
+
r.appendChild(i.importNode(e, !0));
|
81
|
+
}),
|
82
|
+
(e = this.response.querySelector("link[rel=next]"))
|
83
|
+
? (l.href = e.href)
|
84
|
+
: (t.removeEventListener("scroll", p),
|
85
|
+
t.removeEventListener("resize", m)),
|
86
|
+
(c = i.documentElement.scrollHeight),
|
87
|
+
(d = o = !1));
|
88
|
+
}
|
89
|
+
function e() {
|
90
|
+
var e;
|
91
|
+
d ||
|
92
|
+
(s + a <= c - n
|
93
|
+
? (o = !1)
|
94
|
+
: ((d = !0),
|
95
|
+
((e = new t.XMLHttpRequest()).responseType = "document"),
|
96
|
+
e.addEventListener("load", h),
|
97
|
+
e.open("GET", l.href),
|
98
|
+
e.send(null)));
|
99
|
+
}
|
100
|
+
function u() {
|
101
|
+
o || t.requestAnimationFrame(e), (o = !0);
|
102
|
+
}
|
103
|
+
function p() {
|
104
|
+
(s = t.scrollY), u();
|
105
|
+
}
|
106
|
+
function m() {
|
107
|
+
(a = t.innerHeight), (c = i.documentElement.scrollHeight), u();
|
108
|
+
}
|
109
|
+
l &&
|
110
|
+
(r = i.querySelector(".post-feed")) &&
|
111
|
+
((d = o = !(n = 300)),
|
112
|
+
(s = t.scrollY),
|
113
|
+
(a = t.innerHeight),
|
114
|
+
(c = i.documentElement.scrollHeight),
|
115
|
+
t.addEventListener("scroll", p, { passive: !0 }),
|
116
|
+
t.addEventListener("resize", m),
|
117
|
+
u());
|
118
|
+
})(window, document);
|
119
|
+
//# sourceMappingURL=kaschber.js.map
|