soames-gatsby-theme 0.1.0

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 (73) hide show
  1. package/LICENSE +29 -0
  2. package/README.md +24 -0
  3. package/dist/gatsby-config.js +47 -0
  4. package/dist/gatsby-node.js +7 -0
  5. package/dist/src/components/Bio.js +23 -0
  6. package/dist/src/components/BlogSidebar.js +30 -0
  7. package/dist/src/components/Footer.js +11 -0
  8. package/dist/src/components/FooterMenu.js +26 -0
  9. package/dist/src/components/Header.js +12 -0
  10. package/dist/src/components/HeaderMenu.js +34 -0
  11. package/dist/src/components/HeroHeader.js +39 -0
  12. package/dist/src/components/Layout.js +24 -0
  13. package/dist/src/components/Logo.js +17 -0
  14. package/dist/src/components/Seo.js +59 -0
  15. package/dist/src/components/shortcodes/RemoveContentAreaPadding.js +12 -0
  16. package/dist/src/components/shortcodes/SoamesFeature.js +9 -0
  17. package/dist/src/components/shortcodes/SoamesGalleryMenu.js +15 -0
  18. package/dist/src/components/shortcodes/SoamesIconList.js +15 -0
  19. package/dist/src/components/shortcodes/SoamesSoundCloud.js +18 -0
  20. package/dist/src/components/shortcodes/SoamesTextBlock.js +8 -0
  21. package/dist/src/components/shortcodes/SoamesTextList.js +8 -0
  22. package/dist/src/components/shortcodes/SoamesTitle.js +7 -0
  23. package/dist/src/components/shortcodes/SoamesTitleBar.js +7 -0
  24. package/dist/src/components/shortcodes/SoamesTitleBarLg.js +25 -0
  25. package/dist/src/components/shortcodes/SoamesVideo.js +8 -0
  26. package/dist/src/pages/index.js +9 -0
  27. package/dist/src/templates/blog-post-archive.js +59 -0
  28. package/dist/src/templates/blog-post.js +67 -0
  29. package/dist/src/templates/page.js +33 -0
  30. package/dist/src/utils/shortcodes/Shortcodes.js +105 -0
  31. package/dist/src/utils/shortcodes/getAttributes.js +18 -0
  32. package/dist/src/utils/shortcodes/getContent.js +7 -0
  33. package/gatsby-browser.js +11 -0
  34. package/gatsby-node.js +138 -0
  35. package/gatsby-ssr.js +12 -0
  36. package/package.json +76 -0
  37. package/src/components/Bio.tsx +63 -0
  38. package/src/components/BlogSidebar.tsx +86 -0
  39. package/src/components/Footer.tsx +53 -0
  40. package/src/components/FooterMenu.tsx +66 -0
  41. package/src/components/Header.tsx +37 -0
  42. package/src/components/HeaderMenu.tsx +123 -0
  43. package/src/components/HeroHeader.tsx +75 -0
  44. package/src/components/Layout.tsx +60 -0
  45. package/src/components/Logo.tsx +49 -0
  46. package/src/components/Seo.tsx +84 -0
  47. package/src/components/shortcodes/RemoveContentAreaPadding.tsx +13 -0
  48. package/src/components/shortcodes/SoamesFeature.tsx +54 -0
  49. package/src/components/shortcodes/SoamesGalleryMenu.tsx +63 -0
  50. package/src/components/shortcodes/SoamesIconList.tsx +57 -0
  51. package/src/components/shortcodes/SoamesSoundCloud.tsx +71 -0
  52. package/src/components/shortcodes/SoamesTextBlock.tsx +27 -0
  53. package/src/components/shortcodes/SoamesTextList.tsx +27 -0
  54. package/src/components/shortcodes/SoamesTitle.tsx +23 -0
  55. package/src/components/shortcodes/SoamesTitleBar.tsx +21 -0
  56. package/src/components/shortcodes/SoamesTitleBarLg.tsx +56 -0
  57. package/src/components/shortcodes/SoamesVideo.tsx +34 -0
  58. package/src/styles/soames/base.css +592 -0
  59. package/src/styles/soames/components.css +1551 -0
  60. package/src/styles/soames/layout.css +209 -0
  61. package/src/styles/soames/overrides.css +1779 -0
  62. package/src/styles/soames/typography.css +23 -0
  63. package/src/styles/theme.css +8 -0
  64. package/src/styles/vendor/normalize.css +343 -0
  65. package/src/styles/vendor/wordpress-blocks.css +3451 -0
  66. package/src/templates/blog-post-archive.tsx +167 -0
  67. package/src/templates/blog-post.tsx +183 -0
  68. package/src/templates/page.tsx +65 -0
  69. package/src/utils/shortcodes/Shortcodes.tsx +119 -0
  70. package/src/utils/shortcodes/getAttributes.ts +19 -0
  71. package/src/utils/shortcodes/getContent.ts +5 -0
  72. package/static/js/soames-nav-dropdown.js +646 -0
  73. package/static/js/soames-navbar-dropdown.js +127 -0
