ghost 5.22.8 → 5.22.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/components/tryghost-adapter-manager-5.22.10.tgz +0 -0
  2. package/components/tryghost-api-framework-5.22.10.tgz +0 -0
  3. package/components/tryghost-api-version-compatibility-service-5.22.10.tgz +0 -0
  4. package/components/{tryghost-audience-feedback-5.22.8.tgz → tryghost-audience-feedback-5.22.10.tgz} +0 -0
  5. package/components/tryghost-bootstrap-socket-5.22.10.tgz +0 -0
  6. package/components/tryghost-constants-5.22.10.tgz +0 -0
  7. package/components/tryghost-custom-theme-settings-service-5.22.10.tgz +0 -0
  8. package/components/tryghost-data-generator-5.22.10.tgz +0 -0
  9. package/components/tryghost-domain-events-5.22.10.tgz +0 -0
  10. package/components/tryghost-email-analytics-provider-mailgun-5.22.10.tgz +0 -0
  11. package/components/tryghost-email-analytics-service-5.22.10.tgz +0 -0
  12. package/components/tryghost-email-content-generator-5.22.10.tgz +0 -0
  13. package/components/tryghost-express-dynamic-redirects-5.22.10.tgz +0 -0
  14. package/components/tryghost-extract-api-key-5.22.10.tgz +0 -0
  15. package/components/tryghost-html-to-plaintext-5.22.10.tgz +0 -0
  16. package/components/{tryghost-job-manager-5.22.8.tgz → tryghost-job-manager-5.22.10.tgz} +0 -0
  17. package/components/tryghost-link-redirects-5.22.10.tgz +0 -0
  18. package/components/tryghost-link-replacer-5.22.10.tgz +0 -0
  19. package/components/tryghost-link-tracking-5.22.10.tgz +0 -0
  20. package/components/{tryghost-magic-link-5.22.8.tgz → tryghost-magic-link-5.22.10.tgz} +0 -0
  21. package/components/tryghost-mailgun-client-5.22.10.tgz +0 -0
  22. package/components/tryghost-member-analytics-service-5.22.10.tgz +0 -0
  23. package/components/tryghost-member-attribution-5.22.10.tgz +0 -0
  24. package/components/tryghost-member-events-5.22.10.tgz +0 -0
  25. package/components/tryghost-members-analytics-ingress-5.22.10.tgz +0 -0
  26. package/components/tryghost-members-api-5.22.10.tgz +0 -0
  27. package/components/tryghost-members-csv-5.22.10.tgz +0 -0
  28. package/components/tryghost-members-events-service-5.22.10.tgz +0 -0
  29. package/components/tryghost-members-importer-5.22.10.tgz +0 -0
  30. package/components/{tryghost-members-offers-5.22.8.tgz → tryghost-members-offers-5.22.10.tgz} +0 -0
  31. package/components/tryghost-members-payments-5.22.10.tgz +0 -0
  32. package/components/tryghost-members-ssr-5.22.10.tgz +0 -0
  33. package/components/tryghost-members-stripe-service-5.22.10.tgz +0 -0
  34. package/components/tryghost-minifier-5.22.10.tgz +0 -0
  35. package/components/tryghost-mw-api-version-mismatch-5.22.10.tgz +0 -0
  36. package/components/tryghost-mw-cache-control-5.22.10.tgz +0 -0
  37. package/components/tryghost-mw-error-handler-5.22.10.tgz +0 -0
  38. package/components/tryghost-mw-session-from-token-5.22.10.tgz +0 -0
  39. package/components/tryghost-mw-update-user-last-seen-5.22.10.tgz +0 -0
  40. package/components/tryghost-mw-vhost-5.22.10.tgz +0 -0
  41. package/components/tryghost-oembed-service-5.22.10.tgz +0 -0
  42. package/components/tryghost-package-json-5.22.10.tgz +0 -0
  43. package/components/tryghost-referrers-5.22.10.tgz +0 -0
  44. package/components/tryghost-security-5.22.10.tgz +0 -0
  45. package/components/tryghost-session-service-5.22.10.tgz +0 -0
  46. package/components/tryghost-settings-path-manager-5.22.10.tgz +0 -0
  47. package/components/tryghost-staff-service-5.22.10.tgz +0 -0
  48. package/components/tryghost-stats-service-5.22.10.tgz +0 -0
  49. package/components/{tryghost-tiers-5.22.8.tgz → tryghost-tiers-5.22.10.tgz} +0 -0
  50. package/components/tryghost-update-check-service-5.22.10.tgz +0 -0
  51. package/components/tryghost-verification-trigger-5.22.10.tgz +0 -0
  52. package/components/tryghost-version-notifications-data-service-5.22.10.tgz +0 -0
  53. package/content/themes/casper/assets/built/casper.js +1 -1
  54. package/content/themes/casper/assets/built/casper.js.map +1 -1
  55. package/content/themes/casper/assets/built/screen.css +1 -1
  56. package/content/themes/casper/assets/built/screen.css.map +1 -1
  57. package/content/themes/casper/assets/css/screen.css +332 -194
  58. package/content/themes/casper/assets/js/dropdown.js +81 -0
  59. package/content/themes/casper/assets/js/lib/imagesloaded.pkgd.min.js +7 -0
  60. package/content/themes/casper/default.hbs +28 -28
  61. package/content/themes/casper/gulpfile.js +2 -1
  62. package/content/themes/casper/index.hbs +2 -2
  63. package/content/themes/casper/package.json +10 -6
  64. package/core/built/admin/assets/{chunk.143.106bb339ada01587eb46.js → chunk.143.efc32dbcc893663c95cb.js} +5 -5
  65. package/core/built/admin/assets/{chunk.178.97b7693b2a2e62c60a7b.js → chunk.178.95a503a229a8fd49e91e.js} +4 -4
  66. package/core/built/admin/assets/{ghost-be360e360f53a63fafd228ae89bf96c8.css → ghost-03c7a25d23ad4d0725da171f8d7c7b2a.css} +1 -1
  67. package/core/built/admin/assets/{ghost-dab6700715992e873d0672192fc8e2be.js → ghost-b204dcc6ad523053868da9b2d8d65f80.js} +430 -370
  68. package/core/built/admin/assets/{ghost-dark-08002fad1d09cb7a88d09abf2ce4da29.css → ghost-dark-8896a076fc06ec2b09343b1c9df7feca.css} +1 -1
  69. package/core/built/admin/index.html +3 -3
  70. package/core/server/data/importer/handlers/markdown.js +0 -1
  71. package/core/server/data/importer/importers/data/base.js +26 -39
  72. package/core/server/data/importer/importers/data/custom-theme-settings.js +33 -49
  73. package/core/server/data/importer/importers/data/data-importer.js +38 -68
  74. package/core/server/data/importer/importers/data/settings.js +10 -10
  75. package/core/server/data/importer/importers/data/tags.js +27 -28
  76. package/core/server/data/schema/fixtures/fixture-manager.js +1 -1
  77. package/core/server/services/mega/feedback-buttons.js +19 -5
  78. package/core/server/services/mega/post-email-serializer.js +10 -2
  79. package/core/server/services/member-attribution/index.js +2 -1
  80. package/core/server/web/members/app.js +1 -1
  81. package/package.json +103 -103
  82. package/yarn.lock +68 -49
  83. package/components/tryghost-adapter-manager-5.22.8.tgz +0 -0
  84. package/components/tryghost-api-framework-5.22.8.tgz +0 -0
  85. package/components/tryghost-api-version-compatibility-service-5.22.8.tgz +0 -0
  86. package/components/tryghost-bootstrap-socket-5.22.8.tgz +0 -0
  87. package/components/tryghost-constants-5.22.8.tgz +0 -0
  88. package/components/tryghost-custom-theme-settings-service-5.22.8.tgz +0 -0
  89. package/components/tryghost-data-generator-5.22.8.tgz +0 -0
  90. package/components/tryghost-domain-events-5.22.8.tgz +0 -0
  91. package/components/tryghost-email-analytics-provider-mailgun-5.22.8.tgz +0 -0
  92. package/components/tryghost-email-analytics-service-5.22.8.tgz +0 -0
  93. package/components/tryghost-email-content-generator-5.22.8.tgz +0 -0
  94. package/components/tryghost-express-dynamic-redirects-5.22.8.tgz +0 -0
  95. package/components/tryghost-extract-api-key-5.22.8.tgz +0 -0
  96. package/components/tryghost-html-to-plaintext-5.22.8.tgz +0 -0
  97. package/components/tryghost-link-redirects-5.22.8.tgz +0 -0
  98. package/components/tryghost-link-replacer-5.22.8.tgz +0 -0
  99. package/components/tryghost-link-tracking-5.22.8.tgz +0 -0
  100. package/components/tryghost-mailgun-client-5.22.8.tgz +0 -0
  101. package/components/tryghost-member-analytics-service-5.22.8.tgz +0 -0
  102. package/components/tryghost-member-attribution-5.22.8.tgz +0 -0
  103. package/components/tryghost-member-events-5.22.8.tgz +0 -0
  104. package/components/tryghost-members-analytics-ingress-5.22.8.tgz +0 -0
  105. package/components/tryghost-members-api-5.22.8.tgz +0 -0
  106. package/components/tryghost-members-csv-5.22.8.tgz +0 -0
  107. package/components/tryghost-members-events-service-5.22.8.tgz +0 -0
  108. package/components/tryghost-members-importer-5.22.8.tgz +0 -0
  109. package/components/tryghost-members-payments-5.22.8.tgz +0 -0
  110. package/components/tryghost-members-ssr-5.22.8.tgz +0 -0
  111. package/components/tryghost-members-stripe-service-5.22.8.tgz +0 -0
  112. package/components/tryghost-minifier-5.22.8.tgz +0 -0
  113. package/components/tryghost-mw-api-version-mismatch-5.22.8.tgz +0 -0
  114. package/components/tryghost-mw-cache-control-5.22.8.tgz +0 -0
  115. package/components/tryghost-mw-error-handler-5.22.8.tgz +0 -0
  116. package/components/tryghost-mw-session-from-token-5.22.8.tgz +0 -0
  117. package/components/tryghost-mw-update-user-last-seen-5.22.8.tgz +0 -0
  118. package/components/tryghost-mw-vhost-5.22.8.tgz +0 -0
  119. package/components/tryghost-oembed-service-5.22.8.tgz +0 -0
  120. package/components/tryghost-package-json-5.22.8.tgz +0 -0
  121. package/components/tryghost-referrers-5.22.8.tgz +0 -0
  122. package/components/tryghost-security-5.22.8.tgz +0 -0
  123. package/components/tryghost-session-service-5.22.8.tgz +0 -0
  124. package/components/tryghost-settings-path-manager-5.22.8.tgz +0 -0
  125. package/components/tryghost-staff-service-5.22.8.tgz +0 -0
  126. package/components/tryghost-stats-service-5.22.8.tgz +0 -0
  127. package/components/tryghost-update-check-service-5.22.8.tgz +0 -0
  128. package/components/tryghost-verification-trigger-5.22.8.tgz +0 -0
  129. package/components/tryghost-version-notifications-data-service-5.22.8.tgz +0 -0
