style.css 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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: #dddddd;
  39. padding: 0.5rem 2rem;
  40. border-radius: 1rem;
  41. width: 10em;
  42. flex: 1;
  43. }
  44. p {
  45. display: flex;
  46. align-items: center;
  47. gap: 0.5em;
  48. }
  49. header {
  50. display: flex;
  51. justify-content: space-between;
  52. align-items: center;
  53. flex-wrap: wrap;
  54. gap: 0 1em;
  55. }