refactored custom css