globals.css 823 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @layer base {
  5. html,
  6. body {
  7. @apply text-prisma-900 p-0 m-0;
  8. font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
  9. Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  10. }
  11. a {
  12. color: inherit;
  13. text-decoration: none;
  14. }
  15. * {
  16. box-sizing: border-box;
  17. }
  18. }
  19. @layer components {
  20. .form {
  21. @apply w-full max-w-screen-xs mx-auto flex flex-col xs:grid xs:grid-cols-form xs:items-center gap-4;
  22. }
  23. .form-label {
  24. @apply font-bold flex-1 xs:text-right;
  25. }
  26. .form-input {
  27. @apply bg-prisma-50 w-full rounded py-2 px-3 text-sm;
  28. }
  29. .form-button {
  30. @apply col-start-2 w-max py-2 px-4 bg-prisma-900 text-white font-bold rounded text-sm hover:bg-prisma-800 active:bg-prisma-700;
  31. }
  32. }