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".

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