Template:Gallery/styles.css

/* */ @media all and (max-width:720px) { .mod-gallery { width:100% !important; } } .mod-gallery { display:table; margin-top:.3em; } .mod-gallery-default { background:transparent; } .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-left div>ul, .mod-gallery-center div>ul, .mod-gallery-left div>dl, .mod-gallery-center div>dl { margin-right:1em; }*/ .mod-gallery-collapsible { width:100%; } .mod-gallery .title, .mod-gallery .main, .mod-gallery .footer { display:table-row; } .mod-gallery .title>div { display:table-cell; text-align:center; font-weight:bold; } .mod-gallery .main>div { display:table-cell; } .mod-gallery .gallerytext>:not(p) { margin:.5em 0; } .mod-gallery .gallerytext>:not(p)+:not(p) { margin-top:-.5em; } .mod-gallery .footer>div { display:table-cell; 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; } .mod-gallery .bordered-images .thumb img { outline:solid #eaecf0 1px; border:none; max-width:calc(100% - 2px) !important; } .mod-gallery .whitebg .thumb { background:#fff !important; }