MediaWiki:Common.css

.simple-gallery .wikia-gallery { margin: 0; }

.simple-gallery .wikia-gallery .wikia-gallery-row { display: flex; justify-content: center; }

.simple-gallery .wikia-gallery .wikia-gallery-item { width: auto !important;/* required for inline style override */ padding: 0; margin: 0; }

.simple-gallery .wikia-gallery .wikia-gallery-item .thumb { height: auto !important;/* required for inline style override */ }

.simple-gallery .wikia-gallery .wikia-gallery-item .gallery-image-wrapper { background-color: transparent; border: none; margin: 0; }

.simple-gallery .wikia-gallery .wikia-gallery-item .gallery-image-wrapper .image { display: inline; }

.simple-gallery .wikia-gallery .wikia-gallery-item .gallery-image-wrapper .image img { max-width: 100%; }