kaschber 0.2.2 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2157 +1,2278 @@
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
- }
1
+ /* Table of Contents
2
+ /* ------------------------------------------------------------
3
+
4
+ This is a development CSS file which is built to a minified
5
+ production stylesheet in assets/built/screen.css
6
+
7
+ 1. Global Styles
8
+ 2. Layout
9
+ 3. Special Templates
10
+ 4. Site Header
11
+ 5. Site Navigation
12
+ 6. Post Feed
13
+ 7. Single Post
14
+ 7.1. Post Byline
15
+ 7.2. Members Subscribe Form
16
+ 7.4. Related Posts
17
+ 7.5. Koenig Styles
18
+ 7.6 Comments
19
+ 8. Author Template
20
+ 9. Error Template
21
+ 11. Site Footer
22
+ 12. Dark Mode
23
+
24
+ */
25
+
26
+ /* 1. Global - Set up the things
27
+ /* ---------------------------------------------------------- */
28
+
29
+ /* Import CSS reset and base styles */
30
+ @import "global.css";
31
+
441
32
  :root {
442
- --color-green: #a4d037;
443
- --color-yellow: #fecd35;
444
- --color-red: #f05230;
445
- --color-darkgrey: #15171a;
446
- --color-midgrey: #738a94;
447
- --color-lightgrey: #f1f1f1;
448
- --color-secondary-text: #979797;
449
- --color-border: #e1e1e1;
450
- --color-wash: #e5eff5;
451
- --color-darkmode: #151719;
452
- --ghost-accent-color: #6d7c86;
453
- --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
454
- "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
455
- sans-serif;
456
- --font-serif: Georgia, Times, serif;
457
- --font-mono: Menlo, Courier, monospace;
458
- }
33
+
34
+ /* Colours */
35
+ --color-green: #a4d037;
36
+ --color-yellow: #fecd35;
37
+ --color-red: #f05230;
38
+ --color-darkgrey: #15171A;
39
+ --color-midgrey: #738a94;
40
+ --color-lightgrey: #f1f1f1;
41
+ --color-secondary-text: #979797;
42
+ --color-border: #e1e1e1;
43
+ --color-wash: #e5eff5;
44
+ --color-darkmode: #151719;
45
+
46
+ /*
47
+ An accent color is also set by Ghost itself in
48
+ Ghost Admin > Settings > Brand
49
+
50
+ --ghost-accent-color: {value};
51
+
52
+ You can use this variable throughout your styles
53
+ */
54
+
55
+ /* Fonts */
56
+ --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
57
+ --font-serif: Georgia, Times, serif;
58
+ --font-mono: Menlo, Courier, monospace;
59
+
60
+ }
61
+
62
+
63
+ /* 2. Layout - Page building blocks
64
+ /* ---------------------------------------------------------- */
65
+
459
66
  .viewport {
460
- display: flex;
461
- flex-direction: column;
462
- min-height: 100vh;
67
+ display: flex;
68
+ flex-direction: column;
69
+ min-height: 100vh;
463
70
  }
71
+
464
72
  .site-content {
465
- flex-grow: 1;
73
+ flex-grow: 1;
466
74
  }
75
+
76
+ /* Full width page blocks */
467
77
  .outer {
468
- padding: 0 max(4vmin, 20px);
469
- position: relative;
78
+ position: relative;
79
+ padding: 0 max(4vmin, 20px);
470
80
  }
81
+
82
+ /* Centered content container blocks */
471
83
  .inner {
472
- margin: 0 auto;
473
- max-width: 1200px;
474
- width: 100%;
84
+ margin: 0 auto;
85
+ max-width: 1200px;
86
+ width: 100%;
475
87
  }
88
+
89
+
90
+ /* 4. Site Header
91
+ /* ---------------------------------------------------------- */
92
+
476
93
  .site-header {
477
- background: var(--ghost-accent-color);
478
- color: #fff;
479
- position: relative;
94
+ position: relative;
95
+ color: #fff;
96
+ background: var(--ghost-accent-color);
480
97
  }
98
+
481
99
  .site-header-cover {
482
- bottom: 0;
483
- height: 100%;
484
- left: 0;
485
- -o-object-fit: cover;
486
- object-fit: cover;
487
- position: absolute;
488
- right: 0;
489
- top: 0;
490
- width: 100%;
100
+ position: absolute;
101
+ top: 0;
102
+ right: 0;
103
+ bottom: 0;
104
+ left: 0;
105
+ width: 100%;
106
+ height: 100%;
107
+ object-fit: cover;
491
108
  }
109
+
492
110
  .site-header-content {
493
- align-items: center;
494
- color: var(--color-darkgrey);
495
- display: flex;
496
- padding-bottom: 6.4vmin;
497
- padding-top: 6.4vmin;
498
- position: relative;
499
- text-align: center;
500
- z-index: 100;
111
+ position: relative;
112
+ z-index: 100;
113
+ display: flex;
114
+ align-items: center;
115
+ padding-top: 6.4vmin;
116
+ padding-bottom: 6.4vmin;
117
+ text-align: center;
118
+ color: var(--color-darkgrey);
501
119
  }
120
+
502
121
  .has-cover .site-header-content {
503
- background-color: var(--ghost-accent-color);
504
- color: #fff;
505
- min-height: 560px;
122
+ min-height: 560px;
123
+ background-color: var(--ghost-accent-color);
124
+ color: #fff;
506
125
  }
126
+
507
127
  body:not(.has-cover) .site-header-content:not(.left-aligned) {
508
- padding-bottom: max(4.8vmin, 24px);
128
+ padding-bottom: max(4.8vmin, 24px);
509
129
  }
130
+
510
131
  .site-header-content.left-aligned {
511
- padding-bottom: 0;
512
- text-align: left;
132
+ padding-bottom: 0;
133
+ text-align: left;
513
134
  }
135
+
514
136
  .has-cover .site-header-content.left-aligned {
515
- align-items: flex-end;
516
- padding-bottom: 6.4vmin;
137
+ align-items: flex-end;
138
+ padding-bottom: 6.4vmin;
517
139
  }
140
+
518
141
  .site-header-content.no-content {
519
- padding-top: 0;
142
+ padding-top: 0;
520
143
  }
144
+
521
145
  .site-header-inner {
522
- position: relative;
146
+ position: relative;
523
147
  }
148
+
524
149
  .site-header-content.left-aligned .site-header-inner {
525
- align-items: flex-start;
150
+ align-items: flex-start;
526
151
  }
152
+
527
153
  .site-logo {
528
- flex-shrink: 0;
529
- margin: 0 auto;
530
- max-height: 120px;
154
+ flex-shrink: 0;
155
+ margin: 0 auto;
156
+ max-height: 120px;
531
157
  }
158
+
532
159
  .site-header-content.left-aligned .site-logo {
533
- margin-left: 0;
534
- margin-right: auto;
535
- max-height: 96px;
160
+ margin-right: auto;
161
+ margin-left: 0;
162
+ max-height: 96px;
536
163
  }
164
+
537
165
  .site-title {
538
- font-size: 5rem;
539
- font-weight: 800;
540
- margin: 0;
541
- padding: 0;
542
- z-index: 10;
166
+ z-index: 10;
167
+ margin: 0;
168
+ padding: 0;
169
+ font-size: 5rem;
170
+ font-weight: 800;
543
171
  }
172
+
544
173
  .has-serif-title .site-title {
545
- font-family: var(--font-serif);
174
+ font-family: var(--font-serif);
546
175
  }
176
+
547
177
  .has-cover .site-title {
548
- font-size: 6rem;
178
+ font-size: 6rem;
549
179
  }
180
+
550
181
  .site-header-content.left-aligned .site-title {
551
- font-size: 4.4rem;
182
+ font-size: 4.4rem;
552
183
  }
184
+
553
185
  .has-cover .site-header-content.left-aligned .site-title {
554
- font-size: 4.6rem;
186
+ font-size: 4.6rem;
555
187
  }
188
+
556
189
  .site-description {
557
- display: inline-block;
558
- font-size: 2.4rem;
559
- font-weight: 500;
560
- line-height: 1.4;
561
- max-width: 560px;
562
- z-index: 10;
190
+ display: inline-block;
191
+ z-index: 10;
192
+ max-width: 560px;
193
+ font-size: 2.4rem;
194
+ font-weight: 500;
195
+ line-height: 1.4;
563
196
  }
197
+
564
198
  :is(.site-logo, .site-title) + .site-description {
565
- font-size: 2.1rem;
566
- font-weight: 400;
567
- margin-top: 8px;
199
+ margin-top: 8px;
200
+ font-size: 2.1rem;
201
+ font-weight: 400;
568
202
  }
203
+
569
204
  .site-logo + .site-description {
570
- margin-top: 20px;
205
+ margin-top: 20px;
571
206
  }
207
+
572
208
  .site-title + .site-description {
573
- color: var(--color-secondary-text);
209
+ color: var(--color-secondary-text);
574
210
  }
211
+
575
212
  .has-cover .site-description {
576
- color: #fff;
577
- font-size: 3.2rem;
578
- letter-spacing: -0.005em;
213
+ font-size: 3.2rem;
214
+ letter-spacing: -0.005em;
215
+ color: #fff;
579
216
  }
217
+
580
218
  .has-cover :is(.site-logo, .site-title) + .site-description {
581
- font-size: 2.4rem;
219
+ font-size: 2.4rem;
582
220
  }
583
- .has-cover
584
- .site-header-content.left-aligned
585
- :is(.site-logo, .site-title)
586
- + .site-description {
587
- font-size: 2.2rem;
221
+
222
+ .has-cover .site-header-content.left-aligned :is(.site-logo, .site-title) + .site-description {
223
+ font-size: 2.2rem;
588
224
  }
225
+
589
226
  @media (max-width: 767px) {
590
- .has-cover .site-header-content {
591
- min-height: 240px;
592
- }
593
- .site-header-inner {
594
- gap: 16px;
595
- }
596
- .site-logo {
597
- max-width: 60%;
598
- }
599
- .site-title {
600
- font-size: 3.4rem !important;
601
- }
602
- .site-description {
603
- font-size: 1.9rem !important;
604
- }
605
- .site-logo + .site-description {
606
- margin-top: 12px !important;
607
- }
608
- .site-title + .site-description {
609
- margin-top: 4px !important;
610
- }
611
- }
227
+ .has-cover .site-header-content {
228
+ min-height: 240px;
229
+ }
230
+ .site-header-inner {
231
+ gap: 16px;
232
+ }
233
+ .site-logo {
234
+ max-width: 60%;
235
+ }
236
+ .site-title {
237
+ font-size: 3.4rem !important;
238
+ }
239
+ .site-description {
240
+ font-size: 1.9rem !important;
241
+ }
242
+ .site-logo + .site-description {
243
+ margin-top: 12px !important;
244
+ }
245
+ .site-title + .site-description {
246
+ margin-top: 4px !important;
247
+ }
248
+ }
249
+
250
+
251
+ /* 5. Site Navigation
252
+ /* ---------------------------------------------------------- */
253
+
612
254
  .gh-head {
613
- background-color: #fff;
614
- font-size: 1.6rem;
615
- line-height: 1.3em;
616
- padding-bottom: min(24px, 3.6vmin);
617
- padding-top: min(24px, 3.6vmin);
255
+ padding-top: min(24px, 3.6vmin);
256
+ padding-bottom: min(24px, 3.6vmin);
257
+ font-size: 1.6rem;
258
+ line-height: 1.3em;
259
+ background-color: #fff;
618
260
  }
261
+
619
262
  .has-cover:not(.home-template) .gh-head {
620
- background-color: var(--ghost-accent-color);
621
- color: #fff;
263
+ background-color: var(--ghost-accent-color);
264
+ color: #fff;
622
265
  }
266
+
623
267
  .home-template.has-cover .gh-head {
624
- background-color: transparent;
625
- color: #fff;
626
- left: 0;
627
- position: absolute;
628
- right: 0;
629
- top: 0;
630
- z-index: 2000;
268
+ position: absolute;
269
+ top: 0;
270
+ right: 0;
271
+ left: 0;
272
+ z-index: 2000;
273
+ background-color: transparent;
274
+ color: #fff;
631
275
  }
276
+
632
277
  .gh-head a {
633
- text-decoration: none;
278
+ text-decoration: none;
634
279
  }
280
+
635
281
  .gh-head-inner {
636
- grid-gap: 40px;
637
- display: grid;
638
- grid-auto-flow: row dense;
639
- grid-template-columns: auto auto 1fr;
640
- }
282
+ display: grid;
283
+ grid-gap: 40px;
284
+ grid-template-columns: auto auto 1fr;
285
+ grid-auto-flow: row dense;
286
+ }
287
+
288
+
289
+ /* Brand
290
+ /* ---------------------------------------------------------- */
291
+
641
292
  .gh-head-brand {
642
- align-items: center;
643
- display: flex;
644
- height: 40px;
645
- max-width: 400px;
646
- word-break: break-all;
293
+ display: flex;
294
+ align-items: center;
295
+ height: 40px;
296
+ max-width: 400px;
297
+ word-break: break-all;
647
298
  }
299
+
648
300
  .gh-head-logo {
649
- color: inherit;
650
- display: block;
651
- font-size: 2.6rem;
652
- font-weight: 800;
653
- letter-spacing: -0.02em;
301
+ display: block;
302
+ font-weight: 800;
303
+ font-size: 2.6rem;
304
+ letter-spacing: -0.02em;
305
+ color: inherit;
654
306
  }
307
+
655
308
  .gh-head-logo.no-image {
656
- margin-top: -2px;
309
+ margin-top: -2px;
657
310
  }
311
+
658
312
  .has-cover .gh-head-logo {
659
- color: #fff;
313
+ color: #fff;
660
314
  }
315
+
661
316
  .no-logo .gh-head-logo {
662
- display: none;
317
+ display: none;
663
318
  }
319
+
664
320
  .gh-head-logo img {
665
- max-height: 26px;
321
+ max-height: 26px;
666
322
  }
