adds styling for the hover effect