style.css 3.7 KB

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