add some common styles for detail pages