hugo-saasify-theme/assets/css/main.css
Chaoming Li 7b979949c3 feat: Enhanced theme styling
- Added gradient support to CTA shortcode (angle and colors)
- Added gradient support to hero shortcode
- Added background color support to testimonials shortcode
- Updated btn-outline to use primary colors
2024-11-20 15:57:51 +11:00

70 lines
1.3 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
@apply scroll-smooth;
}
body {
@apply font-sans text-gray-700 antialiased;
}
h1, h2, h3, h4, h5, h6 {
@apply font-heading font-bold text-gray-900;
}
}
@layer utilities {
.rounded-lg {
border-radius: 2rem;
}
}
@layer components {
.cta-section {
padding-top: 3rem;
padding-bottom: 3rem;
margin-top: 2rem;
margin-bottom: 2rem;
}
.btn {
@apply inline-flex items-center justify-center px-6 py-3 font-medium transition duration-200 ease-in-out;
border-radius: 2rem;
}
.btn-primary {
@apply btn bg-primary-600 text-white hover:bg-primary-700 hover:scale-105;
}
.btn-secondary {
@apply btn bg-secondary-600 text-white hover:bg-secondary-700 hover:scale-105;
}
.btn-outline {
@apply btn border-2 border-primary-600 text-primary-600 hover:scale-105;
}
.container {
@apply mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl;
}
.section {
@apply py-16 md:py-24;
}
.card {
@apply bg-white p-6 transition duration-200 hover:shadow-md;
border-radius: 2rem;
}
.nav-link {
@apply text-gray-600 hover:text-primary-600 font-bold transition duration-200;
}
.feature-grid {
@apply grid gap-8 md:grid-cols-2 lg:grid-cols-3;
}
}