tbels89's picture
adjust the site code to match the widths of this code:
85571a1 verified
Raw History Blame Contribute Delete
1.49 kB
/* Custom styles that complement Tailwind */
.max-w-5xl {
max-width: 80rem;
}
html {
scroll-behavior: smooth;
--wp--preset--spacing--20: 1.25rem;
--wp--preset--spacing--30: 1.875rem;
--wp--preset--spacing--50: 3.125rem;
--wp--preset--spacing--60: 3.75rem;
--wp--preset--spacing--70: 4.375rem;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.8s ease-out forwards;
}
.delay-100 {
animation-delay: 0.1s;
}
.delay-200 {
animation-delay: 0.2s;
}
.delay-300 {
animation-delay: 0.3s;
}
/* Custom button hover effects */
.btn-hover-effect {
transition: all 0.3s ease;
transform: translateY(0);
}
.btn-hover-effect:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}
/* Custom card hover effects */
.card-hover-effect {
transition: all 0.3s ease;
}
.card-hover-effect:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Gradient text */
.text-gradient {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(to right, #3B82F6, #6366F1);
}
/* Responsive tweaks */
@media (max-width: 768px) {
.hero-content {
text-align: center;
}
.hero-buttons {
justify-content: center;
}
}