| @import 'tailwindcss/base'; |
| @import 'tailwindcss/components'; |
| @import 'tailwindcss/utilities'; |
|
|
| :root { |
| color-scheme: dark; |
| --bg-base: #050816; |
| --bg-surface: #0b1020; |
| --bg-surface-2: #0f172a; |
| --accent: #22c55e; |
| --accent-soft: rgba(34, 197, 94, 0.16); |
| } |
|
|
| html { |
| scroll-behavior: smooth; |
| } |
|
|
| body { |
| @apply text-slate-50; |
| font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; |
| -webkit-font-smoothing: antialiased; |
| -moz-osx-font-smoothing: grayscale; |
| background: |
| radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), transparent 28%), |
| radial-gradient(circle at top right, rgba(16, 185, 129, 0.10), transparent 32%), |
| linear-gradient(135deg, var(--bg-base) 0%, var(--bg-surface) 52%, #08111a 100%); |
| } |
|
|
| |
| ::-webkit-scrollbar { |
| width: 8px; |
| height: 8px; |
| } |
|
|
| ::-webkit-scrollbar-track { |
| background: #07101c; |
| } |
|
|
| ::-webkit-scrollbar-thumb { |
| background: linear-gradient(180deg, #134e4a 0%, #15803d 100%); |
| border-radius: 9999px; |
| } |
|
|
| ::-webkit-scrollbar-thumb:hover { |
| background: linear-gradient(180deg, #0f766e 0%, #22c55e 100%); |
| } |
|
|
| |
| @keyframes float { |
| 0%, 100% { |
| transform: translateY(0px); |
| } |
| 50% { |
| transform: translateY(-10px); |
| } |
| } |
|
|
| |
| ::-moz-selection { |
| @apply bg-emerald-500 text-white; |
| } |
|
|
| ::selection { |
| background: rgba(34, 197, 94, 0.35); |
| color: #fff; |
| } |
|
|
| |
| ::placeholder { |
| color: #7c8aa5; |
| } |
|
|
| |
| input[type='checkbox'], |
| input[type='radio'] { |
| @apply cursor-pointer; |
| } |
|
|
| |
| a { |
| transition: color 200ms ease, opacity 200ms ease, transform 200ms ease; |
| } |
|
|
| |
| code { |
| @apply font-mono text-sm; |
| } |
|
|
| |
| :focus-visible { |
| outline: none; |
| box-shadow: 0 0 0 2px rgba(5, 8, 22, 1), 0 0 0 4px rgba(34, 197, 94, 0.5); |
| } |
|
|