@@ -112,8 +112,8 @@ production stylesheet in assets/built/screen.css
112
112
  z-index: 100;
113
113
  display: flex;
114
114
  align-items: center;
115
- padding-top: 6.4vmin;
116
- padding-bottom: 6.4vmin;
115
+ padding-top: calc(19vmin + 44px);
116
+ padding-bottom: 19vmin;
117
117
  text-align: center;
118
118
  color: var(--color-darkgrey);
119
119
  }
@@ -124,10 +124,6 @@ production stylesheet in assets/built/screen.css
124
124
  color: #fff;
125
125
  }
126
126
 
127
- body:not(.has-cover) .site-header-content:not(.left-aligned) {
128
- padding-bottom: max(4.8vmin, 24px);
129
- }
130
-
131
127
  .site-header-content.left-aligned {
132
128
  padding-bottom: 0;
133
129
  text-align: left;
@@ -135,7 +131,7 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
135
131
 
136
132
  .has-cover .site-header-content.left-aligned {
137
133
  align-items: flex-end;
138
- padding-bottom: 6.4vmin;
134
+ padding-bottom: max(4vmin, 32px);
139
135
  }
140
136
 
141
137
  .site-header-content.no-content {
@@ -189,15 +185,15 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
189
185
  .site-description {
190
186
  display: inline-block;
191
187
  z-index: 10;
192
- max-width: 560px;
193
- font-size: 2.4rem;
194
- font-weight: 500;
195
- line-height: 1.4;
188
+ max-width: 960px;
189
+ font-size: 6rem;
190
+ font-weight: 700;
191
+ line-height: 1.1;
196
192
  }
197
193
 
198
194
  :is(.site-logo, .site-title) + .site-description {
199
- margin-top: 8px;
200
- font-size: 2.1rem;
195
+ margin-top: 16px;
196
+ font-size: 2.4rem;
201
197
  font-weight: 400;
202
198
  }
203
199
 
@@ -210,7 +206,6 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
210
206
  }
211
207
 
212
208
  .has-cover .site-description {
213
- font-size: 3.2rem;
214
209
  letter-spacing: -0.005em;
215
210
  color: #fff;
216
211
  }
@@ -223,6 +218,18 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
223
218
  font-size: 2.2rem;
224
219
  }