@@ -0,0 +1,592 @@
1
+ .navbar-dropdown {
2
+ left: 0;
3
+ padding: 0;
4
+ position: absolute;
5
+ right: 0;
6
+ top: 0;
7
+ transition: all 0.45s ease;
8
+ z-index: 1030;
9
+ background: #bc361b;
10
+ }
11
+
12
+ .navbar-dropdown .navbar-logo {
13
+ margin-right: 0.8rem;
14
+ transition: margin 0.3s ease-in-out;
15
+ vertical-align: middle;
16
+ }
17
+
18
+ .navbar-dropdown .navbar-logo img {
19
+ height: 3.125rem;
20
+ transition: all 0.3s ease-in-out;
21
+ }
22
+
23
+ .navbar-dropdown .navbar-logo.soames-iconfont {
24
+ font-size: 3.125rem;
25
+ line-height: 3.125rem;
26
+ }
27
+
28
+ .navbar-dropdown .navbar-caption {
29
+ font-weight: 700;
30
+ white-space: normal;
31
+ vertical-align: -4px;
32
+ line-height: 3.125rem !important;
33
+ }
34
+
35
+ .navbar-dropdown .navbar-caption,
36
+ .navbar-dropdown .navbar-caption:hover {
37
+ color: inherit;
38
+ text-decoration: none;
39
+ }
40
+
41
+ .navbar-dropdown .soames-iconfont+.navbar-caption {
42
+ vertical-align: -1px;
43
+ }
44
+
45
+ .navbar-dropdown.navbar-fixed-top {
46
+ position: fixed;
47
+ }
48
+
49
+ .navbar-dropdown .navbar-brand span {
50
+ vertical-align: -4px;
51
+ }
52
+
53
+ .navbar-dropdown.bg-color.transparent {
54
+ background: none;
55
+ }
56
+
57
+ .navbar-dropdown.navbar-short .navbar-brand {
58
+ padding: 0.625rem 0;
59
+ }
60
+
61
+ .navbar-dropdown.navbar-short .navbar-brand span {
62
+ vertical-align: -1px;
63
+ }
64
+
65
+ .navbar-dropdown.navbar-short .navbar-caption {
66
+ line-height: 2.375rem !important;
67
+ vertical-align: -2px;
68
+ }
69
+
70
+ .navbar-dropdown.navbar-short .navbar-logo {
71
+ margin-right: 0.5rem;
72
+ }
73
+
74
+ .navbar-dropdown.navbar-short .navbar-logo img {
75
+ height: 2.375rem;
76
+ }
77
+
78
+ .navbar-dropdown.navbar-short .navbar-logo.soames-iconfont {
79
+ font-size: 2.375rem;
80
+ line-height: 2.375rem;
81
+ }
82
+
83
+ .navbar-dropdown.navbar-short .soames-table-cell {
84
+ height: 3.625rem;
85
+ }
86
+
87
+ .navbar-dropdown .navbar-close {
88
+ left: 0.6875rem;
89
+ position: fixed;
90
+ top: 0.75rem;
91
+ z-index: 1000;
92
+ }
93
+
94
+ .navbar-dropdown .hamburger-icon {
95
+ content: "";
96
+ display: inline-block;
97
+ vertical-align: middle;
98
+ width: 16px;
99
+ -webkit-box-shadow: 0 -6px 0 1px #bc361b, 0 0 0 1px #bc361b, 0 6px 0 1px #bc361b;
100
+ -moz-box-shadow: 0 -6px 0 1px #bc361b, 0 0 0 1px #bc361b, 0 6px 0 1px #bc361b;
101
+ box-shadow: 0 -6px 0 1px #bc361b, 0 0 0 1px #bc361b, 0 6px 0 1px #bc361b;
102
+ }
103
+
104
+ .dropdown-menu .dropdown-toggle[data-toggle="dropdown-submenu"]::after {
105
+ border-bottom: 0.35em solid transparent;
106
+ border-left: 0.35em solid;
107
+ border-right: 0;
108
+ border-top: 0.35em solid transparent;
109
+ margin-left: 0.3rem;
110
+ }
111
+
112
+ .dropdown-menu .dropdown-item:focus {
113
+ outline: 0;
114
+ }
115
+
116
+ .nav-dropdown {
117
+ font-size: 0.75rem;
118
+ font-weight: 500;
119
+ height: auto !important;
120
+ }
121
+
122
+ .nav-dropdown .nav-btn {
123
+ padding-left: 1rem;
124
+ }
125
+
126
+ .nav-dropdown .link {
127
+ margin: .667em 1.667em;
128
+ font-weight: 500;
129
+ padding: 0;
130
+ transition: color .2s ease-in-out;
131
+ }
132
+
133
+ .nav-dropdown .link.dropdown-toggle {
134
+ margin-right: 2.583em;
135
+ }
136
+
137
+ .nav-dropdown .link.dropdown-toggle::after {
138
+ margin-left: .25rem;
139
+ border-top: 0.35em solid;
140
+ border-right: 0.35em solid transparent;
141
+ border-left: 0.35em solid transparent;
142
+ border-bottom: 0;
143
+ }
144
+
145
+ .nav-dropdown .link.dropdown-toggle[aria-expanded="true"] {
146
+ margin: 0;
147
+ padding: 0.667em 3.263em 0.667em 1.667em;
148
+ }
149
+
150
+ .nav-dropdown .link::after,
151
+ .nav-dropdown .dropdown-item::after {
152
+ color: inherit;
153
+ }
154
+
155
+ .nav-dropdown .btn {
156
+ font-size: 0.75rem;
157
+ font-weight: 700;
158
+ letter-spacing: 0;
159
+ margin-bottom: 0;
160
+ padding-left: 1.25rem;
161
+ padding-right: 1.25rem;
162
+ }
163
+
164
+ .nav-dropdown .dropdown-menu {
165
+ border-radius: 0;
166
+ border: 0;
167
+ left: 0;
168
+ margin: 0;
169
+ padding-bottom: 1.25rem;
170
+ padding-top: 1.25rem;
171
+ position: relative;
172
+ }
173
+
174
+ .nav-dropdown .dropdown-submenu {
175
+ margin-left: 0.125rem;
176
+ top: 0;
177
+ }
178
+
179
+ .nav-dropdown .dropdown-item {
180
+ font-weight: 500;
181
+ line-height: 2;
182
+ padding: 0.3846em 4.615em 0.3846em 1.5385em;
183
+ position: relative;
184
+ transition: color .2s ease-in-out, background-color .2s ease-in-out;
185
+ }
186
+
187
+ .nav-dropdown .dropdown-item::after {
188
+ margin-top: -0.3077em;
189
+ position: absolute;
190
+ right: 1.1538em;
191
+ top: 50%;
192
+ }
193
+
194
+ .nav-dropdown .dropdown-item:focus,
195
+ .nav-dropdown .dropdown-item:hover {
196
+ background: none;
197
+ }
198
+
199
+ @media (max-width: 767px) {
200
+ .nav-dropdown.navbar-toggleable-sm {
201
+ bottom: 0;
202
+ display: none;
203
+ left: 0;
204
+ overflow-x: hidden;
205
+ position: fixed;
206
+ top: 0;
207
+ transform: translateX(-100%);
208
+ -ms-transform: translateX(-100%);
209
+ -webkit-transform: translateX(-100%);
210
+ width: 18.75rem;
211
+ z-index: 999;
212
+ }
213
+ }
214
+
215
+ .nav-dropdown.navbar-toggleable-xl {
216
+ bottom: 0;
217
+ display: none;
218
+ left: 0;
219
+ overflow-x: hidden;
220
+ position: fixed;
221
+ top: 0;
222
+ transform: translateX(-100%);
223
+ -ms-transform: translateX(-100%);
224
+ -webkit-transform: translateX(-100%);
225
+ width: 18.75rem;
226
+ z-index: 999;
227
+ }
228
+
229
+ .nav-dropdown-sm {
230
+ display: block !important;
231
+ overflow-x: hidden;
232
+ overflow: auto;
233
+ padding-top: 3.875rem;
234
+ }
235
+
236
+ .nav-dropdown-sm::after {
237
+ content: "";
238
+ display: block;
239
+ height: 3rem;
240
+ width: 100%;
241
+ }
242
+
243
+ .nav-dropdown-sm.collapse.in~.navbar-close {
244
+ display: block !important;
245
+ }
246
+
247
+ .nav-dropdown-sm.collapsing,
248
+ .nav-dropdown-sm.collapse.in {
249
+ transform: translateX(0);
250
+ -ms-transform: translateX(0);
251
+ -webkit-transform: translateX(0);
252
+ transition: all 0.25s ease-out;
253
+ -webkit-transition: all 0.25s ease-out;
254
+ background: #bc361b;
255
+ }
256
+
257
+ .nav-dropdown-sm.collapsing[aria-expanded="false"] {
258
+ transform: translateX(-100%);
259
+ -ms-transform: translateX(-100%);
260
+ -webkit-transform: translateX(-100%);
261
+ }
262
+
263
+ .nav-dropdown-sm .nav-item {
264
+ display: block;
265
+ margin-left: 0 !important;
266
+ padding-left: 0;
267
+ }
268
+
269
+ .nav-dropdown-sm .link,
270
+ .nav-dropdown-sm .dropdown-item {
271
+ border-top: 1px dotted rgba(255, 255, 255, 0.1);
272
+ font-size: 0.8125rem;
273
+ line-height: 1.6;
274
+ margin: 0 !important;
275
+ padding: 0.875rem 2.4rem 0.875rem 1.5625rem !important;
276
+ position: relative;
277
+ white-space: normal;
278
+ }
279
+
280
+ .nav-dropdown-sm .link:focus,
281
+ .nav-dropdown-sm .link:hover,
282
+ .nav-dropdown-sm .dropdown-item:focus,
283
+ .nav-dropdown-sm .dropdown-item:hover {
284
+ background: rgba(0, 0, 0, 0.2) !important;
285
+ color: #c0a375;
286
+ }
287
+
288
+ .nav-dropdown-sm .nav-btn {
289
+ position: relative;
290
+ padding: 1.5625rem 1.5625rem 0 1.5625rem;
291
+ }
292
+
293
+ .nav-dropdown-sm .nav-btn::before {
294
+ border-top: 1px dotted rgba(255, 255, 255, 0.1);
295
+ content: "";
296
+ left: 0;
297
+ position: absolute;
298
+ top: 0;
299
+ width: 100%;
300
+ }
301
+
302
+ .nav-dropdown-sm .nav-btn+.nav-btn {
303
+ padding-top: 0.625rem;
304
+ }
305
+
306
+ .nav-dropdown-sm .nav-btn+.nav-btn::before {
307
+ display: none;
308
+ }
309
+
310
+ .nav-dropdown-sm .btn {
311
+ padding: 0.625rem 0;
312
+ }
313
+
314
+ .nav-dropdown-sm .dropdown-toggle[data-toggle="dropdown-submenu"]::after {
315
+ margin-left: .25rem;
316
+ border-top: 0.35em solid;
317
+ border-right: 0.35em solid transparent;
318
+ border-left: 0.35em solid transparent;
319
+ border-bottom: 0;
320
+ }
321
+
322
+ .nav-dropdown-sm .dropdown-toggle[data-toggle="dropdown-submenu"][aria-expanded="true"]::after {
323
+ border-top: 0;
324
+ border-right: 0.35em solid transparent;
325
+ border-left: 0.35em solid transparent;
326
+ border-bottom: 0.35em solid;
327
+ }
328
+
329
+ .nav-dropdown-sm .dropdown-menu {
330
+ margin: 0;
331
+ padding: 0;
332
+ position: relative;
333
+ top: 0;
334
+ left: 0;
335
+ width: 100%;
336
+ border: 0;
337
+ float: none;
338
+ border-radius: 0;
339
+ background: none;
340
+ }
341
+
342
+ .nav-dropdown-sm .dropdown-submenu {
343
+ left: 100%;
344
+ margin-left: 0.125rem;
345
+ margin-top: -1.25rem;
346
+ top: 0;
347
+ }
348
+
349
+ .navbar-toggleable-sm .nav-dropdown .dropdown-menu {
350
+ position: absolute;
351
+ }
352
+
353
+ .navbar-toggleable-sm .nav-dropdown .dropdown-submenu {
354
+ left: 100%;
355
+ margin-left: 0.125rem;
356
+ margin-top: -1.25rem;
357
+ top: 0;
358
+ }
359
+
360
+ .navbar-toggleable-sm.opened .nav-dropdown .dropdown-menu {
361
+ position: relative;
362
+ }
363
+
364
+ .navbar-toggleable-sm.opened .nav-dropdown .dropdown-submenu {
365
+ left: 0;
366
+ margin-left: 00rem;
367
+ margin-top: 0rem;
368
+ top: 0;
369
+ }
370
+
371
+ .is-builder .nav-dropdown.collapsing {
372
+ transition: none !important;
373
+ }
374
+
375
+ /*# sourceMappingURL=style.css.map */
376
+
377
+ html,
378
+ body {
379
+ height: auto;
380
+ min-height: 100vh;
381
+ }
382
+
383
+ body {
384
+ font-style: normal;
385
+ line-height: 1.5;
386
+ color: #232323;
387
+ position: relative;
388
+ margin: 0;
389
+ }
390
+
391
+ section,
392
+ .container,
393
+ .container-fluid {
394
+ position: relative;
395
+ word-wrap: break-word;
396
+ }
397
+
398
+ a.soames-iconfont:hover {
399
+ text-decoration: none;
400
+ }
401
+
402
+ .article {
403
+ background-color: white;
404
+ }
405
+
406
+ .article .lead p,
407
+ .article .lead ul,
408
+ .article .lead ol,
409
+ .article .lead pre,
410
+ .article .lead blockquote {
411
+ margin-bottom: 0;
412
+ }
413
+
414
+ ul,
415
+ ol,
416
+ pre,
417
+ blockquote {
418
+ margin-bottom: 2.3125rem;
419
+ }
420
+
421
+ pre {
422
+ background: #f4f4f4;
423
+ padding: 10px 24px;
424
+ white-space: pre-wrap;
425
+ }
426
+
427
+ .inactive {
428
+ -webkit-user-select: none;
429
+ -moz-user-select: none;
430
+ -ms-user-select: none;
431
+ user-select: none;
432
+ pointer-events: none;
433
+ -webkit-user-drag: none;
434
+ user-drag: none;
435
+ }
436
+
437
+ .soames-section__comments .row {
438
+ justify-content: center;
439
+ -webkit-justify-content: center;
440
+ }
441
+
442
+ a {
443
+ font-style: normal;
444
+ font-weight: 400;
445
+ cursor: pointer;
446
+ }
447
+
448
+ a,
449
+ a:hover {
450
+ text-decoration: none;
451
+ }
452
+
453
+ figure {
454
+ margin-bottom: 0;
455
+ }
456
+
457
+ h1,
458
+ h2,
459
+ h3,
460
+ h4,
461
+ h5,
462
+ h6,
463
+ .h1,
464
+ .h2,
465
+ .h3,
466
+ .h4,
467
+ .h5,
468
+ .h6,
469
+ .display-1,
470
+ .display-2,
471
+ .display-3,
472
+ .display-4 {
473
+ line-height: 1;
474
+ word-break: break-word;
475
+ word-wrap: break-word;
476
+ }
477
+
478
+ .soames-section-title {
479
+ font-style: normal;
480
+ line-height: 1.2;
481
+ color: #ffffff;
482
+ }
483
+
484
+ .soames-section-subtitle {
485
+ line-height: 1.3;
486
+ color: #ffffff;
487
+ }
488
+
489
+ .soames-text {
490
+ font-style: normal;
491
+ line-height: 1.6;
492
+ }
493
+
494
+ b,
495
+ strong {
496
+ font-weight: bold;
497
+ }
498
+
499
+ blockquote {
500
+ padding: 10px 0 10px 20px;
501
+ position: relative;
502
+ border-left: 2px solid;
503
+ border-color: #ff3366;
504
+ }
505
+
506
+ input:-webkit-autofill,
507
+ input:-webkit-autofill:hover,
508
+ input:-webkit-autofill:focus,
509
+ input:-webkit-autofill:active {
510
+ transition-delay: 9999s;
511
+ transition-property: background-color, color;
512
+ }
513
+
514
+ textarea[type='hidden'] {
515
+ display: none;
516
+ }
517
+
518
+ section {
519
+ background-position: 50% 50%;
520
+ background-repeat: no-repeat;
521
+ background-size: cover;
522
+ }
523
+
524
+ section .soames-background-video,
525
+ section .soames-background-video-preview {
526
+ position: absolute;
527
+ bottom: 0;
528
+ left: 0;
529
+ right: 0;
530
+ top: 0;
531
+ }
532
+
533
+ .hidden {
534
+ visibility: hidden;
535
+ }
536
+
537
+ .soames-z-index20 {
538
+ z-index: 20;
539
+ }
540
+
541
+ /*! Base colors */
542
+ .soames-white {
543
+ color: #ffffff;
544
+ }
545
+
546
+ .soames-black {
547
+ color: #000000;
548
+ }
549
+
550
+ .soames-bg-white {
551
+ background-color: #ffffff;
552
+ }
553
+
554
+ .soames-bg-black {
555
+ background-color: #000000;
556
+ }
557
+
558
+ /*! Text-aligns */
559
+ .align-left {
560
+ text-align: left;
561
+ }
562
+
563
+ .align-center {
564
+ text-align: center;
565
+ }
566
+
567
+ .align-right {
568
+ text-align: right;
569
+ }
570
+
571
+ /*! Map */
572
+ .map {
573
+ height: 25rem;
574
+ position: relative;
575
+ }
576
+
577
+ .map iframe {
578
+ width: 100%;
579
+ height: 100%;
580
+ }
581
+
582
+ .soames-overlay {
583
+ background-color: #000;
584
+ bottom: 0;
585
+ left: 0;
586
+ opacity: .5;
587
+ position: absolute;
588
+ right: 0;
589
+ top: 0;
590
+ z-index: 0;
591
+ pointer-events: none;
592
+ }