ghost 4.26.0 → 4.27.2

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 (36) hide show
  1. package/content/themes/casper/assets/built/screen.css +1 -1
  2. package/content/themes/casper/assets/built/screen.css.map +1 -1
  3. package/content/themes/casper/assets/css/screen.css +29 -4
  4. package/content/themes/casper/package.json +1 -1
  5. package/core/built/assets/{chunk.3.8f95b516d88ff4eec64c.js → chunk.3.e54be01b5124e4e27958.js} +7 -7
  6. package/core/built/assets/ghost-dark-485081d359d3ce1412ccd09a8f5b83d9.css +1 -0
  7. package/core/built/assets/{ghost.min-f3c6886e191d34450e9ffca0c8fa056e.js → ghost.min-3224fe43ca0ca4d6184f579d165ad801.js} +132 -129
  8. package/core/built/assets/ghost.min-e272e8cd67577087cee1c853694e2852.css +1 -0
  9. package/core/built/assets/icons/audio-file.svg +5 -0
  10. package/core/built/assets/icons/film-camera.svg +4 -0
  11. package/core/built/assets/icons/mute.svg +3 -0
  12. package/core/built/assets/icons/pause.svg +4 -0
  13. package/core/built/assets/icons/play.svg +3 -0
  14. package/core/built/assets/icons/unmute.svg +3 -0
  15. package/core/built/assets/{vendor.min-b6b8d2a31d61830c2d8f65c5ba54236a.js → vendor.min-08ca94a205555a22db64e8d595062c63.js} +680 -591
  16. package/core/frontend/helpers/ghost_head.js +1 -1
  17. package/core/frontend/src/cards/css/audio.css +228 -128
  18. package/core/frontend/src/cards/css/blockquote.css +6 -10
  19. package/core/frontend/src/cards/css/button.css +4 -4
  20. package/core/frontend/src/cards/css/nft.css +7 -6
  21. package/core/frontend/src/cards/css/product.css +109 -0
  22. package/core/frontend/src/cards/css/toggle.css +8 -8
  23. package/core/frontend/src/cards/css/video.css +4 -0
  24. package/core/frontend/src/cards/js/audio.js +120 -111
  25. package/core/frontend/src/cards/js/gallery.js +10 -8
  26. package/core/frontend/src/cards/js/toggle.js +16 -14
  27. package/core/server/services/mega/post-email-serializer.js +3 -1
  28. package/core/server/services/mega/template.js +2 -2
  29. package/core/server/services/twitter-embed.js +2 -1
  30. package/core/server/web/admin/views/default-prod.html +4 -4
  31. package/core/server/web/admin/views/default.html +4 -4
  32. package/core/shared/labs.js +5 -3
  33. package/package.json +20 -17
  34. package/yarn.lock +2561 -2120
  35. package/core/built/assets/ghost-dark-ef86e3bc7f0fb83d39d3d6a49bff8dd5.css +0 -1
  36. package/core/built/assets/ghost.min-57c1e677f42d596942d317ce93e8a62c.css +0 -1
