css for detail page template