refactor the detail page css