225
220
 
221
+ @media (min-width: 992px) {
222
+ .is-head-stacked.has-cover .site-header-content {
223
+ padding-top: calc(19vmin + 120px);
224
+ }
225
+ }
226
+
227
+ @media (max-width: 991px) {
228
+ .site-header-content {
229
+ padding-top: calc(19vmin + 32px);
230
+ }
231
+ }
232
+
226
233
  @media (max-width: 767px) {
227
234
  .has-cover .site-header-content {
228
235
  min-height: 240px;
@@ -237,7 +244,7 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
237
244
  font-size: 3.4rem !important;
238
245
  }
239
246
  .site-description {
240
- font-size: 1.9rem !important;
247
+ font-size: 2.8rem !important;
241
248
  }
242
249
  .site-logo + .site-description {
243
250
  margin-top: 12px !important;
@@ -252,8 +259,7 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
252
259
  /* ---------------------------------------------------------- */
253
260
 
254
261
  .gh-head {
255
- padding-top: min(24px, 3.6vmin);
256
- padding-bottom: min(24px, 3.6vmin);
262
+ height: 88px;
257
263
  font-size: 1.6rem;
258
264
  line-height: 1.3em;
259
265
  background-color: #fff;
@@ -280,11 +286,112 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
280
286
 
281
287
  .gh-head-inner {
282
288
  display: grid;
283
- grid-gap: 40px;
284
- grid-template-columns: auto auto 1fr;
289
+ column-gap: 40px;
290
+ grid-template-columns: auto 1fr auto;
285
291
  grid-auto-flow: row dense;
292
+ align-items: center;
293
+ height: 100%;
294
+ }
295
+
296
+ /* Header styles
297
+ /* ---------------------------------------------------------- */
298
+
299
+ .is-head-left-logo .gh-head-inner {
300
+ grid-template-columns: auto 1fr auto;
301
+ }
302
+
303
+ .is-head-left-logo.home-template .gh-head-logo {
304
+ display: none;
286
305
  }
287
306
 
307
+ .is-head-left-logo.home-template .gh-head-menu {
308
+ margin-left: -40px;
309
+ }
310
+
311
+ @media (min-width: 992px) {
312
+ .is-head-left-logo .gh-head-menu {
313
+ margin-right: 32px;
314
+ margin-left: 16px;
315
+ }
316
+ }
317
+
318
+ .is-head-middle-logo .gh-head-inner {
319
+ grid-template-columns: 1fr auto 1fr;
320
+ }
321
+
322
+ .is-head-middle-logo .gh-head-brand {
323
+ grid-column-start: 2;
324
+ }
325
+
326
+ .is-head-middle-logo .gh-head-actions {
327
+ gap: 28px;
328
+ }
329
+
330
+ @media (min-width: 992px) {
331
+ .is-head-middle-logo .gh-head-menu {
332
+ margin-right: 64px;
333
+ }
334
+ }
335
+
336
+ .is-head-stacked .gh-head {
337
+ height: auto;
338
+ }
339
+
340
+ .is-head-stacked .gh-head-inner {
341
+ grid-template-columns: 1fr auto 1fr;
342
+ }
343
+
344
+ .is-head-stacked .gh-head-brand {
345
+ grid-row-start: 1;
346
+ grid-column-start: 2;
347
+ }
348
+
349
+ @media (min-width: 992px) {
350
+ .is-head-stacked .gh-head-inner {
351
+ padding: 0;
352
+ }
353
+
354
+ .is-head-stacked .gh-head-brand {
355
+ position: relative;
356
+ display: flex;
357
+ align-items: center;
358
+ height: 80px;
359
+ }
360
+
361
+ .is-head-stacked .gh-head-menu {
362
+ grid-row-start: 2;
363
+ grid-column: 1 / 4;
364
+ justify-content: center;
365
+ height: 56px;
366
+ margin: 0 48px;
367
+ }
368
+
369
+ .is-head-stacked .gh-head-menu::before,
370
+ .is-head-stacked .gh-head-menu::after {
371
+ position: absolute;
372
+ top: 80px;
373
+ left: 0;
374
+ width: 100%;
375
+ height: 1px;
376
+ content: "";
377
+ background-color: var(--color-lightgrey);
378
+ }
379
+
380
+ .is-head-stacked.has-cover .gh-head-menu::before,
381
+ .is-head-stacked.has-cover .gh-head-menu::after {
382
+ background-color: rgba(255, 255, 255, 0.2);
383
+ }
384
+
385
+ .is-head-stacked .gh-head-menu::after {
386
+ top: 136px;
387
+ }
388
+
389
+ .is-head-stacked .gh-head-actions {
390
+ grid-row-start: 1;
391
+ grid-column: 1 / 4;
392
+ justify-content: space-between;
393
+ }
394
+ }
288
395
 
289
396
  /* Brand
290
397
  /* ---------------------------------------------------------- */
@@ -293,7 +400,6 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
293
400
  display: flex;
294
401
  align-items: center;
295
402
  height: 40px;
296
- max-width: 400px;
297
403
  word-break: break-all;
298
404
  }
299
405
 
@@ -303,6 +409,7 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
303
409
  font-size: 2.6rem;
304
410
  letter-spacing: -0.02em;
305
411
  color: inherit;
412
+ white-space: nowrap;
306
413
  }
307
414
 
308
415
  .gh-head-logo.no-image {
@@ -313,17 +420,8 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
313
420
  color: #fff;
314
421
  }
315
422
 
316
- .no-logo .gh-head-logo {
317
- display: none;
318
- }
319
-
320
423
  .gh-head-logo img {
321
- max-height: 26px;
322
- }
323
-
324
- .gh-head-brand-wrapper {
325
- display: flex;
326
- align-items: center;
424
+ max-height: 40px;
327
425
  }
328
426
 
329
427
 
@@ -337,14 +435,10 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
337
435
  font-weight: 500;
338
436
  }
