repository to manage all files for 1_2_oder_3 interaction game for Inf2/2 Interaktionen SoSe23 from Engert, Caliskan and Bachiri
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

App.css 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. .PopUpBackground {
  2. width: 100vw;
  3. height: 100vh;
  4. background-color: rgba(255, 255, 255, 0.5);
  5. backdrop-filter: blur(10px);
  6. background-size: 100%;
  7. position: absolute;
  8. display: flex;
  9. justify-content: center;
  10. align-items: center;
  11. z-index: 10;
  12. top: 0;
  13. left: 0;
  14. }
  15. .PopUpContainer {
  16. width: 500px;
  17. height: 200px;
  18. border-radius: 20px;
  19. background: linear-gradient(white, white) padding-box,
  20. linear-gradient(to right, #a10012 0%, #fba51b 50%, #3b5da4 100%) border-box;
  21. border-style: solid;
  22. border-width: 5px;
  23. border-color: transparent;
  24. box-shadow: 5px 5px black;
  25. }
  26. #Cancel {
  27. margin-left: 470px;
  28. padding-left: 5px;
  29. padding-right: 5px;
  30. margin-top: -15px;
  31. border-radius: 5px;
  32. background: linear-gradient(white, white) padding-box,
  33. linear-gradient(to right, #a10012 0%, #fba51b 50%, #3b5da4 100%) border-box;
  34. border-style: solid;
  35. border-width: 2px;
  36. box-shadow: 1px 1px black;
  37. border-color: transparent;
  38. position: fixed;
  39. cursor: pointer;
  40. }
  41. .Header {
  42. display: flex;
  43. align-items: center;
  44. padding: 30px;
  45. }
  46. .HeaderDiv {
  47. margin-left: 50px;
  48. text-align: center;
  49. max-width: 600px;
  50. width: 100%;
  51. padding: 10px;
  52. box-shadow: 5px 5px black;
  53. background: linear-gradient(white, white) padding-box,
  54. linear-gradient(to right, #a10012 0%, #fba51b 50%, #3b5da4 100%) border-box;
  55. border-style: solid;
  56. border-width: 5px;
  57. border-radius: 20px;
  58. border-color: transparent;
  59. }
  60. .TimerDiv {
  61. background: linear-gradient(white, white) padding-box,
  62. linear-gradient(to right, #a10012 0%, #fba51b 50%, #3b5da4 100%) border-box;
  63. border-style: solid;
  64. border-width: 5px;
  65. border-radius: 20px;
  66. border-color: transparent;
  67. padding: 20px;
  68. box-shadow: 5px 5px black;
  69. margin-left: 50px;
  70. }
  71. #TimerPic {
  72. }
  73. #Seconds {
  74. border: solid 2px black;
  75. border-radius: 10px;
  76. padding: 2px;
  77. }
  78. #QuestionHeaderDiv {
  79. background-color: white;
  80. border: solid #0C134F 2px;
  81. margin-bottom: 5px;
  82. border-radius: 10px;
  83. box-shadow: 2px 2px #0C134F;
  84. }
  85. #QuestionHeader {
  86. color: #0C134F;
  87. }
  88. #QuestionDiv {
  89. background-color: white;
  90. border: solid #0C134F 2px;
  91. margin-bottom: 5px;
  92. border-radius: 10px;
  93. box-shadow: 2px 2px black;
  94. }
  95. #Question {
  96. color: black;
  97. }
  98. #headingimage {
  99. width: 250px;
  100. height: auto;
  101. padding: 10px ;
  102. background: linear-gradient(white, white) padding-box,
  103. linear-gradient(to right, #a10012 0%, #fba51b 50%, #3b5da4 100%) border-box;
  104. border-style: solid;
  105. border-width: 5px;
  106. border-radius: 20px;
  107. border-color: transparent;
  108. box-shadow: 5px 5px black;
  109. cursor: pointer;
  110. }
  111. .Body{
  112. text-align: center;
  113. }
  114. .Answers {
  115. float: left;
  116. padding: 10px;
  117. width: 100%;
  118. max-width: 600px;;
  119. height: 300px;
  120. margin-left: 110px;
  121. }
  122. .AnswerBox {
  123. margin-left: 6px;
  124. position: relative;
  125. height: 300px;
  126. width: 30%;
  127. float: left;
  128. border: solid 2px;
  129. border-radius: 20px;
  130. box-shadow: 5px 5px black;
  131. background-color: white;;
  132. }
  133. #firstans {
  134. border: solid 5px #a10012;
  135. }
  136. #secondans {
  137. border: solid 5px #fba51b;
  138. }
  139. #thirdans {
  140. border: solid 5px #3b5da4;
  141. }
  142. .Buttons {
  143. float: left;
  144. max-width: 220px;
  145. padding-top: 10px;
  146. padding-left: 30px;
  147. }
  148. .MyButton {
  149. margin-bottom: 20px;
  150. padding: 10px 20px;
  151. font-size: 30px;
  152. font-weight: bold;
  153. color: white;
  154. border-style: solid;
  155. border-radius: 20px;
  156. box-shadow: 5px 5px black;
  157. cursor: pointer;
  158. }
  159. #TeamSizeInput {
  160. margin-left: 70px;
  161. float: left;
  162. margin-right: -50px;
  163. padding: 7px;
  164. border-radius: 6px;
  165. font-size: 16px;
  166. background: #fbfbfb;
  167. border: 2px solid transparent;
  168. height: 36px;
  169. box-shadow: 0 0 0 1px #dddddd, 0 2px 4px 0 rgb(0 0 0 / 7%), 0 1px 2px 0 rgb(0 0 0 / 5%);
  170. }
  171. #TeamSizeInput:focus {
  172. border: 2px solid #000;
  173. border-radius: 4px;
  174. }
  175. #PopUpButton {
  176. position: relative;
  177. margin-top: 5px;
  178. font-size: 16px;
  179. background-color: #4CAF50;
  180. }
  181. .ScoreBoard {
  182. float: left;
  183. padding: 10px;
  184. width: 100px;
  185. height: 300px;
  186. margin-left: 50px;
  187. background: linear-gradient(white, white) padding-box,
  188. linear-gradient(to right, #a10012 0%, #fba51b 50%, #3b5da4 100%) border-box;
  189. border-style: solid;
  190. border-width: 5px;
  191. border-radius: 20px;
  192. border-color: transparent;
  193. box-shadow: 5px 5px black;
  194. }
  195. #StartButton {
  196. background-color: #4CAF50;
  197. }
  198. #QuitButton {
  199. background-color: red;
  200. }
  201. .MyButton:hover {
  202. background-color: #3E8E41; /* darker shade of green */
  203. }