Spaces:
Running

rythmes-de-brazza / style.css
elenga's picture
utilise tailwindcss cree un styl mode et epure des carousel un cha bot etc soit modes et tres music et afro {
bbe4145 verified
Raw History Blame Contribute Delete
2.63 kB
/* Custom animations and styles */
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fade-in 1s ease-out;
}
/* Carousel styles */
.carousel-container {
position: relative;
overflow: hidden;
}
.carousel-track {
display: flex;
gap: 1.5rem;
transition: transform 0.5s ease-in-out;
}
.carousel-slide {
flex-shrink: 0;
width: 100%;
}
@media (min-width: 768px) {
.carousel-slide {
width: calc(33.333% - 1rem);
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #B33A17;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #922f13;
}
/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Image hover effects */
.image-hover-zoom {
overflow: hidden;
}
.image-hover-zoom img {
transition: transform 0.5s ease;
}
.image-hover-zoom:hover img {
transform: scale(1.05);
}
/* Glassmorphism effect */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Text shadow for better readability on images */
.text-shadow {
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Gradient overlay for images */
.gradient-overlay {
position: relative;
}
.gradient-overlay::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
pointer-events: none;
}
/* Custom focus styles */
.focus-ring:focus {
outline: 2px solid #B33A17;
outline-offset: 2px;
}
/* Loading animation */
.loading-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: .5;
}
}
/* Staggered animations */
.stagger-animation > * {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease forwards;
}
.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}