You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

241 lines
3.7 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. .loading {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. .loading img {
  6. width: 100%;
  7. height: 100%;
  8. }
  9. /*进度条*/
  10. .flex-center {
  11. display: flex;
  12. flex-direction: column;
  13. align-items: center;
  14. position: absolute;
  15. left: 50%;
  16. transform: translateX(-50%);
  17. bottom: 10%;
  18. }
  19. .flex-center h3{
  20. font-size: .3rem;
  21. color: #163E49;
  22. margin-bottom: .1rem;
  23. }
  24. .container {
  25. display: inline-block;
  26. width: 8.09rem;
  27. height: .23rem;
  28. background: #3B7686;
  29. border: 2px solid #FFFFFF;
  30. box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.35);
  31. border-radius: 11px;
  32. position: relative;
  33. }
  34. .h-100P {
  35. height: 100%;
  36. position: absolute;
  37. left: 0;
  38. bottom: 0;
  39. }
  40. span.h-100P text {
  41. display: inline-block;
  42. width: .29rem;
  43. height: .29rem;
  44. border-radius: .29rem;
  45. background: #FFE54A;
  46. position: absolute;
  47. margin-left: -.28rem;
  48. margin-top: -.02rem;
  49. border: 1px solid #fff;
  50. z-index: 9999;
  51. }
  52. .bar {
  53. display: inline-block;
  54. background: #FFE54A;
  55. color: white;
  56. font-weight: bold;
  57. /*padding: 0 5px;*/
  58. text-align: right;
  59. border-radius: 5px;
  60. border-right: 1px solid #999;
  61. }
  62. .bar:after {
  63. content: "";
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. bottom: 0;
  68. right: 0;
  69. background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(255, 186, 0, 1)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 186, 0, 1)), color-stop(.75, rgba(255, 186, 0, 1)), color-stop(.75, transparent), to(transparent));
  70. background-image: -moz-linear-gradient( -45deg, rgba(255, 186, 0, 1) 25%, transparent 25%, transparent 50%, rgba(255, 186, 0, 1) 50%, rgba(255, 186, 0, 1) 75%, transparent 75%, transparent);
  71. z-index: 1;
  72. -webkit-background-size: 50px 50px;
  73. -moz-background-size: 50px 50px;
  74. background-size: 50px 50px;
  75. -webkit-animation: move 2s linear infinite;
  76. -moz-animation: move 2s linear infinite;
  77. -webkit-border-top-right-radius: 8px;
  78. -webkit-border-bottom-right-radius: 8px;
  79. -moz-border-radius-topright: 8px;
  80. -moz-border-radius-bottomright: 8px;
  81. border-top-right-radius: 8px;
  82. border-bottom-right-radius: 8px;
  83. -webkit-border-top-left-radius: 20px;
  84. -webkit-border-bottom-left-radius: 20px;
  85. -moz-border-radius-topleft: 20px;
  86. -moz-border-radius-bottomleft: 20px;
  87. border-top-left-radius: 20px;
  88. border-bottom-left-radius: 20px;
  89. overflow: hidden;
  90. }
  91. /*进度条 end*/
  92. .loading {
  93. display: block;
  94. }
  95. .begin {
  96. display: none;
  97. }
  98. #game1 {
  99. display: none;
  100. }
  101. .secondGame,
  102. #game2 {
  103. width: 100%;
  104. height: 100%;
  105. }
  106. .begin,
  107. .firstGame,
  108. .thirdGame,
  109. .fourGame,
  110. .fiveGame,
  111. .win,
  112. #begin,
  113. #game1,
  114. #game3,
  115. #game4,
  116. #game5,
  117. #success {
  118. width: 100%;
  119. height: 100%;
  120. }
  121. p.bgm {
  122. width: 100%;
  123. height: 100%;
  124. }
  125. /*开始游戏页*/
  126. /*
  127. #game2{
  128. display:none ;
  129. }
  130. #game3{
  131. display: none;
  132. }
  133. #game4{
  134. display: none;
  135. }
  136. #game5{
  137. display: none;
  138. }
  139. #success{
  140. display: none;
  141. }*/
  142. /*成功*/
  143. .successBox {
  144. position: absolute;
  145. left: 50%;
  146. top: 50%;
  147. transform: translate(-50%, -50%);
  148. width: 9.53rem;
  149. height: 5.83rem;
  150. background: url(../img/success.png) no-repeat;
  151. background-size: 100% 100%;
  152. /*display: flex;*/
  153. justify-content: center;
  154. align-items: flex-end;
  155. display: none;
  156. z-index: 99;
  157. }
  158. .successBox p {
  159. width: 2.54rem;
  160. height: .84rem;
  161. margin-bottom: 1.09rem;
  162. }
  163. .successBox p img {
  164. width: 100%;
  165. height: 100%;
  166. }
  167. .successBox div.shut {
  168. position: absolute;
  169. top: 1%;
  170. right: 10%;
  171. width: .546rem;
  172. height: .546rem;
  173. }
  174. .successBox div.shut img {
  175. width: 100%;
  176. height: 100%;
  177. }
  178. /*.clickIcon li{
  179. background: #000000;
  180. opacity: .5;
  181. }*/
  182. .imgList li p{
  183. width: 1.21rem;
  184. height: 1.2rem;
  185. position: absolute;
  186. left: 0;
  187. top: 0;
  188. background: rgba(0,0,0,.5);
  189. z-index: 999999;
  190. border-radius: 5px;
  191. }
  192. p.bgm img{
  193. width: 100%;
  194. height: 100%;
  195. }
  196. p.bgm img:nth-child(1){
  197. opacity: 1;
  198. }
  199. p.bgm img:nth-child(2){
  200. opacity: 0;
  201. position: absolute;
  202. left: 0;
  203. top: 0;
  204. }
  205. .textList{
  206. transition: all 1s linear;
  207. }