improved styles for the detail page