adding css for history cards