style.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. :root {
  2. line-height: 1.5;
  3. font-weight: 400;
  4. color-scheme: light dark;
  5. color: rgba(255, 255, 255, 0.87);
  6. background-color: #242424;
  7. font-synthesis: none;
  8. text-rendering: optimizeLegibility;
  9. -webkit-font-smoothing: antialiased;
  10. -moz-osx-font-smoothing: grayscale;
  11. }
  12. a {
  13. font-weight: 500;
  14. color: #646cff;
  15. text-decoration: inherit;
  16. }
  17. a:hover {
  18. color: #535bf2;
  19. }
  20. body {
  21. margin: 0;
  22. display: flex;
  23. place-items: center;
  24. min-width: 320px;
  25. min-height: 100vh;
  26. }
  27. h1 {
  28. font-size: 3.2em;
  29. line-height: 1.1;
  30. }
  31. button {
  32. border-radius: 8px;
  33. border: 1px solid transparent;
  34. padding: 0.6em 1.2em;
  35. font-size: 1em;
  36. font-weight: 500;
  37. /* font-family: inherit; */
  38. background-color: #1a1a1a;
  39. cursor: pointer;
  40. transition: border-color 0.25s;
  41. }
  42. button:hover {
  43. border-color: #646cff;
  44. }
  45. button:focus,
  46. button:focus-visible {
  47. outline: 4px auto -webkit-focus-ring-color;
  48. }
  49. .card {
  50. padding: 2em;
  51. }
  52. #app {
  53. width: 100%;
  54. height: 100vh;
  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. }