adds base styles to card component