refactoring css code