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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. @keyframes timebar
  2. {
  3. 0%{width: 100%;background-color: #57cc6b;}
  4. 30%{background-color: #57cc6b;}
  5. 40%{background-color: #e3a55c;}
  6. 60%{background-color: #e3a55c;}
  7. 70%{background-color: #cc5757;}
  8. 100%{width: 0;background-color: #cc5757;}
  9. }
  10. #timer {
  11. height: 20px;
  12. display: block;
  13. margin: auto;
  14. }
  15. .timer
  16. {
  17. animation: timebar 5s linear;
  18. }
  19. .pause {
  20. animation-play-state: paused;
  21. }
  22. .clearTimer {
  23. animation: none;
  24. }
  25. #navbar li.current:last-child #score {
  26. display:inline;
  27. padding-top:17px;
  28. padding-left:30px;
  29. padding-right:30px;
  30. padding-bottom:18px;
  31. background: #ffab19;
  32. }
  33. #game input[type="submit"]#play {
  34. border:none;
  35. background-color:#09b22b;
  36. color:white;
  37. padding:20px;
  38. font-size:170%;
  39. cursor:pointer;
  40. }
  41. #game {
  42. text-align:center;
  43. }
  44. div#category {
  45. font-size:170%;
  46. font-family:'Lato';
  47. font-weight:300;
  48. margin-top:20px;
  49. }
  50. p#question {
  51. font-size:120%;
  52. }
  53. ul#answers {
  54. padding-left:0px;
  55. }
  56. ul#answers li {
  57. display:inline-block;
  58. background: #b087ff;
  59. width:16%;
  60. padding:20px;
  61. padding-top:38px;
  62. height:42px;
  63. font-size:110%;
  64. color:white;
  65. font-weight:bold;
  66. margin-right:20px;
  67. line-height: 20px;
  68. vertical-align: middle;
  69. cursor: pointer;
  70. }
  71. ul#answers li.good-answer {
  72. background: #57cc6b;
  73. }
  74. ul#answers li.wrong-answer {
  75. background: #cc5757;
  76. }
  77. h2#score {
  78. margin-top: 100px;
  79. font-size:220%;
  80. margin-bottom:10px;
  81. }
  82. p#registerScore, p#conDenied {
  83. width: 40%;
  84. margin: auto;
  85. }
  86. p.success {
  87. padding-top: 30px;
  88. background:#57cc6b;
  89. padding-bottom: 30px;
  90. }
  91. p.error {
  92. padding-top: 30px;
  93. background:#cc5757;
  94. padding-bottom: 30px;
  95. color:white;
  96. }
  97. p#conDenied {
  98. margin-top:70px;
  99. }
  100. @media all and (max-width: 799px) {
  101. ul#answers li {
  102. display:block;
  103. margin:auto;
  104. margin-bottom:10px;
  105. width:80%;
  106. padding-top:15px;
  107. height: 20px;
  108. }
  109. }
  110. @media all and (min-width: 800px) {
  111. ul#answers li:last-child {
  112. margin-right:0px;
  113. }
  114. }