blur / src /index.css
wuhp's picture
Create index.css
c162b0b verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import "tailwindcss";
@theme {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
--color-bg-dark: #0A0A0B;
--color-surface: #111114;
--color-surface-lighter: #1A1A1E;
--color-accent: #6366F1; /* Indigo-500 */
--color-accent-hover: #4F46E5; /* Indigo-600 */
--color-success: #10B981; /* Emerald-500 */
--color-error: #EF4444; /* Red-500 */
--color-text-muted: #94A3B8; /* Slate-400 */
--color-text-bright: #F8FAFC; /* Slate-50 */
--radius-lg: 12px;
--radius-xl: 16px;
--radius-2xl: 24px;
}
@layer base {
body {
background-color: var(--color-bg-dark);
color: var(--color-text-bright);
font-family: var(--font-sans);
}
}
.panel-flat {
background: var(--color-surface);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.panel-card {
background: var(--color-surface-lighter);
border: 1px solid rgba(255, 255, 255, 0.03);
border-radius: var(--radius-lg);
}
.crt-overlay {
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
background-size: 100% 3px, 3px 100%;
pointer-events: none;
}
.crt-overlay::after {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(18, 16, 16, 0.1);
opacity: 0;
z-index: 2;
pointer-events: none;
animation: flicker 0.15s infinite;
}
.scanline {
width: 100%;
height: 100px;
z-index: 3;
background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
opacity: 0.1;
position: absolute;
bottom: 100%;
animation: scanline 10s linear infinite;
}
@keyframes scanline {
0% { bottom: 100%; }
100% { bottom: -100px; }
}
@keyframes flicker {
0% { opacity: 0.1; }
50% { opacity: 0.05; }
100% { opacity: 0.1; }
}