all.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. *,
  2. *:before,
  3. *:after {
  4. box-sizing: border-box;
  5. }
  6. html, body {
  7. height: 100%;
  8. margin: 0;
  9. }
  10. body{
  11. font-size: 20px;
  12. font-family: sans-serif;
  13. color: #333;
  14. }
  15. p {
  16. margin: 0 0 15px 0;
  17. }
  18. span {
  19. padding-left: 5px;
  20. color: #2e2e2e;
  21. }
  22. .main-header {
  23. display: flex;
  24. flex-direction: column;
  25. align-items: center;
  26. background-image: url(https://storge.pic2.me/cm/3840x2160/920/58710da961397.jpg);
  27. color: white;
  28. }
  29. .content {
  30. overflow: hidden;
  31. margin: 20px 80px;
  32. }
  33. .content-header {
  34. overflow: hidden;
  35. margin: 20px 20px;
  36. text-align: center;
  37. color: rgb(112, 112, 112);
  38. }
  39. #quiz {
  40. display: flex;
  41. flex-direction: column;
  42. justify-content: center;
  43. align-items: center;
  44. }
  45. .card {
  46. margin: 5px 20px 50px 20px;
  47. width: 50%;
  48. padding: 15px 15px 15px;
  49. box-shadow: 0 0 10px rgba(0,0,0,0.5);
  50. border-radius: 15px;
  51. text-align: center;
  52. position: relative;
  53. display: flex;
  54. flex-direction: column;
  55. justify-content: space-between;
  56. align-items: center;
  57. color: rgb(90, 89, 89);
  58. }
  59. .question{
  60. font-weight: 600;
  61. }
  62. .answers {
  63. margin-bottom: 20px;
  64. padding-top: 15px;
  65. display: flex;
  66. flex-direction: column;
  67. align-items: flex-start;
  68. }
  69. #create_constructor, #submit{
  70. font-family: sans-serif;
  71. font-size: 20px;
  72. background-color: #182264;
  73. color: #fff;
  74. border: 0px;
  75. border-radius: 3px;
  76. padding: 15px 60px;
  77. cursor: pointer;
  78. margin-bottom: 20px;
  79. }
  80. #submit:hover{
  81. background-color: #1c2fa8;
  82. }
  83. .button-block {
  84. display: flex;
  85. justify-content: center;
  86. }
  87. .button {
  88. margin-top: 20px;
  89. margin-bottom: 16px;
  90. padding: 15px 60px;
  91. background-color: #ad0000;
  92. color: white;
  93. font-size: 20px;
  94. font-weight: 700;
  95. border: none;
  96. cursor: pointer;
  97. }
  98. .countdown {
  99. font-family: sans-serif;
  100. color: #fff;
  101. display: inline-block;
  102. font-weight: 100;
  103. text-align: center;
  104. font-size: 30px;
  105. }
  106. .countdown-number {
  107. padding: 10px;
  108. border-radius: 3px;
  109. background: #1c2fa8;
  110. display: inline-block;
  111. }
  112. .countdown-time {
  113. padding: 10px;
  114. border-radius: 3px;
  115. background: #182264;
  116. display: inline-block;
  117. color: #fff;
  118. }
  119. .countdown-text {
  120. display: block;
  121. padding-top: 5px;
  122. font-size: 16px;
  123. color: #fff;
  124. }
  125. h4, h5, .test-again {
  126. text-align: center;
  127. }
  128. @media (max-width: 1199px) {
  129. .content-header {
  130. margin: 0;
  131. }
  132. .content {
  133. margin: 0;
  134. }
  135. .card {
  136. width: 95%;
  137. margin: 10px;
  138. }
  139. .button {
  140. margin-bottom: 10px;
  141. }
  142. }