From 296f6b4d60361b05163a342eb7f16385620193dd Mon Sep 17 00:00:00 2001 From: Sonika Date: Mon, 15 Apr 2024 19:20:30 +0530 Subject: [PATCH] dashboard card style changes --- src/Dashboard.svelte | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/Dashboard.svelte b/src/Dashboard.svelte index a829f4d..20aa288 100644 --- a/src/Dashboard.svelte +++ b/src/Dashboard.svelte @@ -1,25 +1,21 @@
{#each data as item} -
+

{item.title}

{item.description}

@@ -44,6 +40,8 @@ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); background-color: #ffffff; transition: transform 0.3s ease; + background-size: cover; /* Cover the entire card with the background image */ + background-position: center; } .card:hover { @@ -54,11 +52,12 @@ h2 { font-size: 24px; margin-bottom: 10px; - color: #333333; + color: #000000; } p { font-size: 16px; - color: #666666; + font-weight: 700; + color: #000000; }