Module:Gallery/styles.css

/* */ @media all and (max-width: 720px) { .mod-gallery { width: 100% !important; } }

.mod-gallery { display: table; }

.mod-gallery-default { background: transparent; margin-top: 0.3em; }

.mod-gallery-center { margin-left: auto; margin-right: auto; }

.mod-gallery-left { float: left; }

.mod-gallery-right { float: right; }

.mod-gallery-none { float: none; }

.mod-gallery-collapsible { width: 100%; }

.mod-gallery .title, .mod-gallery .main, .mod-gallery .footer { display: table-row; }

.mod-gallery .title > div { display: table-cell; padding: 0.2em 0 0.6em 1.6em; text-align: center; font-weight: bold; }

.mod-gallery .main > div { display: table-cell; }

.mod-gallery .gallery { line-height: 1.35em; }

.mod-gallery .footer > div { display: table-cell; padding: 0.2em 0 0.6em 1.6em; text-align: right; font-size: 80%; line-height: 1em; }

.mod-gallery .title > div *, .mod-gallery .footer > div * { overflow: visible; }

.mod-gallery .gallerybox img { background: none !important; border: solid #f8f9fa !important; border-width: 1px 1px 0.2em !important; padding: 0 !important; box-shadow: none !important; }

.mw-body li.gallerybox div.thumb { border: solid #f8f9fa; border-width: 1px 1px 0.2em; padding: 0; box-shadow: none; } li.gallerybox div.thumb { border: none; }