Rewriting and cleaning css