refactor css