Refactor some css