64 lines
1.4 KiB
CSS
64 lines
1.4 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
color: #162033;
|
|
background: #edf1f6;
|
|
font-synthesis: none;
|
|
}
|
|
|
|
html, body, #root { min-height: 100%; }
|
|
|
|
body {
|
|
margin: 0;
|
|
background:
|
|
radial-gradient(circle at 72% -10%, rgba(90, 130, 255, 0.13), transparent 30rem),
|
|
#edf1f6;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
button, input, select, textarea { font: inherit; }
|
|
|
|
::selection { background: #c8d7ff; color: #14234b; }
|
|
|
|
::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
::-webkit-scrollbar-thumb { background: #c8d0dd; border: 3px solid transparent; border-radius: 999px; background-clip: padding-box; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
|
|
@keyframes trace-flow {
|
|
from { transform: translateX(-150%); }
|
|
to { transform: translateX(350%); }
|
|
}
|
|
|
|
.trace-edge {
|
|
position: relative;
|
|
width: 2.75rem;
|
|
height: 2px;
|
|
flex: 0 0 2.75rem;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: #cbd5e1;
|
|
}
|
|
|
|
.trace-edge-active {
|
|
background: #93c5fd;
|
|
}
|
|
|
|
.trace-edge-active::after {
|
|
position: absolute;
|
|
inset-block: 0;
|
|
left: 0;
|
|
width: 35%;
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, transparent, #2563eb, transparent);
|
|
content: "";
|
|
animation: trace-flow 1.2s linear infinite;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.trace-edge-active::after { animation: none; }
|
|
}
|