From 0f2f09d530b08947f4bf012b67c275a7ca2a25b1 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Sat, 30 Oct 2021 20:29:14 +0200 Subject: [PATCH] Kinda better displaying. --- src/components/Card.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/Card.vue b/src/components/Card.vue index c92f69c..b4eb654 100644 --- a/src/components/Card.vue +++ b/src/components/Card.vue @@ -21,10 +21,19 @@ export default { box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); border-radius: 5px; margin-bottom: 20px; + display: flex; + justify-content: center; + align-items: center; } .card.red { - background: red; + background: #AC0C0C; + color: #FF7474; +} + +.card:not(.red) { + background: #7B7474; + color: #FCFBFB; }