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

main.css 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. #navbar {
  75. color: white;
  76. background-color: #7e19ff;
  77. height: 70px;
  78. font-size: 25px;
  79. }
  80. #navbar ul {
  81. padding-top: 35px;
  82. display: inline;
  83. vertical-align: middle;
  84. }
  85. #navbar li:first-child a {
  86. margin-left:20px;
  87. }
  88. #navbar a {
  89. padding-top:17px;
  90. padding-left:30px;
  91. padding-right:30px;
  92. padding-bottom:18px;
  93. margin-right: 10px;
  94. }
  95. #navbar li {
  96. display: block;
  97. float:left;
  98. padding-top:17px;
  99. height: 53px;
  100. }
  101. #navbar li:hover a, #navbar li.current a {
  102. background: #9556f9;
  103. }
  104. #navbar li:last-child a {
  105. margin-right:0px;
  106. padding-right:70px;
  107. padding-left:70px;
  108. }
  109. #navbar li:last-child {
  110. display: block;
  111. float: right;
  112. text-align:right;
  113. background: #ff9619;
  114. }
  115. #navbar li:last-child:hover a, #navbar li.current:last-child a {
  116. background: #ffab19;
  117. }
  118. #page {
  119. width: 60%;
  120. margin: auto;
  121. }
  122. h1 {
  123. text-align: center;
  124. font-size: 400%;
  125. }
  126. h2 {
  127. text-align: center;
  128. font-size: 200%;
  129. }
  130. #page p {
  131. text-indent: 30px;
  132. }
  133. #button_container
  134. {
  135. text-align: center;
  136. }
  137. .button
  138. {
  139. display: inline-block;
  140. }
  141. .button a {
  142. display:block;
  143. background: #09b22b;
  144. color: white;
  145. border: none;
  146. height: 70px;
  147. width: 200px;
  148. margin:auto;
  149. margin-right:15px;
  150. margin-left:15px;
  151. text-align:center;
  152. float: left;
  153. }
  154. .firstword {
  155. font-size:200%;
  156. }
  157. article#jouer {
  158. margin:auto;
  159. }
  160. #page ol {
  161. text-align:center;
  162. font-size: 120%;
  163. }
  164. @media all and (max-width: 799px) {
  165. header {
  166. background-size: 68%;
  167. }
  168. #responsive-navbar {
  169. display: block;
  170. }
  171. #navbar {
  172. display: none;
  173. }
  174. }
  175. @media all and (min-width: 800px) {
  176. #responsive-navbar {
  177. display: none;
  178. }
  179. #navbar {
  180. display: block;
  181. }
  182. }