File size: 922 Bytes
76c0c73 c071cc6 76c0c73 c071cc6 76c0c73 c071cc6 76c0c73 c071cc6 76c0c73 c071cc6 76c0c73 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | /* 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: #cbd5e1;
border-radius: 10px;
}
.dark ::-webkit-scrollbar-thumb {
background: #4b5563;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Smooth transitions for dark mode */
html {
scroll-behavior: smooth;
}
/* Animation for buttons */
button {
transition: all 0.2s ease-in-out;
}
/* Project card hover effect */
.project-card:hover {
transform: translateY(-2px);
}
/* Loading spinner */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loading-spinner {
animation: spin 1s linear infinite;
} |