datadash-visionary / style.css
Mandarab's picture
**Prompt:**
47bddd0 verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
}
.dark {
color-scheme: dark;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
.dark ::-webkit-scrollbar-track {
background: #374151;
}
::-webkit-scrollbar-thumb {
background: #cbd5e0;
border-radius: 10px;
}
.dark ::-webkit-scrollbar-thumb {
background: #4b5563;
}
::-webkit-scrollbar-thumb:hover {
background: #a0aec0;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Animation for cards */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.custom-card {
animation: fadeIn 0.5s ease-out forwards;
}
.custom-card:nth-child(1) { animation-delay: 0.1s; }
.custom-card:nth-child(2) { animation-delay: 0.2s; }
.custom-card:nth-child(3) { animation-delay: 0.3s; }
.custom-card:nth-child(4) { animation-delay: 0.4s; }
/* Smooth transitions */
a, button, .custom-card {
transition: all 0.2s ease;
}
/* Custom shadow for cards */
.shadow-custom {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.dark .shadow-custom {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.12);
}