@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply bg-gray-950 text-white antialiased;
font-family: 'Inter', sans-serif;
}
.font-mono {
font-family: 'IBM Plex Mono', monospace;
}
html.dark body {
@apply bg-gray-900;
}
input::placeholder,
textarea::placeholder {
color: #6B7280;
opacity: 1;
}
}
@layer components {
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.appear {
opacity: 1;
transform: translateY(0);
}
.diff-added {
color: #6EE7B7;
}
.diff-removed {
color: #F87171;
text-decoration: line-through;
}
.nav-separator {
@apply mx-2 text-gray-500;
}
#theme-toggle {
@apply fixed bottom-4 right-4 z-50 bg-gray-800 text-gray-100 p-2 rounded-md cursor-pointer;
}
}
@layer utilities {
.hidden-lg {
@apply hidden lg:block;
}
.block-lg {
@apply block lg:hidden;
}
.scroll-smooth {
scroll-behavior: smooth;
}
}
@keyframes pulse-slow {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.02);
}
}
.btn-pulse {
@apply inline-block;
animation: pulse-slow 4s ease-in-out infinite;
}