style.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. .card {
  53. padding: 2em;
  54. }
  55. #app {
  56. max-width: 1280px;
  57. margin: 0 auto;
  58. padding: 2rem;
  59. text-align: center;
  60. }
  61. @media (prefers-color-scheme: light) {
  62. :root {
  63. color: #213547;
  64. background-color: #ffffff;
  65. }
  66. a:hover {
  67. color: #747bff;
  68. }
  69. button {
  70. background-color: #f9f9f9;
  71. }
  72. }