style common elements and homepage