adjust main page style and layout