rewrite the css file and the html structure