339
437
 
340
- .no-logo .gh-head-menu {
341
- margin-left: -40px;
342
- }
343
-
344
438
  .gh-head-menu .nav {
345
439
  display: inline-flex;
346
- flex-wrap: wrap;
347
440
  align-items: center;
441
+ flex-wrap: wrap;
348
442
  gap: 32px;
349
443
  list-style: none;
350
444
  margin: 0;
@@ -366,6 +460,80 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
366
460
  opacity: 0.9;
367
461
  }
368
462
 
463
+ .gh-head-menu .nav-more-toggle {
464
+ position: relative;
465
+ width: 30px;
466
+ height: 30px;
467
+ margin: 0 -6px;
468
+ padding: 0;
469
+ font-size: inherit;
470
+ background-color: transparent;
471
+ text-transform: inherit;
472
+ }
473
+
474
+ .gh-head-menu .nav-more-toggle svg {
475
+ width: 24px;
476
+ height: 24px;
477
+ }
478
+
479
+ @media (min-width: 992px) {
480
+ body:not(.is-dropdown-loaded) .gh-head-menu .nav > li {
481
+ opacity: 0;
482
+ }
483
+ }
484
+
485
+
486
+ /* Dropdown
487
+ /* ---------------------------------------------------------- */
488
+
489
+ .gh-dropdown {
490
+ position: absolute;
491
+ top: 100%;
492
+ right: -16px;
493
+ z-index: 90;
494
+ width: 200px;
495
+ padding: 12px 0;
496
+ margin-top: 24px;
497
+ opacity: 0;
498
+ visibility: hidden;
499
+ text-align: left;
500
+ background-color: #fff;
501
+ border-radius: 5px;
502
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 7px 20px -5px rgba(0, 0, 0, 0.15);
503
+ transform: translate3d(0, 6px, 0);
504
+ transition: opacity 0.3s, transform 0.2s;
505
+ }
506
+
507
+ .is-head-middle-logo .gh-dropdown {
508
+ right: auto;
509
+ left: -24px;
510
+ }
511
+
512
+ .is-dropdown-mega .gh-dropdown {
513
+ display: grid;
514
+ grid-template-columns: 1fr 1fr;
515
+ grid-auto-flow: column;
516
+ column-gap: 40px;
517
+ width: auto;
518
+ padding: 20px 32px;
519
+ }
520
+
521
+ .is-dropdown-open .gh-dropdown {
522
+ opacity: 1;
523
+ visibility: visible;
524
+ transform: translateY(0);
525
+ }
526
+
527
+ .gh-head-menu .gh-dropdown li a {
528
+ display: block;
529
+ padding: 6px 20px;
530
+ color: #15171a;
531
+ }
532
+
533
+ .is-dropdown-mega .gh-dropdown li a {
534
+ padding: 8px 0;
535
+ }
536
+
369
537
 
