style.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. align-items: center;
  68. gap: 0.5em;
  69. }
  70. header {
  71. display: flex;
  72. justify-content: space-between;
  73. align-items: center;
  74. flex-wrap: wrap;
  75. gap: 0 3em;
  76. padding-block: 1em;
  77. }
  78. header > * {
  79. margin-inline: auto;
  80. }
  81. .icon {
  82. display: inline-block;
  83. width: 1em;
  84. height: 1em;
  85. }
  86. header .links {
  87. display: flex;
  88. gap: 1em;
  89. align-items: center;
  90. justify-content: center;
  91. flex-wrap: wrap;
  92. }
  93. [role="button"], button, select, input, textarea {
  94. background-color: rgba(0, 0, 0, 0.1);
  95. border-radius: 0.5em;
  96. padding: 0.5em 1em;
  97. text-decoration: none;
  98. color: initial;
  99. border: none;
  100. width: max-content;
  101. cursor: pointer;
  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. [role="button"].danger, button.danger {
  110. color: #eee;
  111. background-color: rgb(255, 50, 50);
  112. }
  113. [role="button"].primary, button.primary {
  114. color: #eee;
  115. background-color: rgb(50, 50, 255);
  116. }
  117. input, select, textarea {
  118. border: 2px solid rgba(0, 0, 0);
  119. }
  120. form {
  121. display: flex;
  122. flex-direction: column;
  123. gap: 1em;
  124. }
  125. form > div {
  126. display: flex;
  127. flex-direction: column;
  128. gap: 0.5em;
  129. }
  130. .historyLinks {
  131. display: flex;
  132. gap: 1em;
  133. flex-wrap: wrap;
  134. margin-block: 1em;
  135. align-items: center;
  136. justify-content: center;
  137. }
  138. #historyForm {
  139. flex-direction: row;
  140. flex-wrap: wrap;
  141. align-items: flex-end;
  142. }
  143. .container-row {
  144. display: flex;
  145. flex-wrap: wrap;
  146. gap: 0 1em;
  147. align-items: center;
  148. margin-block: 0.5em;
  149. }
  150. hr {
  151. width: 100%;
  152. margin-block: 1em;
  153. margin-inline: 0 auto;
  154. }
  155. .table-wrapper {
  156. overflow: auto;
  157. }
  158. table {
  159. background-color: rgba(0, 0, 0, 0.1);
  160. border-collapse: collapse;
  161. overflow: hidden;
  162. border-radius: 0.5em;
  163. width: 100%;
  164. }
  165. th, td {
  166. text-align: left;
  167. padding: 0.5em 1em;
  168. border-right: 1px solid currentColor;
  169. }
  170. th:last-of-type, td:last-of-type {
  171. border-right: none;
  172. }
  173. tr:nth-child(even) {
  174. background-color: rgba(255, 255, 255, 0.2);
  175. }
  176. section {
  177. margin-block: 1em;
  178. }
  179. .indexHero {
  180. display: flex;
  181. flex-wrap: wrap-reverse;
  182. gap: 1em 5em;
  183. align-items: center;
  184. justify-content: space-between;
  185. }
  186. .indexHero > * {
  187. margin-inline: auto;
  188. }