style.css 3.8 KB

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