This is just a technology testing project based on Create React App and TailwindCSS
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

168 Zeilen
4.3KB

  1. /* purgecss start ignore */
  2. @tailwind base;
  3. @tailwind components;
  4. /* purgecss end ignore */
  5. @tailwind utilities;
  6. /***** FONTS *****/
  7. @font-face {
  8. font-family: 'Gilroy';
  9. src: url('../fonts/Gilroy-Regular.eot');
  10. src: url('../fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy-Regular.woff2') format('woff2'), url('../fonts/Gilroy-Regular.woff') format('woff'), url('../fonts/Gilroy-Regular.ttf') format('truetype');
  11. font-weight: normal;
  12. font-style: normal;
  13. font-display: swap;
  14. }
  15. @font-face {
  16. font-family: 'Gilroy';
  17. src: url('../fonts/Gilroy-Medium.eot');
  18. src: url('../fonts/Gilroy-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy-Medium.woff2') format('woff2'), url('../fonts/Gilroy-Medium.woff') format('woff'), url('../fonts/Gilroy-Medium.ttf') format('truetype');
  19. font-weight: 500;
  20. font-style: normal;
  21. font-display: swap;
  22. }
  23. @font-face {
  24. font-family: 'Gilroy';
  25. src: url('../fonts/Gilroy-SemiBold.eot');
  26. src: url('../fonts/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy-SemiBold.woff2') format('woff2'), url('../fonts/Gilroy-SemiBold.woff') format('woff'), url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
  27. font-weight: 600;
  28. font-style: normal;
  29. font-display: swap;
  30. }
  31. @font-face {
  32. font-family: 'Gilroy';
  33. src: url('../fonts/Gilroy-ExtraBold.eot');
  34. src: url('../fonts/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy-ExtraBold.woff2') format('woff2'), url('../fonts/Gilroy-ExtraBold.woff') format('woff'), url('../fonts/Gilroy-ExtraBold.ttf') format('truetype');
  35. font-weight: 800;
  36. font-style: normal;
  37. font-display: swap;
  38. }
  39. @layer base {
  40. p {
  41. text-indent: 1rem;
  42. margin: .3rem 0 .5rem 0;
  43. }
  44. }
  45. @layer components {
  46. .grecaptcha-badge {
  47. display: none !important;
  48. }
  49. }
  50. @layer components {
  51. .btn-primary {
  52. @apply appearance-none;
  53. @apply flex;
  54. @apply relative;
  55. @apply w-full;
  56. @apply py-3;
  57. @apply border-0;
  58. @apply rounded-md;
  59. @apply border-primary-800;
  60. @apply bg-primary-800;
  61. @apply text-white;
  62. @apply truncate;
  63. @apply cursor-pointer;
  64. @apply transform;
  65. @apply shadow-md;
  66. }
  67. .btn-primary:hover {
  68. @apply bg-primary-500;
  69. }
  70. .btn-primary:focus {
  71. @apply bg-primary-500;
  72. @apply outline-none;
  73. }
  74. .btn-primary:active {
  75. @apply shadow-inner;
  76. @apply bg-primary-800;
  77. @apply scale-98;
  78. }
  79. .btn-primary:disabled {
  80. @apply bg-primary-800;
  81. @apply opacity-50;
  82. @apply shadow-md;
  83. @apply scale-100;
  84. @apply cursor-not-allowed;
  85. }
  86. }
  87. @layer components {
  88. .btn-secondary {
  89. @apply appearance-none;
  90. @apply flex;
  91. @apply relative;
  92. @apply w-full;
  93. @apply py-3;
  94. @apply border-2;
  95. @apply rounded-md;
  96. @apply border-primary-800;
  97. @apply bg-white;
  98. @apply text-primary-800;
  99. @apply truncate;
  100. @apply cursor-pointer;
  101. @apply transform;
  102. @apply shadow-md;
  103. }
  104. .btn-secondary:hover {
  105. @apply bg-primary-500;
  106. @apply text-white;
  107. }
  108. .btn-secondary:focus {
  109. @apply bg-primary-500;
  110. @apply outline-none;
  111. }
  112. .btn-secondary:active {
  113. @apply shadow-inner;
  114. @apply bg-primary-500;
  115. @apply scale-98;
  116. }
  117. .btn-secondary:disabled {
  118. @apply bg-white;
  119. @apply opacity-50;
  120. @apply shadow-md;
  121. @apply scale-100;
  122. @apply cursor-not-allowed;
  123. }
  124. }
  125. @layer components {
  126. .form-input {
  127. @apply rounded-md;
  128. @apply border-0;
  129. @apply ring-2;
  130. @apply ring-gray-200;
  131. }
  132. .form-input:active {
  133. @apply bg-secondary-100;
  134. }
  135. .form-input:focus {
  136. @apply ring-4;
  137. @apply ring-offset-0;
  138. @apply ring-primary-700;
  139. @apply bg-secondary-100;
  140. @apply ring-opacity-60;
  141. }
  142. .form-checkbox {
  143. @apply form-input;
  144. @apply w-5;
  145. @apply h-5;
  146. @apply rounded;
  147. }
  148. .form-radio {
  149. @apply form-checkbox;
  150. @apply rounded-full;
  151. @apply ring-gray-300;
  152. }
  153. .form-radio:checked {
  154. @apply ring-gray-400;
  155. background-image: none;
  156. }
  157. }