Spaces:
Running
Running
File size: 1,194 Bytes
c37fa24 65c067b c37fa24 65c067b c37fa24 65c067b c37fa24 65c067b c37fa24 65c067b c37fa24 | 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 57 58 59 60 61 62 63 64 | /* Custom animations */
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.float-animation {
animation: float 3s ease-in-out infinite;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #8b5cf6, #ec4899);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(to bottom, #7c3aed, #db2777);
}
/* Custom selection color */
::selection {
background: #8b5cf6;
color: white;
}
/* Smooth transitions */
a, button {
transition: all 0.3s ease;
}
/* Custom focus styles */
button:focus, a:focus {
outline: 2px solid #8b5cf6;
outline-offset: 2px;
}
/* Notification alert animation */
@keyframes slideIn {
from { transform: translate(-50%, -100%); opacity: 0; }
to { transform: translate(-50%, 0); opacity: 1; }
}
.fixed.top-4 {
animation: slideIn 0.3s ease-out forwards;
}
/* Responsive tweaks */
@media (max-width: 768px) {
.hero-text {
font-size: 2.5rem;
}
} |