counter.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. }
  13. input {
  14. font-size: 1.7rem;
  15. }
  16. .hidden {
  17. display: none;
  18. }
  19. .count-down {
  20. display: flex;
  21. justify-content: center;
  22. }
  23. .timer {
  24. padding: 1rem 1.5rem;
  25. }
  26. body {
  27. margin: 0;
  28. display: flex;
  29. place-items: center;
  30. min-width: 320px;
  31. min-height: 100vh;
  32. }
  33. h1 {
  34. font-size: 3.2em;
  35. line-height: 1.1;
  36. }
  37. #app {
  38. max-width: 1280px;
  39. margin: 0 auto;
  40. padding: 2rem;
  41. text-align: center;
  42. }
  43. .logo {
  44. height: 6em;
  45. padding: 1.5em;
  46. will-change: filter;
  47. transition: filter 300ms;
  48. }
  49. .logo:hover {
  50. filter: drop-shadow(0 0 2em #646cffaa);
  51. }
  52. .logo.vanilla:hover {
  53. filter: drop-shadow(0 0 2em #f7df1eaa);
  54. }
  55. .card {
  56. padding: 2em;
  57. }
  58. input {
  59. height: 1.5rem;
  60. padding: 0.5rem 1rem;
  61. margin: 0.5rem 1rem;
  62. }
  63. .read-the-docs {
  64. color: #888;
  65. }
  66. .table {
  67. border-collapse: collapse;
  68. border-style: none;
  69. }
  70. .table td, .table td {
  71. padding: 0.2rem 1rem;
  72. }
  73. .table tr {
  74. border-bottom: #747bff;
  75. border-radius: 3px;
  76. border-bottom-style: groove;
  77. }
  78. a {
  79. font-weight: 500;
  80. }
  81. a:hover {
  82. color: #535bf2;
  83. }
  84. .btn {
  85. color: #9ba0f8;
  86. text-decoration: none;
  87. display: inline-block;
  88. border-radius: 8px;
  89. border: 1px solid transparent;
  90. padding: 0.6em 1.2em;
  91. font-size: 1em;
  92. font-weight: 500;
  93. font-family: inherit;
  94. background-color: #1a1a1a;
  95. cursor: pointer;
  96. transition: border-color 0.25s;
  97. margin: 0.3rem 0.2rem;;
  98. }
  99. .btn-del {
  100. background-color: #e41c1c !important;
  101. color: white;
  102. }
  103. .btn-del:hover {
  104. border-color: #ffffff !important;
  105. background-color: #d10000 !important;
  106. }
  107. .btn:hover {
  108. border-color: #646cff;
  109. }
  110. .btn:focus,
  111. .btn:focus-visible {
  112. outline: 4px auto -webkit-focus-ring-color;
  113. }
  114. @media (prefers-color-scheme: light) {
  115. :root {
  116. color: #213547;
  117. background-color: #ffffff;
  118. }
  119. a:hover {
  120. color: #747bff;
  121. }
  122. .btn {
  123. background-color: #f9f9f9;
  124. }
  125. }