updated the style of the main pages