370
538
  /* Secondary Navigation
371
539
  /* ---------------------------------------------------------- */
@@ -401,13 +569,14 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
401
569
 
402
570
  .gh-head-button {
403
571
  display: inline-flex;
572
+ justify-content: center;
404
573
  align-items: center;
405
- padding: 8px 16px;
406
- height: 40px;
574
+ padding: 8px 20px;
575
+ height: 44px;
407
576
  font-weight: 600;
408
577
  letter-spacing: -0.005em;
409
- font-size: 1.5rem;
410
- border-radius: 6px;
578
+ font-size: 1.6rem;
579
+ border-radius: 48px;
411
580
  color: #fff;
412
581
  background: var(--ghost-accent-color);
413
582
  }
@@ -417,38 +586,6 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
417
586
  background: #fff;
418
587
  }
419
588
 
420
- /* Search
421
- /* ---------------------------------------------------------- */
422
-
423
- .gh-search {
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;
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
589
 
453
590
  /* Search
454
591
  /* ---------------------------------------------------------- */
@@ -475,7 +612,7 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
475
612
  }
476
613
 
477
614
  .gh-head-actions .gh-search {
478
- margin-right: -10px;
615
+ margin-right: -4px;
479
616
  }
480
617
 
481
618
  @media (max-width: 991px) {
@@ -497,86 +634,48 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
497
634
  .gh-burger {
498
635
  position: relative;
499
636
  display: none;
637
+ width: 30px;
638
+ height: 30px;
639
+ padding: 0;
640
+ margin-right: -3px;
500
641
  cursor: pointer;
642
+ background-color: transparent;
643
+ border: 0;
644
+ appearance: none;
501
645
  }
502
646
 
503
- .gh-burger-box {
504
- position: relative;
505
- display: flex;
506
- align-items: center;
507
- justify-content: center;
508
- width: 33px;
509
- height: 33px;
510
- }
511
-
512
- .has-cover .gh-burger-box {
513
- color: #fff;
514
- }
515
-
516
- .gh-burger-inner {
517
- width: 100%;
518
- height: 100%;
519
- }
520
-
521
- .gh-burger-box::before {
522
- position: absolute;
523
- display: block;
524
- top: 0;
525
- left: 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 {
647
+ .gh-burger::before,
648
+ .gh-burger::after {
538
649
  position: absolute;
539
- display: block;
540
- top: 0;
541
- left: 0;
542
- bottom: 0;
543
- margin: auto;
544
- content: '';
545
- width: 100%;
650
+ left: 3px;
651
+ width: 24px;
546
652
  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;
653
+ content: "";
654
+ background-color: var(--color-darkgrey);
655
+ transition: all 0.2s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
550
656
  }
551
657
 
552
- .gh-burger-inner::before {
553
- transform: translatey(-6px);
554
- }
555
- .gh-burger-inner::after {
556
- transform: translatey(6px);
658
+ .has-cover .gh-burger::before,
659
+ .has-cover .gh-burger::after {
660
+ background-color: #fff;
557
661
  }
558
662
 
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);
663
+ .gh-burger::before {
664
+ top: 11px;
564
665
  }
565
666
 
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);
667
+ .gh-burger::after {
668
+ bottom: 11px;
570
669
  }
571
670
 
572
- .gh-head-open .gh-burger-inner::before {
573
- width: 26px;
574
- transform: translatex(6px) rotate(135deg);
671
+ .gh-head-open .gh-burger::before {
672
+ top: 15px;
673
+ transform: rotate(45deg);
575
674
  }
576
675
 
577
- .gh-head-open .gh-burger-inner::after {
578
- width: 26px;
579
- transform: translatex(6px) rotate(-135deg);
676
+ .gh-head-open .gh-burger::after {
677
+ bottom: 14px;
678
+ transform: rotate(-45deg);
580
679
  }
581
680
 
582
681
 
@@ -585,89 +684,127 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
585
684
  /* IDs needed to ensure sufficient specificity */
586
685
 
587
686
  @media (max-width: 991px) {
588
- .gh-burger {
589
- display: inline-block;
590
- }
591
687
  #gh-head {
592
- overflow: hidden;
688
+ height: 64px;
593
689
  }
690
+
594
691
  #gh-head .gh-head-inner {
595
- height: 100%;
692
+ grid-template-rows: auto 1fr auto;
596
693
  grid-template-columns: 1fr;
694
+ gap: 48px;
597
695
  }
696
+
598
697
  #gh-head .gh-head-brand {
599
- position: relative;
600
- z-index: 10;
601
- grid-column-start: auto;
602
- max-width: none;
603
- display: flex;
698
+ display: grid;
699
+ grid-template-columns: 1fr auto auto;
700
+ grid-column-start: 1;
604
701
  align-items: center;
605
- justify-content: space-between;
606
- user-select: none;
702
+ height: 64px;
607
703
  }
608
- .no-logo #gh-head .gh-head-brand {
609
- justify-content: flex-end;
704
+
705
+ #gh-head .gh-head-logo {
706
+ font-size: 2.2rem;
610
707
  }
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;
708
+
709
+ #gh-head .gh-head-brand .gh-search {
710
+ margin-left: -6px;
621
711
  }
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;
712
+
713
+ #gh-head .gh-burger {
714
+ display: block;
628
715
  }
