Refactors css