Improve inline image margins and add a hover outline.