lebiraja's picture
feat(frontend): white theme, remove carousel, add training plots, fix conversation flow
3766a5b
Raw
History Blame Contribute Delete
3.39 kB
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #0f172a;
--bg-elev: #f8fafc;
--bg-card: rgba(0,0,0,0.02);
--accent-indigo: #6366f1;
--accent-violet: #8b5cf6;
--accent-cyan: #0891b2;
--accent-fuchsia: #d946ef;
--border: rgba(0,0,0,0.08);
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: 'Geist', 'Inter', system-ui, sans-serif;
--font-serif: 'Fraunces', 'Georgia', serif;
--font-mono: 'Geist Mono', 'SFMono-Regular', Consolas, monospace;
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
}
/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
/* ── Keyframes ── */
@keyframes shimmer {
0% { background-position: -200% center; }
100% { background-position: 200% center; }
}
@keyframes marquee {
from { transform: translateX(0); }
to { transform: translateX(calc(-100% - 1rem)); }
}
@keyframes marquee-reverse {
from { transform: translateX(calc(-100% - 1rem)); }
to { transform: translateX(0); }
}
@keyframes meteor {
0% { transform: rotate(215deg) translateX(0); opacity: 1; }
70% { opacity: 1; }
100% { transform: rotate(215deg) translateX(-500px); opacity: 0; }
}
@keyframes border-beam {
100% { offset-distance: 100%; }
}
@keyframes orbit {
0% { transform: rotate(0deg) translateX(var(--radius)) rotate(0deg); }
100% { transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg); }
}
@keyframes pulse-glow {
0%, 100% { box-shadow: 0 0 20px rgba(99,102,241,0.2); }
50% { box-shadow: 0 0 40px rgba(99,102,241,0.4); }
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
@keyframes fade-in-up {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}
/* ── Utility classes ── */
.animate-shimmer { animation: shimmer 3s linear infinite; }
.animate-marquee { animation: marquee var(--duration, 30s) linear infinite; }
.animate-marquee-reverse { animation: marquee-reverse var(--duration, 30s) linear infinite; }
.animate-meteor { animation: meteor var(--meteor-delay, 0s) var(--meteor-duration, 4s) linear infinite; }
.animate-orbit { animation: orbit var(--orbit-duration, 20s) linear infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
/* ── Glass card (light) ── */
.glass {
background: rgba(255,255,255,0.92);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(0,0,0,0.06);
box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
/* ── Gradient text ── */
.gradient-text {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #0891b2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ── Blog prose ── */
.blog-prose { font-family: var(--font-sans); line-height: 1.9; }
.blog-prose code { font-family: var(--font-mono); }