added css to card pages