MediaWiki:Handheld.css

/* CSS placed here will affect handheld devices based on the skin configured in $wgHandheldStyle */

.pi-image-thumbnail, .pi-image { max-width: 200px; max-height: 200px; width: auto; height: auto; margin-left:auto; margin-right:auto; justify-content: center ; padding:10px; text-align:center; } .pi-item[data-source=image]{ text-align:center; }