styles.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .logo.vite:hover {
  2. filter: drop-shadow(0 0 2em #747bff);
  3. }
  4. .logo.typescript:hover {
  5. filter: drop-shadow(0 0 2em #2d79c7);
  6. }
  7. :root {
  8. font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  9. font-size: 16px;
  10. line-height: 24px;
  11. font-weight: 400;
  12. color: #0f0f0f;
  13. background-color: #f6f6f6;
  14. font-synthesis: none;
  15. text-rendering: optimizeLegibility;
  16. -webkit-font-smoothing: antialiased;
  17. -moz-osx-font-smoothing: grayscale;
  18. -webkit-text-size-adjust: 100%;
  19. }
  20. .container {
  21. margin: 0;
  22. padding-top: 10vh;
  23. display: flex;
  24. flex-direction: column;
  25. justify-content: center;
  26. text-align: center;
  27. }
  28. .logo {
  29. height: 6em;
  30. padding: 1.5em;
  31. will-change: filter;
  32. transition: 0.75s;
  33. }
  34. .logo.tauri:hover {
  35. filter: drop-shadow(0 0 2em #24c8db);
  36. }
  37. .row {
  38. display: flex;
  39. justify-content: center;
  40. }
  41. a {
  42. font-weight: 500;
  43. color: #646cff;
  44. text-decoration: inherit;
  45. }
  46. a:hover {
  47. color: #535bf2;
  48. }
  49. h1 {
  50. text-align: center;
  51. }
  52. input,
  53. button {
  54. border-radius: 8px;
  55. border: 1px solid transparent;
  56. padding: 0.6em 1.2em;
  57. font-size: 1em;
  58. font-weight: 500;
  59. font-family: inherit;
  60. color: #0f0f0f;
  61. background-color: #ffffff;
  62. transition: border-color 0.25s;
  63. box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  64. }
  65. button {
  66. cursor: pointer;
  67. }
  68. button:hover {
  69. border-color: #396cd8;
  70. }
  71. button:active {
  72. border-color: #396cd8;
  73. background-color: #e8e8e8;
  74. }
  75. input,
  76. button {
  77. outline: none;
  78. }
  79. #greet-input {
  80. margin-right: 5px;
  81. }
  82. @media (prefers-color-scheme: dark) {
  83. :root {
  84. color: #f6f6f6;
  85. background-color: #2f2f2f;
  86. }
  87. a:hover {
  88. color: #24c8db;
  89. }
  90. input,
  91. button {
  92. color: #ffffff;
  93. background-color: #0f0f0f98;
  94. }
  95. button:active {
  96. background-color: #0f0f0f69;
  97. }
  98. }