modify main page style for detail