716
+
717
+ #gh-head .gh-head-menu,
629
718
  #gh-head .gh-head-actions {
630
- flex-direction: column-reverse;
719
+ position: fixed;
631
720
  justify-content: center;
632
- padding: 20px 0 32px;
633
- text-align: left;
721
+ visibility: hidden;
722
+ opacity: 0;
634
723
  }
635
- /* Hide collapsed content */
636
- #gh-head .gh-head-actions,
724
+
637
725
  #gh-head .gh-head-menu {
638
- display: none;
726
+ margin: 0;
727
+ transition: none;
728
+ transform: translateY(0);
639
729
  }
640
- /* Open the menu */
641
- .gh-head-open {
642
- overflow: hidden;
643
- height: 100vh;
730
+
731
+ #gh-head .nav {
732
+ gap: 16px;
733
+ align-items: center;
734
+ line-height: 1.4;
735
+ }
736
+
737
+ #gh-head .nav a {
738
+ font-size: 2.6rem;
739
+ font-weight: 600;
740
+ text-transform: none;
741
+ }
742
+
743
+ #gh-head .nav li {
744
+ opacity: 0;
745
+ transform: translateY(-4px);
746
+ }
747
+
748
+ #gh-head .gh-head-button {
749
+ width: 100%;
750
+ font-size: 1.8rem;
751
+ text-transform: none;
752
+ opacity: 0;
753
+ transform: translateY(8px);
644
754
  }
