styles.css 1.6 KB

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