main.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. body{
  2. background:#85d252;
  3. }
  4. img{width:100%;}
  5. .rabbitLoading{
  6. background:#6584A3;
  7. position:absolute;
  8. left:0;
  9. top:0;
  10. width:100%;
  11. min-width:320px;
  12. max-width:640px;
  13. height:100%;
  14. z-index:9999;
  15. }
  16. .rabbitLoad{
  17. position:absolute;
  18. width:80%;
  19. top:25%;
  20. left:10%;
  21. padding-bottom:20px;
  22. }
  23. .rabbitLoad img{
  24. width:50%;
  25. position:relative;
  26. z-index:1;
  27. padding-bottom:40px;
  28. }
  29. .progressbar{
  30. background:#A69DB9;
  31. height:16px;
  32. width:100%;
  33. border-radius:3px;
  34. overflow:hidden;
  35. position:relative;
  36. border:3px #745CAB solid;
  37. margin-top:-10px;
  38. z-index:9;
  39. }
  40. .progressing{
  41. background:#BC7EA9;
  42. position:absolute;
  43. width:0%;
  44. height:100%;
  45. -webkit-transition: all .5s ease-in-out;
  46. transition: all .5s ease-in-out;
  47. }
  48. .main{
  49. position:absolute;
  50. width:100%;
  51. min-width:320px;
  52. /*max-width:640px;*/
  53. margin:auto;
  54. height:100%;
  55. overflow:hidden;
  56. -webkit-transform-origin:50% 0;
  57. transform-origin:50% 0;
  58. }
  59. .sence{
  60. position:absolute;
  61. width:100%;
  62. height:100%;
  63. left:0;
  64. top:0;
  65. -webkit-transition: all .5s ease-in-out;
  66. transition: all .5s ease-in-out;
  67. opacity:0;
  68. z-index:-1;
  69. overflow:hidden;
  70. }
  71. .sence0{
  72. background:url(start.jpg) no-repeat;
  73. background-size:100%;
  74. z-index:1;
  75. }
  76. .sence1{
  77. opacity:0;
  78. background:url(bg.jpg) no-repeat;
  79. background-size:100%;
  80. }
  81. .rabbitFront{
  82. position:absolute;
  83. top:8%;
  84. left:34%;
  85. width:32%;
  86. }
  87. .rabbitFront .rabbitHand{
  88. position:absolute;
  89. width:18.2%;
  90. top:65%;
  91. left:55.6%;
  92. z-index:999;
  93. }
  94. .rabbitFront .rabbitHand img{
  95. -webkit-transform-origin:50% 0;
  96. transform-origin:50% 0;
  97. }
  98. .rabbitBack{
  99. position:absolute;
  100. bottom:-5px;
  101. left:32%;
  102. width:34%;
  103. z-index:99;
  104. }
  105. .jumpLineCtxBox{
  106. position:absolute;
  107. width:100%;
  108. top:0;
  109. left:0;
  110. height:100%;
  111. }
  112. .jumpLineCtx,
  113. .jumpLine2Ctx{
  114. position:absolute;
  115. width:100%;
  116. height:100%;
  117. left:0;
  118. top:0;
  119. background:none;
  120. z-index:9;
  121. }
  122. .jumpLineCtx{opacity:0;}
  123. .jumpLine2Ctx{opacity:1;z-index:9;}
  124. .jumpLineImg{
  125. position:absolute;
  126. top:28%;
  127. width:60%;
  128. left:24%;
  129. }
  130. .jumpLineImg img{
  131. position:absolute;
  132. left:0;
  133. top:0;
  134. display:none;
  135. z-index:9;
  136. }
  137. .tortoiseBox{
  138. position:absolute;
  139. width:100%;
  140. height:19.8%;
  141. top:52%;
  142. z-index:5;
  143. }
  144. .tortoiseBox img{
  145. position:absolute;
  146. left:0;
  147. top:0;
  148. width:100%;
  149. }
  150. .tortoise1 img,.tortoise2 img,.tortoise3 img,.tortoise4 img{
  151. display:none;
  152. }
  153. .tortoise1{
  154. position:absolute;
  155. width:20%;
  156. top:24%;
  157. right:-20%;
  158. -webkit-transition: all .5s linear;
  159. transition: all .5s linear;
  160. }
  161. @-webkit-keyframes tortoiseA1{
  162. 0%{
  163. top:24%;
  164. }
  165. 60%{
  166. top:0%;
  167. }
  168. 100%{
  169. top:24%;
  170. }
  171. }
  172. @keyframes tortoiseA1{
  173. 0%{
  174. top:24%;
  175. }
  176. 60%{
  177. top:0%;
  178. }
  179. 100%{
  180. top:24%;
  181. }
  182. }
  183. .tortoise2{
  184. position:absolute;
  185. width:20.2%;
  186. top:21%;
  187. right:-20.2%;
  188. -webkit-transition: all .5s linear;
  189. transition: all .5s linear;
  190. }
  191. @-webkit-keyframes tortoiseA2{
  192. 0%{
  193. top:21%;
  194. }
  195. 60%{
  196. top:-3%;
  197. }
  198. 100%{
  199. top:21%;
  200. }
  201. }
  202. @keyframes tortoiseA2{
  203. 0%{
  204. top:21%;
  205. }
  206. 60%{
  207. top:-3%;
  208. }
  209. 100%{
  210. top:21%;
  211. }
  212. }
  213. .tortoise3{
  214. position:absolute;
  215. width:27.3%;
  216. top:5%;
  217. right:-27.3%;
  218. -webkit-transition: all .5s linear;
  219. transition: all .5s linear;
  220. }
  221. @-webkit-keyframes tortoiseA3{
  222. 0%{
  223. top:5%;
  224. }
  225. 60%{
  226. top:-16%;
  227. }
  228. 100%{
  229. top:5%;
  230. }
  231. }
  232. @keyframes tortoiseA3{
  233. 0%{
  234. top:5%;
  235. }
  236. 60%{
  237. top:-16%;
  238. }
  239. 100%{
  240. top:5%;
  241. }
  242. }
  243. .tortoise4{
  244. position:absolute;
  245. width:20.2%;
  246. top:21%;
  247. right:-20.2%;
  248. -webkit-transition: all .5s linear;
  249. transition: all .5s linear;
  250. }
  251. @-webkit-keyframes tortoiseA4{
  252. 0%{
  253. top:21%;
  254. }
  255. 60%{
  256. top:-3%;
  257. }
  258. 100%{
  259. top:21%;
  260. }
  261. }
  262. @keyframes tortoiseA4{
  263. 0%{
  264. top:21%;
  265. }
  266. 60%{
  267. top:-3%;
  268. }
  269. 100%{
  270. top:21%;
  271. }
  272. }
  273. .scoreBox{
  274. position:absolute;
  275. width:90%;
  276. right:5%;
  277. top:1%;
  278. text-align:right;
  279. }
  280. .scoreBox img{
  281. width:4.68%;
  282. }
  283. .ctrlBox{
  284. position:absolute;
  285. width:100%;
  286. height:100%;
  287. z-index:999;
  288. }
  289. .gameEndBox{
  290. position:absolute;
  291. width:100%;
  292. left:0;
  293. top:0;
  294. }
  295. .mark{
  296. width:50%;
  297. text-align:left;
  298. position:absolute;
  299. top:42.8%;
  300. left:36%;
  301. line-height:1;
  302. }
  303. .mark img{
  304. width:9.24%;
  305. }
  306. .btn{
  307. position:absolute;
  308. width:30%;
  309. font-size:2em;
  310. top:77%;
  311. cursor:pointer;
  312. }
  313. .restartBtn{
  314. left:11.25%;
  315. }
  316. .shareBtn{
  317. right:11.25%;
  318. }
  319. .paihangBtn{
  320. top:87%;
  321. left:35.25%;
  322. }
  323. .xinbuBtn{
  324. top:87%;
  325. right:11.25%;
  326. }
  327. .bannerText{
  328. position:absolute;
  329. bottom:2%;
  330. left:0;
  331. width:100%;
  332. font-size:1.2em;
  333. color:#FD2D2D;
  334. text-align:center;
  335. text-shadow:0 0 10px #fff;
  336. box-shadow:0 0 10px #fff;
  337. -webkit-animation: bannerText 1s linear infinite;
  338. animation: bannerText 1s linear infinite;
  339. background:rgba(0255,255,255,0.2);
  340. z-index:9999;
  341. }
  342. @-webkit-keyframes bannerText{
  343. 0%{
  344. text-shadow:0 0 10px #fff;
  345. }
  346. 50%{
  347. text-shadow:0 0 30px #fff;
  348. }
  349. 100%{
  350. text-shadow:0 0 10px #fff;
  351. }
  352. }
  353. @keyframes bannerText{
  354. 0%{
  355. text-shadow:0 0 10px #fff;
  356. }
  357. 50%{
  358. text-shadow:0 0 30px #fff;
  359. }
  360. 100%{
  361. text-shadow:0 0 10px #fff;
  362. }
  363. }
  364. .bannerText .text{
  365. -webkit-transform:translate(0,0);
  366. transform:translate(0,0);
  367. -webkit-animation: btext 10s linear infinite;
  368. animation: btext 10s linear infinite;
  369. }
  370. @-webkit-keyframes btext{
  371. 0%{
  372. color:#FD2D2D;
  373. }
  374. 100%{
  375. color:#f64;
  376. }
  377. }
  378. @keyframes btext{
  379. 0%{
  380. color:#FD2D2D;
  381. }
  382. 100%{
  383. color:#f64;
  384. }
  385. }