diff --git a/app/static/style.css b/app/static/style.css index 7d440d3..180a2e1 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -92,14 +92,18 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si .stat { white-space: nowrap; } /* Dashboard cards */ -.dashboard-card { padding: 1.25rem; } -.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .75rem; } -.stat-item { display: flex; flex-direction: column; align-items: center; gap: .1rem; } -.stat-num { font-size: 1.3rem; font-weight: 700; color: var(--text); } -.stat-label { font-size: .75rem; color: var(--text-muted); } -.stat-sent { color: var(--sent); } -.stat-delivered { color: var(--delivered); } -.stat-received { color: var(--received); } +.dashboard-card { padding: 1.5rem; transition: transform .15s, box-shadow .15s; } +.dashboard-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); } +.dc-header { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; } +.dc-icon { font-size: 1.6rem; } +.dc-header h3 { font-size: 1.1rem; margin: 0; } +.dc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; text-align: center; padding-top: .75rem; border-top: 1px solid var(--border); } +.dc-stat { display: flex; flex-direction: column; gap: .15rem; } +.dc-num { font-size: 1.4rem; font-weight: 700; color: var(--text); } +.dc-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; } +.dc-sent { color: var(--sent); } +.dc-delivered { color: var(--delivered); } +.dc-received { color: var(--received); } /* Postcard grid */ .postcard-card { display: flex; gap: 1rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: .75rem; transition: box-shadow .15s; } diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 9cb51c1..2b0a5f8 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -4,31 +4,30 @@