Files
game-marathon/frontend/src/index.css

62 lines
1.3 KiB
CSS
Raw Normal View History

2025-12-14 02:38:35 +07:00
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
@apply bg-gray-900 text-gray-100 min-h-screen;
}
2025-12-15 22:31:42 +07:00
/* Custom scrollbar styles */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #4b5563;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Firefox */
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: #4b5563 transparent;
}
2025-12-14 02:38:35 +07:00
@layer components {
.btn {
@apply px-4 py-2 rounded-lg font-medium transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed;
}
.btn-primary {
@apply bg-primary-600 hover:bg-primary-700 text-white;
}
.btn-secondary {
@apply bg-gray-700 hover:bg-gray-600 text-white;
}
.btn-danger {
@apply bg-red-600 hover:bg-red-700 text-white;
}
.input {
@apply w-full px-4 py-2 bg-gray-800 border border-gray-700 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent;
}
.card {
@apply bg-gray-800 rounded-xl p-6 shadow-lg;
}
.link {
@apply text-primary-400 hover:text-primary-300 transition-colors;
}
}