Spaces:
Running

pixelplay-arcade / style.css
lolguy123's picture
can you create a online gaming site
6c74397 verified
Raw History Blame Contribute Delete
1.03 kB
/* Custom styles that extend Tailwind */
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1a202c;
}
::-webkit-scrollbar-thumb {
background: #6b46c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #805ad5;
}
/* Animation for game cards */
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.floating-card {
animation: float 6s ease-in-out infinite;
}
/* Pulse animation for featured games */
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
.pulse-effect {
animation: pulse 2s infinite;
}
/* Responsive tweaks */
@media (max-width: 640px) {
.hero h1 {
font-size: 2.5rem;
}
}