Files
s41r4j-thsvwa/styles/globals.css
T

121 lines
2.6 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
body {
@apply bg-hacksmith-dark text-white font-sans;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
@apply bg-hacksmith-gray;
}
::-webkit-scrollbar-thumb {
@apply bg-hacksmith-orange rounded;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-orange-400;
}
/* Product card hover effects */
.product-card {
@apply transition-all duration-300 ease-in-out;
}
.product-card:hover {
@apply transform scale-105 shadow-xl;
box-shadow: 0 10px 30px rgba(255, 122, 0, 0.2);
}
/* Button animations */
.btn-primary {
@apply bg-hacksmith-orange text-black font-semibold px-6 py-3 rounded-lg transition-all duration-300;
}
.btn-primary:hover {
@apply bg-orange-400 transform scale-105;
box-shadow: 0 5px 15px rgba(255, 122, 0, 0.4);
}
.btn-secondary {
@apply border-2 border-hacksmith-orange text-hacksmith-orange font-semibold px-6 py-3 rounded-lg transition-all duration-300;
}
.btn-secondary:hover {
@apply bg-hacksmith-orange text-black transform scale-105;
}
/* Input styles */
.input-field {
@apply w-full px-4 py-3 bg-hacksmith-gray border border-gray-600 rounded-lg outline-none transition-all duration-300;
}
.input-field:focus {
@apply border-hacksmith-orange ring-2 ring-hacksmith-orange ring-opacity-20;
}
/* Card styles */
.card {
@apply bg-hacksmith-gray border border-gray-700 rounded-xl p-6 shadow-lg;
}
.card-hover {
@apply transition-all duration-300 hover:shadow-xl hover:border-hacksmith-orange;
}
/* Hint mode styles */
.animate-glow {
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from {
box-shadow: 0 0 5px rgba(255, 122, 0, 0.5);
}
to {
box-shadow: 0 0 20px rgba(255, 122, 0, 0.8), 0 0 30px rgba(255, 122, 0, 0.4);
}
}
.hint-indicator {
@apply relative;
}
.hint-indicator::after {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #ff7a00, #ff5722, #ff9800, #ff7a00);
background-size: 400% 400%;
border-radius: inherit;
z-index: -1;
animation: gradient-shift 3s ease infinite;
opacity: 0.3;
}
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.pulse-border {
animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
0%, 100% { border-color: rgba(239, 68, 68, 0.3); }
50% { border-color: rgba(239, 68, 68, 0.7); }
}