@@ -199,7 +199,7 @@ module.exports = function ghost_head(options) { // eslint-disable-line camelcase
199
199
 
200
200
  // @TODO do this in a more "frameworky" way
201
201
  if (cardAssetService.hasFile('js')) {
202
- head.push(`<script async src="${getAssetUrl('public/cards.min.js')}"></script>`);
202
+ head.push(`<script defer src="${getAssetUrl('public/cards.min.js')}"></script>`);
203
203
  }
204
204
  if (cardAssetService.hasFile('css')) {
205
205
  head.push(`<link rel="stylesheet" type="text/css" href="${getAssetUrl('public/cards.min.css')}">`);
@@ -1,186 +1,286 @@
1
1
  .kg-audio-card {
2
- margin-top: 7vmin;
2
+ display: flex;
3
+ width: 100%;
4
+ min-height: 96px;
5
+ box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
3
6
  }
4
7
 
5
- .kg-audio-player-container button {
6
- padding: 0;
7
- border: 0;
8
- background: transparent;
9
- cursor: pointer;
10
- outline: none;
11
- width: 40px;
12
- height: 40px;
13
- float: left;
8
+ .kg-audio-thumbnail {
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+ width: 80px;
13
+ min-width: 80px;
14
+ margin: 8px;
15
+ background: var(--ghost-accent-color);
16
+ object-fit: cover;
17
+ aspect-ratio: 1/1;
18
+ border-radius: 3px;
19
+ }
20
+
21
+ .kg-audio-thumbnail svg {
22
+ width: 24px;
23
+ height: 24px;
24
+ fill: white;
14
25
  }
15
26
 
16
- .kg-audio-player-container {
27
+ .kg-player-container {
17
28
  position: relative;
18
- /* margin: 0 2.5% auto 2.5%; */
29
+ display: flex;
30
+ flex-direction: column;
31
+ justify-content: space-between;
19
32
  width: 100%;
20
- /* max-width: 500px; */
21
- height: 132px;
22
- background: #fff;
23
- font-family: Arial, Helvetica, sans-serif;
24
33
  --seek-before-width: 0%;
25
34
  --volume-before-width: 100%;
26
35
  --buffered-width: 0%;
27
- letter-spacing: -0.5px;
28
36
  }
29
- .kg-audio-player-container::before {
30
- position: absolute;
31
- content: '';
32
- width: calc(100% + 4px);
33
- height: calc(100% + 4px);
34
- left: -2px;
35
- top: -2px;
36
- background: linear-gradient(to left, #007db5, #ff8a00);
37
- z-index: -1;
38
- }
39
- .kg-audio-player-container p {
40
- position: absolute;
41
- top: -18px;
42
- right: 5%;
43
- padding: 0 5px;
44
- margin: 0;
45
- font-size: 24px;
46
- background: #fff;
47
- }
48
- .kg-audio-play-icon {
49
- margin: 20px 2.5% 10px 2.5%;
37
+
38
+ .kg-audio-title {
39
+ width: 100%;
40
+ margin: 8px 0 0 0;
41
+ padding: 8px 12px 0;
42
+ border: none;
43
+ font-family: inherit;
44
+ font-size: 1em;
45
+ font-weight: 700;
46
+ background: transparent;
50
47
  }
51
- .kg-audio-player-container path {
52
- stroke: #007db5;
48
+
49
+ .kg-player {
50
+ display: flex;
51
+ flex-grow: 1;
52
+ align-items: center;
53
+ padding: 8px 12px;
53
54
  }
54
- .kg-audio-duration,
55
+
55
56
  .kg-audio-current-time {
56
- display: inline-block;
57
- width: 37px;
58
- text-align: center;
59
- font-size: 20px;
60
- margin: 28.5px 0 18.5px 0;
61
- float: left;
62
- }
63
- .kg-audio-player-container output {
64
- display: inline-block;
65
- width: 32px;
66
- text-align: center;
67
- font-size: 20px;
68
- margin: 10px 2.5% 0 5%;
69
- float: left;
70
- clear: left;
57
+ min-width: 38px;
58
+ padding: 0 4px;
59
+ font-family: inherit;
60
+ font-size: .85em;
61
+ font-weight: 500;
62
+ line-height: 1.4em;
63
+ white-space: nowrap;
71
64
  }
72
- .kg-audio-volume-slider {
73
- margin: 10px 2.5% !important;
74
- width: 58% !important;
65
+
66
+ .kg-audio-time {
67
+ color: #ababab;
68
+ font-family: inherit;
69
+ font-size: .85em;
70
+ font-weight: 500;
71
+ line-height: 1.4em;
72
+ white-space: nowrap;
75
73
  }
76
- .kg-audio-volume-slider::-webkit-slider-runnable-track {
77
- background: rgba(0, 125, 181, 0.6) !important;
74
+
75
+ .kg-audio-duration {
76
+ padding: 0 4px;
78
77
  }
79
- .kg-audio-volume-slider::-moz-range-track {
80
- background: rgba(0, 125, 181, 0.6) !important;
78
+
79
+ .kg-audio-play-icon,
80
+ .kg-audio-pause-icon {
81
+ position: relative;
82
+ bottom: 1px;
83
+ padding: 0px 4px 0 0;
84
+ font-size: 0;
85
+ background: transparent;
81
86
  }
82
- .kg-audio-volume-slider::-ms-fill-upper {
83
- background: rgba(0, 125, 181, 0.6) !important;
87
+
88
+ .kg-audio-hide {
89
+ display: none !important;
84
90
  }
85
- .kg-audio-volume-slider::before {
86
- width: var(--volume-before-width) !important;
91
+
92
+ .kg-audio-play-icon svg,
93
+ .kg-audio-pause-icon svg {
94
+ width: 14px;
95
+ height: 14px;
96
+ fill: currentColor;
87
97
  }
88
- .kg-audio-mute-icon {
89
- margin: 0 2.5%;
98
+
99
+ .kg-audio-seek-slider {
100
+ flex-grow: 1;
101
+ margin: 0 4px;
90
102
  }
91
- .kg-audio-player-container input[type="range"] {
103
+
104
+ .kg-audio-playback-rate {
105
+ min-width: 37px;
106
+ padding: 0 4px;
107
+ font-family: inherit;
108
+ font-size: .85em;
109
+ font-weight: 600;
110
+ line-height: 1.4em;
111
+ text-align: left;
112
+ background: transparent;
113
+ white-space: nowrap;
114
+ }
115
+
116
+ .kg-audio-mute-icon,
117
+ .kg-audio-unmute-icon {
92
118
  position: relative;
93
- -webkit-appearance: none;
94
- width: 48%;
95
- margin: 0;
96
- padding: 0;
97
- height: 19px;
98
- margin: 30px 2.5% 20px 2.5%;
99
- float: left;
100
- outline: none;
119
+ bottom: 1px;
120
+ padding: 0 4px;
121
+ font-size: 0;
122
+ background: transparent;
101
123
  }
102
- .kg-audio-player-container input[type="range"]::-webkit-slider-runnable-track {
103
- width: 100%;
104
- height: 3px;
105
- cursor: pointer;
106
- background: linear-gradient(to right, rgba(0, 125, 181, 0.6) var(--buffered-width), rgba(0, 125, 181, 0.2) var(--buffered-width));
124
+
125
+ .kg-audio-mute-icon svg,
126
+ .kg-audio-unmute-icon svg {
127
+ width: 16px;
128
+ height: 16px;
129
+ fill: currentColor;
130
+ }
131
+
132
+ .kg-audio-volume-slider {
133
+ width: 80px;
107
134
  }
108
- .kg-audio-player-container input[type="range"]::before {
135
+
136
+ .kg-audio-seek-slider::before {
137
+ content: "";
109
138
  position: absolute;
139
+ left: 0;
140
+ width: var(--seek-before-width) !important;
141
+ height: 4px;
142
+ cursor: pointer;
143
+ background-color: currentColor;
144
+ border-radius: 2px;
145
+ }
146
+
147
+ .kg-audio-volume-slider::before {
110
148
  content: "";
111
- top: 8px;
149
+ position: absolute;
112
150
  left: 0;
113
- width: var(--seek-before-width);
114
- height: 3px;
115
- background-color: #007db5;
151
+ width: var(--volume-before-width) !important;
152
+ height: 4px;
116
153
  cursor: pointer;
154
+ background-color: currentColor;
155
+ border-radius: 2px;
117
156
  }
118
- .kg-audio-player-container input[type="range"]::-webkit-slider-thumb {
157
+
158
+ /* Resetting browser styles
159
+ /* --------------------------------------------------------------- */
160
+
161
+ .kg-player-container input[type=range] {
119
162
  position: relative;
120
163
  -webkit-appearance: none;
164
+ background: transparent;
165
+ }
166
+
167
+ .kg-player-container input[type=range]:focus {
168
+ outline: none;
169
+ }
170
+
171
+ .kg-player-container input[type=range]::-webkit-slider-thumb {
172
+ -webkit-appearance: none;
173
+ }
174
+
175
+ .kg-player-container input[type=range]::-ms-track {
176
+ cursor: pointer;
177
+ border-color: transparent;
178
+ color: transparent;
179
+ background: transparent;
180
+ }
181
+
182
+ .kg-player-container button {
183
+ display: flex;
184
+ align-items: center;
185
+ border: 0;
186
+ }
187
+
188
+ .kg-player-container input[type="range"] {
189
+ height: auto;
190
+ padding: 0;
191
+ border: 0;
192
+ }
193
+
194
+ /* Chrome & Safari styles
195
+ /* --------------------------------------------------------------- */
196
+
197
+ .kg-player-container input[type="range"]::-webkit-slider-runnable-track {
198
+ width: 100%;
199
+ height: 4px;
200
+ cursor: pointer;
201
+ background: rgba(124, 139, 154, 0.25);
202
+ border-radius: 2px;
203
+ }
204
+
205
+ .kg-player-container input[type="range"]::-webkit-slider-thumb {
206
+ position: relative;
121
207
  box-sizing: content-box;
122
- border: 1px solid #007db5;
123
- height: 15px;
124
- width: 15px;
125
- border-radius: 50%;
126
- background-color: #fff;
208
+ width: 12px;
209
+ height: 12px;
210
+ margin: -5px 0 0 0;
211
+ border: 0;
127
212
  cursor: pointer;
128
- margin: -7px 0 0 0;
213
+ background: #fff;
214
+ border-radius: 50%;
215
+ box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
129
216
  }
130
- .kg-audio-player-container input[type="range"]:active::-webkit-slider-thumb {
217
+
218
+ .kg-player-container input[type="range"]:active::-webkit-slider-thumb {
131
219
  transform: scale(1.2);
132
- background: #007db5;
133
220
  }
134
- .kg-audio-player-container input[type="range"]::-moz-range-track {
221
+
222
+ /* Firefox styles
223
+ /* --------------------------------------------------------------- */
224
+
225
+ .kg-player-container input[type="range"]::-moz-range-track {
135
226
  width: 100%;
136
- height: 3px;
227
+ height: 4px;
137
228
  cursor: pointer;
138
- background: linear-gradient(to right, rgba(0, 125, 181, 0.6) var(--buffered-width), rgba(0, 125, 181, 0.2) var(--buffered-width));
139
- }
140
- .kg-audio-player-container input[type="range"]::-moz-range-progress {
141
- background-color: #007db5;
229
+ background: rgba(124, 139, 154, 0.25);
230
+ border-radius: 2px;
142
231
  }
143
- .kg-audio-player-container input[type="range"]::-moz-focus-outer {
144
- border: 0;
232
+
233
+ .kg-player-container input[type="range"]::-moz-range-progress {
234
+ background: currentColor;
235
+ border-radius: 2px;
145
236
  }
146
- .kg-audio-player-container input[type="range"]::-moz-range-thumb {
237
+
238
+ .kg-player-container input[type="range"]::-moz-range-thumb {
147
239
  box-sizing: content-box;
148
- border: 1px solid #007db5;
149
- height: 15px;
150
- width: 15px;
151
- border-radius: 50%;
152
- background-color: #fff;
240
+ width: 12px;
241
+ height: 12px;
242
+ border: 0;
153
243
  cursor: pointer;
244
+ background: #fff;
245
+ border-radius: 50%;
246
+ box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
154
247
  }
155
- .kg-audio-player-container input[type="range"]:active::-moz-range-thumb {
248
+
249
+ .kg-player-container input[type="range"]:active::-moz-range-thumb {
156
250
  transform: scale(1.2);
157
- background: #007db5;
158
251
  }
159
252
 
160
- .kg-audio-player-container input[type="range"]::-ms-track {
253
+ /* Edge & IE styles
254
+ /* --------------------------------------------------------------- */
255
+
256
+ .kg-player-container input[type="range"]::-ms-track {
161
257
  width: 100%;
162
258
  height: 3px;
163
- cursor: pointer;
164
- background: transparent;
165
259
  border: solid transparent;
166
260
  color: transparent;
261
+ cursor: pointer;
262
+ background: transparent;
167
263
  }
168
- .kg-audio-player-container input[type="range"]::-ms-fill-lower {
169
- background-color: #007db5;
264
+
265
+ .kg-player-container input[type="range"]::-ms-fill-lower {
266
+ background: #fff;
170
267
  }
171
- .kg-audio-player-container input[type="range"]::-ms-fill-upper {
172
- background: linear-gradient(to right, rgba(0, 125, 181, 0.6) var(--buffered-width), rgba(0, 125, 181, 0.2) var(--buffered-width));
268
+
269
+ .kg-player-container input[type="range"]::-ms-fill-upper {
270
+ background: currentColor;
173
271
  }
174
- .kg-audio-player-container input[type="range"]::-ms-thumb {
272
+
273
+ .kg-player-container input[type="range"]::-ms-thumb {
175
274
  box-sizing: content-box;
176
- border: 1px solid #007db5;
177
- height: 15px;
178
- width: 15px;
179
- border-radius: 50%;
180
- background-color: #fff;
275
+ width: 12px;
276
+ height: 12px;
277
+ border: 0;
181
278
  cursor: pointer;
279
+ background: #fff;
280
+ border-radius: 50%;
281
+ box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
182
282
  }
183
- .kg-audio-player-container input[type="range"]:active::-ms-thumb {
283
+
284
+ .kg-player-container input[type="range"]:active::-ms-thumb {
184
285
  transform: scale(1.2);
185
- background: #007db5;
186
286
  }
@@ -1,17 +1,13 @@
1
- blockquote.kg-blockquote-alt {
2
- background: none;
3
- font-size: 1.6em;
1
+ .kg-blockquote-alt {
2
+ font-size: 1.5em;
3
+ font-style: italic;
4
4
  line-height: 1.7em;
5
5
  text-align: center;
6
- padding: 0.5em 2.5em 0.75em;
7
- }
8
-
9
- blockquote.kg-blockquote-alt::before {
10
- display: none;
6
+ padding: 0 2.5em;
11
7
  }
12
8
 
13
9
  @media (max-width: 800px) {
14
- blockquote.kg-blockquote-alt {
10
+ .kg-blockquote-alt {
15
11
  font-size: 1.4em;
16
12
  padding-left: 2em;
17
13
  padding-right: 2em;
@@ -19,7 +15,7 @@ blockquote.kg-blockquote-alt::before {
19
15
  }
20
16
 
21
17
  @media (max-width: 600px) {
22
- blockquote.kg-blockquote-alt {
18
+ .kg-blockquote-alt {
23
19
  font-size: 1.2em;
24
20
  padding-left: 1.75em;
25
21
  padding-right: 1.75em;
@@ -14,10 +14,10 @@ a.kg-btn {
14
14
  display: flex;
15
15
  position: static;
16
16
  align-items: center;
17
- padding: 0 2.0rem;
18
- height: 4.0rem;
19
- line-height: 4.0rem;
20
- font-size: 1.65rem;
17
+ padding: 0 1.2em;
18
+ height: 2.4em;
19
+ line-height: 1em;
20
+ font-size: 0.95em;
21
21
  font-weight: 600;
22
22
  text-decoration: none;
23
23
  border-radius: 5px;
@@ -3,6 +3,7 @@
3
3
  flex-direction: column;
4
4
  align-items: center;
5
5
  width: 100%;
6
+ margin: 0 auto;
6
7
  }
7
8
 
8
9
  .kg-nft-card-container {
@@ -18,7 +19,7 @@
18
19
  roboto, noto,
19
20
  'segoe ui', arial,
20
21
  sans-serif;
21
- font-size: 1.4rem;
22
+ font-size: 14px;
22
23
  font-weight: 400;
23
24
  box-shadow: 0 2px 6px -2px rgb(0 0 0 / 10%), 0 0 1px rgb(0 0 0 / 40%);
24
25
  width: 100%;
@@ -40,7 +41,7 @@
40
41
  }
41
42
 
42
43
  .kg-nft-metadata {
43
- padding: 2.0rem;
44
+ padding: 20px;
44
45
  width: 100%;
45
46
  }
46
47
 
@@ -58,7 +59,7 @@
58
59
 
59
60
  .kg-nft-header h4.kg-nft-title {
60
61
  font-family: inherit;
61
- font-size: 1.9rem;
62
+ font-size: 19px;
62
63
  font-weight: 700;
63
64
  line-height: 1.3em;
64
65
  min-width: unset;
@@ -76,7 +77,7 @@
76
77
  .kg-nft-creator {
77
78
  font-family: inherit;
78
79
  line-height: 1.4em;
79
- margin: 0.4rem 0 0;
80
+ margin: 4px 0 0;
80
81
  color: #ababab;
81
82
  }
82
83
 
@@ -87,8 +88,8 @@
87
88
 
88
89
  .kg-nft-card p.kg-nft-description {
89
90
  font-family: inherit;
90
- font-size: 1.4rem;
91
+ font-size: 14px;
91
92
  line-height: 1.4em;
92
- margin: 2.0rem 0 0;
93
+ margin: 20px 0 0;
93
94
  color: #222;
94
95
  }
@@ -0,0 +1,109 @@
1
+ .kg-product-card-container {
2
+ display: flex;
3
+ background: transparent;
4
+ box-shadow: inset 0 0 0 1px rgb(124 139 154 / 25%);
5
+ border-radius: 5px;
6
+ flex-direction: column;
7
+ text-decoration: none;
8
+ max-width: 550px;
9
+ padding: 20px;
10
+ width: 100%;
11
+ align-items: center;
12
+ }
13
+
14
+ .kg-product-card {
15
+ align-items: center;
16
+ display: flex;
17
+ flex-direction: column;
18
+ width: 100%;
19
+ }
20
+
21
+ .kg-product-card-image {
22
+ margin-bottom: 1.6rem;
23
+ }
24
+
25
+ .kg-product-card-header {
26
+ display: flex;
27
+ align-items: flex-start;
28
+ gap: 8px;
29
+ flex-wrap: wrap;
30
+ justify-content: space-between;
31
+ width: 100%;
32
+ }
33
+
34
+ .kg-product-card-title-container {
35
+ flex: 2 1 250px;
36
+ }
37
+
38
+ .kg-product-card-title {
39
+ text-decoration: none;
40
+ font-weight: 700;
41
+ font-size: 1.4em;
42
+ margin-top: 0;
43
+ margin-bottom: 0;
44
+ line-height: 1.25em;
45
+ }
46
+
47
+ .kg-product-card-description {
48
+ font-size: 1em;
49
+ line-height: 1.4em;
50
+ opacity: .7;
51
+ margin-top: 8px;
52
+ width: 100%;
53
+ }
54
+
55
+ .kg-product-card-description p+p {
56
+ margin-top: 1em;
57
+ }
58
+
59
+ .kg-product-card-button {
60
+ width: 100%;
61
+ margin-top: 16px;
62
+ }
63
+
64
+ .kg-product-card-rating {
65
+ display: flex;
66
+ align-items: center;
67
+ flex: 0 0 100px;
68
+ }
69
+
70
+ .kg-product-card-rating-star {
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ height: 32px;
75
+ width: 20px;
76
+ }
77
+
78
+ .kg-product-card-rating-star svg {
79
+ width: 16px;
80
+ height: 16px;
81
+ fill: #fff;
82
+ }
83
+
84
+ .kg-product-card-rating-edit .kg-product-card-rating-star:hover {
85
+ opacity: 0.7;
86
+ }
87
+
88
+ .kg-product-card-rating-edit {
89
+ background: none;
90
+ display: flex;
91
+ align-items: center;
92
+ }
93
+
94
+ .kg-product-card-rating-preview {
95
+ display: flex;
96
+ }
97
+
98
+ .kg-product-card-rating-star svg {
99
+ fill: currentColor;
100
+ opacity: 0.15;
101
+ }
102
+
103
+ .kg-product-card-rating-active.kg-product-card-rating-star svg {
104
+ opacity: 1;
105
+ }
106
+
107
+ .kg-product-card-button {
108
+ justify-content: center;
109
+ }
@@ -3,14 +3,6 @@
3
3
  }
4
4
 
5
5
  .kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content{
6
- height: auto;
7
- opacity: 1;
8
- transition: opacity 1s ease, top .35s ease;
9
- top: 0;
10
- position: relative;
11
- }
12
-
13
- .kg-toggle-content {
14
6
  height: 0;
15
7
  overflow: hidden;
16
8
  transition: opacity .5s ease, top .35s ease;
@@ -19,6 +11,14 @@
19
11
  position: relative;
20
12
  }
21
13
 
14
+ .kg-toggle-content {
15
+ height: auto;
16
+ opacity: 1;
17
+ transition: opacity 1s ease, top .35s ease;
18
+ top: 0;
19
+ position: relative;
20
+ }
21
+
22
22
  .kg-toggle-content p:first-of-type {
23
23
  margin-top: 0.5em;
24
24
  }
@@ -0,0 +1,4 @@
1
+ .kg-video-card video {
2
+ max-width: 100%;
3
+ height: auto;
4
+ }