755
+
645
756
  .gh-head-open #gh-head {
646
757
  position: fixed;
647
- top: 0;
648
758
  right: 0;
649
- bottom: 0;
650
759
  left: 0;
651
760
  z-index: 3999999;
761
+ height: 100vh;
652
762
  overflow-y: scroll;
763
+ -webkit-overflow-scrolling: touch;
653
764
  }
654
- .gh-head-open #gh-head .gh-head-inner {
655
- grid-template-rows: auto 1fr auto;
765
+
766
+ .gh-head-open.has-cover #gh-head,
767
+ .gh-head-open.has-cover #gh-head .gh-head-actions {
768
+ background-color: var(--ghost-accent-color);
656
769
  }
657
- .gh-head-open #gh-head .gh-head-actions,
658
- .gh-head-open #gh-head .gh-head-menu {
770
+
771
+ .gh-head-open #gh-head .gh-head-menu,
772
+ .gh-head-open #gh-head .gh-head-actions {
773
+ position: static;
774
+ visibility: visible;
775
+ opacity: 1;
776
+ }
777
+
778
+ .gh-head-open #gh-head .nav {
659
779
  display: flex;
780
+ flex-direction: column;
660
781
  }
661
- }
662
782
 
663
- @media (max-width: 600px) {
664
- #gh-head .gh-head-menu {
665
- font-size: 6vmin;
783
+ .gh-head-open #gh-head .nav li {
784
+ opacity: 1;
785
+ transition: transform 0.2s, opacity 0.2s;
786
+ transform: translateY(0);
666
787
  }
