refactor some CSS