add styling for remaining detail pages plus cleanup