index.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. @import url('https://rsms.me/inter/inter.css');
  2. @tailwind base;
  3. @tailwind components;
  4. @tailwind utilities;
  5. :root {
  6. font-family: 'Inter', system-ui, sans-serif;
  7. --brand-purple: #7C3AED;
  8. --brand-pink: #EC4899;
  9. --brand-blue: #3B82F6;
  10. --brand-teal: #14B8A6;
  11. }
  12. @supports (font-variation-settings: normal) {
  13. :root {
  14. font-family: 'Inter var', system-ui, sans-serif;
  15. }
  16. }
  17. .font-light {
  18. font-variation-settings: 'wght' 300;
  19. }
  20. .font-medium {
  21. font-variation-settings: 'wght' 500;
  22. }
  23. /* Smooth transitions */
  24. a,
  25. button {
  26. @apply transition-all duration-200;
  27. }
  28. /* Hover effects */
  29. a:hover,
  30. button:hover {
  31. @apply opacity-80;
  32. }
  33. /* Add some custom utility classes */
  34. @layer utilities {
  35. .text-balance {
  36. text-wrap: balance;
  37. }
  38. }
  39. /* Footer-inspired global styles */
  40. @layer components {
  41. .monospace {
  42. font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  43. }
  44. .heading-style {
  45. @apply font-black uppercase mb-6;
  46. }
  47. .heading-xl {
  48. @apply heading-style text-xl;
  49. }
  50. .heading-lg {
  51. @apply heading-style text-lg;
  52. }
  53. .link-hover {
  54. @apply hover:translate-x-2 transition-transform inline-block;
  55. }
  56. .content-wrapper {
  57. @apply max-w-[1600px] mx-auto px-8 sm:px-12 lg:px-16 py-16;
  58. }
  59. .border-style {
  60. @apply border-2 border-black;
  61. }
  62. .border-top {
  63. @apply border-t-2 border-black;
  64. }
  65. .grid-layout {
  66. @apply grid grid-cols-1 md:grid-cols-4 gap-12;
  67. }
  68. .link-list {
  69. @apply space-y-3;
  70. }
  71. .link-item {
  72. @apply monospace text-sm link-hover;
  73. }
  74. }
  75. /* Brand Colors */
  76. .text-brand-purple {
  77. color: var(--brand-purple);
  78. }
  79. .text-brand-pink {
  80. color: var(--brand-pink);
  81. }
  82. .text-brand-blue {
  83. color: var(--brand-blue);
  84. }
  85. .text-brand-teal {
  86. color: var(--brand-teal);
  87. }
  88. .bg-brand-purple {
  89. background-color: var(--brand-purple);
  90. }
  91. .hover\:bg-brand-purple:hover {
  92. background-color: var(--brand-purple);
  93. }
  94. .bg-brand-purple\/10 {
  95. background-color: color-mix(in srgb, var(--brand-purple) 10%, transparent);
  96. }
  97. .bg-brand-pink\/10 {
  98. background-color: color-mix(in srgb, var(--brand-pink) 10%, transparent);
  99. }
  100. .bg-brand-blue {
  101. background-color: var(--brand-blue);
  102. }
  103. /* Animations */
  104. @keyframes spin-slow {
  105. from {
  106. transform: rotate(0deg);
  107. }
  108. to {
  109. transform: rotate(360deg);
  110. }
  111. }
  112. .animate-spin-slow {
  113. animation: spin-slow 3s linear infinite;
  114. }
  115. @keyframes scroll {
  116. 0% {
  117. transform: translateX(0);
  118. }
  119. 100% {
  120. transform: translateX(-50%);
  121. }
  122. }
  123. .animate-scroll {
  124. animation: scroll 20s linear infinite;
  125. }
  126. /* Delay utilities */
  127. .delay-1000 {
  128. animation-delay: 1000ms;
  129. }