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,209 @@
1
+ /*! Media */
2
+
3
+ @media (max-width: 767px) {
4
+
5
+ .align-left,
6
+ .align-center,
7
+ .align-right,
8
+ .soames-section-btn,
9
+ .soames-section-title {
10
+ text-align: center;
11
+ }
12
+ }
13
+
14
+ .media-size-item {
15
+ -webkit-flex: 1 1 auto;
16
+ -moz-flex: 1 1 auto;
17
+ -ms-flex: 1 1 auto;
18
+ -o-flex: 1 1 auto;
19
+ flex: 1 1 auto;
20
+ }
21
+
22
+ .media-content {
23
+ -webkit-flex-basis: 100%;
24
+ flex-basis: 100%;
25
+ }
26
+
27
+ .media-container-row {
28
+ display: -ms-flexbox;
29
+ display: -webkit-flex;
30
+ display: flex;
31
+ -webkit-flex-direction: row;
32
+ -ms-flex-direction: row;
33
+ flex-direction: row;
34
+ -webkit-flex-wrap: wrap;
35
+ -ms-flex-wrap: wrap;
36
+ flex-wrap: wrap;
37
+ -webkit-justify-content: center;
38
+ -ms-flex-pack: center;
39
+ justify-content: center;
40
+ -webkit-align-content: center;
41
+ -ms-flex-line-pack: center;
42
+ align-content: center;
43
+ -webkit-align-items: start;
44
+ -ms-flex-align: start;
45
+ align-items: start;
46
+ }
47
+
48
+ .media-container-row .media-size-item {
49
+ width: 400px;
50
+ }
51
+
52
+ .media-container-column {
53
+ display: -ms-flexbox;
54
+ display: -webkit-flex;
55
+ display: flex;
56
+ -webkit-flex-direction: column;
57
+ -ms-flex-direction: column;
58
+ flex-direction: column;
59
+ -webkit-flex-wrap: wrap;
60
+ -ms-flex-wrap: wrap;
61
+ flex-wrap: wrap;
62
+ -webkit-justify-content: center;
63
+ -ms-flex-pack: center;
64
+ justify-content: center;
65
+ -webkit-align-content: center;
66
+ -ms-flex-line-pack: center;
67
+ align-content: center;
68
+ -webkit-align-items: stretch;
69
+ -ms-flex-align: stretch;
70
+ align-items: stretch;
71
+ }
72
+
73
+ .media-container-column>* {
74
+ width: 100%;
75
+ }
76
+
77
+ @media (min-width: 992px) {
78
+ .media-container-row {
79
+ -webkit-flex-wrap: nowrap;
80
+ -ms-flex-wrap: nowrap;
81
+ flex-wrap: nowrap;
82
+ }
83
+ }
84
+
85
+ figure {
86
+ overflow: hidden;
87
+ }
88
+
89
+ figure[soames-media-size] {
90
+ transition: width 0.1s;
91
+ }
92
+
93
+ .soames-figure img,
94
+ .soames-figure iframe {
95
+ display: block;
96
+ width: 100%;
97
+ }
98
+
99
+ .card {
100
+ background-color: transparent;
101
+ border: none;
102
+ }
103
+
104
+ .card-box {
105
+ width: 100%;
106
+ }
107
+
108
+ .card-img {
109
+ text-align: center;
110
+ flex-shrink: 0;
111
+ -webkit-flex-shrink: 0;
112
+ }
113
+
114
+ .media {
115
+ max-width: 100%;
116
+ margin: 0 auto;
117
+ }
118
+
119
+ .soames-figure {
120
+ -ms-flex-item-align: center;
121
+ -ms-grid-row-align: center;
122
+ -webkit-align-self: center;
123
+ align-self: center;
124
+ }
125
+
126
+ .media-container>div {
127
+ max-width: 100%;
128
+ }
129
+
130
+ .soames-figure img,
131
+ .card-img img {
132
+ width: 100%;
133
+ }
134
+
135
+ @media (max-width: 991px) {
136
+ .media-size-item {
137
+ width: auto !important;
138
+ }
139
+
140
+ .media {
141
+ width: auto;
142
+ }
143
+
144
+ .soames-figure {
145
+ width: 100% !important;
146
+ }
147
+ }
148
+
149
+
150
+ @media (min-width: 768px) and (max-width: 1023px) {
151
+ .menu .navbar-toggleable-sm .navbar-nav {
152
+ display: -webkit-box;
153
+ display: -webkit-flex;
154
+ display: -ms-flexbox;
155
+ }
156
+ }
157
+
158
+ @media (max-width: 1023px) {
159
+ .menu .navbar-collapse {
160
+ max-height: 93.5vh;
161
+ }
162
+
163
+ .menu .navbar-collapse.show {
164
+ overflow: auto;
165
+ }
166
+ }
167
+
168
+ @media (min-width: 1024px) {
169
+ .menu .navbar-nav.nav-dropdown {
170
+ display: -webkit-flex;
171
+ }
172
+
173
+ .menu .navbar-toggleable-sm .navbar-collapse {
174
+ display: -webkit-flex !important;
175
+ }
176
+
177
+ .menu .collapsed .navbar-collapse {
178
+ max-height: 93.5vh;
179
+ }
180
+
181
+ .menu .collapsed .navbar-collapse.show {
182
+ overflow: auto;
183
+ }
184
+ }
185
+
186
+ @media (max-width: 767px) {
187
+ .menu .navbar-collapse {
188
+ max-height: 80vh;
189
+ }
190
+ }
191
+
192
+ /*! Full-screen */
193
+
194
+ .soames-fullscreen .soames-overlay {
195
+ min-height: 100vh;
196
+ }
197
+
198
+ .soames-fullscreen {
199
+ display: flex;
200
+ display: -webkit-flex;
201
+ display: -moz-flex;
202
+ display: -ms-flex;
203
+ display: -o-flex;
204
+ align-items: center;
205
+ -webkit-align-items: center;
206
+ min-height: 100vh;
207
+ padding-top: 3rem;
208
+ padding-bottom: 3rem;
209
+ }