style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. :root {
  2. --background-color: #55C9F6;
  3. --light-background-color:#CAE3FB;
  4. --text-color: black;
  5. --accent-color: #29A5F2;
  6. }
  7. ::-webkit-scrollbar {
  8. width: 5px;
  9. height: 5px;
  10. }
  11. ::-webkit-scrollbar-button {
  12. width: 0px;
  13. height: 0px;
  14. }
  15. ::-webkit-scrollbar-thumb {
  16. background: var(--text-color);
  17. border: none;
  18. border-radius: 0px;
  19. }
  20. ::-webkit-scrollbar-thumb:hover {
  21. background: var(--text-color);
  22. }
  23. ::-webkit-scrollbar-thumb:active {
  24. background: var(--text-color);
  25. }
  26. ::-webkit-scrollbar-track {
  27. background: rgba(0,0,0,0);
  28. border: none;
  29. border-radius: 0px;
  30. }
  31. ::-webkit-scrollbar-track:hover {
  32. background: rgba(0,0,0,0);
  33. }
  34. ::-webkit-scrollbar-track:active {
  35. background: rgba(0,0,0,0);
  36. }
  37. ::-webkit-scrollbar-corner {
  38. background: rgba(0,0,0,0);
  39. }
  40. *{
  41. transition-duration: 0.5s;
  42. scrollbar-color: var(--text-color) rgba(0,0,0,0) !important;
  43. scrollbar-width: thin !important;
  44. }
  45. a {
  46. color: var(--accent-color);
  47. }
  48. a:hover {
  49. opacity: 0.5;
  50. }
  51. body {
  52. background: var(--background-color);
  53. color: var(--text-color);
  54. font-family: 'Fira Sans', sans-serif;
  55. position: fixed;
  56. margin: 0;
  57. padding: 0;
  58. height: 100%;
  59. width: 100%;
  60. }
  61. body {
  62. height: 100%;
  63. width: 100%;
  64. margin: 0;
  65. padding: 0;
  66. display: flex;
  67. flex-flow: column;
  68. justify-content: center;
  69. align-items: center;
  70. overflow: auto;
  71. }
  72. body>div {
  73. max-width: 900px;
  74. background: var(--light-background-color);
  75. padding: 20px;
  76. border-radius: 10px;
  77. overflow: auto;
  78. }
  79. input {
  80. border: none;
  81. border-bottom: white solid 2px;
  82. background: rgba(255, 255, 255, 0.3);
  83. width: 100%;
  84. outline: none;
  85. font-size: 15px;
  86. padding: 5px;
  87. }
  88. input:hover {
  89. background: rgba(255, 255, 255, 0.5);
  90. }
  91. input:focus {
  92. border: none;
  93. border-bottom: var(--accent-color) solid 2px;
  94. background: rgba(255, 255, 255, 0.9);
  95. }
  96. #logo {
  97. float: right;
  98. width: 100%;
  99. max-width: 80px;
  100. border-radius: 80px;
  101. overflow: hidden;
  102. }
  103. .tableContainer {
  104. overflow-x: auto;
  105. overflow-y: hidden;
  106. display: flex;
  107. flex-wrap: wrap;
  108. background: white;
  109. margin: 5px;
  110. border-radius: 5px;
  111. border: 2px solid var(--accent-color);
  112. }
  113. .tableContainer table {
  114. width: 100%;
  115. border-collapse: collapse;
  116. border-spacing: 0;
  117. }
  118. .tableContainer table td,
  119. .tableContainer table th {
  120. border: 1px solid var(--accent-color);
  121. padding: 10px;
  122. vertical-align: baseline;
  123. white-space: nowrap;
  124. }
  125. .tableContainer table thead {
  126. font-weight: 700;
  127. }
  128. .tableContainer table tbody tr {
  129. border: 1px solid var(--accent-color);
  130. transition: background ease-in-out 0.2s;
  131. }
  132. .tableContainer table tbody tr:nth-child(even) {
  133. background: #eeeeee;
  134. transition: background ease-in-out 0.2s;
  135. }
  136. .tableContainer table tbody tr:hover,
  137. .tableContainer table tbody tr:focus {
  138. background: #eeeeee;
  139. transition: background ease-in-out 0.2s;
  140. }
  141. .errors {
  142. margin: 10px auto 0 auto;
  143. color: white;
  144. padding: 10px;
  145. border-radius: 5px;
  146. background: red;
  147. max-width: 480px;
  148. }
  149. .errors strong {
  150. font-size: 18px;
  151. }
  152. .errors p {
  153. margin: 0;
  154. font-size: 16px;
  155. }
  156. .delete {
  157. margin: 0;
  158. }