style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. * {
  15. margin: 0;
  16. padding: 0;
  17. box-sizing: border-box;
  18. }
  19. a {
  20. font-weight: 500;
  21. color: #646cff;
  22. text-decoration: inherit;
  23. }
  24. a:hover {
  25. color: #535bf2;
  26. }
  27. a {
  28. font-weight: 500;
  29. color: #646cff;
  30. text-decoration: inherit;
  31. }
  32. a:hover {
  33. color: #535bf2;
  34. }
  35. body {
  36. margin: 0;
  37. display: flex;
  38. place-items: center;
  39. min-width: 320px;
  40. min-height: 100vh;
  41. }
  42. h1 {
  43. font-size: 3.2em;
  44. line-height: 1.1;
  45. }
  46. button {
  47. border-radius: 8px;
  48. border: 1px solid transparent;
  49. padding: 0.6em 1.2em;
  50. font-size: 1em;
  51. font-weight: 500;
  52. font-family: inherit;
  53. background-color: #1a1a1a;
  54. cursor: pointer;
  55. transition: border-color 0.25s;
  56. }
  57. button:hover {
  58. border-color: #646cff;
  59. }
  60. button:focus,
  61. button:focus-visible {
  62. outline: 4px auto -webkit-focus-ring-color;
  63. }
  64. .card {
  65. padding: 2em;
  66. }
  67. #app {
  68. margin: auto;
  69. max-width: 1280px;
  70. width: 100%;
  71. height: 100vh;
  72. }
  73. @media (prefers-color-scheme: light) {
  74. :root {
  75. color: #213547;
  76. background-color: #ffffff;
  77. }
  78. a:hover {
  79. color: #747bff;
  80. }
  81. button {
  82. background-color: #f9f9f9;
  83. }
  84. }