Guest User

Untitled

a guest
Oct 1st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. body{overflow-x: hidden; font-family: 'open sans'; font-weight: 300;
  2.  
  3. animation-name: loadIn;
  4. animation-duration: 0s;
  5. animation-delay: 1s;
  6. animation-fill-mode: forwards;
  7. opacity: 0;
  8.  
  9. background-color: #EBEBEB;
  10. }
  11.  
  12. h3{color:#333; font-weight: 300;}
  13.  
  14. input{
  15. text-indent: 5px;
  16. }
  17.  
  18. .container{
  19. margin-top: 0px;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. height: 100vh;
  24. padding: 0px !important;
  25. position: relative;
  26. }
  27.  
  28. .text-center{
  29. text-align: center!important;
  30. margin-left: auto;
  31. margin-right: auto;
  32. margin: auto;
  33. position: absolute;
  34. left:0;
  35. right: 0;
  36. z-index: 99;
  37. }
  38.  
  39. #quizList{
  40. margin-top: 130px;
  41. width: 100vw;
  42. text-align: center;
  43. height: 100vh;
  44. }
  45.  
  46.  
  47. .quiz{
  48. padding: 20px;
  49. margin: 5px;
  50. transition: .25s;
  51. }
  52.  
  53. .quiz:hover, .answer:hover {
  54. background-color: lightblue;
  55. cursor: pointer;
  56. transition: 1s;
  57. }
  58.  
  59. .answer:hover{
  60. /*border:1px solid #fff;*/
  61. transition: 1s;
  62. }
  63.  
  64. .answer:active{
  65. border:1px solid #fff;
  66. transition: 1s;
  67. }
  68.  
  69. ul {
  70. text-align: center;
  71. list-style-type: none;
  72. padding: 0;
  73. }
  74.  
  75. .answer {
  76. margin: 20px;
  77. padding: 20px;
  78. border: solid 1px black;
  79. font-weight: 500;
  80.  
  81. margin-left: 15%;
  82. margin-right: 15%;
  83. }
  84.  
  85. .selectedAnswer {
  86. background-color: lightblue;
  87. }
  88.  
  89. .correctAnswer {
  90. background-color: #7FE973;
  91. }
  92.  
  93. .incorrectAnswer {
  94. background-color: #EF4E4E;
  95. }
  96.  
  97. #resultArea{
  98. text-align: center!important;
  99. margin-left: auto;
  100. margin-right: auto;
  101. margin: auto;
  102. position: absolute;
  103. }
  104.  
  105. /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  106. .active, .accordion:hover {
  107. background-color: #ccc;
  108. }
  109.  
  110. /* Style the accordion panel. Note: hidden by default */
  111. .panel {
  112. padding: 0 18px;
  113. background-color: white;
  114. display: none;
  115. overflow: hidden;
  116. transition: max-height 0.2s ease-out;
  117. }
  118.  
  119. .accordion:after {
  120. content: '\02795'; /* Unicode character for "plus" sign (+) */
  121. font-size: 13px;
  122. color: #777;
  123. float: right;
  124. margin-left: 5px;
  125. }
  126.  
  127. .active:after {
  128. content: "\2796"; /* Unicode character for "minus" sign (-) */
  129. }
  130.  
  131.  
  132.  
  133. body::-webkit-scrollbar {
  134. width: 0px;
  135. transition: 3s;
  136. -webkit-transition: all 1s;
  137. }
  138.  
  139. body::-webkit-scrollbar-track {
  140. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  141. }
  142.  
  143. body::-webkit-scrollbar-thumb {
  144. background-color: #333;
  145. outline: 1px solid #333;
  146. }
  147.  
  148.  
  149. button{
  150. color: #fff;
  151. background: #7997A1;
  152. border: none;
  153. padding: 10px;
  154. width: 200px;
  155. cursor: pointer !important;
  156.  
  157. margin: 10px;
  158. }
  159.  
  160. button:hover{
  161. background: lightblue;
  162. }
  163.  
  164.  
  165. @media only screen and (max-height: 700px) {
  166. .container{margin-top: 0px;}
  167. }
  168.  
  169. @media only screen and (max-width: 450px) {
  170. #quizList {
  171. margin-top: 40px;
  172. }
  173.  
  174. .answer {
  175. margin: 10px;
  176. padding: 10px;
  177. }
  178.  
  179. h2{
  180. font-size: 1.25em;
  181. }
  182.  
  183. h3{
  184. font-size: 1.25em;
  185. }
  186.  
  187. #quizList {
  188. padding-top: 45px;
  189. }
  190.  
  191. }
  192.  
  193.  
  194. @keyframes loadIn{
  195. from {opacity: 0;}
  196. to {opacity: 1;}
  197. }
  198.  
  199. input:focus,
  200. select:focus,
  201. textarea:focus,
  202. button:focus {
  203. outline: none;
  204. }
Add Comment
Please, Sign In to add comment