refactors css in header