You target mobile in CSS based on the display width, like this:
@media only screen and (max-width: 768px) {
// Mobile-specific CSS here
}
And then, depending on your code or theme, something like this for the actual CSS:
img {
display: block;
margin: 0 auto;
}