Refactoring of CSS classes and styles