CSS class refactoring