reset css
extract header and footer from layout