/* Additional custom styles (optional). Tailwind covers most needs. */ /* Smooth transitions for theme toggle */ html, body { transition: background-color .25s ease, color .25s ease; } /* Better focus visibility */ :focus-visible { outline: 2px solid #3B82F6; /* blue-500 */ outline-offset: 2px; } /* Code block typography */ pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } /* Fade-in for elements */ .animate-fadeUp { opacity: 0; transform: translateY(10px); animation: fadeUp .6s ease-out forwards; } @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } } /* Custom scrollbar (WebKit) */ ::-webkit-scrollbar { height: 10px; width: 10px; } ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; } .dark ::-webkit-scrollbar-thumb { background: #334155; }