Wikipedia:Contents/gallery/styles.css

.wp-contents-cell { margin: 30px; text-align:center; } .wp-contents-header { font-size:20px; text-align:center; } .wp-contents-description { font-size:13px; text-align:center; width:300px; } .wp-contents-title { background:#6475B7; color:white; font-size:20px; padding:5px; text-align:center; } .wp-contents-table { width:100%; flex-wrap: wrap; display: flex; justify-content: space-around; } .wp-contents-cell .mw-file-element { text-align:center; object-fit: cover; width: 17em; height: 10em; }