course card style

fix issue #304