Fix styling for api summary page and resource synopsis