667
- .gh-head-brand-wrapper,
668
- .gh-head-menu {
669
- align-items: center;
670
- display: flex;
323
+
324
+ .gh-head-brand-wrapper {
325
+ display: flex;
326
+ align-items: center;
671
327
  }
328
+
329
+
330
+ /* Primary Navigation
331
+ /* ---------------------------------------------------------- */
332
+
672
333
  .gh-head-menu {
673
- font-weight: 500;
674
- margin-top: 1px;
334
+ display: flex;
335
+ align-items: center;
336
+ margin-top: 1px;
337
+ font-weight: 500;
675
338
  }
339
+
676
340
  .no-logo .gh-head-menu {
677
- margin-left: -40px;
341
+ margin-left: -40px;
678
342
  }
343
+
679
344
  .gh-head-menu .nav {
680
- align-items: center;
681
- display: inline-flex;
682
- flex-wrap: wrap;
683
- gap: 32px;
684
- list-style: none;
685
- margin: 0;
686
- padding: 0;
345
+ display: inline-flex;
346
+ flex-wrap: wrap;
347
+ align-items: center;
348
+ gap: 32px;
349
+ list-style: none;
350
+ margin: 0;
351
+ padding: 0;
687
352
  }
353
+
688
354
  .gh-head-menu .nav li {
689
- margin: 0;
690
- padding: 0;
355
+ margin: 0;
356
+ padding: 0;
691
357
  }
358
+
692
359
  .gh-head-menu .nav a {
693
- color: inherit;
694
- display: inline-block;
695
- line-height: 1.7;
360
+ display: inline-block;
361
+ line-height: 1.7;
362
+ color: inherit;
696
363
  }
364
+
697
365
  .gh-head-menu .nav a:hover {
698
- opacity: 0.9;
366
+ opacity: 0.9;
699
367
  }
368
+
369
+
370
+ /* Secondary Navigation
371
+ /* ---------------------------------------------------------- */
372
+
700
373
  .gh-social {
701
- align-items: center;
702
- display: flex;
703
- gap: 20px;
374
+ display: flex;
375
+ align-items: center;
376
+ gap: 20px;
704
377
  }
378
+
705
379
  .gh-social-link {
706
- color: inherit;
707
- line-height: 0;
380
+ line-height: 0;
381
+ color: inherit;
708
382
  }
383
+
709
384
  .gh-social-link:hover {
710
- opacity: 0.9;
385
+ opacity: 0.9;
711
386
  }
387
+
712
388
  .gh-social-link svg {
713
- height: 18px;
714
- width: 18px;
389
+ width: 18px;
390
+ height: 18px;
715
391
  }
392
+
716
393
  .gh-head-actions {
717
- align-items: center;
718
- display: flex;
719
- gap: 24px;
720
- justify-content: flex-end;
721
- list-style: none;
722
- text-align: right;
394
+ display: flex;
395
+ justify-content: flex-end;
396
+ align-items: center;
397
+ gap: 24px;
398
+ list-style: none;
399
+ text-align: right;
723
400
  }
401
+
724
402
  .gh-head-button {
725
- align-items: center;
726
- background: var(--ghost-accent-color);
727
- border-radius: 6px;
728
- color: #fff;
729
- display: inline-flex;
730
- font-size: 1.5rem;
731
- font-weight: 600;
732
- height: 40px;
733
- letter-spacing: -0.005em;
734
- padding: 8px 16px;
403
+ display: inline-flex;
404
+ align-items: center;
405
+ padding: 8px 16px;
406
+ height: 40px;
407
+ font-weight: 600;
408
+ letter-spacing: -0.005em;
409
+ font-size: 1.5rem;
410
+ border-radius: 6px;
411
+ color: #fff;
412
+ background: var(--ghost-accent-color);
735
413
  }
414
+
736
415
  .has-cover .gh-head-button {
737
- background: #fff;
738
- color: var(--color-darkgrey);
416
+ color: var(--color-darkgrey);
417
+ background: #fff;
739
418
  }
419
+
420
+ /* Search
421
+ /* ---------------------------------------------------------- */
422
+
740
423
  .gh-search {
741
- align-items: center;
742
- background-color: transparent;
743
- border: 0;
744
- cursor: pointer;
745
- display: inline-flex;
746
- height: 32px;
747
- justify-content: center;
748
- outline: none;
749
- padding: 0;
750
- width: 32px;
424
+ display: inline-flex;
425
+ align-items: center;
426
+ justify-content: center;
427
+ width: 32px;
428
+ height: 32px;
429
+ padding: 0;
430
+ cursor: pointer;
431
+ background-color: transparent;
432
+ border: 0;
433
+ outline: none;
434
+ }
435
+
436
+ .gh-search:hover {
437
+ opacity: 0.9;
751
438
  }
439
+
440
+ @media (max-width: 991px) {
441
+ .gh-head-actions .gh-search {
442
+ display: none;
443
+ }
444
+ }
445
+
446
+ @media (min-width: 992px) {
447
+ .gh-head-brand .gh-search {
448
+ display: none;
449
+ }
450
+ }
451
+
452
+
453
+ /* Search
454
+ /* ---------------------------------------------------------- */
455
+
456
+ .gh-search {
457
+ display: inline-flex;
458
+ align-items: center;
459
+ justify-content: center;
460
+ width: 32px;
461
+ height: 32px;
462
+ padding: 0;
463
+ cursor: pointer;
464
+ background-color: transparent;
465
+ border: 0;
466
+ outline: none;
467
+ }
468
+
752
469
  .gh-search:hover {
753
- opacity: 0.9;
470
+ opacity: 0.9;
754
471
  }
472
+
755
473
  .gh-head-brand .gh-search {
756
- margin-right: 8px;
474
+ margin-right: 8px;
757
475
  }
476
+
758
477
  .gh-head-actions .gh-search {
759
- margin-right: -10px;
478
+ margin-right: -10px;
760
479
  }
480
+
761
481
  @media (max-width: 991px) {
762
- .gh-head-actions .gh-search {
763
- display: none;
764
- }
482
+ .gh-head-actions .gh-search {
483
+ display: none;
484
+ }
765
485
  }
486
+
766
487
  @media (min-width: 992px) {
767
- .gh-head-brand .gh-search {
768
- display: none;
769
- }
770
- }
488
+ .gh-head-brand .gh-search {
489
+ display: none;
490
+ }
491
+ }
492
+
493
+
494
+ /* Mobile Menu Trigger
495
+ /* ---------------------------------------------------------- */
496
+
771
497
  .gh-burger {
772
- cursor: pointer;
773
- display: none;
774
- position: relative;
498
+ position: relative;
499
+ display: none;
500
+ cursor: pointer;
775
501
  }
502
+
776
503
  .gh-burger-box {
777
- align-items: center;
778
- display: flex;
779
- height: 33px;
780
- justify-content: center;
781
- position: relative;
782
- width: 33px;
504
+ position: relative;
505
+ display: flex;
506
+ align-items: center;
507
+ justify-content: center;
508
+ width: 33px;
509
+ height: 33px;
783
510
  }
511
+
784
512
  .has-cover .gh-burger-box {
785
- color: #fff;
513
+ color: #fff;
786
514
  }
515
+
787
516
  .gh-burger-inner {
788
- height: 100%;
789
- width: 100%;
790
- }
791
- .gh-burger-box:before {
792
- transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.3, 1),
793
- width 0.3s cubic-bezier(0.2, 0.6, 0.3, 1);
794
- }
795
- .gh-burger-box:before,
796
- .gh-burger-inner:after,
797
- .gh-burger-inner:before {
798
- background: currentcolor;
799
- bottom: 0;
800
- content: "";
801
- display: block;
802
- height: 1px;
803
- left: 0;
804
- margin: auto;
805
- position: absolute;
806
- top: 0;
807
- width: 100%;
808
- will-change: transform, width;
809
- }
810
- .gh-burger-inner:after,
811
- .gh-burger-inner:before {
812
- transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
813
- width 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
814
- }
815
- .gh-burger-inner:before {
816
- transform: translatey(-6px);
817
- }
818
- .gh-burger-inner:after {
819
- transform: translatey(6px);
820
- }
821
- body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner:before {
822
- transform: translatey(-8px);
823
- }
824
- body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner:after {
825
- transform: translatey(8px);
826
- }
827
- .gh-head-open .gh-burger-box:before {
828
- transform: translatex(19px);
829
- transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1),
830
- width 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
831
- width: 0;
832
- }
833
- .gh-head-open .gh-burger-inner:before {
834
- transform: translatex(6px) rotate(135deg);
835
- width: 26px;
836
- }
837
- .gh-head-open .gh-burger-inner:after {
838
- transform: translatex(6px) rotate(-135deg);
839
- width: 26px;
840
- }
841
- @media (max-width: 991px) {
842
- .gh-burger {
843
- display: inline-block;
844
- }
845
- #gh-head {
846
- overflow: hidden;
847
- }
848
- #gh-head .gh-head-inner {
849
- grid-template-columns: 1fr;
517
+ width: 100%;
850
518
  height: 100%;
851
- }
852
- #gh-head .gh-head-brand {
853
- align-items: center;
854
- display: flex;
855
- grid-column-start: auto;
856
- justify-content: space-between;
857
- max-width: none;
858
- position: relative;
859
- -webkit-user-select: none;
860
- -moz-user-select: none;
861
- user-select: none;
862
- z-index: 10;
863
- }
864
- .no-logo #gh-head .gh-head-brand {
865
- justify-content: flex-end;
866
- }
867
- #gh-head .gh-head-menu {
868
- align-self: center;
869
- font-size: 3.6rem;
870
- font-weight: 300;
871
- line-height: 1.1em;
872
- margin: 0 0 10vh;
873
- text-align: center;
874
- }
875
- #gh-head .gh-head-menu,
876
- #gh-head .gh-head-menu .nav {
877
- align-items: center;
878
- display: flex;
879
- flex-direction: column;
880
- }
881
- #gh-head .gh-head-menu .nav {
882
- font-weight: 500;
883
- gap: 16px;
884
- }
885
- #gh-head .gh-head-actions {
886
- flex-direction: column-reverse;
887
- justify-content: center;
888
- padding: 20px 0 32px;
889
- text-align: left;
890
- }
891
- #gh-head .gh-head-actions,
892
- #gh-head .gh-head-menu {
893
- display: none;
894
- }
895
- .gh-head-open {
896
- height: 100vh;
897
- overflow: hidden;
898
- }
899
- .gh-head-open #gh-head {
900
- bottom: 0;
519
+ }
520
+
521
+ .gh-burger-box::before {
522
+ position: absolute;
523
+ display: block;
524
+ top: 0;
901
525
  left: 0;
902
- overflow-y: scroll;
903
- position: fixed;
904
- right: 0;
526
+ bottom: 0;
527
+ margin: auto;
528
+ content: '';
529
+ width: 100%;
530
+ height: 1px;
531
+ background: currentcolor;
532
+ transition: transform 300ms cubic-bezier(.2,.6,.3,1), width 300ms cubic-bezier(.2,.6,.3,1);
533
+ will-change: transform, width;
534
+ }
535
+
536
+ .gh-burger-inner::before,
537
+ .gh-burger-inner::after {
538
+ position: absolute;
539
+ display: block;
905
540
  top: 0;
906
- z-index: 3999999;
907
- }
908
- .gh-head-open #gh-head .gh-head-inner {
909
- grid-template-rows: auto 1fr auto;
910
- }
911
- .gh-head-open #gh-head .gh-head-actions,
912
- .gh-head-open #gh-head .gh-head-menu {
913
- display: flex;
914
- }
915
- }
541
+ left: 0;
542
+ bottom: 0;
543
+ margin: auto;
544
+ content: '';
545
+ width: 100%;
546
+ height: 1px;
547
+ background: currentcolor;
548
+ transition: transform 250ms cubic-bezier(.2,.7,.3,1), width 250ms cubic-bezier(.2,.7,.3,1);
549
+ will-change: transform, width;
550
+ }
551
+
552
+ .gh-burger-inner::before {
553
+ transform: translatey(-6px);
554
+ }
555
+ .gh-burger-inner::after {
556
+ transform: translatey(6px);
557
+ }
558
+
559
+ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::before {
560
+ transform: translatey(-8px);
561
+ }
562
+ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
563
+ transform: translatey(8px);
564
+ }
565
+
566
+ .gh-head-open .gh-burger-box::before {
567
+ width: 0;
568
+ transform: translatex(19px);
569
+ transition: transform 200ms cubic-bezier(.2,.7,.3,1), width 200ms cubic-bezier(.2,.7,.3,1);
570
+ }
571
+
572
+ .gh-head-open .gh-burger-inner::before {
573
+ width: 26px;
574
+ transform: translatex(6px) rotate(135deg);
575
+ }
576
+
577
+ .gh-head-open .gh-burger-inner::after {
578
+ width: 26px;
579
+ transform: translatex(6px) rotate(-135deg);
580
+ }
581
+
582
+
583
+ /* Mobile Menu
584
+ /* ---------------------------------------------------------- */
585
+ /* IDs needed to ensure sufficient specificity */
586
+
587
+ @media (max-width: 991px) {
588
+ .gh-burger {
589
+ display: inline-block;
590
+ }
591
+ #gh-head {
592
+ overflow: hidden;
593
+ }
594
+ #gh-head .gh-head-inner {
595
+ height: 100%;
596
+ grid-template-columns: 1fr;
597
+ }
598
+ #gh-head .gh-head-brand {
599
+ position: relative;
600
+ z-index: 10;
601
+ grid-column-start: auto;
602
+ max-width: none;
603
+ display: flex;
604
+ align-items: center;
605
+ justify-content: space-between;
606
+ user-select: none;
607
+ }
608
+ .no-logo #gh-head .gh-head-brand {
609
+ justify-content: flex-end;
610
+ }
611
+ #gh-head .gh-head-menu {
612
+ align-self: center;
613
+ display: flex;
614
+ flex-direction: column;
615
+ align-items: center;
616
+ text-align: center;
617
+ margin: 0 0 10vh 0;
618
+ font-weight: 300;
619
+ font-size: 3.6rem;
620
+ line-height: 1.1em;
621
+ }
622
+ #gh-head .gh-head-menu .nav {
623
+ display: flex;
624
+ flex-direction: column;
625
+ align-items: center;
626
+ gap: 16px;
627
+ font-weight: 500;
628
+ }
629
+ #gh-head .gh-head-actions {
630
+ flex-direction: column-reverse;
631
+ justify-content: center;
632
+ padding: 20px 0 32px;
633
+ text-align: left;
634
+ }
635
+ /* Hide collapsed content */
636
+ #gh-head .gh-head-actions,
637
+ #gh-head .gh-head-menu {
638
+ display: none;
639
+ }
640
+ /* Open the menu */
641
+ .gh-head-open {
642
+ overflow: hidden;
643
+ height: 100vh;
644
+ }
645
+ .gh-head-open #gh-head {
646
+ position: fixed;
647
+ top: 0;
648
+ right: 0;
649
+ bottom: 0;
650
+ left: 0;
651
+ z-index: 3999999;
652
+ overflow-y: scroll;
653
+ }
654
+ .gh-head-open #gh-head .gh-head-inner {
655
+ grid-template-rows: auto 1fr auto;
656
+ }
657
+ .gh-head-open #gh-head .gh-head-actions,
658
+ .gh-head-open #gh-head .gh-head-menu {
659
+ display: flex;
660
+ }
661
+ }
662
+
916
663
  @media (max-width: 600px) {
917
- #gh-head .gh-head-menu {
918
- font-size: 6vmin;
919
- }
664
+ #gh-head .gh-head-menu {
665
+ font-size: 6vmin;
666
+ }
920
667
  }
