common.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #app {
  2. width: 100%;
  3. }
  4. @tailwind base;
  5. @tailwind components;
  6. @tailwind utilities;
  7. :root {
  8. font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  9. line-height: 1.5;
  10. font-weight: 400;
  11. color-scheme: light dark;
  12. color: rgba(255, 255, 255, 0.87);
  13. background-color: #242424;
  14. font-synthesis: none;
  15. text-rendering: optimizeLegibility;
  16. -webkit-font-smoothing: antialiased;
  17. -moz-osx-font-smoothing: grayscale;
  18. }
  19. a {
  20. font-weight: 500;
  21. color: #646cff;
  22. text-decoration: inherit;
  23. }
  24. a:hover {
  25. color: #535bf2;
  26. }
  27. body {
  28. margin: 0;
  29. display: flex;
  30. place-items: center;
  31. min-width: 320px;
  32. min-height: 100vh;
  33. }
  34. h1 {
  35. font-size: 3.2em;
  36. line-height: 1.1;
  37. }
  38. button {
  39. border-radius: 8px;
  40. border: 1px solid transparent;
  41. padding: 0.6em 1.2em;
  42. font-size: 1em;
  43. font-weight: 500;
  44. font-family: inherit;
  45. background-color: #1a1a1a;
  46. cursor: pointer;
  47. transition: border-color 0.25s;
  48. }
  49. button:hover {
  50. border-color: #646cff;
  51. }
  52. button:focus,
  53. button:focus-visible {
  54. outline: 4px auto -webkit-focus-ring-color;
  55. }
  56. .card {
  57. padding: 2em;
  58. }
  59. @media (prefers-color-scheme: light) {
  60. :root {
  61. color: #213547;
  62. background-color: #ffffff;
  63. }
  64. a:hover {
  65. color: #747bff;
  66. }
  67. button {
  68. background-color: #f9f9f9;
  69. }
  70. }