style.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. body {
  2. min-height: 100dvh;
  3. margin: 0;
  4. display: flex;
  5. flex-direction: column;
  6. font-size: 1.2rem;
  7. padding-inline: 10%;
  8. font-family: sans-serif;
  9. }
  10. #mainStats {
  11. display: flex;
  12. flex-direction: column;
  13. gap: 1em;
  14. margin: auto;
  15. justify-content: center;
  16. align-items: center;
  17. padding-inline: 1rem;
  18. }
  19. #mainStats > .message {
  20. background-color: lightcoral;
  21. border: 2px solid red;
  22. padding: 0.5rem 2rem;
  23. border-radius: 1rem;
  24. }
  25. #mainStats .stats {
  26. display: flex;
  27. flex-wrap: wrap;
  28. justify-content: center;
  29. align-items: stretch;
  30. gap: 1em 5em;
  31. }
  32. #mainStats .stats .wrapper {
  33. display: flex;
  34. gap: 1em;
  35. flex-direction: column;
  36. }
  37. #mainStats .stats .values {
  38. background-color: rgba(0, 0, 0, 0.1);
  39. padding: 0.5rem 2rem;
  40. border-radius: 1rem;
  41. width: 10em;
  42. flex: 1;
  43. font-size: 1.2em;
  44. }
  45. p {
  46. display: flex;
  47. align-items: center;
  48. gap: 0.5em;
  49. }
  50. header {
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. flex-wrap: wrap;
  55. gap: 0 1em;
  56. }
  57. .icon {
  58. display: inline-block;
  59. width: 1em;
  60. height: 1em;
  61. }
  62. header .end {
  63. font-size: 1.2em;
  64. display: flex;
  65. gap: 1em;
  66. align-items: center;
  67. justify-content: center;
  68. flex-wrap: wrap;
  69. }
  70. [role="button"], button {
  71. background-color: rgba(0, 0, 0, 0.1);
  72. border-radius: 0.5em;
  73. padding: 0.3em 1em;
  74. text-decoration: none;
  75. color: initial;
  76. }