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.
 
 
 

191 line
4.3 KiB

  1. @charset "utf-8";
  2. body {
  3. background: #4c010e;
  4. }
  5. #share{
  6. position: absolute;
  7. top: 1.2rem;
  8. right: 0;
  9. background-color: #34b202;
  10. border-top-left-radius: 0.13333333rem;
  11. border-bottom-left-radius: 0.13333333rem;
  12. margin-top: 0.48rem;
  13. width: 1.09333333rem;
  14. height: 0.64666667rem;
  15. text-align: center;
  16. line-height: 0.64666667rem;
  17. font-size: 0.32rem;
  18. color: #fff;
  19. }
  20. #wrap {
  21. margin-top: -0.01333333rem;
  22. background-image: url("../image/bg.png");
  23. background-size: cover;
  24. }
  25. .rule {
  26. position: absolute;
  27. left: 0.56rem;
  28. top: 0;
  29. width: 0.65333333rem;
  30. height: 0.82666667rem;
  31. background-image: url("../image/rule.png");
  32. text-align: center;
  33. font-size: 0.24rem;
  34. font-weight: bold;
  35. color: #2078a9;
  36. }
  37. .my {
  38. position: absolute;
  39. right: 0;
  40. top: 0.56rem;
  41. width: 1.17333333rem;
  42. min-width: 1.6rem;
  43. background-color: #fdc434;
  44. line-height: 0.64666667rem;
  45. font-size: 0.24rem;
  46. text-align: center;
  47. color: #fff;
  48. border-radius: 3px 0 0 3px;
  49. }
  50. /*砸蛋区域*/
  51. .box {
  52. position: absolute;
  53. left: 0;
  54. top: 5rem;
  55. width: 100%;
  56. height: 10.93333333rem;
  57. }
  58. .tips {
  59. width: 3.33333333rem;
  60. margin: 0.4rem auto 0;
  61. background-color: #ff6d69;
  62. text-align: center;
  63. font-size: 0.26666667rem;
  64. line-height: 0.53333333rem;
  65. color: #fff;
  66. border-radius: 0.26666667rem;
  67. }
  68. #change {
  69. margin: 0 0.06666667rem;
  70. }
  71. .egg {
  72. width: 10rem;
  73. }
  74. .egg li {
  75. position: relative;
  76. float: left;
  77. width: 1.68rem;
  78. height: 2.61333333rem;
  79. margin: 0.13333333rem 0.8rem;
  80. }
  81. .egg li img {
  82. width: 1.68rem;
  83. height: 0.54666667rem;
  84. }
  85. .egg li img.goldegg {
  86. width: 1.46666667rem;
  87. height: 2.01333333rem;
  88. }
  89. .egg .info {
  90. display: none;
  91. position: absolute;
  92. left: -0.16rem;
  93. top: 0.33333333rem;
  94. width: 0.97333333rem;
  95. height: 0.58666667rem;
  96. background-image: url("../image/tips.png");
  97. }
  98. .egg li img.goldegg {
  99. position: relative;
  100. left: 0.13333333rem;
  101. top: 0.26666667rem;
  102. width: 1.46666667rem;
  103. height: 2.01333333rem;
  104. -o-transform-origin: center bottom;
  105. -ms-transform-origin: center bottom;
  106. -moz-transform-origin: center bottom;
  107. -webkit-transform-origin: center bottom;
  108. transform-origin: center bottom;
  109. -o-transition: .5s;
  110. -ms-transition: .5s;
  111. -moz-transition: .5s;
  112. -webkit-transition: .5s;
  113. transition: .5s;
  114. }
  115. .egg li img.jump {
  116. -o-animation: jump .5s infinite alternate;
  117. -ms-animation: jump .5s infinite alternate;
  118. -moz-animation: jump .5s infinite alternate;
  119. -webkit-animation: jump .5s infinite alternate;
  120. animation: jump .5s infinite alternate;
  121. }
  122. @keyframes jump {
  123. 100% {
  124. top: 0.13333333rem;
  125. }
  126. }
  127. #info {
  128. position: absolute;
  129. left: 0.53333333rem;
  130. top: 1.53333333rem;
  131. width: 1rem;
  132. height: 0.53333333rem;
  133. }
  134. #hammer {
  135. position: absolute;
  136. left: 8.86666667rem;
  137. top: 0.8rem;
  138. width: 1.46666667rem;
  139. height: 1.6rem;
  140. background-image: url("../image/hammer.png");
  141. -o-transform-origin: right bottom;
  142. -ms-transform-origin: right bottom;
  143. -moz-transform-origin: right bottom;
  144. -webkit-transform-origin: right bottom;
  145. transform-origin: right bottom;
  146. -o-transition: 1s ease-in-out;
  147. -ms-transition: 1s ease-in-out;
  148. -moz-transition: 1s ease-in-out;
  149. -webkit-transition: 1s ease-in-out;
  150. transition: 1s ease-in-out;
  151. }
  152. .shak {
  153. -o-animation: hammer-move 0.5s linear infinite alternate;
  154. -ms-animation: hammer-move 0.5s linear infinite alternate;
  155. -moz-animation: hammer-move 0.5s linear infinite alternate;
  156. -webkit-animation: hammer-move 0.5s linear infinite alternate;
  157. animation: hammer-move 0.5s linear infinite alternate;
  158. }
  159. @keyframes hammer-move {
  160. 100% {
  161. -o-transform: rotate(-10deg);
  162. -ms-transform: rotate(-10deg);
  163. -moz-transform: rotate(-10deg);
  164. -webkit-transform: rotate(-10deg);
  165. transform: rotate(-10deg);
  166. }
  167. }
  168. .hit {
  169. -o-animation: hammer-hit 0.2s 3 alternate;
  170. -ms-animation: hammer-hit 0.2s 3 alternate;
  171. -moz-animation: hammer-hit 0.2s 3 alternate;
  172. -webkit-animation: hammer-hit 0.2s 3 alternate;
  173. animation: hammer-hit 0.2s 3 alternate;
  174. }
  175. @keyframes hammer-hit {
  176. 100% {
  177. -o-transform: rotate(-20deg);
  178. -ms-transform: rotate(-20deg);
  179. -moz-transform: rotate(-20deg);
  180. -webkit-transform: rotate(-20deg);
  181. transform: rotate(-20deg);
  182. }
  183. }
  184. /*规则背景色*/
  185. #mask-rule .box-rule {
  186. background-color: #f7b50b;
  187. }
  188. #mask-rule .box-rule .star {
  189. background-image: url("../../common/image/rule/star1.png");
  190. }