667
- }
668
788
 
669
- .has-cover.gh-head-open .gh-head {
670
- background: var(--ghost-accent-color);
789
+ .gh-head-open #gh-head .gh-head-actions {
790
+ position: sticky;
791
+ right: 0;
792
+ bottom: 0;
793
+ left: 0;
794
+ display: inline-flex;
795
+ flex-direction: column;
796
+ gap: 12px;
797
+ align-items: center;
798
+ padding: max(4vmin, 20px) 0;
799
+ background-color: #fff;
800
+ }
801
+
802
+ .gh-head-open #gh-head .gh-head-button {
803
+ opacity: 1;
804
+ transition: transform 0.4s, opacity 0.4s;
805
+ transition-delay: 0.2s;
806
+ transform: translateY(0);
807
+ }
671
808
  }
672
809
 
673
810
 
@@ -810,6 +947,7 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
810
947
  margin: 0;
811
948
  font-size: 2.6rem;
812
949
  font-weight: 800;
950
+ line-height: 1.2;
813
951
  }
814
952
 
815
953
  .post-card-content-link:hover .post-card-title {
@@ -962,7 +1100,7 @@ make sure this only happens on large viewports / desktop-ish devices.
962
1100
  .post-card-large .post-card-title {
963
1101
  margin-top: 0;
964
1102
  font-size: 4.4rem;
965
- line-height: 1;
1103
+ line-height: 1.05;
966
1104
  }
967
1105
 
968
1106
  .post-card-large .post-card-excerpt {
@@ -1042,7 +1180,7 @@ make sure this only happens on large viewports / desktop-ish devices.
1042
1180
  margin-bottom: 0;
1043
1181
  font-size: clamp(3.2rem, 5vw, 5.2rem);
1044
1182
  font-weight: 800;
1045
- line-height: 1;
1183
+ line-height: 1.05;
1046
1184
  color: var(--color-darkgrey);
1047
1185
  }
1048
1186
 
@@ -1719,7 +1857,7 @@ iframe.instagram-media + script + :not([id]) {
1719
1857
  }
1720
1858
 
1721
1859
  @media (min-width: 1001px) {
1722
- .author-template .post-card-large .post-card-content {
1860
+ .author-template .post-card-large .post-card-content:only-child {
1723
1861
  grid-column: span 2;
1724
1862
  max-width: 640px;
1725
1863
  }
@@ -1739,7 +1877,7 @@ iframe.instagram-media + script + :not([id]) {
1739
1877
  }
1740
1878
 
1741
1879
  @media (min-width: 1001px) {
1742
- .tag-template .post-card-large .post-card-content {
1880
+ .tag-template .post-card-large .post-card-content:only-child {
1743
1881
  grid-column: span 2;
1744
1882
  max-width: 640px;
1745
1883
  }