update css to be more DRY