File tree Expand file tree Collapse file tree 1 file changed +54
-4
lines changed
docs/.vuepress/components Expand file tree Collapse file tree 1 file changed +54
-4
lines changed Original file line number Diff line number Diff line change @@ -304,22 +304,72 @@ const handleCardClick = (item: PluginItem) => {
304
304
border-color : var (--vp-c-brand );
305
305
}
306
306
307
+ @media (max-width : 768px ){
308
+ .plugin-card-container {
309
+ grid-template-columns : repeat (1 , 1fr );
310
+ gap : 1.5rem ;
311
+ }
312
+
313
+ .card-image {
314
+ height : 140px ;
315
+ }
316
+
317
+ .search-container {
318
+ max-width : 60% ;
319
+ }
320
+ }
321
+
307
322
@media (min-width : 768px ) {
308
323
.plugin-card-container {
309
- grid-template-columns : repeat (2 , 1fr );
310
- gap : 1.2rem ;
324
+ padding : 2rem ;
325
+ gap : 1rem ;
326
+ }
327
+
328
+ .market-title {
329
+ margin : 3rem 0 2rem ;
311
330
}
312
331
313
332
.card-image {
314
- height : 200 px ;
333
+ height : 160 px ;
315
334
}
316
335
317
336
.card-content {
318
337
padding : 0.75rem ;
319
338
}
339
+
340
+ .search-container {
341
+ margin : 0 auto 1.5rem ;
342
+ }
343
+ }
344
+
345
+ @media (min-width : 768px ) and (max-width : 959px ) {
346
+ .plugin-card-container {
347
+ grid-template-columns : repeat (2 , 1fr );
348
+ gap : 1.2rem ;
349
+ padding : 1.5rem 2rem ;
350
+ }
351
+
352
+ .card-image {
353
+ height : 180px ;
354
+ }
355
+
356
+ .search-container {
357
+ max-width : 60% ;
358
+ }
359
+ }
360
+
361
+ @media (min-width : 960px ) and (max-width : 1200px ) {
362
+ .plugin-card-container {
363
+ grid-template-columns : repeat (3 , 1fr );
364
+ gap : 1.5rem ;
365
+ }
366
+
367
+ .search-container {
368
+ max-width : 60% ;
369
+ }
320
370
}
321
371
322
- @media (min-width : 960 px ) {
372
+ @media (min-width : 1201 px ) {
323
373
.plugin-card-container {
324
374
grid-template-columns : repeat (v-bind( ' props.columns' ), 1fr );
325
375
gap : 1.5rem ;
You can’t perform that action at this time.
0 commit comments