style.css 1.5 KB

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