jekyll-theme-iamlynnmckay 0.0.4 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{LICENSE.txt → LICENSE} +5 -5
- data/README.md +1 -3
- data/_config.yml +74 -78
- data/_includes/404-template.html +18 -0
- data/_includes/about-template.html +1 -0
- data/_includes/bib-template.html +1 -0
- data/_includes/blog-template.html +11 -0
- data/_includes/contact-template.html +3 -0
- data/_includes/css.html +2 -0
- data/_includes/default-template.html +17 -0
- data/_includes/disqus-comments.html +0 -2
- data/_includes/footer.html +27 -112
- data/_includes/google-analytics.html +10 -12
- data/_includes/head.html +9 -6
- data/_includes/header.html +25 -24
- data/_includes/home-template.html +23 -0
- data/_includes/js.html +1 -0
- data/_includes/list-of-homepage-links.html +8 -0
- data/_includes/page-template.html +8 -0
- data/_includes/post-categories.html +5 -0
- data/_includes/post-date.html +5 -0
- data/_includes/post-item-proxy.html +1 -0
- data/_includes/post-item.html +6 -0
- data/_includes/post-meta.html +12 -0
- data/_includes/post-tags.html +6 -0
- data/_includes/post-template.html +16 -0
- data/_includes/posts-by-category.html +1 -0
- data/_includes/posts-by-date-top-three.html +2 -0
- data/_includes/posts-by-date.html +1 -0
- data/_includes/posts-by-tag.html +1 -0
- data/_includes/posts-list-nested.html +14 -0
- data/_includes/posts-list.html +8 -0
- data/_includes/social.html +73 -0
- data/_layouts/404.html +5 -0
- data/_layouts/bib.html +1 -1
- data/_layouts/default.html +1 -15
- data/_layouts/home.html +1 -57
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +1 -43
- data/_sass/_minima-custom.scss +699 -0
- data/_sass/iamlynnmckay.scss +282 -0
- data/assets/css/main.scss +4 -0
- data/assets/js/bouncing-ball-in-canvas-element.js +41 -0
- data/assets/js/main.js +13 -0
- data/assets/js/random-color-for-font-awesome-icons.js +5 -0
- metadata +52 -51
- data/_includes/scripts.html +0 -73
- data/_includes/tailwind.config.js +0 -12
- data/_layouts/about.html +0 -7
- data/_layouts/posts.html +0 -36
- data/_sass/syntax-highlighting.scss +0 -71
- data/assets/_files/.gitignore +0 -14
- data/assets/_files/_bibliography/references.bib +0 -13
- data/assets/_files/_config.yml +0 -78
- data/assets/_files/_includes/tailwind.config.js +0 -12
- data/assets/_files/about.html +0 -6
- data/assets/_files/index.html +0 -3
- data/assets/_files/package.json +0 -10
- data/assets/_files/postcss.config.js +0 -21
- data/assets/_files/posts.html +0 -4
- data/assets/_images/logo.svg +0 -1
- data/assets/_scripts/build.sh +0 -32
- data/assets/_scripts/run.sh +0 -7
- data/assets/main.scss +0 -204
@@ -0,0 +1,699 @@
|
|
1
|
+
/**
|
2
|
+
* _minima-custom.scss
|
3
|
+
*
|
4
|
+
* A customized version of the minima Jekyll theme stylesheets by @iamlynnmckay.
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
|
8
|
+
/**
|
9
|
+
* BEGIN minima.scss
|
10
|
+
*/
|
11
|
+
|
12
|
+
@charset "utf-8";
|
13
|
+
|
14
|
+
// Define defaults for each variable.
|
15
|
+
|
16
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
17
|
+
$base-font-size: 16px !default;
|
18
|
+
$base-font-weight: 400 !default;
|
19
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
20
|
+
$base-line-height: 1.5 !default;
|
21
|
+
|
22
|
+
$spacing-unit: 30px !default;
|
23
|
+
|
24
|
+
$text-color: #111 !default;
|
25
|
+
$background-color: #fdfdfd !default;
|
26
|
+
$brand-color: #2a7ae2 !default;
|
27
|
+
|
28
|
+
$grey-color: #828282 !default;
|
29
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
30
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
31
|
+
|
32
|
+
$table-text-align: left !default;
|
33
|
+
|
34
|
+
// Width of the content area
|
35
|
+
$content-width: 800px !default;
|
36
|
+
|
37
|
+
$on-palm: 600px !default;
|
38
|
+
$on-laptop: 800px !default;
|
39
|
+
|
40
|
+
// Use media queries like this:
|
41
|
+
// @include media-query($on-palm) {
|
42
|
+
// .wrapper {
|
43
|
+
// padding-right: $spacing-unit / 2;
|
44
|
+
// padding-left: $spacing-unit / 2;
|
45
|
+
// }
|
46
|
+
// }
|
47
|
+
@mixin media-query($device) {
|
48
|
+
@media screen and (max-width: $device) {
|
49
|
+
@content;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
@mixin relative-font-size($ratio) {
|
54
|
+
font-size: $base-font-size * $ratio;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Import partials.
|
58
|
+
/// @iamlynnnmckay
|
59
|
+
/// @import
|
60
|
+
/// "minima/base",
|
61
|
+
/// "minima/layout",
|
62
|
+
/// "minima/syntax-highlighting"
|
63
|
+
/// ;
|
64
|
+
|
65
|
+
/**
|
66
|
+
* END minima.scss
|
67
|
+
*/
|
68
|
+
|
69
|
+
/**
|
70
|
+
* BEGIN minima/_base.scss
|
71
|
+
*/
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Reset some basic elements
|
75
|
+
*/
|
76
|
+
body, h1, h2, h3, h4, h5, h6,
|
77
|
+
p, blockquote, pre, hr,
|
78
|
+
dl, dd, ol, ul, figure {
|
79
|
+
margin: 0;
|
80
|
+
padding: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Basic styling
|
87
|
+
*/
|
88
|
+
body {
|
89
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
90
|
+
color: $text-color;
|
91
|
+
background-color: $background-color;
|
92
|
+
-webkit-text-size-adjust: 100%;
|
93
|
+
-webkit-font-feature-settings: "kern" 1;
|
94
|
+
-moz-font-feature-settings: "kern" 1;
|
95
|
+
-o-font-feature-settings: "kern" 1;
|
96
|
+
font-feature-settings: "kern" 1;
|
97
|
+
font-kerning: normal;
|
98
|
+
display: flex;
|
99
|
+
min-height: 100vh;
|
100
|
+
flex-direction: column;
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
107
|
+
*/
|
108
|
+
h1, h2, h3, h4, h5, h6,
|
109
|
+
p, blockquote, pre,
|
110
|
+
ul, ol, dl, figure,
|
111
|
+
%vertical-rhythm {
|
112
|
+
margin-bottom: $spacing-unit / 2;
|
113
|
+
}
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
/**
|
118
|
+
* `main` element
|
119
|
+
*/
|
120
|
+
main {
|
121
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
122
|
+
}
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Images
|
128
|
+
*/
|
129
|
+
img {
|
130
|
+
max-width: 100%;
|
131
|
+
vertical-align: middle;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Figures
|
138
|
+
*/
|
139
|
+
figure > img {
|
140
|
+
display: block;
|
141
|
+
}
|
142
|
+
|
143
|
+
figcaption {
|
144
|
+
font-size: $small-font-size;
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
/**
|
150
|
+
* Lists
|
151
|
+
*/
|
152
|
+
ul, ol {
|
153
|
+
margin-left: $spacing-unit;
|
154
|
+
}
|
155
|
+
|
156
|
+
li {
|
157
|
+
> ul,
|
158
|
+
> ol {
|
159
|
+
margin-bottom: 0;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
/**
|
166
|
+
* Headings
|
167
|
+
*/
|
168
|
+
h1, h2, h3, h4, h5, h6 {
|
169
|
+
font-weight: $base-font-weight;
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Links
|
176
|
+
*/
|
177
|
+
a {
|
178
|
+
color: $brand-color;
|
179
|
+
text-decoration: none;
|
180
|
+
|
181
|
+
&:visited {
|
182
|
+
color: darken($brand-color, 15%);
|
183
|
+
}
|
184
|
+
|
185
|
+
&:hover {
|
186
|
+
color: $text-color;
|
187
|
+
text-decoration: underline;
|
188
|
+
}
|
189
|
+
|
190
|
+
/// @iamlynnmckay
|
191
|
+
/// .social-media-list &:hover {
|
192
|
+
/// text-decoration: none;
|
193
|
+
///
|
194
|
+
/// .username {
|
195
|
+
/// text-decoration: underline;
|
196
|
+
/// }
|
197
|
+
/// }
|
198
|
+
}
|
199
|
+
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Blockquotes
|
203
|
+
*/
|
204
|
+
blockquote {
|
205
|
+
color: $grey-color;
|
206
|
+
border-left: 4px solid $grey-color-light;
|
207
|
+
padding-left: $spacing-unit / 2;
|
208
|
+
@include relative-font-size(1.125);
|
209
|
+
letter-spacing: -1px;
|
210
|
+
font-style: italic;
|
211
|
+
|
212
|
+
> :last-child {
|
213
|
+
margin-bottom: 0;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
/**
|
220
|
+
* Code formatting
|
221
|
+
*/
|
222
|
+
pre,
|
223
|
+
code {
|
224
|
+
@include relative-font-size(0.9375);
|
225
|
+
/// @iamlynnmckay
|
226
|
+
/// border: 1px solid $grey-color-light;
|
227
|
+
/// border-radius: 3px;
|
228
|
+
/// background-color: #eef;
|
229
|
+
border: 0;
|
230
|
+
border-radius: 0;
|
231
|
+
background-color: $code-background-color;
|
232
|
+
}
|
233
|
+
|
234
|
+
code {
|
235
|
+
padding: 1px 5px;
|
236
|
+
}
|
237
|
+
|
238
|
+
pre {
|
239
|
+
padding: 8px 12px;
|
240
|
+
overflow-x: auto;
|
241
|
+
|
242
|
+
> code {
|
243
|
+
border: 0;
|
244
|
+
padding-right: 0;
|
245
|
+
padding-left: 0;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Wrapper
|
253
|
+
*/
|
254
|
+
/// @iamlynnmckay
|
255
|
+
/// .wrapper
|
256
|
+
body > header > div, body > main > div, body > footer > div {
|
257
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
258
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
259
|
+
margin-right: auto;
|
260
|
+
margin-left: auto;
|
261
|
+
padding-right: $spacing-unit;
|
262
|
+
padding-left: $spacing-unit;
|
263
|
+
@extend %clearfix;
|
264
|
+
|
265
|
+
@include media-query($on-laptop) {
|
266
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
267
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
268
|
+
padding-right: $spacing-unit / 2;
|
269
|
+
padding-left: $spacing-unit / 2;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
/**
|
276
|
+
* Clearfix
|
277
|
+
*/
|
278
|
+
%clearfix:after {
|
279
|
+
content: "";
|
280
|
+
display: table;
|
281
|
+
clear: both;
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
/**
|
287
|
+
* Icons
|
288
|
+
*/
|
289
|
+
|
290
|
+
/// @iamlynnmckay
|
291
|
+
/// .svg-icon {
|
292
|
+
/// width: 16px;
|
293
|
+
/// height: 16px;
|
294
|
+
/// display: inline-block;
|
295
|
+
/// fill: #{$grey-color};
|
296
|
+
/// padding-right: 5px;
|
297
|
+
/// vertical-align: text-top;
|
298
|
+
/// }
|
299
|
+
///
|
300
|
+
/// .social-media-list {
|
301
|
+
/// li + li {
|
302
|
+
/// padding-top: 5px;
|
303
|
+
/// }
|
304
|
+
/// }
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
/**
|
309
|
+
* Tables
|
310
|
+
*/
|
311
|
+
table {
|
312
|
+
margin-bottom: $spacing-unit;
|
313
|
+
width: 100%;
|
314
|
+
text-align: $table-text-align;
|
315
|
+
color: lighten($text-color, 18%);
|
316
|
+
border-collapse: collapse;
|
317
|
+
border: 1px solid $grey-color-light;
|
318
|
+
tr {
|
319
|
+
&:nth-child(even) {
|
320
|
+
background-color: lighten($grey-color-light, 6%);
|
321
|
+
}
|
322
|
+
}
|
323
|
+
th, td {
|
324
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
325
|
+
}
|
326
|
+
th {
|
327
|
+
background-color: lighten($grey-color-light, 3%);
|
328
|
+
border: 1px solid darken($grey-color-light, 4%);
|
329
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
330
|
+
}
|
331
|
+
td {
|
332
|
+
border: 1px solid $grey-color-light;
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
/**
|
337
|
+
* END minima/_base.scss
|
338
|
+
*/
|
339
|
+
|
340
|
+
/**
|
341
|
+
* BEGIN minima/_layout.scss
|
342
|
+
*/
|
343
|
+
|
344
|
+
/**
|
345
|
+
* Site header
|
346
|
+
*/
|
347
|
+
/// @iamlynnmckay
|
348
|
+
/// .site-header {
|
349
|
+
body > header {
|
350
|
+
/// @iamlynnmckay
|
351
|
+
/// border-top: 5px solid $grey-color-dark;
|
352
|
+
border-bottom: 1px solid $grey-color-light;
|
353
|
+
min-height: $spacing-unit * 1.865;
|
354
|
+
|
355
|
+
// Positioning context for the mobile navigation icon
|
356
|
+
position: relative;
|
357
|
+
}
|
358
|
+
|
359
|
+
/// @iamlynnmkcay
|
360
|
+
/// .site-title
|
361
|
+
body > header > div > a {
|
362
|
+
@include relative-font-size(1.625);
|
363
|
+
font-weight: 300;
|
364
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
365
|
+
letter-spacing: -1px;
|
366
|
+
margin-bottom: 0;
|
367
|
+
float: left;
|
368
|
+
|
369
|
+
&,
|
370
|
+
&:visited {
|
371
|
+
color: $grey-color-dark;
|
372
|
+
}
|
373
|
+
}
|
374
|
+
|
375
|
+
/// @iamlynnmckay
|
376
|
+
/// .site-nav {
|
377
|
+
/// float: right;
|
378
|
+
/// line-height: $base-line-height * $base-font-size * 2.25;
|
379
|
+
///
|
380
|
+
/// .nav-trigger {
|
381
|
+
/// display: none;
|
382
|
+
/// }
|
383
|
+
///
|
384
|
+
/// .menu-icon {
|
385
|
+
/// display: none;
|
386
|
+
/// }
|
387
|
+
///
|
388
|
+
/// .page-link {
|
389
|
+
/// color: $text-color;
|
390
|
+
/// line-height: $base-line-height;
|
391
|
+
///
|
392
|
+
/// // Gaps between nav items, but not on the last one
|
393
|
+
/// &:not(:last-child) {
|
394
|
+
/// margin-right: 20px;
|
395
|
+
/// }
|
396
|
+
/// }
|
397
|
+
///
|
398
|
+
/// @include media-query($on-palm) {
|
399
|
+
/// position: absolute;
|
400
|
+
/// top: 9px;
|
401
|
+
/// right: $spacing-unit / 2;
|
402
|
+
/// background-color: $background-color;
|
403
|
+
/// border: 1px solid $grey-color-light;
|
404
|
+
/// border-radius: 5px;
|
405
|
+
/// text-align: right;
|
406
|
+
///
|
407
|
+
/// label[for="nav-trigger"] {
|
408
|
+
/// display: block;
|
409
|
+
/// float: right;
|
410
|
+
/// width: 36px;
|
411
|
+
/// height: 36px;
|
412
|
+
/// z-index: 2;
|
413
|
+
/// cursor: pointer;
|
414
|
+
/// }
|
415
|
+
///
|
416
|
+
/// .menu-icon {
|
417
|
+
/// display: block;
|
418
|
+
/// float: right;
|
419
|
+
/// width: 36px;
|
420
|
+
/// height: 26px;
|
421
|
+
/// line-height: 0;
|
422
|
+
/// padding-top: 10px;
|
423
|
+
/// text-align: center;
|
424
|
+
///
|
425
|
+
/// > svg {
|
426
|
+
/// fill: $grey-color-dark;
|
427
|
+
/// }
|
428
|
+
/// }
|
429
|
+
///
|
430
|
+
/// input ~ .trigger {
|
431
|
+
/// clear: both;
|
432
|
+
/// display: none;
|
433
|
+
/// }
|
434
|
+
///
|
435
|
+
/// input:checked ~ .trigger {
|
436
|
+
/// display: block;
|
437
|
+
/// padding-bottom: 5px;
|
438
|
+
/// }
|
439
|
+
///
|
440
|
+
/// .page-link {
|
441
|
+
/// display: block;
|
442
|
+
/// padding: 5px 10px;
|
443
|
+
///
|
444
|
+
/// &:not(:last-child) {
|
445
|
+
/// margin-right: 0;
|
446
|
+
/// }
|
447
|
+
/// margin-left: 20px;
|
448
|
+
/// }
|
449
|
+
/// }
|
450
|
+
/// }
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
/**
|
455
|
+
* Site footer
|
456
|
+
*/
|
457
|
+
/// @iamlynnmckay
|
458
|
+
/// .site-footer
|
459
|
+
body > footer {
|
460
|
+
border-top: 1px solid $grey-color-light;
|
461
|
+
padding: $spacing-unit 0;
|
462
|
+
}
|
463
|
+
|
464
|
+
.footer-heading {
|
465
|
+
@include relative-font-size(1.125);
|
466
|
+
margin-bottom: $spacing-unit / 2;
|
467
|
+
}
|
468
|
+
|
469
|
+
.footer-col-wrapper {
|
470
|
+
@include relative-font-size(0.9375);
|
471
|
+
color: $grey-color;
|
472
|
+
margin-left: -$spacing-unit / 2;
|
473
|
+
@extend %clearfix;
|
474
|
+
}
|
475
|
+
|
476
|
+
.footer-col {
|
477
|
+
float: left;
|
478
|
+
margin-bottom: $spacing-unit / 2;
|
479
|
+
padding-left: $spacing-unit / 2;
|
480
|
+
}
|
481
|
+
|
482
|
+
.footer-col-1 {
|
483
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
484
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
485
|
+
}
|
486
|
+
|
487
|
+
.footer-col-2 {
|
488
|
+
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
489
|
+
width: calc(20% - (#{$spacing-unit} / 2));
|
490
|
+
}
|
491
|
+
|
492
|
+
.footer-col-3 {
|
493
|
+
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
494
|
+
width: calc(45% - (#{$spacing-unit} / 2));
|
495
|
+
}
|
496
|
+
|
497
|
+
@include media-query($on-laptop) {
|
498
|
+
.footer-col-1,
|
499
|
+
.footer-col-2 {
|
500
|
+
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
501
|
+
width: calc(50% - (#{$spacing-unit} / 2));
|
502
|
+
}
|
503
|
+
|
504
|
+
.footer-col-3 {
|
505
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
506
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
507
|
+
}
|
508
|
+
}
|
509
|
+
|
510
|
+
@include media-query($on-palm) {
|
511
|
+
.footer-col {
|
512
|
+
float: none;
|
513
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
514
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
515
|
+
}
|
516
|
+
}
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
/**
|
521
|
+
* Page content
|
522
|
+
*/
|
523
|
+
|
524
|
+
/// @iamlynnmckay
|
525
|
+
/// .page-content {
|
526
|
+
main {
|
527
|
+
padding: $spacing-unit 0;
|
528
|
+
flex: 1;
|
529
|
+
}
|
530
|
+
|
531
|
+
.page-heading {
|
532
|
+
@include relative-font-size(2);
|
533
|
+
}
|
534
|
+
|
535
|
+
.post-list-heading {
|
536
|
+
@include relative-font-size(1.75);
|
537
|
+
}
|
538
|
+
|
539
|
+
.post-list {
|
540
|
+
margin-left: 0;
|
541
|
+
list-style: none;
|
542
|
+
|
543
|
+
> li {
|
544
|
+
margin-bottom: $spacing-unit;
|
545
|
+
}
|
546
|
+
}
|
547
|
+
|
548
|
+
/// @iamlynnmckay
|
549
|
+
/// .post-meta {
|
550
|
+
/// font-size: $small-font-size;
|
551
|
+
/// color: $grey-color;
|
552
|
+
/// }
|
553
|
+
|
554
|
+
/// .post-link {
|
555
|
+
/// display: block;
|
556
|
+
/// @include relative-font-size(1.5);
|
557
|
+
/// }
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
/**
|
562
|
+
* Posts
|
563
|
+
*/
|
564
|
+
|
565
|
+
/// @iamlynnmckay
|
566
|
+
///.post-header {
|
567
|
+
article > header {
|
568
|
+
margin-bottom: $spacing-unit;
|
569
|
+
}
|
570
|
+
|
571
|
+
/// @iamlynnmckay
|
572
|
+
/// .post-title {
|
573
|
+
article > header > h1 {
|
574
|
+
@include relative-font-size(2.625);
|
575
|
+
letter-spacing: -1px;
|
576
|
+
line-height: 1;
|
577
|
+
|
578
|
+
@include media-query($on-laptop) {
|
579
|
+
@include relative-font-size(2.25);
|
580
|
+
}
|
581
|
+
}
|
582
|
+
|
583
|
+
/// @iamlynnmckay
|
584
|
+
/// .post-content {
|
585
|
+
article > section {
|
586
|
+
margin-bottom: $spacing-unit;
|
587
|
+
|
588
|
+
h2 {
|
589
|
+
@include relative-font-size(2);
|
590
|
+
|
591
|
+
@include media-query($on-laptop) {
|
592
|
+
@include relative-font-size(1.75);
|
593
|
+
}
|
594
|
+
}
|
595
|
+
|
596
|
+
h3 {
|
597
|
+
@include relative-font-size(1.625);
|
598
|
+
|
599
|
+
@include media-query($on-laptop) {
|
600
|
+
@include relative-font-size(1.375);
|
601
|
+
}
|
602
|
+
}
|
603
|
+
|
604
|
+
h4 {
|
605
|
+
@include relative-font-size(1.25);
|
606
|
+
|
607
|
+
@include media-query($on-laptop) {
|
608
|
+
@include relative-font-size(1.125);
|
609
|
+
}
|
610
|
+
}
|
611
|
+
}
|
612
|
+
|
613
|
+
/**
|
614
|
+
* END minima/_layout.scss
|
615
|
+
*/
|
616
|
+
|
617
|
+
/**
|
618
|
+
* BEGIN minima/_syntax-highlighting.scss
|
619
|
+
*/
|
620
|
+
|
621
|
+
/**
|
622
|
+
* Syntax highlighting styles
|
623
|
+
*/
|
624
|
+
.highlight {
|
625
|
+
/// @iamlynnmckay
|
626
|
+
/// background: #fff;
|
627
|
+
background: $code-background-color;
|
628
|
+
@extend %vertical-rhythm;
|
629
|
+
|
630
|
+
.highlighter-rouge & {
|
631
|
+
/// @iamlynnmckay
|
632
|
+
/// background: #eef;
|
633
|
+
background: $code-background-color;
|
634
|
+
}
|
635
|
+
|
636
|
+
.c { color: #998; font-style: italic } // Comment
|
637
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
638
|
+
.k { font-weight: bold } // Keyword
|
639
|
+
.o { font-weight: bold } // Operator
|
640
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
641
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
642
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
643
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
644
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
645
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
646
|
+
.ge { font-style: italic } // Generic.Emph
|
647
|
+
.gr { color: #a00 } // Generic.Error
|
648
|
+
.gh { color: #999 } // Generic.Heading
|
649
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
650
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
651
|
+
.go { color: #888 } // Generic.Output
|
652
|
+
.gp { color: #555 } // Generic.Prompt
|
653
|
+
.gs { font-weight: bold } // Generic.Strong
|
654
|
+
.gu { color: #aaa } // Generic.Subheading
|
655
|
+
.gt { color: #a00 } // Generic.Traceback
|
656
|
+
.kc { font-weight: bold } // Keyword.Constant
|
657
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
658
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
659
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
660
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
661
|
+
.m { color: #099 } // Literal.Number
|
662
|
+
.s { color: #d14 } // Literal.String
|
663
|
+
.na { color: #008080 } // Name.Attribute
|
664
|
+
.nb { color: #0086B3 } // Name.Builtin
|
665
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
666
|
+
.no { color: #008080 } // Name.Constant
|
667
|
+
.ni { color: #800080 } // Name.Entity
|
668
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
669
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
670
|
+
.nn { color: #555 } // Name.Namespace
|
671
|
+
.nt { color: #000080 } // Name.Tag
|
672
|
+
.nv { color: #008080 } // Name.Variable
|
673
|
+
.ow { font-weight: bold } // Operator.Word
|
674
|
+
.w { color: #bbb } // Text.Whitespace
|
675
|
+
.mf { color: #099 } // Literal.Number.Float
|
676
|
+
.mh { color: #099 } // Literal.Number.Hex
|
677
|
+
.mi { color: #099 } // Literal.Number.Integer
|
678
|
+
.mo { color: #099 } // Literal.Number.Oct
|
679
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
680
|
+
.sc { color: #d14 } // Literal.String.Char
|
681
|
+
.sd { color: #d14 } // Literal.String.Doc
|
682
|
+
.s2 { color: #d14 } // Literal.String.Double
|
683
|
+
.se { color: #d14 } // Literal.String.Escape
|
684
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
685
|
+
.si { color: #d14 } // Literal.String.Interpol
|
686
|
+
.sx { color: #d14 } // Literal.String.Other
|
687
|
+
.sr { color: #009926 } // Literal.String.Regex
|
688
|
+
.s1 { color: #d14 } // Literal.String.Single
|
689
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
690
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
691
|
+
.vc { color: #008080 } // Name.Variable.Class
|
692
|
+
.vg { color: #008080 } // Name.Variable.Global
|
693
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
694
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
695
|
+
}
|
696
|
+
|
697
|
+
/**
|
698
|
+
* END minima/_syntax-highlighting.scss
|
699
|
+
*/
|