668
+
921
669
  .has-cover.gh-head-open .gh-head {
922
- background: var(--ghost-accent-color);
670
+ background: var(--ghost-accent-color);
923
671
  }
672
+
673
+
674
+ /* 6. Post Feed
675
+ /* ---------------------------------------------------------- */
676
+
924
677
  .post-feed {
925
- display: grid;
926
- gap: 4.8vmin 4vmin;
927
- grid-template-columns: repeat(6, 1fr);
928
- padding: max(4.8vmin, 36px) 0 0;
929
- position: relative;
678
+ position: relative;
679
+ display: grid;
680
+ gap: 4.8vmin 4vmin;
681
+ grid-template-columns: repeat(6, 1fr);
682
+ padding: max(4.8vmin, 36px) 0 0;
930
683
  }
684
+
931
685
  :is(.tag-template, .author-template) .post-feed {
932
- margin-top: 4vmin;
686
+ margin-top: 4vmin;
933
687
  }
688
+
934
689
  @media (max-width: 991px) {
935
- .post-feed {
936
- grid-template-columns: 1fr 1fr;
937
- }
690
+ .post-feed {
691
+ grid-template-columns: 1fr 1fr;
692
+ }
938
693
  }
694
+
939
695
  @media (max-width: 767px) {
940
- .post-feed {
941
- grid-gap: 40px;
942
- grid-template-columns: 1fr;
943
- }
696
+ .post-feed {
697
+ grid-template-columns: 1fr;
698
+ grid-gap: 40px;
699
+ }
944
700
  }
701
+
945
702
  .post-card {
946
- background-size: cover;
947
- display: flex;
948
- flex-direction: column;
949
- grid-column: span 2;
950
- position: relative;
951
- word-break: break-word;
703
+ position: relative;
704
+ grid-column: span 2;
705
+ display: flex;
706
+ flex-direction: column;
707
+ background-size: cover;
708
+ word-break: break-word;
952
709
  }
710
+
953
711
  .post-card-image-link {
954
- display: block;
955
- margin-bottom: 32px;
956
- overflow: hidden;
957
- position: relative;
958
- }
959
- .post-card-image-link:after {
960
- content: "";
961
- display: block;
962
- padding-bottom: 55%;
963
- }
964
- .post-card[class*="post-access-"] .post-card-image-link:after {
965
- -webkit-backdrop-filter: blur(3px);
966
- backdrop-filter: blur(3px);
967
- background-color: rgba(0, 0, 0, 0.5);
968
- }
969
- .post-card.keep-ratio[class*="post-access-"] .post-card-image-link:after {
970
- inset: 0;
971
- padding-bottom: 0;
972
- position: absolute;
973
- }
974
- .post-card.keep-ratio:not(.post-card-large):not(.post-card-full)
975
- .post-card-image-link:after {
976
- padding-bottom: 0;
712
+ position: relative;
713
+ overflow: hidden;
714
+ display: block;
715
+ margin-bottom: 32px;
716
+ }
717
+
718
+ .post-card-image-link::after {
719
+ content: "";
720
+ display: block;
721
+ padding-bottom: 55%;
722
+ }
723
+
724
+ .post-card[class*="post-access-"] .post-card-image-link::after {
725
+ background-color: rgba(0, 0, 0, 0.5);
726
+ backdrop-filter: blur(3px);
727
+ }
728
+
729
+ .post-card.keep-ratio[class*="post-access-"] .post-card-image-link::after {
730
+ position: absolute;
731
+ inset: 0;
732
+ padding-bottom: 0;
733
+ }
734
+
735
+ .post-card.keep-ratio:not(.post-card-large):not(.post-card-full) .post-card-image-link::after {
736
+ padding-bottom: 0;
977
737
  }
738
+
978
739
  .post-card-image {
979
- background: var(--color-lightgrey) no-repeat center center;
980
- height: 100%;
981
- inset: 0;
982
- -o-object-fit: cover;
983
- object-fit: cover;
984
- position: absolute;
985
- width: 100%;
986
- }
987
- .post-card.keep-ratio:not(.post-card-large):not(.post-card-full)
988
- .post-card-image {
989
- position: static;
740
+ position: absolute;
741
+ inset: 0;
742
+ width: 100%;
743
+ height: 100%;
744
+ background: var(--color-lightgrey) no-repeat center center;
745
+ object-fit: cover;
990
746
  }
747
+
748
+ .post-card.keep-ratio:not(.post-card-large):not(.post-card-full) .post-card-image {
749
+ position: static;
750
+ }
751
+
991
752
  .post-card-access {
992
- align-items: center;
993
- color: #fff;
994
- display: flex;
995
- font-size: 1.5rem;
996
- font-weight: 600;
997
- gap: 4px;
998
- inset: 0;
999
- justify-content: center;
1000
- position: absolute;
1001
- z-index: 10;
753
+ position: absolute;
754
+ inset: 0;
755
+ z-index: 10;
756
+ display: flex;
757
+ align-items: center;
758
+ justify-content: center;
759
+ gap: 4px;
760
+ font-size: 1.5rem;
761
+ font-weight: 600;
762
+ color: #fff;
1002
763
  }
764
+
1003
765
  .post-card-content-link {
1004
- color: var(--color-darkgrey);
1005
- display: block;
1006
- position: relative;
766
+ position: relative;
767
+ display: block;
768
+ color: var(--color-darkgrey);
1007
769
  }
770
+
1008
771
  .post-card-content-link:hover {
1009
- text-decoration: none;
772
+ text-decoration: none;
1010
773
  }
774
+
1011
775
  .post-feed .no-image .post-card-content-link {
1012
- padding: 0;
776
+ padding: 0;
1013
777
  }
778
+
1014
779
  .no-image .post-card-header {
1015
- margin-top: 0;
780
+ margin-top: 0;
1016
781
  }
782
+
1017
783
  .post-card-tags {
1018
- align-items: center;
1019
- color: var(--color-secondary-text);
1020
- display: flex;
1021
- font-size: 1.4rem;
1022
- font-weight: 600;
1023
- gap: 12px;
1024
- letter-spacing: -0.005em;
1025
- line-height: 1;
1026
- margin: 0 0 10px;
784
+ display: flex;
785
+ align-items: center;
786
+ gap: 12px;
787
+ margin: 0 0 10px;
788
+ color: var(--color-secondary-text);
789
+ font-size: 1.4rem;
790
+ font-weight: 600;
791
+ letter-spacing: -0.005em;
792
+ line-height: 1;
1027
793
  }
794
+
1028
795
  .post-card-featured {
1029
- align-items: center;
1030
- color: var(--ghost-accent-color);
1031
- display: flex;
1032
- gap: 3px;
1033
- padding-left: 18px;
1034
- position: relative;
796
+ position: relative;
797
+ display: flex;
798
+ align-items: center;
799
+ gap: 3px;
800
+ padding-left: 18px;
801
+ color: var(--ghost-accent-color);
1035
802
  }
803
+
1036
804
  .post-card-featured svg {
1037
- left: 0;
1038
- position: absolute;
805
+ position: absolute;
806
+ left: 0;
1039
807
  }
808
+
1040
809
  .post-card-title {
1041
- font-size: 2.6rem;
1042
- font-weight: 800;
1043
- margin: 0;
810
+ margin: 0;
811
+ font-size: 2.6rem;
812
+ font-weight: 800;
1044
813
  }
814
+
1045
815
  .post-card-content-link:hover .post-card-title {
1046
- opacity: 0.9;
816
+ opacity: 0.9;
1047
817
  }
818
+
1048
819
  .no-image .post-card-title {
1049
- margin-top: 0;
820
+ margin-top: 0;
1050
821
  }
822
+
1051
823
  .has-serif-title .post-card-title {
1052
- font-family: var(--font-serif);
1053
- letter-spacing: -0.005em;
824
+ font-family: var(--font-serif);
825
+ letter-spacing: -0.005em;
1054
826
  }
827
+
1055
828
  .post-card-title svg {
1056
- margin-left: -1px;
1057
- margin-top: -3px;
829
+ margin-top: -3px;
830
+ margin-left: -1px;
1058
831
  }
832
+
1059
833
  .post-card-content {
1060
- display: flex;
1061
- flex-direction: column;
1062
- flex-grow: 1;
834
+ flex-grow: 1;
835
+ display: flex;
836
+ flex-direction: column;
1063
837
  }
838
+
1064
839
  .post-card-excerpt {
1065
- -webkit-line-clamp: 3;
1066
- -webkit-box-orient: vertical;
1067
- display: -webkit-box;
1068
- font-size: 1.6rem;
1069
- line-height: 1.5;
1070
- margin-top: 12px;
1071
- max-width: 720px;
1072
- overflow-y: hidden;
1073
- word-break: break-word;
840
+ display: -webkit-box;
841
+ overflow-y: hidden;
842
+ margin-top: 12px;
843
+ max-width: 720px;
844
+ font-size: 1.6rem;
845
+ line-height: 1.5;
846
+ -webkit-line-clamp: 3;
847
+ -webkit-box-orient: vertical;
848
+ word-break: break-word;
1074
849
  }
850
+
1075
851
  .has-sans-body .post-card-excerpt {
1076
- font-family: var(--font-sans);
852
+ font-family: var(--font-sans);
1077
853
  }
