index.styl 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @css {
  2. .home-page {
  3. @apply min-h-screen bg-gray-50 dark:bg-gray-800 py-8;
  4. }
  5. .home-page__hero {
  6. @apply text-center py-16 px-4 bg-white dark:bg-gray-900 shadow-sm mb-8;
  7. }
  8. .home-page__title {
  9. @apply text-4xl md:text-5xl font-bold text-gray-800 dark:text-white mb-4;
  10. }
  11. .home-page__subtitle {
  12. @apply text-xl text-gray-600 dark:text-gray-300 mb-8;
  13. }
  14. .home-page__actions {
  15. @apply flex flex-col sm:flex-row gap-4 justify-center items-center;
  16. }
  17. .home-page__btn {
  18. @apply px-6 py-3 rounded-lg font-medium transition-colors duration-200;
  19. }
  20. .home-page__btn--primary {
  21. @apply bg-primary-500 hover:bg-primary-600 text-white;
  22. }
  23. .home-page__btn--secondary {
  24. @apply bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600 text-gray-800 dark:text-white;
  25. }
  26. .home-page__content {
  27. @apply container mx-auto px-4;
  28. }
  29. .home-page__section {
  30. @apply mb-8;
  31. }
  32. .home-page__section-title {
  33. @apply text-2xl font-bold text-gray-800 dark:text-white mb-6 text-center;
  34. }
  35. .home-page__categories {
  36. @apply grid grid-cols-2 md:grid-cols-4 gap-4;
  37. }
  38. .home-page__category {
  39. @apply bg-white dark:bg-gray-700 rounded-lg shadow-md p-6 text-center text-gray-700 dark:text-gray-300 font-medium hover:shadow-lg transition-shadow duration-200;
  40. }
  41. .home-page__info {
  42. @apply text-center py-8 px-4 bg-primary-50 dark:bg-primary-900 mt-8;
  43. }
  44. .home-page__info-text {
  45. @apply text-primary-700 dark:text-primary-300 text-lg;
  46. }
  47. }