refactoring css rest