option-pdf-vis / frontend /src /index.css
Arjit
Production-ready Option-Implied PDF Visualizer
8e1643b
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--mouse-x: 50%;
--mouse-y: 50%;
}
body {
background-color: #0e1117;
color: #fafafa;
overflow-x: hidden;
}
/* Cursor Tracking Background */
body::before {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
background: radial-gradient(
circle 800px at var(--mouse-x) var(--mouse-y),
rgba(0, 217, 255, 0.06),
transparent 40%
);
z-index: -1;
transition: opacity 0.3s ease;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #0e1117;
}
::-webkit-scrollbar-thumb {
background: #2a2a3e;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #00d9ff;
}
/* Glass Utilities */
.glass-card {
background: rgba(30, 30, 46, 0.6);
backdrop-filter: blur(40px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}
.text-gradient {
background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Smooth Scroll */
html {
scroll-behavior: smooth;
}