Créé dans le cadre du projet de fin d'année de la promo 2018 de CIR2 de l'ISEN Brest/Rennes, le Burger Quizz est une adaptation numérique du jeu télévisé éponyme, plus précisément d'une épreuve spécifique de ce jeu : le "Sel ou Poivre".

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. body {
  2. padding:0px;
  3. margin:0px;
  4. font-family:'Open Sans';
  5. background: #fffdc6;
  6. }
  7. p a, #game a, p a:visited, p a:visited {
  8. text-decoration: underline;
  9. color:black;
  10. }
  11. a, a:visited {
  12. color: white;
  13. text-decoration: none;
  14. }
  15. a:active{
  16. background:transparent
  17. }
  18. #navbar a:hover {
  19. text-decoration:none;
  20. }
  21. header {
  22. height: 100px;
  23. background-color: white;
  24. background-image: url("../assets/burgerquizz.png");
  25. background-size: 400px;
  26. background-repeat: no-repeat;
  27. background-position: center;
  28. padding-bottom: 10px;
  29. }
  30. #responsive-navbar {
  31. display: none;
  32. margin-top:0px;
  33. color: white;
  34. background-color: #7e19ff;
  35. font-size: 25px;
  36. }
  37. #responsive-navbar ul {
  38. margin-top:0px;
  39. list-style-type:none;
  40. padding-left:0px;
  41. width:100%;
  42. margin-bottom:0px;
  43. }
  44. #responsive-navbar ul li {
  45. height: 2em;
  46. line-height: 2em;
  47. vertical-align: middle;
  48. text-align:center;
  49. width:100%;
  50. }
  51. #responsive-navbar ul li a {
  52. display:block;
  53. width:100%;
  54. }
  55. #responsive-navbar ul li:last-child {
  56. background: #ff9619;
  57. }
  58. #responsive-navbar ul li:last-child.current {
  59. background: #ffab19;
  60. }
  61. #responsive-navbar ul li:last-child:hover {
  62. background: #ffab19;
  63. }
  64. #responsive-navbar ul li:hover, #responsive-navbar ul li.current {
  65. background: #9556f9;
  66. }
  67. #responsive-navbar ul li:first-child, #responsive-navbar ul li:first-child:hover, #responsive-navbar ul li:first-child:active {
  68. background-color: #7e19ff;
  69. background-image: url('../assets/burger-menu.png');
  70. background-size: 25px;
  71. background-repeat: no-repeat;
  72. background-position: 10px, 50%;
  73. }
  74. #responsive-navbar #score-responsive {
  75. text-align: right;
  76. float: right;
  77. left: 0px;
  78. padding-right: 10px;
  79. padding-left: 10px;
  80. background: #FFAB19;
  81. }
  82. #navbar {
  83. color: white;
  84. background-color: #7e19ff;
  85. height: 70px;
  86. font-size: 25px;
  87. }
  88. #navbar ul {
  89. padding-top: 35px;
  90. display: inline;
  91. vertical-align: middle;
  92. }
  93. #navbar li:first-child a {
  94. margin-left:20px;
  95. }
  96. #navbar a {
  97. padding-top:17px;
  98. padding-left:30px;
  99. padding-right:30px;
  100. padding-bottom:18px;
  101. margin-right: 10px;
  102. }
  103. #navbar li {
  104. display: block;
  105. float:left;
  106. padding-top:17px;
  107. height: 53px;
  108. }
  109. #navbar li:hover a, #navbar li.current a {
  110. background: #9556f9;
  111. }
  112. #navbar li:last-child a {
  113. margin-right:0px;
  114. padding-right:70px;
  115. padding-left:70px;
  116. }
  117. #navbar li:last-child {
  118. display: block;
  119. float: right;
  120. text-align:right;
  121. background: #ff9619;
  122. }
  123. #navbar li:last-child:hover a, #navbar li.current:last-child a {
  124. background: #ffab19;
  125. }
  126. #page {
  127. width: 60%;
  128. margin: auto;
  129. }
  130. h1 {
  131. text-align: center;
  132. font-size: 400%;
  133. }
  134. h2 {
  135. text-align: center;
  136. font-size: 200%;
  137. }
  138. #page p {
  139. text-indent: 30px;
  140. }
  141. #button_container
  142. {
  143. text-align: center;
  144. }
  145. .button
  146. {
  147. display: inline-block;
  148. }
  149. .button a {
  150. display:block;
  151. background: #09b22b;
  152. color: white;
  153. border: none;
  154. height: 70px;
  155. width: 200px;
  156. margin:auto;
  157. margin-right:15px;
  158. margin-left:15px;
  159. text-align:center;
  160. float: left;
  161. }
  162. .firstword {
  163. font-size:200%;
  164. }
  165. article#jouer {
  166. margin:auto;
  167. }
  168. #page ol {
  169. text-align:center;
  170. font-size: 120%;
  171. }
  172. @media all and (max-width: 799px) {
  173. header {
  174. background-size: 68%;
  175. }
  176. #responsive-navbar {
  177. display: block;
  178. }
  179. #navbar {
  180. display: none;
  181. }
  182. }
  183. @media all and (min-width: 800px) {
  184. #responsive-navbar {
  185. display: none;
  186. }
  187. #navbar {
  188. display: block;
  189. }
  190. }