style.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. img {
  2. object-fit: cover;
  3. width: 100%;
  4. }
  5. body {
  6. min-height: 100dvh;
  7. margin: 0;
  8. display: flex;
  9. flex-direction: column;
  10. padding-inline: 10%;
  11. font-family: sans-serif;
  12. line-height: 1.3;
  13. background-color: #eee;
  14. gap: 0.5em;
  15. }
  16. #mainStats {
  17. display: flex;
  18. flex-direction: column;
  19. gap: 1em;
  20. margin: auto;
  21. justify-content: center;
  22. align-items: center;
  23. padding: 1em;
  24. }
  25. .message {
  26. max-width: max-content;
  27. margin-block: 0.5em;
  28. padding: 0.25em 1em;
  29. border-radius: 1em;
  30. background-color: rgba(50, 50, 50, 0.3);
  31. border: 2px solid rgb(50, 50, 50);
  32. color: rgb(50, 50, 50);
  33. }
  34. .message.error {
  35. background-color: rgba(255, 50, 50, 0.3);
  36. border: 2px solid rgb(255, 50, 50);
  37. color: rgb(255, 50, 50);
  38. }
  39. #mainStats .stats {
  40. display: flex;
  41. flex-wrap: wrap;
  42. justify-content: center;
  43. align-items: stretch;
  44. gap: 1em 5em;
  45. }
  46. #mainStats .stats .wrapper {
  47. display: flex;
  48. gap: 1em;
  49. flex-direction: column;
  50. }
  51. #mainStats .stats .values {
  52. background-color: rgba(0, 0, 0, 0.1);
  53. padding: 0.5em 1em;
  54. border-radius: 1em;
  55. width: 10em;
  56. flex: 1;
  57. font-size: 1.2em;
  58. display: flex;
  59. flex-direction: column;
  60. justify-content: flex-end;
  61. }
  62. #mainStats .stats .values p {
  63. margin: 0.5em 0;
  64. }
  65. p.messageText, a, button, h1, h2, h3 {
  66. display: flex;
  67. flex-wrap: wrap;
  68. align-items: center;
  69. gap: 0.5em;
  70. }
  71. header {
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: center;
  75. flex-wrap: wrap;
  76. gap: 0 3em;
  77. padding-block: 1em;
  78. }
  79. header > * {
  80. margin-inline: auto;
  81. }
  82. .icon {
  83. display: inline-block;
  84. width: 1em;
  85. height: 1em;
  86. }
  87. header .links {
  88. display: flex;
  89. gap: 1em;
  90. align-items: center;
  91. justify-content: center;
  92. flex-wrap: wrap;
  93. }
  94. [role="button"], button, select, input, textarea {
  95. background-color: rgba(0, 0, 0, 0.1);
  96. border-radius: 0.5em;
  97. padding: 0.5em 1em;
  98. text-decoration: none;
  99. color: initial;
  100. border: none;
  101. width: max-content;
  102. display: flex;
  103. align-items: center;
  104. gap: 0.5em;
  105. font-size: 1em;
  106. height: max-content;
  107. font-family: inherit;
  108. }
  109. button {
  110. cursor: pointer;
  111. }
  112. [role="button"].danger, button.danger {
  113. color: #eee;
  114. background-color: rgb(255, 50, 50);
  115. }
  116. [role="button"].primary, button.primary {
  117. color: #eee;
  118. background-color: rgb(50, 50, 255);
  119. }
  120. input, select, textarea {
  121. border: 2px solid rgba(0, 0, 0);
  122. }
  123. form {
  124. display: flex;
  125. flex-direction: column;
  126. gap: 1em;
  127. }
  128. form > div {
  129. display: flex;
  130. flex-direction: column;
  131. gap: 0.5em;
  132. }
  133. .historyLinks {
  134. display: flex;
  135. gap: 1em;
  136. flex-wrap: wrap;
  137. margin-block: 1em;
  138. align-items: center;
  139. justify-content: center;
  140. }
  141. #historyForm {
  142. flex-direction: row;
  143. flex-wrap: wrap;
  144. align-items: flex-end;
  145. }
  146. .container-row {
  147. display: flex;
  148. flex-wrap: wrap;
  149. gap: 0 1em;
  150. align-items: center;
  151. margin-block: 0.5em;
  152. }
  153. hr {
  154. width: 100%;
  155. margin-block: 1em;
  156. margin-inline: 0 auto;
  157. }
  158. .table-wrapper {
  159. overflow: auto;
  160. }
  161. table {
  162. background-color: rgba(0, 0, 0, 0.1);
  163. border-collapse: collapse;
  164. overflow: hidden;
  165. border-radius: 0.5em;
  166. width: 100%;
  167. }
  168. th, td {
  169. text-align: left;
  170. padding: 0.5em 1em;
  171. border-right: 1px solid currentColor;
  172. }
  173. th:last-of-type, td:last-of-type {
  174. border-right: none;
  175. }
  176. tr:nth-child(even) {
  177. background-color: rgba(255, 255, 255, 0.2);
  178. }
  179. section {
  180. margin-block: 1em;
  181. }
  182. .indexHero {
  183. display: flex;
  184. flex-wrap: wrap-reverse;
  185. gap: 1em 5em;
  186. align-items: center;
  187. justify-content: space-between;
  188. }
  189. .indexHero > * {
  190. margin-inline: auto;
  191. }