refactors css