Adds top offset to img and reformats the less for media object with image.