1078
- .post-card:not(.post-card-large):not(.post-card-full):not(.dynamic):not(
1079
- .no-image
1080
- )
1081
- .post-card-excerpt {
1082
- -webkit-line-clamp: 2;
854
+
855
+ .post-card:not(.post-card-large):not(.post-card-full):not(.dynamic):not(.no-image) .post-card-excerpt {
856
+ -webkit-line-clamp: 2;
1083
857
  }
858
+
1084
859
  :is(.tag-template, .author-template) .post-card-excerpt {
1085
- margin-top: 6px;
860
+ margin-top: 6px;
1086
861
  }
862
+
1087
863
  .post-card-meta {
1088
- color: var(--color-secondary-text);
1089
- font-size: 1.3rem;
1090
- margin-top: 12px;
1091
- padding: 0;
864
+ display: flex;
865
+ align-items: center;
866
+ gap: 6px;
867
+ margin-top: 12px;
868
+ padding: 0;
869
+ font-size: 1.3rem;
870
+ color: var(--color-secondary-text);
1092
871
  }
1093
- .post-card-meta,
872
+
1094
873
  .post-card-meta > * {
1095
- align-items: center;
1096
- display: flex;
1097
- gap: 6px;
874
+ display: flex;
875
+ align-items: center;
876
+ gap: 6px;
1098
877
  }
1099
- .post-card-meta > * + :not(script):before {
1100
- background-color: var(--color-secondary-text);
1101
- border-radius: 50%;
1102
- content: "";
1103
- height: 2px;
1104
- width: 2px;
878
+
879
+ .post-card-meta > * + *:not(script)::before {
880
+ width: 2px;
881
+ height: 2px;
882
+ content: "";
883
+ background-color: var(--color-secondary-text);
884
+ border-radius: 50%;
1105
885
  }
886
+
1106
887
  .post-card-meta .sep {
1107
- margin: 0 4px;
888
+ margin: 0 4px;
1108
889
  }
890
+
1109
891
  .author-profile-image {
1110
- background: #fff;
1111
- border-radius: 100%;
1112
- display: block;
1113
- height: 100%;
1114
- -o-object-fit: cover;
1115
- object-fit: cover;
1116
- width: 100%;
892
+ display: block;
893
+ width: 100%;
894
+ height: 100%;
895
+ background: color-mod(var(--color-lightgrey) l(+10%));
896
+ border-radius: 100%;
897
+
898
+ object-fit: cover;
1117
899
  }
900
+
1118
901
  .author-list {
1119
- display: flex;
1120
- flex-wrap: wrap;
1121
- list-style: none;
1122
- margin: 0 0 0 4px;
1123
- padding: 0;
902
+ display: flex;
903
+ flex-wrap: wrap;
904
+ margin: 0 0 0 4px;
905
+ padding: 0;
906
+ list-style: none;
1124
907
  }
908
+
1125
909
  .author-list-item {
1126
- flex-shrink: 0;
1127
- margin: 0;
1128
- padding: 0;
1129
- position: relative;
1130
- }
1131
- @media (min-width: 1001px) {
1132
- .post-card-large {
1133
- grid-gap: 4vmin;
1134
- border-top: 0;
1135
- display: grid;
1136
- grid-column: span 6;
1137
- grid-template-columns: repeat(3, 1fr);
1138
- }
1139
- .post-card-large:not(.no-image) .post-card-header {
1140
- margin-top: 0;
1141
- }
1142
- .post-card-large .post-card-image-link {
1143
- grid-column: span 2;
1144
- margin-bottom: 0;
1145
910
  position: relative;
1146
- }
1147
- .post-card-large .post-card-content {
1148
- grid-column: span 1;
1149
- }
1150
- .post-card-large.no-image .post-card-content {
1151
- grid-column: span 2;
1152
- }
1153
- .post-card-large .post-card-image {
1154
- height: 100%;
1155
- position: absolute;
1156
- width: 100%;
1157
- }
1158
- .post-card-large .post-card-tags {
1159
- margin-bottom: 12px;
1160
- }
1161
- .post-card-large .post-card-title {
1162
- font-size: 4.4rem;
1163
- line-height: 1;
1164
- margin-top: 0;
1165
- }
1166
- .post-card-large .post-card-excerpt {
1167
- margin-top: 16px;
1168
- }
1169
- .post-card-full {
1170
- grid-column: span 6;
1171
- }
1172
- .post-card-full .post-card-image-link {
1173
- margin-bottom: 40px;
1174
- }
1175
- .post-card-full .post-card-tags {
1176
- margin-bottom: 14px;
1177
- }
1178
- .post-card-full .post-card-title {
1179
- font-size: 6.4rem;
1180
- line-height: 0.95;
1181
- }
1182
- .post-card-full .post-card-excerpt {
1183
- font-size: 1.8rem;
1184
- margin-top: 20px;
1185
- }
1186
- .post-card-large + .post-card-large:nth-child(2n) {
1187
- margin: 32px 0;
1188
- }
1189
- .post-card-large + .post-card-large:nth-child(2n) .post-card-content {
1190
- order: -1;
1191
- }
1192
- .post-card.dynamic {
1193
- grid-column: span 3;
1194
- }
1195
- .post-card.dynamic .post-card-title {
1196
- font-size: 3rem;
1197
- }
1198
- }
911
+ flex-shrink: 0;
912
+ margin: 0;
913
+ padding: 0;
914
+ }
915
+
916
+
917
+ /* Special Styling for home page grid (below):
918
+
919
+ The first post in the list is styled to be bigger than the others and take over
920
+ the full width of the grid to give it more emphasis. Wrapped in a media query to
921
+ make sure this only happens on large viewports / desktop-ish devices.
922
+
923
+ */
924
+
925
+ @media (min-width: 1001px) {
926
+ .post-card-large {
927
+ grid-column: span 6;
928
+ display: grid;
929
+ grid-gap: 4vmin;
930
+ grid-template-columns: repeat(3, 1fr);
931
+ border-top: 0;
932
+ }
933
+
934
+ .post-card-large:not(.no-image) .post-card-header {
935
+ margin-top: 0;
936
+ }
937
+
938
+ .post-card-large .post-card-image-link {
939
+ position: relative;
940
+ grid-column: span 2;
941
+ margin-bottom: 0;
942
+ }
943
+
944
+ .post-card-large .post-card-content {
945
+ grid-column: span 1;
946
+ }
947
+
948
+ .post-card-large.no-image .post-card-content {
949
+ grid-column: span 2;
950
+ }
951
+
952
+ .post-card-large .post-card-image {
953
+ position: absolute;
954
+ width: 100%;
955
+ height: 100%;
956
+ }
957
+
958
+ .post-card-large .post-card-tags {
959
+ margin-bottom: 12px;
960
+ }
961
+
962
+ .post-card-large .post-card-title {
963
+ margin-top: 0;
964
+ font-size: 4.4rem;
965
+ line-height: 1;
966
+ }
967
+
968
+ .post-card-large .post-card-excerpt {
969
+ margin-top: 16px;
970
+ }
971
+
972
+ .post-card-full {
973
+ grid-column: span 6;
974
+ }
975
+
976
+ .post-card-full .post-card-image-link {
977
+ margin-bottom: 40px;
978
+ }
979
+
980
+ .post-card-full .post-card-tags {
981
+ margin-bottom: 14px;
982
+ }
983
+
984
+ .post-card-full .post-card-title {
985
+ font-size: 6.4rem;
986
+ line-height: 0.95;
987
+ }
988
+
989
+ .post-card-full .post-card-excerpt {
990
+ margin-top: 20px;
991
+ font-size: 1.8rem;
992
+ }
993
+
994
+ .post-card-large + .post-card-large:nth-child(even) {
995
+ margin: 32px 0;
996
+ }
997
+
998
+ .post-card-large + .post-card-large:nth-child(even) .post-card-content {
999
+ order: -1;
1000
+ }
1001
+
1002
+ .post-card.dynamic {
1003
+ grid-column: span 3;
1004
+ }
1005
+
1006
+ .post-card.dynamic .post-card-title {
1007
+ font-size: 3rem;
1008
+ }
1009
+ }
1010
+
1011
+
1012
+ /* 7. Single Post
1013
+ /* ---------------------------------------------------------- */
1014
+
1199
1015
  .article {
1200
- padding: max(8vmin, 40px) 0 max(8vmin, 64px);
1201
- word-break: break-word;
1016
+ padding: max(8vmin, 40px) 0 max(8vmin, 64px);
1017
+ word-break: break-word;
1202
1018
  }
1019
+
1203
1020
  .page-template .article {
1204
- padding-top: max(12vmin, 64px);
1021
+ padding-top: max(12vmin, 64px);
1205
1022
  }
1023
+
1206
1024
  .article-header {
1207
- padding: 0 0 max(6.4vmin, 40px);
1025
+ padding: 0 0 max(6.4vmin, 40px) 0;
1208
1026
  }
1027
+
1209
1028
  .page-template .article-header {
1210
- padding-bottom: max(3.2vmin, 28px);
1029
+ padding-bottom: max(3.2vmin, 28px);
1211
1030
  }
1031
+
1212
1032
  .article-tag {
1213
- font-size: 1.6rem;
1214
- margin-bottom: 16px;
1033
+ margin-bottom: 16px;
1034
+ font-size: 1.6rem;
1215
1035
  }
1036
+
1216
1037
  .article-tag a {
1217
- color: var(--color-secondary-text);
1038
+ color: var(--color-secondary-text);
1218
1039
  }
1040
+
1219
1041
  .article-title {
1220
- color: var(--color-darkgrey);
1221
- font-size: clamp(3.2rem, 5vw, 5.2rem);
1222
- font-weight: 800;
1223
- line-height: 1;
1224
- margin-bottom: 0;
1042
+ margin-bottom: 0;
1043
+ font-size: clamp(3.2rem, 5vw, 5.2rem);
1044
+ font-weight: 800;
1045
+ line-height: 1;
1046
+ color: var(--color-darkgrey);
1225
1047
  }
1048
+
1226
1049
  .has-serif-title .article-title {
1227
- font-family: var(--font-serif);
1050
+ font-family: var(--font-serif);
1228
1051
  }
1052
+
1229
1053
  .article-excerpt {
1230
- color: var(--color-darkgrey);
1231
- font-size: 2rem;
1232
- line-height: 1.45;
1233
- margin-top: 20px;
1234
- max-width: 720px;
1054
+ margin-top: 20px;
1055
+ max-width: 720px;
1056
+ font-size: 2rem;
1057
+ line-height: 1.45;
1058
+ color: var(--color-darkgrey);
1235
1059
  }
1060
+
1236
1061
  .gh-canvas .article-image {
1237
- grid-column: wide-start/wide-end;
1238
- margin: max(6.4vmin, 40px) 0 0;
1239
- width: 100%;
1062
+ grid-column: wide-start / wide-end;
1063
+ width: 100%;
1064
+ margin: max(6.4vmin, 40px) 0 0;
1240
1065
  }
1066
+
1241
1067
  .image-full .article-image {
1242
- grid-column: full-start/full-end;
1068
+ grid-column: full-start / full-end;
1243
1069
  }
1070
+
1244
1071
  .image-small .article-image {
1245
- grid-column: main-start/main-end;
1072
+ grid-column: main-start / main-end;
1246
1073
  }
1074
+
1247
1075
  .gh-canvas .article-image img {
1248
- display: block;
1249
- margin-left: auto;
1250
- margin-right: auto;
1251
- width: 100%;
1076
+ display: block;
1077
+ margin-left: auto;
1078
+ margin-right: auto;
1079
+ width: 100%;
1252
1080
  }
1081
+
1253
1082
  @media (max-width: 767px) {
1254
- .article-excerpt {
1255
- font-size: 1.7rem;
1256
- margin-top: 14px;
1257
- }
1258
- }
1083
+ .article-excerpt {
1084
+ margin-top: 14px;
1085
+ font-size: 1.7rem;
1086
+ }
1087
+ }
1088
+
1089
+ /* -------- */
1090
+
1091
+ /* Content grid
1092
+ /* ---------------------------------------------------------- */
1093
+
1094
+ /* Canvas creates a multi-column, centered grid which the post
1095
+ is laid out on top of. Canvas just defines the grid, we don't
1096
+ use it for applying any other styles. */
1097
+
1259
1098
  .gh-canvas {
1260
- display: grid;
1261
- grid-template-columns:
1262
- [full-start] minmax(max(4vmin, 20px), auto) [wide-start] minmax(auto, 240px)
1263
- [main-start] min(720px, calc(100% - max(8vmin, 40px))) [main-end] minmax(
1264
- auto,
1265
- 240px
1266
- )
1267
- [wide-end] minmax(max(4vmin, 20px), auto) [full-end];
1268
- }
1099
+ display: grid;
1100
+ grid-template-columns:
1101
+ [full-start]
1102
+ minmax(max(4vmin, 20px), auto)
1103
+ [wide-start]
1104
+ minmax(auto, 240px)
1105
+ [main-start]
1106
+ min(720px, calc(100% - max(8vmin, 40px)))
1107
+ [main-end]
1108
+ minmax(auto, 240px)
1109
+ [wide-end]
1110
+ minmax(max(4vmin, 20px), auto)
1111
+ [full-end]
1112
+ ;
1113
+ }
1114
+
1269
1115
  .gh-canvas > * {
1270
- grid-column: main-start/main-end;
1116
+ grid-column: main-start / main-end;
1271
1117
  }
1118
+
1272
1119
  .kg-width-wide {
1273
- grid-column: wide-start/wide-end;
1120
+ grid-column: wide-start / wide-end;
1274
1121
  }
1122
+
1275
1123
  .kg-width-full {
1276
- grid-column: full-start/full-end;
1124
+ grid-column: full-start / full-end;
1277
1125
  }
1126
+
1278
1127
  .kg-width-full img {
1279
- width: 100%;
1128
+ width: 100%;
1280
1129
  }
1130
+
1131
+
1132
+ /* Content
1133
+ /* ---------------------------------------------------------- */
1134
+
1135
+ /* Content refers to styling all page and post content that is
1136
+ created within the Ghost editor. The main content handles
1137
+ headings, text, images and lists. We deal with cards lower down. */
1138
+
1139
+ /* Default vertical spacing */
1281
1140
  .gh-content > * + * {
1282
- margin-bottom: 0;
1283
- margin-top: max(3.2vmin, 24px);
1141
+ margin-top: max(3.2vmin, 24px);
1142
+ margin-bottom: 0;
1284
1143
  }
1144
+
1145
+ /* [id] represents all headings h1-h6, reset all margins */
1285
1146
  .gh-content > [id] {
1286
- color: var(--color-darkgrey);
1287
- margin: 0;
1147
+ margin: 0;
1148
+ color: var(--color-darkgrey);
1288
1149
  }
1150
+
1289
1151
  .has-serif-title .gh-content > [id] {
1290
- font-family: var(--font-serif);
1152
+ font-family: var(--font-serif);
1291
1153
  }
1154
+
1155
+ /* Add back a top margin to all headings, unless a heading
1156
+ is the very first element in the post content */
1292
1157
  .gh-content > [id]:not(:first-child) {
1293
- margin: 2em 0 0;
1158
+ margin: 2em 0 0;
1294
1159
  }
1160
+
1161
+ /* Add a small margin between a heading and anything after it */
1295
1162
  .gh-content > [id] + * {
1296
- margin-top: 1.5rem !important;
1163
+ margin-top: 1.5rem !important;
1297
1164
  }
