engine.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. html, body{
  7. font-size: 24px;
  8. font-family: STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", Helvetica, Tahoma, Arial, sans-serif;
  9. }
  10. .engine {
  11. margin: auto;
  12. width: 21rem;
  13. }
  14. .status {
  15. margin: 0.5rem auto;
  16. }
  17. .ending {
  18. display: none;
  19. position: absolute;
  20. top: 0;
  21. right: 0;
  22. bottom: 0;
  23. left: 0;
  24. background: rgba(238, 228, 217, 0.5);
  25. z-index: 100;
  26. text-align: center;
  27. -webkit-animation: fade-in 800ms ease 800ms;
  28. animation: fade-in 800ms ease 800ms;
  29. -webkit-animation-fill-mode: both;
  30. animation-fill-mode: both;
  31. }
  32. .ending p {
  33. font-size: 3rem;
  34. font-weight: bold;
  35. margin: 6rem auto 2rem auto;
  36. color: #FFFFFF;
  37. }
  38. .ending .btn {
  39. font-size: 1.2rem;
  40. font-weight:700;
  41. margin: 1rem;
  42. }
  43. .foot{
  44. margin-top: 0.5rem;
  45. width: 100%;
  46. }
  47. .foot .btn{
  48. width: 100%;
  49. font-size: 1.2rem;
  50. }
  51. .foot .dropdown-menu{
  52. width: 100%;
  53. text-align: center;
  54. border: 0;
  55. margin-bottom: 0.2rem;
  56. }
  57. .foot li a{
  58. cursor: pointer;
  59. font-weight: 700;
  60. font-size: 1.2rem;
  61. color: #5bc0de;
  62. }
  63. .foot li a:hover{
  64. color: #5bc0de;
  65. }
  66. @media screen and (max-width: 320px) {
  67. html, body {
  68. font-size: 12px;
  69. }
  70. }
  71. @media screen and (min-width: 320px) and (max-width: 480px) {
  72. html, body {
  73. font-size: 14px;
  74. }
  75. }
  76. @media screen and (min-width: 480px) and (max-width: 640px) {
  77. html, body {
  78. font-size: 18px;
  79. }
  80. }
  81. @media screen and (min-width: 640px) and (max-width: 768px) {
  82. html, body {
  83. font-size: 21px;
  84. }
  85. }
  86. @-webkit-keyframes move-up {
  87. 0% {
  88. top: 1.5rem;
  89. opacity: 1;
  90. }
  91. 100% {
  92. top: -3rem;
  93. opacity: 0;
  94. }
  95. }
  96. @keyframes move-up {
  97. 0% {
  98. top: 1.5rem;
  99. opacity: 1;
  100. }
  101. 100% {
  102. top: -3rem;
  103. opacity: 0;
  104. }
  105. }
  106. @-webkit-keyframes fade-in {
  107. 0% {
  108. opacity: 0;
  109. }
  110. 100% {
  111. opacity: 1;
  112. }
  113. }
  114. @keyframes fade-in {
  115. 0% {
  116. opacity: 0;
  117. }
  118. 100% {
  119. opacity: 1;
  120. }
  121. }
  122. @-webkit-keyframes appear {
  123. 0% {
  124. opacity: 0;
  125. -webkit-transform: scale(0);
  126. }
  127. 100% {
  128. opacity: 1;
  129. -webkit-transform: scale(1);
  130. }
  131. }
  132. @keyframes appear {
  133. 0% {
  134. opacity: 0;
  135. transform: scale(0);
  136. }
  137. 100% {
  138. opacity: 1;
  139. transform: scale(1);
  140. }
  141. }
  142. @-webkit-keyframes pop {
  143. 0% {
  144. -webkit-transform: scale(0);
  145. }
  146. 50% {
  147. -webkit-transform: scale(1.2);
  148. }
  149. 100% {
  150. -webkit-transform: scale(1);
  151. }
  152. }
  153. @keyframes pop {
  154. 0% {
  155. transform: scale(0);
  156. }
  157. 50% {
  158. transform: scale(1.2);
  159. }
  160. 100% {
  161. transform: scale(1);
  162. }
  163. }