index.css 1.2 KB

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