LeosVoiceRedesign / style.css
phallout's picture
Promote version fe9d6c1 to main
91dee6c verified
Raw History Blame Contribute Delete
1.88 kB
/* Shared Styles for Leo's Voice Website */
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #e18a32;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #e6790d;
}
/* Selection color */
::selection {
background-color: rgba(239, 86, 64, 0.3);
color: #1f2937;
}
/* Smooth transitions */
a, button {
transition: all 0.3s ease;
}
/* Custom animations */
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.float-animation {
animation: float 3s ease-in-out infinite;
}
/* Card hover effects */
.hover-lift:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Gradient text */
.gradient-text {
background: linear-gradient(90deg, #ef5640, #0ea5e9);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Glass morphism */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Section spacing */
section {
scroll-margin-top: 100px;
}
/* Typography enhancements */
.lead {
font-size: 1.25rem;
line-height: 1.7;
color: #4b5563;
}
/* Button animations */
.btn-pulse {
animation: pulseGentle 2s ease-in-out infinite;
}
/* Custom focus styles */
.focus-primary:focus {
outline: 2px solid #ef5640;
outline-offset: 2px;
}
/* Loading skeleton */
.skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}