edits styles and tidies up unused CSS