improved styling for the detail pages