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 3.2KB

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