rewrite styles and nav