style.css 1.5 KB

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