fixed styling of main pages - style elements moved to css file from html