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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. section#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. section#responsive-navbar {
  31. display: none;
  32. margin-top:0px;
  33. color: white;
  34. background-color: #7e19ff;
  35. font-size: 25px;
  36. }
  37. section#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. section#responsive-navbar ul li {
  45. height: 2em;
  46. line-height: 2em;
  47. vertical-align: middle;
  48. text-align:center;
  49. width:100%;
  50. }
  51. section#responsive-navbar ul li a {
  52. display:block;
  53. width:100%;
  54. }
  55. section#responsive-navbar ul li:last-child {
  56. background: #ff9619;
  57. }
  58. section#responsive-navbar ul li:last-child.current {
  59. background: #ffab19;
  60. }
  61. section#responsive-navbar ul li:last-child:hover {
  62. background: #ffab19;
  63. }
  64. section#responsive-navbar ul li:hover, section#responsive-navbar ul li.current {
  65. background: #9556f9;
  66. }
  67. section#responsive-navbar ul li:first-child, section#responsive-navbar ul li:first-child:hover, section#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. section#navbar {
  75. color: white;
  76. background-color: #7e19ff;
  77. height: 70px;
  78. font-size: 25px;
  79. }
  80. section#navbar ul {
  81. padding-top: 35px;
  82. display: inline;
  83. vertical-align: middle;
  84. }
  85. section#navbar li:first-child a {
  86. margin-left:20px;
  87. }
  88. section#navbar a {
  89. padding-top:17px;
  90. padding-left:30px;
  91. padding-right:30px;
  92. padding-bottom:18px;
  93. margin-right: 10px;
  94. }
  95. section#navbar li {
  96. display: block;
  97. float:left;
  98. padding-top:17px;
  99. height: 53px;
  100. }
  101. section#navbar li:hover a, section#navbar li.current a {
  102. background: #9556f9;
  103. }
  104. section#navbar li:last-child a {
  105. margin-right:0px;
  106. padding-right:70px;
  107. padding-left:70px;
  108. }
  109. section#navbar li:last-child {
  110. display: block;
  111. float: right;
  112. text-align:right;
  113. background: #ff9619;
  114. }
  115. section#navbar li:last-child:hover a, section#navbar li.current:last-child a {
  116. background: #ffab19;
  117. }
  118. section#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. section#page p {
  131. text-indent: 30px;
  132. }
  133. .button a {
  134. display:block;
  135. background: #09b22b;
  136. color: white;
  137. border: none;
  138. height: 70px;
  139. width: 200px;
  140. margin:auto;
  141. margin-right:15px;
  142. margin-left:15px;
  143. text-align:center;
  144. float: left;
  145. }
  146. .firstword {
  147. font-size:200%;
  148. }
  149. article#jouer {
  150. margin:auto;
  151. }
  152. section#page ol {
  153. text-align:center;
  154. font-size: 120%;
  155. }
  156. @media all and (max-width: 799px) {
  157. header {
  158. background-size: 68%;
  159. }
  160. section#responsive-navbar {
  161. display: block;
  162. }
  163. section#navbar {
  164. display: none;
  165. }
  166. }
  167. @media all and (min-width: 800px) {
  168. section#responsive-navbar {
  169. display: none;
  170. }
  171. section#navbar {
  172. display: block;
  173. }
  174. }