Refactoring list css