@shelamkoff/rector 1.0.2 → 1.0.4

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.
@@ -1,419 +1,435 @@
1
- .editor-gallery {
2
- margin: 1.75rem 0;
3
- border-radius: 0.5rem;
4
- overflow: hidden;
5
- }
6
-
7
- .editor-gallery__item {
1
+ .editor-gallery {
2
+ margin: 1.75rem 0;
3
+ border-radius: 0.5rem;
4
+ overflow: hidden;
5
+ }
6
+
7
+ .editor-gallery__item {
8
+ position: relative;
9
+ border-radius: 0.5rem;
10
+ overflow: hidden;
11
+ cursor: pointer;
12
+ min-height: 0;
13
+ }
14
+
15
+ .editor-gallery__item img {
16
+ display: block;
17
+ width: 100%;
18
+ height: 100%;
19
+ object-fit: cover;
20
+ }
21
+
22
+ .editor-gallery__caption {
23
+ position: absolute;
24
+ bottom: 0;
25
+ left: 0;
26
+ right: 0;
27
+ padding: 0.5rem 0.75rem;
28
+ background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
29
+ color: #fff;
30
+ font-size: 0.8125rem;
31
+ line-height: 1.4;
32
+ }
33
+
34
+ .editor-gallery__overflow {
35
+ position: absolute;
36
+ inset: 0;
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: center;
40
+ background: rgba(0, 0, 0, 0.55);
41
+ color: #fff;
42
+ font-size: 1.5rem;
43
+ font-weight: 600;
44
+ letter-spacing: -0.5px;
45
+ pointer-events: none;
46
+ }
47
+
48
+ .eg--1 .editor-gallery__item {
49
+ width: fit-content;
50
+ }
51
+
52
+ .eg--1 .editor-gallery__item img {
53
+ width: auto;
54
+ max-width: 100%;
55
+ height: auto;
56
+ max-height: 22.5rem;
57
+ object-fit: contain;
58
+ }
59
+
60
+ .eg--2 {
61
+ display: grid;
62
+ grid-template-columns: 1fr 1fr;
63
+ gap: 0.25rem;
64
+ aspect-ratio: 2/1;
65
+ }
66
+
67
+ .eg--3a {
68
+ display: grid;
69
+ grid-template-columns: 2fr 1fr;
70
+ grid-template-rows: 1fr 1fr;
71
+ gap: 0.25rem;
72
+ aspect-ratio: 3/2;
73
+ }
74
+
75
+ .eg--3a .editor-gallery__item:first-child {
76
+ grid-row: 1/-1;
77
+ }
78
+
79
+ .eg--3b {
80
+ display: grid;
81
+ grid-template-columns: 1fr 2fr;
82
+ grid-template-rows: 1fr 1fr;
83
+ gap: 0.25rem;
84
+ aspect-ratio: 3/2;
85
+ }
86
+
87
+ .eg--3b .editor-gallery__item:last-child {
88
+ grid-row: 1/-1;
89
+ grid-column: 2;
90
+ }
91
+
92
+ .eg--3c {
93
+ display: grid;
94
+ grid-template-columns: 1fr 1fr;
95
+ grid-template-rows: 2fr 1fr;
96
+ gap: 0.25rem;
97
+ aspect-ratio: 3/2;
98
+ }
99
+
100
+ .eg--3c .editor-gallery__item:first-child {
101
+ grid-column: 1/-1;
102
+ }
103
+
104
+ .eg--4a {
105
+ display: grid;
106
+ grid-template-columns: 1fr 1fr;
107
+ grid-template-rows: 1fr 1fr;
108
+ gap: 0.25rem;
109
+ aspect-ratio: 4/3;
110
+ }
111
+
112
+ .eg--4b {
113
+ display: grid;
114
+ grid-template-columns: 2fr 1fr;
115
+ grid-template-rows: repeat(3, 1fr);
116
+ gap: 0.25rem;
117
+ aspect-ratio: 4/3;
118
+ }
119
+
120
+ .eg--4b .editor-gallery__item:first-child {
121
+ grid-row: 1/-1;
122
+ }
123
+
124
+ .eg--4c {
125
+ display: grid;
126
+ grid-template-columns: repeat(3, 1fr);
127
+ grid-template-rows: 2fr 1fr;
128
+ gap: 0.25rem;
129
+ aspect-ratio: 4/3;
130
+ }
131
+
132
+ .eg--4c .editor-gallery__item:first-child {
133
+ grid-column: 1/-1;
134
+ }
135
+
136
+ .eg--5a {
137
+ display: grid;
138
+ grid-template-columns: repeat(6, 1fr);
139
+ grid-template-rows: 3fr 2fr;
140
+ gap: 0.25rem;
141
+ aspect-ratio: 3/2;
142
+ }
143
+
144
+ .eg--5a .editor-gallery__item:nth-child(1) {
145
+ grid-column: 1/4;
146
+ }
147
+
148
+ .eg--5a .editor-gallery__item:nth-child(2) {
149
+ grid-column: 4/7;
150
+ }
151
+
152
+ .eg--5a .editor-gallery__item:nth-child(3) {
153
+ grid-column: 1/3;
154
+ }
155
+
156
+ .eg--5a .editor-gallery__item:nth-child(4) {
157
+ grid-column: 3/5;
158
+ }
159
+
160
+ .eg--5a .editor-gallery__item:nth-child(5) {
161
+ grid-column: 5/7;
162
+ }
163
+
164
+ .eg--5b {
165
+ display: grid;
166
+ grid-template-columns: 3fr 1fr 1fr;
167
+ grid-template-rows: 1fr 1fr;
168
+ gap: 0.25rem;
169
+ aspect-ratio: 3/2;
170
+ }
171
+
172
+ .eg--5b .editor-gallery__item:first-child {
173
+ grid-row: 1/-1;
174
+ }
175
+
176
+ .eg--5c {
177
+ display: grid;
178
+ grid-template-columns: repeat(4, 1fr);
179
+ grid-template-rows: 2fr 1fr;
180
+ gap: 0.25rem;
181
+ aspect-ratio: 3/2;
182
+ }
183
+
184
+ .eg--5c .editor-gallery__item:first-child {
185
+ grid-column: 1/-1;
186
+ }
187
+
188
+ .eg--6a {
189
+ display: grid;
190
+ grid-template-columns: repeat(3, 1fr);
191
+ grid-template-rows: 3fr 2fr;
192
+ gap: 0.25rem;
193
+ aspect-ratio: 3/2;
194
+ }
195
+
196
+ .eg--6b {
197
+ display: grid;
198
+ grid-template-columns: repeat(6, 1fr);
199
+ grid-template-rows: repeat(3, 1fr);
200
+ gap: 0.25rem;
201
+ aspect-ratio: 3/2;
202
+ }
203
+
204
+ .eg--6b .editor-gallery__item:nth-child(1) {
205
+ grid-column: 1/4;
206
+ grid-row: 1/-1;
207
+ }
208
+
209
+ .eg--6b .editor-gallery__item:nth-child(2) {
210
+ grid-column: 4/7;
211
+ }
212
+
213
+ .eg--6b .editor-gallery__item:nth-child(3) {
214
+ grid-column: 4/7;
215
+ }
216
+
217
+ .eg--6b .editor-gallery__item:nth-child(4) {
218
+ grid-column: 4/5;
219
+ }
220
+
221
+ .eg--6b .editor-gallery__item:nth-child(5) {
222
+ grid-column: 5/6;
223
+ }
224
+
225
+ .eg--6b .editor-gallery__item:nth-child(6) {
226
+ grid-column: 6/7;
227
+ }
228
+
229
+ .eg--6c {
230
+ display: grid;
231
+ grid-template-columns: repeat(4, 1fr);
232
+ grid-template-rows: 3fr 2fr;
233
+ gap: 0.25rem;
234
+ aspect-ratio: 3/2;
235
+ }
236
+
237
+ .eg--6c .editor-gallery__item:nth-child(1) {
238
+ grid-column: 1/3;
239
+ }
240
+
241
+ .eg--6c .editor-gallery__item:nth-child(2) {
242
+ grid-column: 3/5;
243
+ }
244
+
245
+ .eg--triptych {
246
+ display: grid;
247
+ grid-template-columns: repeat(3, 1fr);
248
+ gap: 0.25rem;
249
+ aspect-ratio: 3/1.5;
250
+ }
251
+
252
+ .eg--masonry {
8
253
  position: relative;
9
- border-radius: 0.5rem;
10
- overflow: hidden;
11
- cursor: pointer;
12
- min-height: 0;
13
- }
14
-
15
- .editor-gallery__item img {
16
- display: block;
17
254
  width: 100%;
18
- height: 100%;
19
- object-fit: cover;
255
+ gap: 0.25rem;
20
256
  }
21
257
 
22
- .editor-gallery__caption {
258
+ .eg--masonry.masonry-container > .masonry-item {
23
259
  position: absolute;
24
- bottom: 0;
260
+ top: 0;
25
261
  left: 0;
26
- right: 0;
27
- padding: 0.5rem 0.75rem;
28
- background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
29
- color: #fff;
30
- font-size: 0.8125rem;
31
- line-height: 1.4;
32
- }
33
-
34
- .editor-gallery__overflow {
35
- position: absolute;
36
- inset: 0;
37
- display: flex;
38
- align-items: center;
39
- justify-content: center;
40
- background: rgba(0, 0, 0, 0.55);
41
- color: #fff;
42
- font-size: 1.5rem;
43
- font-weight: 600;
44
- letter-spacing: -0.5px;
45
- pointer-events: none;
46
- }
47
-
48
- .eg--1 .editor-gallery__item {
49
- width: fit-content;
50
- }
51
-
52
- .eg--1 .editor-gallery__item img {
53
- width: auto;
54
- max-width: 100%;
55
- height: auto;
56
- max-height: 22.5rem;
57
- object-fit: contain;
58
- }
59
-
60
- .eg--2 {
61
- display: grid;
62
- grid-template-columns: 1fr 1fr;
63
- gap: 0.25rem;
64
- aspect-ratio: 2/1;
65
- }
66
-
67
- .eg--3a {
68
- display: grid;
69
- grid-template-columns: 2fr 1fr;
70
- grid-template-rows: 1fr 1fr;
71
- gap: 0.25rem;
72
- aspect-ratio: 3/2;
73
- }
74
-
75
- .eg--3a .editor-gallery__item:first-child {
76
- grid-row: 1/-1;
262
+ will-change: transform;
263
+ opacity: 0;
77
264
  }
78
265
 
79
- .eg--3b {
80
- display: grid;
81
- grid-template-columns: 1fr 2fr;
82
- grid-template-rows: 1fr 1fr;
83
- gap: 0.25rem;
84
- aspect-ratio: 3/2;
85
- }
86
-
87
- .eg--3b .editor-gallery__item:last-child {
88
- grid-row: 1/-1;
89
- grid-column: 2;
90
- }
91
-
92
- .eg--3c {
93
- display: grid;
94
- grid-template-columns: 1fr 1fr;
95
- grid-template-rows: 2fr 1fr;
96
- gap: 0.25rem;
97
- aspect-ratio: 3/2;
98
- }
99
-
100
- .eg--3c .editor-gallery__item:first-child {
101
- grid-column: 1/-1;
102
- }
103
-
104
- .eg--4a {
105
- display: grid;
106
- grid-template-columns: 1fr 1fr;
107
- grid-template-rows: 1fr 1fr;
108
- gap: 0.25rem;
109
- aspect-ratio: 4/3;
110
- }
111
-
112
- .eg--4b {
113
- display: grid;
114
- grid-template-columns: 2fr 1fr;
115
- grid-template-rows: repeat(3, 1fr);
116
- gap: 0.25rem;
117
- aspect-ratio: 4/3;
118
- }
119
-
120
- .eg--4b .editor-gallery__item:first-child {
121
- grid-row: 1/-1;
122
- }
123
-
124
- .eg--4c {
125
- display: grid;
126
- grid-template-columns: repeat(3, 1fr);
127
- grid-template-rows: 2fr 1fr;
128
- gap: 0.25rem;
129
- aspect-ratio: 4/3;
130
- }
131
-
132
- .eg--4c .editor-gallery__item:first-child {
133
- grid-column: 1/-1;
134
- }
135
-
136
- .eg--5a {
137
- display: grid;
138
- grid-template-columns: repeat(6, 1fr);
139
- grid-template-rows: 3fr 2fr;
140
- gap: 0.25rem;
141
- aspect-ratio: 3/2;
142
- }
143
-
144
- .eg--5a .editor-gallery__item:nth-child(1) {
145
- grid-column: 1/4;
146
- }
147
-
148
- .eg--5a .editor-gallery__item:nth-child(2) {
149
- grid-column: 4/7;
150
- }
151
-
152
- .eg--5a .editor-gallery__item:nth-child(3) {
153
- grid-column: 1/3;
154
- }
155
-
156
- .eg--5a .editor-gallery__item:nth-child(4) {
157
- grid-column: 3/5;
158
- }
159
-
160
- .eg--5a .editor-gallery__item:nth-child(5) {
161
- grid-column: 5/7;
162
- }
163
-
164
- .eg--5b {
165
- display: grid;
166
- grid-template-columns: 3fr 1fr 1fr;
167
- grid-template-rows: 1fr 1fr;
168
- gap: 0.25rem;
169
- aspect-ratio: 3/2;
170
- }
171
-
172
- .eg--5b .editor-gallery__item:first-child {
173
- grid-row: 1/-1;
174
- }
175
-
176
- .eg--5c {
177
- display: grid;
178
- grid-template-columns: repeat(4, 1fr);
179
- grid-template-rows: 2fr 1fr;
180
- gap: 0.25rem;
181
- aspect-ratio: 3/2;
182
- }
183
-
184
- .eg--5c .editor-gallery__item:first-child {
185
- grid-column: 1/-1;
186
- }
187
-
188
- .eg--6a {
189
- display: grid;
190
- grid-template-columns: repeat(3, 1fr);
191
- grid-template-rows: 3fr 2fr;
192
- gap: 0.25rem;
193
- aspect-ratio: 3/2;
194
- }
195
-
196
- .eg--6b {
197
- display: grid;
198
- grid-template-columns: repeat(6, 1fr);
199
- grid-template-rows: repeat(3, 1fr);
200
- gap: 0.25rem;
201
- aspect-ratio: 3/2;
202
- }
203
-
204
- .eg--6b .editor-gallery__item:nth-child(1) {
205
- grid-column: 1/4;
206
- grid-row: 1/-1;
207
- }
208
-
209
- .eg--6b .editor-gallery__item:nth-child(2) {
210
- grid-column: 4/7;
211
- }
212
-
213
- .eg--6b .editor-gallery__item:nth-child(3) {
214
- grid-column: 4/7;
215
- }
216
-
217
- .eg--6b .editor-gallery__item:nth-child(4) {
218
- grid-column: 4/5;
219
- }
220
-
221
- .eg--6b .editor-gallery__item:nth-child(5) {
222
- grid-column: 5/6;
223
- }
224
-
225
- .eg--6b .editor-gallery__item:nth-child(6) {
226
- grid-column: 6/7;
227
- }
228
-
229
- .eg--6c {
230
- display: grid;
231
- grid-template-columns: repeat(4, 1fr);
232
- grid-template-rows: 3fr 2fr;
233
- gap: 0.25rem;
234
- aspect-ratio: 3/2;
235
- }
236
-
237
- .eg--6c .editor-gallery__item:nth-child(1) {
238
- grid-column: 1/3;
239
- }
240
-
241
- .eg--6c .editor-gallery__item:nth-child(2) {
242
- grid-column: 3/5;
243
- }
244
-
245
- .eg--triptych {
246
- display: grid;
247
- grid-template-columns: repeat(3, 1fr);
248
- gap: 0.25rem;
249
- aspect-ratio: 3/1.5;
250
- }
251
-
252
- .eg--masonry {
253
- column-count: 3;
254
- column-gap: 0.25rem;
266
+ .eg--masonry.masonry-container > .masonry-item--visible {
267
+ opacity: 1;
255
268
  }
256
269
 
257
270
  .eg--masonry .editor-gallery__item {
258
- break-inside: avoid;
259
- margin-bottom: 0.25rem;
271
+ width: 100%;
272
+ margin: 0;
260
273
  }
261
274
 
262
275
  .eg--masonry .editor-gallery__item img {
263
276
  height: auto;
264
277
  }
265
278
 
266
- .eg--poly-5 {
267
- display: flex;
268
- align-items: center;
269
- justify-content: center;
270
- gap: 0.375rem;
271
- height: 28rem;
272
- }
273
-
274
- .eg--poly-5 .editor-gallery__item {
275
- border-radius: 0.25rem;
276
- }
277
-
278
- .eg--poly-5 .editor-gallery__item:nth-child(1) {
279
- flex: 3 0 0;
280
- height: 50%;
281
- }
282
-
283
- .eg--poly-5 .editor-gallery__item:nth-child(2) {
284
- flex: 3.6 0 0;
285
- height: 72%;
286
- }
287
-
288
- .eg--poly-5 .editor-gallery__item:nth-child(3) {
289
- flex: 4 0 0;
290
- height: 100%;
291
- }
292
-
293
- .eg--poly-5 .editor-gallery__item:nth-child(4) {
294
- flex: 3.6 0 0;
295
- height: 72%;
296
- }
297
-
298
- .eg--poly-5 .editor-gallery__item:nth-child(5) {
299
- flex: 3 0 0;
300
- height: 50%;
301
- }
302
-
303
- .eg--poly-3arch {
304
- display: flex;
305
- align-items: center;
306
- justify-content: center;
307
- gap: 0.375rem;
308
- height: 28rem;
309
- }
310
-
311
- .eg--poly-3arch .editor-gallery__item {
312
- border-radius: 0.25rem;
313
- }
314
-
315
- .eg--poly-3arch .editor-gallery__item:nth-child(1) {
316
- flex: 1 0 0;
317
- height: 73%;
318
- }
319
-
320
- .eg--poly-3arch .editor-gallery__item:nth-child(2) {
321
- flex: 1.15 0 0;
322
- height: 100%;
323
- }
324
-
325
- .eg--poly-3arch .editor-gallery__item:nth-child(3) {
326
- flex: 1 0 0;
327
- height: 73%;
328
- }
329
-
330
- .eg--poly-5flat {
331
- display: flex;
332
- align-items: flex-start;
333
- justify-content: center;
334
- gap: 0.375rem;
335
- height: 28rem;
336
- }
337
-
338
- .eg--poly-5flat .editor-gallery__item {
339
- border-radius: 0.25rem;
340
- }
341
-
342
- .eg--poly-5flat .editor-gallery__item:nth-child(1) {
343
- flex: 3 0 0;
344
- height: 55%;
345
- }
346
-
347
- .eg--poly-5flat .editor-gallery__item:nth-child(2) {
348
- flex: 3.6 0 0;
349
- height: 75%;
350
- }
351
-
352
- .eg--poly-5flat .editor-gallery__item:nth-child(3) {
353
- flex: 4 0 0;
354
- height: 100%;
355
- }
356
-
357
- .eg--poly-5flat .editor-gallery__item:nth-child(4) {
358
- flex: 3.6 0 0;
359
- height: 75%;
360
- }
361
-
362
- .eg--poly-5flat .editor-gallery__item:nth-child(5) {
363
- flex: 3 0 0;
364
- height: 55%;
365
- }
366
-
367
- .eg--poly-3steps {
368
- display: flex;
369
- align-items: flex-start;
370
- justify-content: center;
371
- gap: 0.375rem;
372
- height: 28rem;
373
- }
374
-
375
- .eg--poly-3steps .editor-gallery__item {
376
- border-radius: 0.25rem;
377
- }
378
-
379
- .eg--poly-3steps .editor-gallery__item:nth-child(1) {
380
- flex: 1 0 0;
381
- height: 65%;
382
- margin-top: 0;
383
- }
384
-
385
- .eg--poly-3steps .editor-gallery__item:nth-child(2) {
386
- flex: 1 0 0;
387
- height: 65%;
388
- margin-top: 12%;
389
- }
390
-
391
- .eg--poly-3steps .editor-gallery__item:nth-child(3) {
392
- flex: 1 0 0;
393
- height: 65%;
394
- margin-top: 24%;
395
- }
396
-
397
- @media (max-width: 479px) {
398
- .eg--5b {
399
- grid-template-columns: 2fr 1fr 1fr;
400
- }
401
-
402
- .eg--6b {
403
- grid-template-columns: repeat(3, 1fr);
404
- grid-template-rows: 1fr 1fr;
405
- }
406
-
407
- .eg--6b .editor-gallery__item:nth-child(1) {
408
- grid-column: 1/-1;
409
- grid-row: auto;
410
- }
411
-
412
- .eg--6b .editor-gallery__item:nth-child(n+2) {
413
- grid-column: auto;
414
- }
415
-
416
- .eg--masonry {
417
- column-count: 2;
418
- }
279
+ .eg--masonry-fallback {
280
+ display: grid;
281
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
282
+ height: auto !important;
283
+ }
284
+
285
+ .eg--poly-5 {
286
+ display: flex;
287
+ align-items: center;
288
+ justify-content: center;
289
+ gap: 0.375rem;
290
+ height: 28rem;
291
+ }
292
+
293
+ .eg--poly-5 .editor-gallery__item {
294
+ border-radius: 0.25rem;
295
+ }
296
+
297
+ .eg--poly-5 .editor-gallery__item:nth-child(1) {
298
+ flex: 3 0 0;
299
+ height: 50%;
300
+ }
301
+
302
+ .eg--poly-5 .editor-gallery__item:nth-child(2) {
303
+ flex: 3.6 0 0;
304
+ height: 72%;
305
+ }
306
+
307
+ .eg--poly-5 .editor-gallery__item:nth-child(3) {
308
+ flex: 4 0 0;
309
+ height: 100%;
310
+ }
311
+
312
+ .eg--poly-5 .editor-gallery__item:nth-child(4) {
313
+ flex: 3.6 0 0;
314
+ height: 72%;
315
+ }
316
+
317
+ .eg--poly-5 .editor-gallery__item:nth-child(5) {
318
+ flex: 3 0 0;
319
+ height: 50%;
320
+ }
321
+
322
+ .eg--poly-3arch {
323
+ display: flex;
324
+ align-items: center;
325
+ justify-content: center;
326
+ gap: 0.375rem;
327
+ height: 28rem;
328
+ }
329
+
330
+ .eg--poly-3arch .editor-gallery__item {
331
+ border-radius: 0.25rem;
332
+ }
333
+
334
+ .eg--poly-3arch .editor-gallery__item:nth-child(1) {
335
+ flex: 1 0 0;
336
+ height: 73%;
337
+ }
338
+
339
+ .eg--poly-3arch .editor-gallery__item:nth-child(2) {
340
+ flex: 1.15 0 0;
341
+ height: 100%;
342
+ }
343
+
344
+ .eg--poly-3arch .editor-gallery__item:nth-child(3) {
345
+ flex: 1 0 0;
346
+ height: 73%;
347
+ }
348
+
349
+ .eg--poly-5flat {
350
+ display: flex;
351
+ align-items: flex-start;
352
+ justify-content: center;
353
+ gap: 0.375rem;
354
+ height: 28rem;
355
+ }
356
+
357
+ .eg--poly-5flat .editor-gallery__item {
358
+ border-radius: 0.25rem;
359
+ }
360
+
361
+ .eg--poly-5flat .editor-gallery__item:nth-child(1) {
362
+ flex: 3 0 0;
363
+ height: 55%;
364
+ }
365
+
366
+ .eg--poly-5flat .editor-gallery__item:nth-child(2) {
367
+ flex: 3.6 0 0;
368
+ height: 75%;
369
+ }
370
+
371
+ .eg--poly-5flat .editor-gallery__item:nth-child(3) {
372
+ flex: 4 0 0;
373
+ height: 100%;
374
+ }
375
+
376
+ .eg--poly-5flat .editor-gallery__item:nth-child(4) {
377
+ flex: 3.6 0 0;
378
+ height: 75%;
379
+ }
380
+
381
+ .eg--poly-5flat .editor-gallery__item:nth-child(5) {
382
+ flex: 3 0 0;
383
+ height: 55%;
384
+ }
385
+
386
+ .eg--poly-3steps {
387
+ display: flex;
388
+ align-items: flex-start;
389
+ justify-content: center;
390
+ gap: 0.375rem;
391
+ height: 28rem;
392
+ }
393
+
394
+ .eg--poly-3steps .editor-gallery__item {
395
+ border-radius: 0.25rem;
396
+ }
397
+
398
+ .eg--poly-3steps .editor-gallery__item:nth-child(1) {
399
+ flex: 1 0 0;
400
+ height: 65%;
401
+ margin-top: 0;
402
+ }
403
+
404
+ .eg--poly-3steps .editor-gallery__item:nth-child(2) {
405
+ flex: 1 0 0;
406
+ height: 65%;
407
+ margin-top: 12%;
408
+ }
409
+
410
+ .eg--poly-3steps .editor-gallery__item:nth-child(3) {
411
+ flex: 1 0 0;
412
+ height: 65%;
413
+ margin-top: 24%;
414
+ }
415
+
416
+ @media (max-width: 479px) {
417
+ .eg--5b {
418
+ grid-template-columns: 2fr 1fr 1fr;
419
+ }
420
+
421
+ .eg--6b {
422
+ grid-template-columns: repeat(3, 1fr);
423
+ grid-template-rows: 1fr 1fr;
424
+ }
425
+
426
+ .eg--6b .editor-gallery__item:nth-child(1) {
427
+ grid-column: 1/-1;
428
+ grid-row: auto;
429
+ }
430
+
431
+ .eg--6b .editor-gallery__item:nth-child(n+2) {
432
+ grid-column: auto;
433
+ }
434
+
419
435
  }