main.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. body {
  2. font-family: Helvetica
  3. }
  4. button {
  5. border: 0;
  6. cursor: pointer;
  7. outline: 0;
  8. padding: 0
  9. }
  10. .container {
  11. background: url(../img/t012d91cb114412fd53.png) no-repeat;
  12. background-size: 100% 100%;
  13. overflow: hidden;
  14. position: relative
  15. }
  16. .container,.page {
  17. height: 100%;
  18. width: 100%
  19. }
  20. .page {
  21. left: 0;
  22. opacity: 0;
  23. top: 0;
  24. -webkit-transform: scale(1.5);
  25. -ms-transform: scale(1.5);
  26. -o-transform: scale(1.5);
  27. transform: scale(1.5);
  28. -webkit-transition: all .2s ease;
  29. -o-transition: all .2s ease;
  30. transition: all .2s ease;
  31. z-index: 1
  32. }
  33. .page,.slogan {
  34. position: absolute
  35. }
  36. .slogan {
  37. height: 134px;
  38. left: 50%;
  39. margin-left: -146px;
  40. top: 11.5%;
  41. width: 293px
  42. }
  43. .bucket-wr {
  44. bottom: 20%;
  45. left: 0;
  46. position: absolute;
  47. width: 100%
  48. }
  49. .tip {
  50. bottom: 5.2%;
  51. color: #f2ffff;
  52. font-size: 14px;
  53. left: 0;
  54. text-align: center;
  55. width: 100%
  56. }
  57. .timer,.perf {
  58. color: #fff;
  59. font-size: 25px;
  60. line-height: 55px;
  61. position: absolute;
  62. text-align: center;
  63. z-index: 100
  64. }
  65. .timer {
  66. background: url(../img/t01d9deda4a62bcd492.png) no-repeat center center;
  67. background-size: 100% 100%;
  68. left: 18px;
  69. width: 44px
  70. }
  71. .timer,.perf {
  72. height: 50px;
  73. top: 15px
  74. }
  75. .perf {
  76. background: url(../img/t01009ccc37c69695ae.png) no-repeat center center;
  77. background-size: 100% 100%;
  78. right: 18px;
  79. width: 92px;
  80. text-indent: 45px
  81. }
  82. .hand {
  83. background: url(../img/t01d69a0f1bbabbd20d.png) no-repeat center center;
  84. background-size: 100% 100%;
  85. height: 172px;
  86. left: 50%;
  87. margin-left: -97px;
  88. position: absolute;
  89. top: -172px;
  90. -webkit-transform: translateY(0);
  91. -ms-transform: translateY(0);
  92. -o-transform: translateY(0);
  93. transform: translateY(0);
  94. -webkit-transition: all .5s ease;
  95. -o-transition: all .5s ease;
  96. transition: all .5s ease;
  97. width: 239px;
  98. z-index: 20
  99. }
  100. .water-wr {
  101. left: 50%;
  102. margin-left: -65px;
  103. overflow: hidden;
  104. top: 136px;
  105. width: 79px;
  106. z-index: 100
  107. }
  108. .water-wr,.water-wr .water {
  109. height: 136px;
  110. position: absolute
  111. }
  112. .man {
  113. background: url(../img/t0149ba9251a57dcdd8.png) no-repeat center 0;
  114. bottom: 20%;
  115. height: 204px;
  116. left: 50%;
  117. margin-left: -62px;
  118. position: absolute;
  119. width: 124px;
  120. z-index: 10
  121. }
  122. .end {
  123. background-color: rgba(0, 0, 0, 0.8)
  124. }
  125. .result-plate {
  126. background: url(../img/t01571804856cbcdc50.png) no-repeat center top;
  127. background-size: 100% 100%;
  128. height: 200px;
  129. left: 50%;
  130. margin: -100px 0 0 -127px;
  131. overflow: hidden;
  132. position: absolute;
  133. top: 50%;
  134. width: 255px
  135. }
  136. .share {
  137. background: rgba(0, 0, 0, 0.8)
  138. }
  139. .preload {
  140. display: none
  141. }
  142. .slogan p {
  143. color: transparent;
  144. position: absolute
  145. }
  146. .share img {
  147. position: absolute;
  148. right: 18px;
  149. top: 8px;
  150. width: 255px
  151. }
  152. .page.show {
  153. opacity: 1;
  154. -webkit-transform: scale(1);
  155. -ms-transform: scale(1);
  156. -o-transform: scale(1);
  157. transform: scale(1);
  158. z-index: 2
  159. }
  160. .bucket-wr .bucket {
  161. background: url(../img/t01daf9b891303bde71.png) no-repeat center center;
  162. background-size: 100% 100%;
  163. height: 169px;
  164. margin: 0 auto;
  165. width: 170px;
  166. z-index: 5
  167. }
  168. .bucket-wr .ice-bundle {
  169. background: url(../img/t01b0d13bc06b034196.png) no-repeat center center;
  170. background-size: 100% 100%;
  171. bottom: -23px;
  172. height: 140px;
  173. left: 50%;
  174. margin-left: -86px;
  175. position: absolute;
  176. width: 180px;
  177. z-index: 10
  178. }
  179. .bucket-wr .waterlogging {
  180. background: url(../img/t01a3a0419169434f20.png) no-repeat center center;
  181. background-size: 100% 100%;
  182. bottom: -27px;
  183. height: 44px;
  184. left: 50%;
  185. margin-left: -123px;
  186. position: absolute;
  187. width: 246px;
  188. z-index: 1
  189. }
  190. .start .button-wr {
  191. bottom: 9.4%;
  192. height: 46px;
  193. left: 50%;
  194. margin-left: -72px;
  195. position: absolute;
  196. width: 144px;
  197. z-index: 20
  198. }
  199. .hand.down {
  200. -webkit-transform: translateY(100%);
  201. -ms-transform: translateY(100%);
  202. -o-transform: translateY(100%);
  203. transform: translateY(100%)
  204. }
  205. .water-wr .water {
  206. background: url(../img/t0180c14a91a97ae9e1.png) no-repeat center center;
  207. background-size: 100% 100%;
  208. left: 0;
  209. top: -136px;
  210. width: 100%;
  211. z-index: 101
  212. }
  213. .man.wet {
  214. background: url(../img/t01aaa8c8e84d5c62d7.png) no-repeat center 8px
  215. }
  216. .result-plate .result {
  217. color: #fff;
  218. font-size: 18px;
  219. line-height: 1.5em;
  220. margin-top: 75px;
  221. text-align: center
  222. }
  223. .result-plate .button-wr {
  224. margin: 20px 15px 0
  225. }
  226. .slogan p:nth-of-type (1){
  227. background: url(../img/t01989815e00e10affe.png) no-repeat center center;
  228. background-size: 100% 100%;
  229. height: 89px;
  230. left: 0;
  231. top: 0;
  232. width: 149px
  233. }
  234. .slogan p:nth-of-type (2){
  235. background: url(../img/t01137fe3a51d823ca2.png) no-repeat center center;
  236. background-size: 100% 100%;
  237. bottom: 0;
  238. height: 77px;
  239. right: 0;
  240. width: 221px
  241. }
  242. .start .button-wr button {
  243. background: url(../img/t019c42b49b127627db.png) no-repeat center center;
  244. background-size: 100% 100%;
  245. height: 100%;
  246. width: 100%
  247. }
  248. .result-plate .button-wr button {
  249. background: url(../img/t0128e7249da3cbf9f7.png) no-repeat;
  250. height: 37px
  251. }
  252. .start .button-wr .star,#pour,.tip {
  253. position: absolute
  254. }
  255. #pour {
  256. background: url(../img/t01f885478422edd710.png) no-repeat center center;
  257. background-size: 100% 100%;
  258. bottom: 8%;
  259. height: 45px;
  260. left: 50%;
  261. margin-left: -70px;
  262. -webkit-user-select: none;
  263. width: 140px
  264. }
  265. #again {
  266. background: url(../img/t011d9cf1fd5410688d.png) no-repeat center center;
  267. background-size: 100% 100%;
  268. float: left;
  269. width: 105px
  270. }
  271. #challenge {
  272. background: url(../img/t0118fb1cdcdb89b19d.png) no-repeat center center;
  273. background-size: 100% 100%;
  274. float: right;
  275. width: 110px
  276. }
  277. #promo {
  278. background: url(../img/t01a7ae6c8216abc7d2.png) no-repeat center center;
  279. background-size: 100% 100%;
  280. bottom: 10px;
  281. height: 40px;
  282. left: 50%;
  283. margin-left: -125px;
  284. position: absolute;
  285. width: 250px
  286. }
  287. #pour.hover {
  288. background-position: left top
  289. }