added styling to detail pages