1298
- .gh-content > blockquote,
1299
- .gh-content > hr {
1300
- margin-top: max(4.8vmin, 32px);
1301
- position: relative;
1165
+
1166
+ /* A larger margin before/after HRs and blockquotes */
1167
+ .gh-content > hr,
1168
+ .gh-content > blockquote {
1169
+ position: relative;
1170
+ margin-top: max(4.8vmin, 32px);
1302
1171
  }
1303
- .gh-content > blockquote + *,
1304
- .gh-content > hr + * {
1305
- margin-top: max(4.8vmin, 32px) !important;
1172
+ .gh-content > hr + *,
1173
+ .gh-content > blockquote + * {
1174
+ margin-top: max(4.8vmin, 32px) !important;
1306
1175
  }
1176
+
1177
+ /* Now the content typography styles */
1307
1178
  .gh-content a {
1308
- color: var(--ghost-accent-color);
1309
- text-decoration: underline;
1310
- word-break: break-word;
1179
+ color: var(--ghost-accent-color);
1180
+ text-decoration: underline;
1181
+ word-break: break-word;
1311
1182
  }
1183
+
1312
1184
  .gh-content > blockquote:not([class]),
1313
- .gh-content > dl,
1314
1185
  .gh-content > ol,
1315
- .gh-content > p,
1316
- .gh-content > ul {
1317
- font-family: var(--font-serif);
1318
- font-size: 2rem;
1319
- font-weight: 400;
1320
- line-height: 1.6em;
1186
+ .gh-content > ul,
1187
+ .gh-content > dl,
1188
+ .gh-content > p {
1189
+ font-family: var(--font-serif);
1190
+ font-weight: 400;
1191
+ font-size: 2rem;
1192
+ line-height: 1.6em;
1321
1193
  }
1194
+
1322
1195
  .gh-content .kg-callout-card .kg-callout-text,
1323
1196
  .gh-content .kg-toggle-card .kg-toggle-content > ol,
1324
- .gh-content .kg-toggle-card .kg-toggle-content > p,
1325
- .gh-content .kg-toggle-card .kg-toggle-content > ul {
1326
- font-family: var(--font-serif);
1327
- font-size: 1.9rem;
1328
- font-weight: 400;
1329
- line-height: 1.6em;
1197
+ .gh-content .kg-toggle-card .kg-toggle-content > ul,
1198
+ .gh-content .kg-toggle-card .kg-toggle-content > p {
1199
+ font-family: var(--font-serif);
1200
+ font-weight: 400;
1201
+ font-size: 1.9rem;
1202
+ line-height: 1.6em;
1330
1203
  }
1331
- .gh-content .kg-product-card .kg-product-card-description > ol,
1204
+
1332
1205
  .gh-content .kg-product-card .kg-product-card-description > p,
1206
+ .gh-content .kg-product-card .kg-product-card-description > ol,
1333
1207
  .gh-content .kg-product-card .kg-product-card-description > ul {
1334
- font-size: 1.7rem;
1335
- line-height: 1.6em;
1208
+ font-size: 1.7rem;
1209
+ line-height: 1.6em;
1336
1210
  }
1211
+
1337
1212
  .gh-content .kg-callout-card .kg-callout-emoji {
1338
- font-size: 2.1rem;
1339
- line-height: 1.4em;
1213
+ font-size: 2.1rem;
1214
+ line-height: 1.4em;
1340
1215
  }
1216
+
1341
1217
  .gh-content .kg-toggle-card .kg-toggle-heading-text {
1342
- font-size: 2rem;
1218
+ font-size: 2.0rem;
1343
1219
  }
1344
- .has-sans-body .gh-content .kg-callout-card .kg-callout-text,
1345
- .has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > ol,
1346
- .has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > p,
1347
- .has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > ul,
1220
+
1348
1221
  .has-sans-body .gh-content > blockquote,
1349
- .has-sans-body .gh-content > dl,
1350
1222
  .has-sans-body .gh-content > ol,
1223
+ .has-sans-body .gh-content > ul,
1224
+ .has-sans-body .gh-content > dl,
1351
1225
  .has-sans-body .gh-content > p,
1352
- .has-sans-body .gh-content > ul {
1353
- font-family: var(--font-sans);
1226
+ .has-sans-body .gh-content .kg-callout-card .kg-callout-text,
1227
+ .has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > ol,
1228
+ .has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > ul,
1229
+ .has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > p {
1230
+ font-family: var(--font-sans);
1354
1231
  }
1355
- .gh-content .kg-product-card .kg-product-card-description > ol,
1356
- .gh-content .kg-product-card .kg-product-card-description > ul,
1232
+
1233
+ .gh-content > ul,
1234
+ .gh-content > ol,
1235
+ .gh-content > dl,
1357
1236
  .gh-content .kg-toggle-card .kg-toggle-content > ol,
1358
1237
  .gh-content .kg-toggle-card .kg-toggle-content > ul,
1359
- .gh-content > dl,
1360
- .gh-content > ol,
1361
- .gh-content > ul {
1362
- padding-left: 1.9em;
1238
+ .gh-content .kg-product-card .kg-product-card-description > ol,
1239
+ .gh-content .kg-product-card .kg-product-card-description > ul {
1240
+ padding-left: 1.9em;
1363
1241
  }
1242
+
1364
1243
  .gh-content > blockquote:not([class]) {
1365
- font-style: italic;
1366
- padding: 0;
1367
- position: relative;
1368
- }
1369
- .gh-content > blockquote:not([class]):before {
1370
- background: var(--ghost-accent-color);
1371
- bottom: 0;
1372
- content: "";
1373
- left: -1.5em;
1374
- position: absolute;
1375
- top: 0;
1376
- width: 0.3rem;
1244
+ position: relative;
1245
+ font-style: italic;
1246
+ padding: 0;
1377
1247
  }
1378
- .gh-content :not(pre) > code {
1379
- background: #f0f6f9;
1380
- border: 1px solid #e1eaef;
1381
- border-radius: 0.25em;
1382
- color: #15171a;
1383
- font-size: 0.9em;
1384
- font-weight: 400 !important;
1385
- line-height: 1em;
1386
- padding: 0.15em 0.4em;
1387
- vertical-align: middle;
1248
+
1249
+ .gh-content > blockquote:not([class])::before {
1250
+ content: "";
1251
+ position: absolute;
1252
+ left: -1.5em;
1253
+ top: 0;
1254
+ bottom: 0;
1255
+ width: 0.3rem;
1256
+ background: var(--ghost-accent-color);
1388
1257
  }
1258
+
1259
+ .gh-content :not(pre) > code {
1260
+ vertical-align: middle;
1261
+ padding: 0.15em 0.4em 0.15em;
1262
+ border: #e1eaef 1px solid;
1263
+ font-weight: 400 !important;
1264
+ font-size: 0.9em;
1265
+ line-height: 1em;
1266
+ color: #15171A;
1267
+ background: #f0f6f9;
1268
+ border-radius: 0.25em;
1269
+ }
1270
+
1389
1271
  .gh-content pre {
1390
- background: var(--color-darkgrey);
1391
- border-radius: 5px;
1392
- box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.4);
1393
- color: var(--color-wash);
1394
- font-size: 1.4rem;
1395
- line-height: 1.5em;
1396
- overflow: auto;
1397
- padding: 16px 20px;
1272
+ overflow: auto;
1273
+ padding: 16px 20px;
1274
+ color: var(--color-wash);
1275
+ font-size: 1.4rem;
1276
+ line-height: 1.5em;
1277
+ background: var(--color-darkgrey);
1278
+ border-radius: 5px;
1279
+ box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
1398
1280
  }
1281
+
1399
1282
  @media (max-width: 650px) {
1400
- .gh-content .kg-callout-card .kg-callout-text,
1401
- .gh-content .kg-toggle-card .kg-toggle-content > ol,
1402
- .gh-content .kg-toggle-card .kg-toggle-content > p,
1403
- .gh-content .kg-toggle-card .kg-toggle-content > ul,
1404
- .gh-content > blockquote:not([class]),
1405
- .gh-content > dl,
1406
- .gh-content > ol,
1407
- .gh-content > p,
1408
- .gh-content > ul {
1409
- font-size: 1.8rem;
1410
- }
1411
- .gh-content .kg-product-card .kg-product-card-description > ol,
1412
- .gh-content .kg-product-card .kg-product-card-description > p,
1413
- .gh-content .kg-product-card .kg-product-card-description > ul {
1414
- font-size: 1.6rem;
1415
- }
1416
- .gh-content blockquote:not([class]):before {
1417
- left: min(-4vmin, -20px);
1418
- }
1419
- }
1420
- .gh-content .kg-card + :not(.kg-card),
1283
+ .gh-content > blockquote:not([class]),
1284
+ .gh-content > ol,
1285
+ .gh-content > ul,
1286
+ .gh-content > dl,
1287
+ .gh-content > p,
1288
+ .gh-content .kg-callout-card .kg-callout-text,
1289
+ .gh-content .kg-toggle-card .kg-toggle-content > ol,
1290
+ .gh-content .kg-toggle-card .kg-toggle-content > ul,
1291
+ .gh-content .kg-toggle-card .kg-toggle-content > p {
1292
+ font-size: 1.8rem;
1293
+ }
1294
+
1295
+ .gh-content .kg-product-card .kg-product-card-description > p,
1296
+ .gh-content .kg-product-card .kg-product-card-description > ol,
1297
+ .gh-content .kg-product-card .kg-product-card-description > ul {
1298
+ font-size: 1.6rem;
1299
+ }
1300
+
1301
+ .gh-content blockquote:not([class])::before {
1302
+ left: min(-4vmin, -20px);
1303
+ }
1304
+ }
1305
+
1306
+
1307
+ /* Cards
1308
+ /* ---------------------------------------------------------- */
1309
+
1310
+ /* Cards are dynamic blocks of content which appear within Ghost
1311
+ posts, for example: embedded videos, tweets, galleries, or
1312
+ specially styled bookmark links. We add extra styling here to
1313
+ make sure they look good, and are given a bit of extra spacing. */
1314
+
1315
+ /* Add extra margin before/after any cards,
1316
+ except for when immediately preceeded by a heading */
1421
1317
  .gh-content :not(.kg-card):not([id]) + .kg-card {
1422
- margin-bottom: 0;
1423
- margin-top: 6vmin;
1318
+ margin-top: 6vmin;
1319
+ margin-bottom: 0;
1320
+ }
1321
+ .gh-content .kg-card + :not(.kg-card) {
1322
+ margin-top: 6vmin;
1323
+ margin-bottom: 0;
1424
1324
  }
1325
+
1326
+ /* This keeps small embeds centered */
1425
1327
  .kg-embed-card {
1426
- align-items: center;
1427
- display: flex;
1428
- flex-direction: column;
1429
- width: 100%;
1328
+ display: flex;
1329
+ flex-direction: column;
1330
+ align-items: center;
1331
+ width: 100%;
1430
1332
  }
1333
+
1334
+ /* This keeps small iamges centered */
1431
1335
  .kg-image-card img {
1432
- margin: auto;
1336
+ margin: auto;
1433
1337
  }
1338
+
1434
1339
  .has-serif-title .kg-toggle-card .kg-toggle-heading-text {
1435
- font-family: var(--font-serif);
1340
+ font-family: var(--font-serif);
1436
1341
  }
1342
+
1437
1343
  .gh-content .kg-callout-card-accent a {
1438
- text-decoration: underline;
1344
+ text-decoration: underline;
1439
1345
  }
1346
+
1440
1347
  .kg-blockquote-alt {
1441
- color: var(--color-midgrey);
1442
- font-family: var(--font-serif);
1348
+ font-family: var(--font-serif);
1349
+ color: var(--color-midgrey);
1443
1350
  }
1351
+
1444
1352
  .has-sans-body .kg-blockquote-alt {
1445
- font-family: var(--font-sans);
1353
+ font-family: var(--font-sans);
1446
1354
  }
1355
+
1447
1356
  .kg-card.kg-header-card.kg-style-dark {
1448
- background: var(--color-darkgrey);
1357
+ background: var(--color-darkgrey);
1449
1358
  }
1359
+
1450
1360
  .kg-header-card.kg-style-light h2.kg-header-card-header {
1451
- color: #0a0b0c;
1361
+ color: color-mod(var(--color-darkgrey) l(-5%));
1452
1362
  }
1363
+
1453
1364
  .has-serif-title .kg-header-card h2.kg-header-card-header {
1454
- font-family: var(--font-serif);
1365
+ font-family: var(--font-serif);
1455
1366
  }
1367
+
1368
+
1369
+ /* Captions */
1456
1370
  figcaption {
1457
- color: rgba(0, 0, 0, 0.5);
1458
- font-size: 1.3rem;
1459
- line-height: 1.4em;
1460
- padding: 1.5rem 1.5rem 0;
1461
- text-align: center;
1371
+ padding: 1.5rem 1.5rem 0;
1372
+ text-align: center;
1373
+ color: rgba(0,0,0,0.5);
1374
+ font-size: 1.3rem;
1375
+ line-height: 1.4em;
1462
1376
  }
1463
1377
  figcaption strong {
1464
- color: rgba(0, 0, 0, 0.8);
1378
+ color: rgba(0,0,0,0.8);
1465
1379
  }
1466
1380
  figcaption a {
1467
- text-decoration: underline;
1381
+ text-decoration: underline;
1468
1382
  }
1383
+
1384
+
1385
+ /* Highly specific styles for traditional Instagram embeds */
1469
1386
  iframe.instagram-media {
1470
- margin: 6vmin auto 0 !important;
1387
+ margin-top: 6vmin !important;
1388
+ margin-left: auto !important;
1389
+ margin-right: auto !important;
1390
+ margin-bottom: 0 !important;
1471
1391
  }
1392
+
1472
1393
  iframe.instagram-media + script + :not([id]) {
1473
- margin-top: 6vmin;
1394
+ margin-top: 6vmin;
1474
1395
  }
1396
+
1397
+
1398
+ /* Card captions
1399
+ /* ---------------------------------------------------------- */
1400
+
1475
1401
  .kg-width-full.kg-card-hascaption {
1476
- display: grid;
1477
- grid-template-columns: inherit;
1402
+ display: grid;
1403
+ grid-template-columns: inherit;
1478
1404
  }
1405
+
1479
1406
  .kg-width-wide.kg-card-hascaption img {
1480
- grid-column: wide-start/wide-end;
1407
+ grid-column: wide-start / wide-end;
1481
1408
  }
1482
1409
  .kg-width-full.kg-card-hascaption img {
1483
- grid-column: 1/-1;
1410
+ grid-column: 1 / -1;
1484
1411
  }
1412
+
1485
1413
  .kg-width-full.kg-card-hascaption figcaption {
1486
- grid-column: main-start/main-end;
1414
+ grid-column: main-start / main-end;
1487
1415
  }
1416
+
1488
1417
  .article-comments {
1489
- margin: 6vmin 0 0;
1418
+ margin: 6vmin 0 0 0;
1490
1419
  }
1420
+
1421
+ /* -----old------ */
1422
+
1491
1423
  .footnotes-sep {
1492
- margin-bottom: 30px;
1424
+ margin-bottom: 30px;
1493
1425
  }
1426
+
1494
1427
  .footnotes {
1495
- font-size: 1.5rem;
1428
+ font-size: 1.5rem;
1496
1429
  }
1430
+
1497
1431
  .footnotes p {
1498
- margin: 0;
1432
+ margin: 0;
1499
1433
  }
1434
+
1500
1435
  .footnote-backref {
1501
- box-shadow: none !important;
1502
- font-size: 1.2rem;
1503
- font-weight: 700;
1504
- text-decoration: none !important;
1436
+ font-size: 1.2rem;
1437
+ font-weight: bold;
1438
+ text-decoration: none !important;
1439
+ box-shadow: none !important;
1505
1440
  }
1441
+
1442
+ /* Tables */
1506
1443
  .gh-content table:not(.gist table) {
1507
- -webkit-overflow-scrolling: touch;
1508
- background: radial-gradient(
1509
- ellipse at left,
1510
- rgba(0, 0, 0, 0.2) 0,
1511
- transparent 75%
1512
- )
1513
- 0,
1514
- radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0, transparent 75%)
1515
- 100%;
1516
- background-attachment: scroll, scroll;
1517
- background-repeat: no-repeat;
1518
- background-size: 10px 100%, 10px 100%;
1519
- border-collapse: collapse;
1520
- border-spacing: 0;
1521
- display: inline-block;
1522
- font-family: var(--font-sans);
1523
- font-size: 1.6rem;
1524
- max-width: 100%;
1525
- overflow-x: auto;
1526
- vertical-align: top;
1527
- white-space: nowrap;
1528
- width: auto;
1529
- }
1444
+ display: inline-block;
1445
+ overflow-x: auto;
1446
+ max-width: 100%;
1447
+ width: auto;
1448
+ border-spacing: 0;
1449
+ border-collapse: collapse;
1450
+ font-family: var(--font-sans);
1451
+ font-size: 1.6rem;
1452
+ white-space: nowrap;
1453
+ vertical-align: top;
1454
+ -webkit-overflow-scrolling: touch;
1455
+ background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
1456
+ background-attachment: scroll, scroll;
1457
+ background-size: 10px 100%, 10px 100%;
1458
+ background-repeat: no-repeat;
1459
+ }
1460
+
1530
1461
  .gh-content table:not(.gist table) td:first-child {
1531
- background-image: linear-gradient(90deg, #fff 50%, hsla(0, 0%, 100%, 0));
1532
- background-repeat: no-repeat;
1533
- background-size: 20px 100%;
1462
+ background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
1463
+ background-size: 20px 100%;
1464
+ background-repeat: no-repeat;
1534
1465
  }
1466
+
1535
1467
  .gh-content table:not(.gist table) td:last-child {
1536
- background-image: linear-gradient(270deg, #fff 50%, hsla(0, 0%, 100%, 0));
1537
- background-position: 100% 0;
1538
- background-repeat: no-repeat;
1539
- background-size: 20px 100%;
1468
+ background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
1469
+ background-position: 100% 0;
1470
+ background-size: 20px 100%;
1471
+ background-repeat: no-repeat;
1540
1472
  }
1473
+
1541
1474
  .gh-content table:not(.gist table) th {
1542
- background-color: #f4f8fb;
1543
- color: var(--color-darkgrey);
1544
- font-size: 1.2rem;
1545
- font-weight: 700;
1546
- letter-spacing: 0.2px;
1547
- text-align: left;
1548
- text-transform: uppercase;
1549
- }
1550
- .gh-content table:not(.gist table) td,
1551
- .gh-content table:not(.gist table) th {
1552
- border: 1px solid #e2ecf3;
1553
- padding: 6px 12px;
1554
- }
1475
+ color: var(--color-darkgrey);
1476
+ font-size: 1.2rem;
1477
+ font-weight: 700;
1478
+ letter-spacing: 0.2px;
1479
+ text-align: left;
1480
+ text-transform: uppercase;
1481
+ background-color: color-mod(var(--color-wash) l(+4%));
1482
+ }
1483
+
1484
+ .gh-content table:not(.gist table) th,
1485
+ .gh-content table:not(.gist table) td {
1486
+ padding: 6px 12px;
1487
+ border: color-mod(var(--color-wash) l(-1%) s(-5%)) 1px solid;
1488
+ }
1489
+
1490
+
1491
+ /* 7.1. Post Byline
1492
+ /* ---------------------------------------------------------- */
1493
+
1555
1494
  .article-byline {
1556
- display: flex;
1557
- justify-content: space-between;
1558
- margin: min(24px, 5.6vmin) 0 0;
1495
+ display: flex;
1496
+ justify-content: space-between;
1497
+ margin: min(24px, 5.6vmin) 0 0;
1559
1498
  }
1499
+
1560
1500
  .article-byline-content {
1561
- align-items: center;
1562
- display: flex;
1563
- flex-grow: 1;
1501
+ flex-grow: 1;
1502
+ display: flex;
1503
+ align-items: center;
1564
1504
  }
1505
+
1565
1506
  .article-byline-content .author-list {
1566
- justify-content: flex-start;
1567
- padding: 0 14px 0 0;
1507
+ justify-content: flex-start;
1508
+ padding: 0 14px 0 0;
1568
1509
  }
1510
+
1569
1511
  .article-byline-meta {
1570
- color: var(--color-secondary-text);
1571
- font-size: 1.4rem;
1572
- line-height: 1.2em;
1512
+ color: var(--color-secondary-text);
1513
+ font-size: 1.4rem;
1514
+ line-height: 1.2em;
1573
1515
  }
1516
+
1574
1517
  .article-byline-meta .author-name {
1575
- font-size: 1.7rem;
1576
- font-weight: 700;
1577
- letter-spacing: 0;
1578
- margin: 0 0 6px;
1518
+ margin: 0 0 6px;
1519
+ font-size: 1.7rem;
1520
+ font-weight: 700;
1521
+ letter-spacing: 0;
1579
1522
  }
1523
+
1580
1524
  .article-byline-meta .bull {
1581
- display: inline-block;
1582
- margin: 0 2px;
1525
+ display: inline-block;
1526
+ margin: 0 2px;
1583
1527
  }
1528
+
1584
1529
  .author-avatar {
1585
- background-color: var(--color-border);
1586
- border: 2px solid #fff;
1587
- border-radius: 50%;
1588
- display: block;
1589
- height: min(56px, 13.6vmin);
1590
- margin: 0 -4px;
1591
- overflow: hidden;
1592
- width: min(56px, 13.6vmin);
1593
- }
1530
+ display: block;
1531
+ overflow: hidden;
1532
+ margin: 0 -4px;
1533
+ width: min(56px, 13.6vmin);
1534
+ height: min(56px, 13.6vmin);
1535
+ border: #fff 2px solid;
1536
+ border-radius: 50%;
1537
+ background-color: var(--color-border);
1538
+ }
1539
+
1594
1540
  .page-template .article-title {
1595
- margin-bottom: 0;
1541
+ margin-bottom: 0;
1596
1542
  }
1543
+
1597
1544
  @media (max-width: 767px) {
1598
- .article-byline-content .author-list {
1599
- padding-right: 12px;
1600
- }
1601
- .article-byline-meta .author-name {
1602
- margin-bottom: 4px;
1603
- }
1604
- }
1545
+ .article-byline-content .author-list {
1546
+ padding-right: 12px;
1547
+ }
1548
+ .article-byline-meta .author-name {
1549
+ margin-bottom: 4px;
1550
+ }
1551
+ }
1552
+
1553
+
1554
+ /* 7.3. Subscribe
1555
+ /* ---------------------------------------------------------- */
1556
+
1605
1557
  .footer-cta {
1606
- position: relative;
1607
- text-align: center;
1558
+ position: relative;
1559
+ text-align: center;
1608
1560
  }
1561
+
1609
1562
  .footer-cta-title {
1610
- font-size: clamp(2.6rem, 5vw, 3.8rem);
1611
- font-weight: 800;
1612
- margin: 0 0 min(24px, 6.4vmin);
1563
+ margin: 0 0 min(24px, 6.4vmin);
1564
+ font-size: clamp(2.6rem, 5vw, 3.8rem);
1565
+ font-weight: 800;
1613
1566
  }
1567
+
1614
1568
  .has-serif-title .footer-cta-title {
1615
- font-family: var(--font-serif);
1569
+ font-family: var(--font-serif);
1616
1570
  }
1571
+
1617
1572
  .footer-cta-button {
1618
- align-items: center;
1619
- background: #fff;
1620
- border: 1px solid var(--color-border);
1621
- border-radius: 8px;
1622
- color: var(--color-secondary-text);
1623
- display: inline-flex;
1624
- font-size: 1.7rem;
1625
- justify-content: space-between;
1626
- max-width: 500px;
1627
- padding: 5px 5px 5px 15px;
1628
- position: relative;
1629
- transition: border-color 0.2s;
1630
- width: 100%;
1573
+ position: relative;
1574
+ display: inline-flex;
1575
+ align-items: center;
1576
+ justify-content: space-between;
1577
+ width: 100%;
1578
+ max-width: 500px;
1579
+ padding: 5px 5px 5px 15px;
1580
+ font-size: 1.7rem;
1581
+ color: var(--color-secondary-text);
1582
+ background: #fff;
1583
+ border: 1px solid var(--color-border);
1584
+ border-radius: 8px;
1585
+ transition: border-color 0.2s;
1631
1586
  }
1587
+
1632
1588
  .footer-cta-button:hover {
1633
- border-color: #c2c2c2;
1589
+ border-color: color-mod(var(--color-border) l(-12%));
1634
1590
  }
1591
+
1635
1592
  .footer-cta-button span {
1636
- background: var(--ghost-accent-color);
1637
- border-radius: 6px;
1638
- color: #fff;
1639
- display: inline-block;
1640
- font-size: 1.6rem;
1641
- font-weight: 600;
1642
- letter-spacing: -0.005em;
1643
- padding: 9px 15px;
1644
- }
1593
+ display: inline-block;
1594
+ padding: 9px 15px;
1595
+ color: #fff;
1596
+ font-size: 1.6rem;
1597
+ font-weight: 600;
1598
+ letter-spacing: -0.005em;
1599
+ background: var(--ghost-accent-color);
1600
+ border-radius: 6px;
1601
+ }
1602
+
1603
+
1604
+ /* 7.4. Read more
1605
+ /* ---------------------------------------------------------- */
1606
+
1645
1607
  .read-more-wrap {
1646
- margin-top: 2.4vmin;
1608
+ margin-top: 2.4vmin;
1647
1609
  }
1610
+
1648
1611
  .footer-cta + .read-more-wrap {
1649
- margin-top: max(12vmin, 72px);
1612
+ margin-top: max(12vmin, 72px);
1650
1613
  }
1614
+
1651
1615
  .read-more {
1652
- grid-gap: 4vmin;
1653
- display: grid;
1654
- grid-template-columns: repeat(6, 1fr);
1616
+ display: grid;
1617
+ grid-template-columns: repeat(6, 1fr);
1618
+ grid-gap: 4vmin;
1655
1619
  }
1620
+
1656
1621
  .read-more .post-card-tags {
1657
- display: none;
1658
- }
1659
- @media (max-width: 1000px) {
1660
- .read-more {
1661
- grid-template-columns: repeat(4, 1fr);
1662
- }
1663
- .read-more .post-card:nth-child(3) {
1664
1622
  display: none;
1665
- }
1666
1623
  }
1624
+
1625
+ @media (max-width: 1000px) {
1626
+ .read-more {
1627
+ grid-template-columns: repeat(4, 1fr);
1628
+ }
1629
+ .read-more .post-card:nth-child(3) {
1630
+ display: none;
1631
+ }
1632
+ }
1633
+
1667
1634
  @media (max-width: 700px) {
1668
- .read-more {
1669
- grid-template-columns: repeat(2, 1fr);
1670
- }
1671
- .read-more .post-card:nth-child(2) {
1672
- display: none;
1673
- }
1674
- }
1635
+ .read-more {
1636
+ grid-template-columns: repeat(2, 1fr);
1637
+ }
1638
+ .read-more .post-card:nth-child(2) {
1639
+ display: none;
1640
+ }
1641
+ }
1642
+
1643
+ /* 7.6. Comments
1644
+ /* ---------------------------------------------------------- */
1675
1645
  .comments {
1676
- align-items: center;
1677
- display: flex;
1678
- flex-direction: column;
1679
- margin: 60px 0 44px;
1646
+ display: flex;
1647
+ flex-direction: column;
1648
+ align-items: center;
1649
+ margin: 60px 0 44px;
1680
1650
  }
