game.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .flex-container {
  2. display: flex;
  3. height: 100vh;
  4. background-color: #1e6d04;
  5. flex-direction: column;
  6. justify-content: center;
  7. align-items: center;
  8. color: #fff;
  9. }
  10. .dice-box {
  11. padding: 10px;
  12. }
  13. .second-row {
  14. flex-direction: row;
  15. justify-content: space-around;
  16. }
  17. .face,
  18. .second-row {
  19. display: flex;
  20. }
  21. .face {
  22. margin: 5px;
  23. padding: 4px;
  24. background-color: #fff;
  25. width: 108px;
  26. height: 108px;
  27. object-fit: contain;
  28. border-radius: 10%;
  29. box-shadow: inset 0 5px #fff, inset 0 -5px #bbb, inset 5px 0 #d7d7d7, inset -5px 0 #d7d7d7;
  30. }
  31. .pip {
  32. display: block;
  33. width: 24px;
  34. height: 24px;
  35. border-radius: 50%;
  36. margin: 4px;
  37. background-color: #333;
  38. box-shadow: inset 0 3px #111, inset 0 -3px #555;
  39. }
  40. .first {
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .second {
  45. justify-content: space-between;
  46. }
  47. .second .pip:last-child {
  48. align-self: flex-end;
  49. }
  50. .third {
  51. justify-content: space-between;
  52. }
  53. .third .pip.third-item-center {
  54. align-self: center;
  55. }
  56. .third .pip:last-child {
  57. align-self: flex-end;
  58. }
  59. .fourth,
  60. .fourth .column {
  61. justify-content: space-between;
  62. }
  63. .fourth .column {
  64. display: flex;
  65. flex-direction: column;
  66. }
  67. .fifth,
  68. .fifth .column {
  69. justify-content: space-between;
  70. }
  71. .fifth .column {
  72. display: flex;
  73. flex-direction: column;
  74. }
  75. .fifth .column.fifth-column-center {
  76. justify-content: center;
  77. }
  78. .sixth,
  79. .sixth .column {
  80. justify-content: space-between;
  81. }
  82. .sixth .column {
  83. display: flex;
  84. flex-direction: column;
  85. }
  86. .button-box {
  87. padding-top: 100px;
  88. width: 80%;
  89. }
  90. .btnc {
  91. background-color: #902116 !important;
  92. }