refactor custom css