1651
+
1652
+
1681
1653
  .comments-head {
1682
- align-items: baseline;
1683
- display: flex;
1684
- justify-content: space-between;
1685
- margin-bottom: 32px;
1686
- max-width: 720px;
1687
- width: 100%;
1654
+ display: flex;
1655
+ align-items: baseline;
1656
+ justify-content: space-between;
1657
+ margin-bottom: 32px;
1658
+ width: 100%;
1659
+ max-width: 720px;
1688
1660
  }
1661
+
1689
1662
  .comments h2 {
1690
- font-size: 3.4rem;
1691
- font-weight: 800;
1692
- max-width: 720px;
1693
- width: 100%;
1663
+ width: 100%;
1664
+ max-width: 720px;
1665
+ font-weight: 800;
1666
+ font-size: 3.4rem;
1694
1667
  }
1668
+
1695
1669
  .comments .comment-count {
1696
- color: var(--color-midgrey);
1697
- font-weight: 600;
1698
- white-space: nowrap;
1670
+ color: var(--color-midgrey);
1671
+ font-weight: 600;
1672
+ white-space: nowrap;
1699
1673
  }
1674
+
1700
1675
  .comments #ghost-comments-root {
1701
- max-width: 720px;
1702
- width: 100%;
1676
+ width: 100%;
1677
+ max-width: 720px;
1703
1678
  }
1679
+
1680
+
1681
+ /* 8. Author Template
1682
+ /* ---------------------------------------------------------- */
1683
+
1704
1684
  .author-profile-pic {
1705
- background: #fff;
1706
- border-radius: 50%;
1707
- display: block;
1708
- height: 80px;
1709
- margin: 0 0 2rem;
1710
- -o-object-fit: cover;
1711
- object-fit: cover;
1712
- width: 80px;
1713
- }
1685
+ display: block;
1686
+ width: 80px;
1687
+ height: 80px;
1688
+ object-fit: cover;
1689
+ margin: 0 0 2rem;
1690
+ background: color-mod(var(--color-lightgrey) l(+10%));
1691
+ border-radius: 50%;
1692
+ }
1693
+
1714
1694
  .author-profile-footer {
1715
- margin-top: 16px;
1695
+ margin-top: 16px;
1716
1696
  }
1697
+
1717
1698
  .author-profile-location {
1718
- font-weight: 700;
1699
+ font-weight: 700;
1719
1700
  }
1701
+
1720
1702
  .author-profile-meta {
1721
- display: flex;
1722
- gap: 10px;
1703
+ display: flex;
1704
+ gap: 10px;
1723
1705
  }
1706
+
1724
1707
  .author-profile-social-link {
1725
- color: var(--color-secondary-text);
1726
- font-size: 1.3rem;
1708
+ font-size: 1.3rem;
1709
+ color: var(--color-secondary-text);
1727
1710
  }
1711
+
1728
1712
  .author-profile-social-link:hover {
1729
- color: var(--color-darkgrey);
1713
+ color: var(--color-darkgrey);
1730
1714
  }
1715
+
1731
1716
  .author-profile-social-link svg {
1732
- height: 16px;
1733
- width: 16px;
1717
+ width: 16px;
1718
+ height: 16px;
1734
1719
  }
1720
+
1735
1721
  @media (min-width: 1001px) {
1736
- .author-template .post-card-large .post-card-content {
1737
- grid-column: span 2;
1738
- max-width: 640px;
1739
- }
1740
- }
1722
+ .author-template .post-card-large .post-card-content {
1723
+ grid-column: span 2;
1724
+ max-width: 640px;
1725
+ }
1726
+ }
1727
+
1728
+
1729
+ /* 8. Tag Template
1730
+ /* ---------------------------------------------------------- */
1731
+
1741
1732
  .tag-template .post-card-large .post-card-image-link {
1742
- grid-column: 2 / span 2;
1743
- order: 2;
1733
+ grid-column: 2 / span 2;
1734
+ order: 2;
1744
1735
  }
1736
+
1745
1737
  .tag-template .post-card-large .post-card-content {
1746
- order: 1;
1738
+ order: 1;
1747
1739
  }
1740
+
1748
1741
  @media (min-width: 1001px) {
1749
- .tag-template .post-card-large .post-card-content {
1750
- grid-column: span 2;
1751
- max-width: 640px;
1752
- }
1753
- }
1742
+ .tag-template .post-card-large .post-card-content {
1743
+ grid-column: span 2;
1744
+ max-width: 640px;
1745
+ }
1746
+ }
1747
+
1748
+ /* 9. Error Template
1749
+ /* ---------------------------------------------------------- */
1750
+
1754
1751
  .error-content {
1755
- padding: 14vw 4vw 2vw;
1752
+ padding: 14vw 4vw 2vw;
1756
1753
  }
