style.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. padding: 0;
  25. }
  26. h1 {
  27. font-size: 3.2em;
  28. line-height: 1.1;
  29. }
  30. button {
  31. border-radius: 8px;
  32. border: 1px solid transparent;
  33. padding: 0.6em 1.2em;
  34. font-size: 1em;
  35. font-weight: 500;
  36. font-family: inherit;
  37. background-color: #1a1a1a;
  38. cursor: pointer;
  39. transition: border-color 0.25s;
  40. }
  41. button:hover {
  42. border-color: #646cff;
  43. }
  44. button:focus,
  45. button:focus-visible {
  46. outline: 4px auto -webkit-focus-ring-color;
  47. }
  48. .card {
  49. padding: 2em;
  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. }