index.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. html,body{
  15. width: 100%;
  16. height: 100%;
  17. overflow: hidden;
  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. @media (prefers-color-scheme: light) {
  57. :root {
  58. color: #213547;
  59. background-color: #ffffff;
  60. }
  61. a:hover {
  62. color: #747bff;
  63. }
  64. button {
  65. background-color: #f9f9f9;
  66. }
  67. }