stopwatch / public /style.css
krishgokul92's picture
Upload 10 files
f520256 verified
:root {
--bg: #0f1115;
--card: #181b22;
--text: #e8eef8;
--muted: #a9b4c2;
--accent: #46c2ff;
--accent-2: #8efbbf;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
font-family: system-ui, sans-serif;
background: radial-gradient(80% 80% at 50% 30%, #12151c 0%, var(--bg) 70%);
color: var(--text);
display: grid;
place-items: center;
}
.container {
width: min(720px, 92vw);
background: var(--card);
border: 1px solid #242a35;
border-radius: 16px;
padding: 24px;
box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.time {
font-size: clamp(40px, 10vw, 84px);
text-align: center;
font-variant-numeric: tabular-nums;
}
.controls { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
button {
background: #232a36;
color: var(--text);
border: 1px solid #2f3746;
padding: 10px 16px;
font-size: 1rem;
border-radius: 10px;
cursor: pointer;
}
button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; border: none; }
button.danger { background: #3a2020; border-color: #5a2a2a; }