@import "tailwindcss"; @import "./styles/theme.css"; @import "./styles/components.css"; @import "./styles/animations.css"; @custom-variant dark (&:where(.dark, .dark *)); @theme inline { --font-display: var(--font-oswald); --font-sans: var(--font-inter); --color-gold: #c9a96e; --color-gold-light: #d4b87a; --color-gold-dark: #a08050; --color-surface-deep: #050505; --color-surface-dark: #0a0a0a; } /* ===== Base ===== */ html { scroll-behavior: smooth; overflow-x: hidden; } body { overflow-x: hidden; } /* ===== Selection ===== */ ::selection { background-color: rgba(201, 169, 110, 0.3); color: inherit; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } } /* ===== Focus ===== */ :focus-visible { @apply outline-2 outline-offset-2 outline-gold; } /* ===== Scrollbar hide utility ===== */ .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; } .scrollbar-hide::-webkit-scrollbar { display: none; } /* ===== Admin dark scrollbar ===== */ .admin-scrollbar { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.15) transparent; } .admin-scrollbar::-webkit-scrollbar { width: 6px; } .admin-scrollbar::-webkit-scrollbar-track { background: transparent; } .admin-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; } .admin-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); } /* ===== Hide number input spinners ===== */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } input[type="number"] { -moz-appearance: textfield; } /* ===== Global page scrollbar ===== */ html { scrollbar-width: thin; scrollbar-color: rgba(160, 160, 160, 0.5) #f5f5f5; } html.dark { scrollbar-color: rgba(201, 169, 110, 0.3) var(--color-surface-dark); } ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f5f5f5; } html.dark ::-webkit-scrollbar-track { background: var(--color-surface-dark); } ::-webkit-scrollbar-thumb { background: rgba(160, 160, 160, 0.5); border-radius: 4px; } html.dark ::-webkit-scrollbar-thumb { background: rgba(201, 169, 110, 0.3); } ::-webkit-scrollbar-thumb:hover { background: rgba(120, 120, 120, 0.6); } html.dark ::-webkit-scrollbar-thumb:hover { background: rgba(201, 169, 110, 0.5); }