1754
+
1757
1755
  .error-message {
1758
- padding-bottom: 10vw;
1759
- text-align: center;
1756
+ padding-bottom: 10vw;
1757
+ text-align: center;
1760
1758
  }
1759
+
1761
1760
  .error-code {
1762
- font-size: 12vw;
1763
- letter-spacing: -5px;
1764
- line-height: 1em;
1765
- margin: 0;
1761
+ margin: 0;
1762
+ font-size: 12vw;
1763
+ line-height: 1em;
1764
+ letter-spacing: -5px;
1766
1765
  }
1766
+
1767
1767
  .error-description {
1768
- color: var(--color-secondary-text);
1769
- font-size: 3.2rem;
1770
- font-weight: 400;
1771
- letter-spacing: -0.005em;
1772
- line-height: 1.3em;
1773
- margin: 0;
1768
+ margin: 0;
1769
+ color: var(--color-secondary-text);
1770
+ font-size: 3.2rem;
1771
+ line-height: 1.3em;
1772
+ letter-spacing: -0.005em;
1773
+ font-weight: 400;
1774
1774
  }
1775
+
1775
1776
  .error-link {
1776
- display: inline-block;
1777
- margin-top: 5px;
1777
+ display: inline-block;
1778
+ margin-top: 5px;
1778
1779
  }
1780
+
1779
1781
  @media (min-width: 940px) {
1780
- .error-content .post-card {
1781
- border-bottom: none;
1782
- margin-bottom: 0;
1783
- padding-bottom: 0;
1784
- }
1782
+ .error-content .post-card {
1783
+ margin-bottom: 0;
1784
+ padding-bottom: 0;
1785
+ border-bottom: none;
1786
+ }
1785
1787
  }
1788
+
1786
1789
  @media (max-width: 800px) {
1787
- .error-content {
1788
- padding-top: 24vw;
1789
- }
1790
- .error-code {
1791
- font-size: 11.2rem;
1792
- }
1793
- .error-message {
1794
- padding-bottom: 16vw;
1795
- }
1796
- .error-description {
1797
- font-size: 1.8rem;
1798
- margin: 5px 0 0;
1799
- }
1800
- }
1790
+ .error-content {
1791
+ padding-top: 24vw;
1792
+ }
1793
+ .error-code {
1794
+ font-size: 11.2rem;
1795
+ }
1796
+ .error-message {
1797
+ padding-bottom: 16vw;
1798
+ }
1799
+ .error-description {
1800
+ margin: 5px 0 0 0;
1801
+ font-size: 1.8rem;
1802
+ }
1803
+ }
1804
+
1801
1805
  @media (max-width: 500px) {
1802
- .error-content {
1803
- padding-top: 28vw;
1804
- }
1805
- .error-message {
1806
- padding-bottom: 14vw;
1807
- }
1808
- }
1806
+ .error-content {
1807
+ padding-top: 28vw;
1808
+ }
1809
+ .error-message {
1810
+ padding-bottom: 14vw;
1811
+ }
1812
+ }
1813
+
1814
+
1815
+ /* 11. Site Footer
1816
+ /* ---------------------------------------------------------- */
1817
+
1809
1818
  .site-footer {
1810
- background: #0a0b0c;
1811
- color: #fff;
1812
- margin: max(12vmin, 64px) 0 0;
1813
- padding-bottom: 140px;
1814
- padding-top: 48px;
1815
- position: relative;
1819
+ position: relative;
1820
+ margin: max(12vmin, 64px) 0 0 0;
1821
+ padding-top: 48px;
1822
+ padding-bottom: 140px;
1823
+ color: #fff;
1824
+ background: color-mod(var(--color-darkgrey) l(-5%));
1816
1825
  }
1826
+
1817
1827
  .site-footer .inner {
1818
- grid-gap: 40px;
1819
- color: hsla(0, 0%, 100%, 0.7);
1820
- display: grid;
1821
- font-size: 1.3rem;
1822
- grid-template-columns: auto 1fr auto;
1828
+ display: grid;
1829
+ grid-gap: 40px;
1830
+ grid-template-columns: auto 1fr auto;
1831
+ color: rgba(255,255,255,0.7);
1832
+ font-size: 1.3rem;
1823
1833
  }
1834
+
1824
1835
  .site-footer .copyright a {
1825
- color: #fff;
1826
- font-weight: 500;
1827
- letter-spacing: -0.015em;
1836
+ color: #fff;
1837
+ letter-spacing: -0.015em;
1838
+ font-weight: 500;
1828
1839
  }
1840
+
1829
1841
  .site-footer a {
1830
- color: hsla(0, 0%, 100%, 0.7);
1842
+ color: rgba(255,255,255,0.7);
1831
1843
  }
1844
+
1832
1845
  .site-footer a:hover {
1833
- color: #fff;
1834
- text-decoration: none;
1846
+ color: rgba(255,255,255,1);
1847
+ text-decoration: none;
1835
1848
  }
1849
+
1836
1850
  .site-footer-nav ul {
1837
- display: flex;
1838
- flex-wrap: wrap;
1839
- justify-content: center;
1840
- list-style: none;
1841
- margin: 0 0 20px;
1842
- padding: 0;
1851
+ display: flex;
1852
+ justify-content: center;
1853
+ flex-wrap: wrap;
1854
+ margin: 0 0 20px;
1855
+ padding: 0;
1856
+ list-style: none;
1843
1857
  }
1858
+
1844
1859
  .site-footer-nav li {
1845
- align-items: center;
1846
- display: inline-flex;
1847
- line-height: 2em;
1848
- margin: 0;
1849
- padding: 0;
1860
+ display: inline-flex;
1861
+ align-items: center;
1862
+ padding: 0;
1863
+ margin: 0;
1864
+ line-height: 2em;
1850
1865
  }
1866
+
1851
1867
  .site-footer-nav a {
1852
- align-items: center;
1853
- display: inline-flex;
1854
- margin-left: 10px;
1855
- position: relative;
1868
+ position: relative;
1869
+ display: inline-flex;
1870
+ align-items: center;
1871
+ margin-left: 10px;
1856
1872
  }
1873
+
1857
1874
  .site-footer-nav li:not(:first-child) a:before {
1858
- background: #fff;
1859
- border-radius: 100%;
1860
- content: "";
1861
- display: block;
1862
- height: 2px;
1863
- margin: 0 10px 0 0;
1864
- width: 2px;
1865
- }
1875
+ content: "";
1876
+ display: block;
1877
+ width: 2px;
1878
+ height: 2px;
1879
+ margin: 0 10px 0 0;
1880
+ background: #fff;
1881
+ border-radius: 100%;
1882
+ }
1883
+
1866
1884
  @media (max-width: 767px) {
1867
- .site-footer .inner {
1868
- grid-gap: 0;
1869
- grid-template-columns: 1fr;
1870
- max-width: 500px;
1871
- text-align: center;
1872
- }
1873
- .site-footer .copyright,
1874
- .site-footer .copyright a {
1875
- color: #fff;
1876
- font-size: 1.5rem;
1877
- }
1878
- .site-footer .copyright {
1879
- margin-bottom: 16px;
1880
- }
1881
- }
1885
+ .site-footer .inner {
1886
+ max-width: 500px;
1887
+ grid-template-columns: 1fr;
1888
+ grid-gap: 0;
1889
+ text-align: center;
1890
+ }
1891
+ .site-footer .copyright,
1892
+ .site-footer .copyright a {
1893
+ color: #fff;
1894
+ font-size: 1.5rem;
1895
+ }
1896
+ .site-footer .copyright {
1897
+ margin-bottom: 16px;
1898
+ }
1899
+ }
1900
+
1901
+
1902
+ /* 12. Dark Mode
1903
+ /* ---------------------------------------------------------- */
1904
+
1882
1905
  html.dark-mode body {
1883
- background: var(--color-darkmode);
1884
- color: hsla(0, 0%, 100%, 0.75);
1906
+ color: rgba(255, 255, 255, 0.75);
1907
+ background: var(--color-darkmode);
1885
1908
  }
1909
+
1886
1910
  html.dark-mode img {
1887
- opacity: 0.9;
1911
+ opacity: 0.9;
1888
1912
  }
1913
+
1889
1914
  html.dark-mode kbd {
1890
- background: #212427;
1915
+ background: color-mod(var(--color-darkmode) l(+5%));
1891
1916
  }
1917
+
1892
1918
  html.dark-mode figcaption a {
1893
- color: #fff;
1919
+ color: #fff;
1894
1920
  }
1921
+
1895
1922
  html.dark-mode .gh-head {
1896
- background: var(--color-darkmode);
1897
- color: #fff;
1923
+ background: var(--color-darkmode);
1924
+ color: #fff;
1925
+ }
1926
+
1927
+ html.dark-mode .gh-burger-box {
1928
+ color: #fff;
1898
1929
  }
1899
- html.dark-mode .gh-burger-box,
1930
+
1900
1931
  html.dark-mode .site-header-content {
1901
- color: #fff;
1932
+ color: #fff;
1902
1933
  }
1934
+
1903
1935
  html.dark-mode .post-card-image {
1904
- background: var(--color-darkmode);
1936
+ background: var(--color-darkmode);
1905
1937
  }
1906
- html.dark-mode
1907
- :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content) {
1908
- color: #5f5f5f;
1938
+
1939
+ html.dark-mode :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content) {
1940
+ color: color-mod(var(--color-secondary-text) l(-22%));
1909
1941
  }
1910
- html.dark-mode .post-card-featured,
1942
+
1943
+ html.dark-mode .post-card-featured {
1944
+ color: #fff;
1945
+ }
1946
+
1911
1947
  html.dark-mode .post-card-title {
1912
- color: #fff;
1948
+ color: #fff;
1913
1949
  }
1950
+
1914
1951
  html.dark-mode .post-card-excerpt {
1915
- color: var(--color-secondary-text);
1952
+ color: var(--color-secondary-text);
1916
1953
  }
1917
- html.dark-mode .article-title,
1918
- html.dark-mode .author-profile-location,
1954
+
1955
+ html.dark-mode .author-profile-location {
1956
+ color: #fff;
1957
+ }
1958
+
1919
1959
  html.dark-mode .author-profile-social-link:hover {
1920
- color: #fff;
1960
+ color: #fff;
1921
1961
  }
1962
+
1963
+ html.dark-mode .article-title {
1964
+ color: #fff;
1965
+ }
1966
+
1922
1967
  html.dark-mode .article-excerpt {
1923
- color: var(--color-secondary-text);
1968
+ color: var(--color-secondary-text);
1924
1969
  }
1970
+
1925
1971
  html.dark-mode .post-full-image {
1926
- background-color: #282b2f;
1972
+ background-color: color-mod(var(--color-darkmode) l(+8%));
1927
1973
  }
1974
+
1928
1975
  html.dark-mode .author-avatar {
1929
- background-color: #282b2f;
1930
- border-color: var(--color-darkmode);
1976
+ border-color: var(--color-darkmode);
1977
+ background-color: color-mod(var(--color-darkmode) l(+8%));
1931
1978
  }
1979
+
1932
1980
  html.dark-mode .author-profile-image {
1933
- opacity: 1;
1981
+ opacity: 1;
1934
1982
  }
1983
+
1935
1984
  html.dark-mode .author-profile-image path {
1936
- fill: var(--color-darkmode);
1985
+ fill: var(--color-darkmode);
1937
1986
  }
1987
+
1938
1988
  html.dark-mode .article-byline-meta .author-name a {
1939
- color: #fff;
1989
+ color: #fff;
1940
1990
  }
1991
+
1941
1992
  html.dark-mode .no-image .author-social-link a {
1942
- color: hsla(0, 0%, 100%, 0.75);
1993
+ color: rgba(255, 255, 255, 0.75);
1943
1994
  }
1995
+
1944
1996
  html.dark-mode .gh-content > [id] {
1945
- color: hsla(0, 0%, 100%, 0.9);
1997
+ color: rgba(255, 255, 255, 0.9);
1946
1998
  }
1999
+
1947
2000
  html.dark-mode .gh-content pre {
1948
- background: #030303;
2001
+ background: color-mod(var(--color-darkgrey) l(-8%));
1949
2002
  }
2003
+
1950
2004
  html.dark-mode .gh-content :not(pre) > code {
1951
- background: #23262b;
1952
- border-color: #282b2f;
1953
- color: var(--color-wash);
2005
+ background: color-mod(var(--color-darkgrey) l(+6%));
2006
+ border-color: color-mod(var(--color-darkmode) l(+8%));
2007
+ color: var(--color-wash);
1954
2008
  }
2009
+
1955
2010
  :where(html.dark-mode) .gh-content a {
1956
- color: #fff;
2011
+ color: #fff;
1957
2012
  }
1958
- html.dark-mode .gh-content em,
2013
+
1959
2014
  html.dark-mode .gh-content strong {
1960
- color: #fff;
2015
+ color: #fff;
2016
+ }
2017
+
2018
+ html.dark-mode .gh-content em {
2019
+ color: #fff;
1961
2020
  }
2021
+
1962
2022
  html.dark-mode .gh-content code {
1963
- background: #000;
1964
- color: #fff;
2023
+ color: #fff;
2024
+ background: #000;
1965
2025
  }
2026
+
1966
2027
  html.dark-mode hr {
1967
- border-top-color: #282b2f;
2028
+ border-top-color: color-mod(var(--color-darkmode) l(+8%));
1968
2029
  }
2030
+
1969
2031
  html.dark-mode .gh-content hr:after {
1970
- background: #282b2f;
1971
- box-shadow: var(--color-darkmode) 0 0 0 5px;
2032
+ background: color-mod(var(--color-darkmode) l(+8%));
2033
+ box-shadow: var(--color-darkmode) 0 0 0 5px;
1972
2034
  }
2035
+
1973
2036
  html.dark-mode figcaption {
1974
- color: hsla(0, 0%, 100%, 0.6);
2037
+ color: rgba(255, 255, 255, 0.6);
1975
2038
  }
