User:SGrabarczuk (WMF)/Stackable card/styles.css

.v22-faq-cards-row { display: flex; flex-flow: row wrap; justify-content: space-between; margin: 0 -0.5625em; } .v22-faq-card { border: solid 1px #a2a9b1; box-sizing: border-box; border-radius: 2px; box-shadow: 0 2px 2px rgba(0,0,0,0.1); display: inline-block; flex: 1; margin: 0.5625em; padding: 1.125em; min-width: 10em; width: 15em; } .v22-faq-card--text { display: table-cell; vertical-align: top; } .v22-faq-card--text > div { margin-top: 10px; } .v22-faq-card-icon { display: table-cell; }

@media (max-width:1300px) { .v22-faq-card img { display:none; } }