You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.2KB

  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. body {
  23. margin: 0;
  24. display: flex;
  25. place-items: center;
  26. min-width: 320px;
  27. min-height: 100vh;
  28. }
  29. h1 {
  30. font-size: 3.2em;
  31. line-height: 1.1;
  32. }
  33. button {
  34. border-radius: 8px;
  35. border: 1px solid transparent;
  36. padding: 0.6em 1.2em;
  37. font-size: 1em;
  38. font-weight: 500;
  39. font-family: inherit;
  40. background-color: #1a1a1a;
  41. cursor: pointer;
  42. transition: border-color 0.25s;
  43. }
  44. button:hover {
  45. border-color: #646cff;
  46. }
  47. button:focus,
  48. button:focus-visible {
  49. outline: 4px auto -webkit-focus-ring-color;
  50. }
  51. @media (prefers-color-scheme: light) {
  52. :root {
  53. color: #213547;
  54. background-color: #ffffff;
  55. }
  56. a:hover {
  57. color: #747bff;
  58. }
  59. button {
  60. background-color: #f9f9f9;
  61. }
  62. }