css refactoring for search screen