74 lines
1.2 KiB
CSS
74 lines
1.2 KiB
CSS
body {
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
background: radial-gradient(circle at top, #1e293b, #020617);
|
|
color: #e5e7eb;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.container {
|
|
width: 90%;
|
|
max-width: 600px;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.weekly-title {
|
|
margin-top: 2rem;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 1.2rem;
|
|
color: #cbd5f5;
|
|
}
|
|
|
|
.status {
|
|
margin-bottom: 1rem;
|
|
font-size: 0.95rem;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 28px;
|
|
background: #020617;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
box-shadow: inset 0 0 8px rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.progress-bar.weekly {
|
|
height: 22px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
width: 0%;
|
|
transition: width 0.4s ease;
|
|
}
|
|
|
|
.progress-fill.daily {
|
|
background: linear-gradient(90deg, #22c55e, #86efac);
|
|
box-shadow: 0 0 12px rgba(34,197,94,0.6);
|
|
}
|
|
|
|
.progress-fill.weekly-fill {
|
|
background: linear-gradient(90deg, #6366f1, #a5b4fc);
|
|
box-shadow: 0 0 10px rgba(99,102,241,0.6);
|
|
}
|
|
|
|
.percent {
|
|
margin-top: 0.6rem;
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.weekly-percent {
|
|
font-size: 0.95rem;
|
|
color: #c7d2fe;
|
|
}
|