css refactor attempt