style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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: #0f0f0f;
  7. background-color: #f6f6f6;
  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. .container {
  15. margin: 0;
  16. padding-top: 10vh;
  17. display: flex;
  18. flex-direction: column;
  19. justify-content: center;
  20. text-align: center;
  21. }
  22. .logo {
  23. height: 6em;
  24. padding: 1.5em;
  25. will-change: filter;
  26. transition: 0.75s;
  27. }
  28. .logo.tauri:hover {
  29. filter: drop-shadow(0 0 2em #24c8db);
  30. }
  31. .row {
  32. display: flex;
  33. justify-content: center;
  34. }
  35. a {
  36. font-weight: 500;
  37. color: #646cff;
  38. text-decoration: inherit;
  39. }
  40. a:hover {
  41. color: #535bf2;
  42. }
  43. h1 {
  44. text-align: center;
  45. }
  46. input,
  47. button {
  48. border-radius: 8px;
  49. border: 1px solid transparent;
  50. padding: 0.6em 1.2em;
  51. font-size: 1em;
  52. font-weight: 500;
  53. font-family: inherit;
  54. color: #0f0f0f;
  55. background-color: #ffffff;
  56. transition: border-color 0.25s;
  57. box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  58. }
  59. button {
  60. cursor: pointer;
  61. }
  62. button:hover {
  63. border-color: #396cd8;
  64. }
  65. input,
  66. button {
  67. outline: none;
  68. }
  69. #greet-input {
  70. margin-right: 5px;
  71. }
  72. @media (prefers-color-scheme: dark) {
  73. :root {
  74. color: #f6f6f6;
  75. background-color: #2f2f2f;
  76. }
  77. a:hover {
  78. color: #24c8db;
  79. }
  80. input,
  81. button {
  82. color: #ffffff;
  83. background-color: #0f0f0f98;
  84. }
  85. }