Wikipedia:Contents/gallery2/styles.css

.contents-gallery { display: flex; }

.tile-box { background-color: #f8f9fa; border: 1px solid #a2a9b1; border-radius: 2px; width: 100%; margin: 3px; }

.tile-title, .tile-desc { text-align: center; }

.tile-title { padding: 0.75rem; padding-bottom: 0; font-size: 1.2rem; }

.tile-desc { padding: 0.5rem; }

.tile-img span a img { object-fit: cover; width: 100%; height: 5rem; }