2039
+
1976
2040
  html.dark-mode .gh-content table:not(.gist table) td:first-child {
1977
- background-image: linear-gradient(
1978
- to right,
1979
- var(--color-darkmode) 50%,
1980
- rgba(21, 23, 25, 0) 100%
1981
- );
2041
+ background-image: linear-gradient(to right, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
1982
2042
  }
2043
+
1983
2044
  html.dark-mode .gh-content table:not(.gist table) td:last-child {
1984
- background-image: linear-gradient(
1985
- to left,
1986
- var(--color-darkmode) 50%,
1987
- rgba(21, 23, 25, 0) 100%
1988
- );
2045
+ background-image: linear-gradient(to left, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
1989
2046
  }
2047
+
1990
2048
  html.dark-mode .gh-content table:not(.gist table) th {
1991
- background-color: #282b2f;
1992
- color: hsla(0, 0%, 100%, 0.85);
2049
+ color: rgba(255, 255, 255, 0.85);
2050
+ background-color: color-mod(var(--color-darkmode) l(+8%));
1993
2051
  }
1994
- html.dark-mode .gh-content table:not(.gist table) td,
1995
- html.dark-mode .gh-content table:not(.gist table) th {
1996
- border: 1px solid #282b2f;
2052
+
2053
+ html.dark-mode .gh-content table:not(.gist table) th,
2054
+ html.dark-mode .gh-content table:not(.gist table) td {
2055
+ border: color-mod(var(--color-darkmode) l(+8%)) 1px solid;
1997
2056
  }
2057
+
1998
2058
  html.dark-mode .gh-content input {
1999
- color: #303a3e;
2059
+ color: color-mod(var(--color-midgrey) l(-30%));
2000
2060
  }
2061
+
2001
2062
  html.dark-mode .site-archive-header .no-image {
2002
- background: var(--color-darkmode);
2003
- color: hsla(0, 0%, 100%, 0.9);
2063
+ color: rgba(255, 255, 255, 0.9);
2064
+ background: var(--color-darkmode);
2004
2065
  }
2066
+
2005
2067
  html.dark-mode .kg-header-card.kg-style-dark {
2006
- background: #0a0b0c;
2068
+ background: color-mod(var(--color-darkgrey) l(-5%));
2007
2069
  }
2070
+
2008
2071
  html.dark-mode .kg-header-card.kg-style-light {
2009
- background: #202328;
2072
+ background: color-mod(var(--color-darkgrey) l(+5%));
2010
2073
  }
2011
- html.dark-mode .footer-cta-title,
2074
+
2012
2075
  html.dark-mode .kg-header-card h2.kg-header-card-header,
2013
2076
  html.dark-mode .kg-header-card h3.kg-header-card-subheader {
2014
- color: #fff;
2015
- }
2016
- @media (prefers-color-scheme: dark) {
2017
- html.auto-color body {
2018
- background: var(--color-darkmode);
2019
- color: hsla(0, 0%, 100%, 0.75);
2020
- }
2021
- html.auto-color img {
2022
- opacity: 0.9;
2023
- }
2024
- html.auto-color kbd {
2025
- background: #212427;
2026
- }
2027
- html.auto-color figcaption a {
2028
- color: #fff;
2029
- }
2030
- html.auto-color .gh-head {
2031
- background: var(--color-darkmode);
2032
- color: #fff;
2033
- }
2034
- html.auto-color .gh-burger-box,
2035
- html.auto-color .site-header-content {
2036
- color: #fff;
2037
- }
2038
- html.auto-color .post-card-image {
2039
- background: var(--color-darkmode);
2040
- }
2041
- html.auto-color
2042
- :is(
2043
- .post-card-tags,
2044
- .post-card-meta,
2045
- .article-tag a,
2046
- .byline-meta-content
2047
- ) {
2048
- color: #5f5f5f;
2049
- }
2050
- html.auto-color .post-card-featured,
2051
- html.auto-color .post-card-title {
2052
- color: #fff;
2053
- }
2054
- html.auto-color .post-card-excerpt {
2055
- color: var(--color-secondary-text);
2056
- }
2057
- html.auto-color .article-title,
2058
- html.auto-color .author-profile-location,
2059
- html.auto-color .author-profile-social-link:hover {
2060
- color: #fff;
2061
- }
2062
- html.auto-color .article-excerpt {
2063
- color: var(--color-secondary-text);
2064
- }
2065
- html.auto-color .post-full-image {
2066
- background-color: #282b2f;
2067
- }
2068
- html.auto-color .author-avatar {
2069
- background-color: #282b2f;
2070
- border-color: var(--color-darkmode);
2071
- }
2072
- html.auto-color .author-profile-image {
2073
- opacity: 1;
2074
- }
2075
- html.auto-color .author-profile-image path {
2076
- fill: var(--color-darkmode);
2077
- }
2078
- html.auto-color .article-byline-meta .author-name a {
2079
- color: #fff;
2080
- }
2081
- html.auto-color .no-image .author-social-link a {
2082
- color: hsla(0, 0%, 100%, 0.75);
2083
- }
2084
- html.auto-color .gh-content > [id] {
2085
- color: hsla(0, 0%, 100%, 0.9);
2086
- }
2087
- html.auto-color .gh-content pre {
2088
- background: #030303;
2089
- }
2090
- html.auto-color .gh-content :not(pre) > code {
2091
- background: #23262b;
2092
- border-color: #282b2f;
2093
- color: var(--color-wash);
2094
- }
2095
- :where(html.auto-color) .gh-content a {
2096
- color: #fff;
2097
- }
2098
- html.auto-color .gh-content em,
2099
- html.auto-color .gh-content strong {
2100
2077
  color: #fff;
2101
- }
2102
- html.auto-color .gh-content code {
2103
- background: #000;
2104
- color: #fff;
2105
- }
2106
- html.auto-color hr {
2107
- border-top-color: #282b2f;
2108
- }
2109
- html.auto-color .gh-content hr:after {
2110
- background: #282b2f;
2111
- box-shadow: var(--color-darkmode) 0 0 0 5px;
2112
- }
2113
- html.auto-color figcaption {
2114
- color: hsla(0, 0%, 100%, 0.6);
2115
- }
2116
- html.auto-color .gh-content table:not(.gist table) td:first-child {
2117
- background-image: linear-gradient(
2118
- to right,
2119
- var(--color-darkmode) 50%,
2120
- rgba(21, 23, 25, 0) 100%
2121
- );
2122
- }
2123
- html.auto-color .gh-content table:not(.gist table) td:last-child {
2124
- background-image: linear-gradient(
2125
- to left,
2126
- var(--color-darkmode) 50%,
2127
- rgba(21, 23, 25, 0) 100%
2128
- );
2129
- }
2130
- html.auto-color .gh-content table:not(.gist table) th {
2131
- background-color: #282b2f;
2132
- color: hsla(0, 0%, 100%, 0.85);
2133
- }
2134
- html.auto-color .gh-content table:not(.gist table) td,
2135
- html.auto-color .gh-content table:not(.gist table) th {
2136
- border: 1px solid #282b2f;
2137
- }
2138
- html.auto-color .gh-content input {
2139
- color: #303a3e;
2140
- }
2141
- html.auto-color .site-archive-header .no-image {
2142
- background: var(--color-darkmode);
2143
- color: hsla(0, 0%, 100%, 0.9);
2144
- }
2145
- html.auto-color .kg-header-card.kg-style-dark {
2146
- background: #0a0b0c;
2147
- }
2148
- html.auto-color .kg-header-card.kg-style-light {
2149
- background: #202328;
2150
- }
2151
- html.auto-color .footer-cta-title,
2152
- html.auto-color .kg-header-card h2.kg-header-card-header,
2153
- html.auto-color .kg-header-card h3.kg-header-card-subheader {
2078
+ }
2079
+
2080
+ html.dark-mode .footer-cta-title {
2154
2081
  color: #fff;
2155
- }
2156
2082
  }
2157
- /*# sourceMappingURL=screen.css.map */
2083
+
2084
+ @media (prefers-color-scheme: dark) {
2085
+ html.auto-color body {
2086
+ color: rgba(255, 255, 255, 0.75);
2087
+ background: var(--color-darkmode);
2088
+ }
2089
+
2090
+ html.auto-color img {
2091
+ opacity: 0.9;
2092
+ }
2093
+
2094
+ html.auto-color kbd {
2095
+ background: color-mod(var(--color-darkmode) l(+5%));
2096
+ }
2097
+
2098
+ html.auto-color figcaption a {
2099
+ color: #fff;
2100
+ }
2101
+
2102
+ html.auto-color .gh-head {
2103
+ background: var(--color-darkmode);
2104
+ color: #fff;
2105
+ }
2106
+
2107
+ html.auto-color .gh-burger-box {
2108
+ color: #fff;
2109
+ }
2110
+
2111
+ html.auto-color .site-header-content {
2112
+ color: #fff;
2113
+ }
2114
+
2115
+ html.auto-color .post-card-image {
2116
+ background: var(--color-darkmode);
2117
+ }
2118
+
2119
+ html.auto-color :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content) {
2120
+ color: color-mod(var(--color-secondary-text) l(-22%));
2121
+ }
2122
+
2123
+ html.auto-color .post-card-featured {
2124
+ color: #fff;
2125
+ }
2126
+
2127
+ html.auto-color .post-card-title {
2128
+ color: #fff;
2129
+ }
2130
+
2131
+ html.auto-color .post-card-excerpt {
2132
+ color: var(--color-secondary-text);
2133
+ }
2134
+
2135
+ html.auto-color .author-profile-location {
2136
+ color: #fff;
2137
+ }
2138
+
2139
+ html.auto-color .author-profile-social-link:hover {
2140
+ color: #fff;
2141
+ }
2142
+
2143
+ html.auto-color .article-title {
2144
+ color: #fff;
2145
+ }
2146
+
2147
+ html.auto-color .article-excerpt {
2148
+ color: var(--color-secondary-text);
2149
+ }
2150
+
2151
+ html.auto-color .post-full-image {
2152
+ background-color: color-mod(var(--color-darkmode) l(+8%));
2153
+ }
2154
+
2155
+ html.auto-color .author-avatar {
2156
+ border-color: var(--color-darkmode);
2157
+ background-color: color-mod(var(--color-darkmode) l(+8%));
2158
+ }
2159
+
2160
+ html.auto-color .author-profile-image {
2161
+ opacity: 1;
2162
+ }
2163
+
2164
+ html.auto-color .author-profile-image path {
2165
+ fill: var(--color-darkmode);
2166
+ }
2167
+
2168
+ html.auto-color .article-byline-meta .author-name a {
2169
+ color: #fff;
2170
+ }
2171
+
2172
+ html.auto-color .no-image .author-social-link a {
2173
+ color: rgba(255, 255, 255, 0.75);
2174
+ }
2175
+
2176
+ html.auto-color .gh-content > [id] {
2177
+ color: rgba(255, 255, 255, 0.9);
2178
+ }
2179
+
2180
+ html.auto-color .gh-content pre {
2181
+ background: color-mod(var(--color-darkgrey) l(-8%));
2182
+ }
2183
+
2184
+ html.auto-color .gh-content :not(pre) > code {
2185
+ background: color-mod(var(--color-darkgrey) l(+6%));
2186
+ border-color: color-mod(var(--color-darkmode) l(+8%));
2187
+ color: var(--color-wash);
2188
+ }
2189
+
2190
+ :where(html.auto-color) .gh-content a {
2191
+ color: #fff;
2192
+ }
2193
+
2194
+ html.auto-color .gh-content strong {
2195
+ color: #fff;
2196
+ }
2197
+
2198
+ html.auto-color .gh-content em {
2199
+ color: #fff;
2200
+ }
2201
+
2202
+ html.auto-color .gh-content code {
2203
+ color: #fff;
2204
+ background: #000;
2205
+ }
2206
+
2207
+ html.auto-color hr {
2208
+ border-top-color: color-mod(var(--color-darkmode) l(+8%));
2209
+ }
2210
+
2211
+ html.auto-color .gh-content hr:after {
2212
+ background: color-mod(var(--color-darkmode) l(+8%));
2213
+ box-shadow: var(--color-darkmode) 0 0 0 5px;
2214
+ }
2215
+
2216
+ html.auto-color figcaption {
2217
+ color: rgba(255, 255, 255, 0.6);
2218
+ }
2219
+
2220
+ html.auto-color .gh-content table:not(.gist table) td:first-child {
2221
+ background-image: linear-gradient(to right, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
2222
+ }
2223
+
2224
+ html.auto-color .gh-content table:not(.gist table) td:last-child {
2225
+ background-image: linear-gradient(to left, var(--color-darkmode) 50%, color-mod(var(--color-darkmode) a(0%)) 100%);
2226
+ }
2227
+
2228
+ html.auto-color .gh-content table:not(.gist table) th {
2229
+ color: rgba(255, 255, 255, 0.85);
2230
+ background-color: color-mod(var(--color-darkmode) l(+8%));
2231
+ }
2232
+
2233
+ html.auto-color .gh-content table:not(.gist table) th,
2234
+ html.auto-color .gh-content table:not(.gist table) td {
2235
+ border: color-mod(var(--color-darkmode) l(+8%)) 1px solid;
2236
+ }
2237
+
2238
+ html.auto-color .gh-content input {
2239
+ color: color-mod(var(--color-midgrey) l(-30%));
2240
+ }
2241
+
2242
+ html.auto-color .site-archive-header .no-image {
2243
+ color: rgba(255, 255, 255, 0.9);
2244
+ background: var(--color-darkmode);
2245
+ }
2246
+
2247
+ html.auto-color .kg-header-card.kg-style-dark {
2248
+ background: color-mod(var(--color-darkgrey) l(-5%));
2249
+ }
2250
+
2251
+ html.auto-color .kg-header-card.kg-style-light {
2252
+ background: color-mod(var(--color-darkgrey) l(+5%));
2253
+ }
2254
+
2255
+ html.auto-color .kg-header-card h2.kg-header-card-header,
2256
+ html.auto-color .kg-header-card h3.kg-header-card-subheader {
2257
+ color: #fff;
2258
+ }
2259
+
2260
+ html.auto-color .footer-cta-title {
2261
+ color: #fff;
2262
+ }
2263
+ }
2264
+
2265
+ /*
2266
+
2267
+ Hey! You reached the end.
2268
+
2269
+ Hope you enjoyed this CSS file, if you have any suggestions
2270
+ for improvements that might be useful for everyone who uses
2271
+ this theme, you can find the open source repository for it
2272
+ here: https://github.com/tryghost/casper
2273
+
2274
+ Or, if you've just scrolled all the way to the bottom of the
2275
+ file to add some of your own styles. Well, you've come to
2276
+ the right place. Onward!
2277
+
2278
+ */