some css refactoring