css.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, textarea, p { margin:0; padding:0; }
  2. body{ overflow:hidden}
  3. .clx{*zoom: 1;}
  4. .clx:after{clear:both;content:".";display:block;height:0;visibility:hidden;color:#131313;}
  5. #game {}
  6. .gameOn{-webkit-animation: game 1s 1 ease-in; }
  7. .gameOn2{-webkit-animation: game 1s 1 ease-in; }
  8. body { background:#000; }
  9. #myCanvas {}
  10. #myCanvas2 {position:absolute; font-family:Verdana, Geneva, sans-serif; z-index:8;left:50%;top:50%; margin-top:-320px; margin-left:-240px; }
  11. #myCanvas3 {position:absolute; z-index:11;left:50%;top:50%; margin-top:-320px; margin-left:-240px; }
  12. #myCanvas4{position:absolute; z-index:14; left:180px;}
  13. #myCanvas5{position:absolute; z-index:15; left:20px; top:60px; }
  14. #startDiv { width:100%; height:100%;position:absolute; z-index:11; }
  15. #begin_div {width:480px; height:640px;left:50%;top:50%; margin-top:-320px; margin-left:-240px; position:absolute; z-index:16; }
  16. #begin_div .a_begin_div{ width:10%; height:10%;opacity: 0; position:absolute; z-index:19; background:url(../img/startbg.jpg) no-repeat}
  17. #overDiv { left:50%; top:50%; margin-left:-180px; margin-top:-150px; width:360px; height:320px; position:absolute; background:rgba(0, 0, 0, .6); color:#FFF; z-index:11; box-shadow: 0px 0px 3px #000; border:1px dotted #aaa;-webkit-animation:over-animation 0.5s 1 ease-in-out; }
  18. .warning{-webkit-animation: warn-animation 0.5s infinite linear; width:480px;box-shadow: 0px 0px 10px #FD4300; height:160px; top:200px; background:rgba(254,29,29,.4); position:absolute;z-index:1000;}
  19. .warning strong{font:normal 50px/160px 'Black Ops One', sans-serif; text-shadow: 1px 1px 2px #000;color:#fff; display:block; text-align:center;}
  20. #overDiv h2{-webkit-animation:overh2-animation 1s 1 ease-in-out; top:25px;font:normal 40px/40px 'Black Ops One', sans-serif ; color: #eee;text-shadow: 0px 0px 2px #fff; width:360px; position:absolute;text-align:center}
  21. #overDiv p { font:normal 17px/24px 'Black Ops One', sans-serif; padding-left:80px; }
  22. #overDiv p .title { display:inline-block; width:100px; }
  23. #overDiv .p1 { margin-top:90px; }
  24. #overDiv .btn{ margin:0 auto; margin-top:20px;}
  25. #overDiv .btn1{}
  26. #overDiv .btn .bg{ font-size:28px;}
  27. #susDiv { left:50%; top:50%; margin-left:-210px; margin-top:-240px; width:420px; height:480px; position:absolute; background:rgba(0, 0, 0, .5); color:#FFF; z-index:11; border:1px dotted #aaa;-webkit-animation:sus-animation 0.5s 1 ease-in-out; }
  28. #susDiv .btn { margin:0 auto; width:160px;opacity: 1; }
  29. #susDiv .btn span{border:2px dashed #555; display:block; height:30px;font:normal 22px/32px 'Black Ops One', sans-serif ;}
  30. #susDiv h2{-webkit-animation:overh2-animation 1s 1 ease-in-out; top:25px;font:normal 30px/40px 'Black Ops One', sans-serif ; color: #eee;text-shadow: 0px 0px 2px #fff; width:420px; position:absolute;text-align:center}
  31. #susDiv p { font:normal 17px/24px 'Black Ops One', sans-serif; padding-left:80px; }
  32. #susDiv p .title { display:inline-block; width:100px; }
  33. #susDiv .p1 { margin-top:90px; }
  34. #susDiv .Btn1 { margin-top:50px;}
  35. #susDiv .Btn2 { margin-top:20px; }
  36. .btn {-webkit-transition: all 0.1s linear;position:relative; text-align:center; width:154px; background:rgba(0,0,0,.5); height:60px; cursor:pointer; }
  37. #startDiv .startBtn { position: absolute; left:50%; bottom:100px; margin-left:-77px; -webkit-animation: left-animation 0.5s 1 ease-in-out; }
  38. #startDiv .helpBtn { position:absolute; right:140px;bottom:160px; -webkit-animation: right-animation 0.5s 1 ease-in-out; }
  39. .btn span{ display:block; overflow:hidden; position:absolute; left:-23px; top:-6px; height:71px; color:#fff; text-shadow:0px 0px 12px #000;background:url(../img/btn2.png) no-repeat;width:200px;font:32px/72px Arial, Helvetica, sans-serif ;-webkit-animation:gogogo 1s infinite linear ;}
  40. #startDiv .startBtn span{ font-family:"Microsoft YaHei","微软雅黑","SimHei","黑体";}
  41. #startDiv .helpBtn span{-webkit-transition-delay:0.3s;}
  42. .btn:hover{ background:rgba(0,0,0,.8); }
  43. #startDiv .startBtn2 { position: absolute; left:50%;margin-left:-77px; bottom:-100px; -webkit-animation: left2-animation 0.3s 1 ease-in-out; }
  44. #startDiv .helpBtn2 { position:absolute; right:150px;bottom:180px;-webkit-animation: right2-animation 0.3s 1 ease-in-out; }
  45. .leftBg{width:240px;height:640px;background:#000;opacity: 1;z-index:12;position:absolute;top:1px;left:-240px; }
  46. .leftBgOn { -webkit-animation: leftbg-animation 3s 1 ease-in-out; }
  47. .rightBg {width:240px;height:640px;background:#000;opacity: 1;z-index:12;position:absolute;top:1px;right:-240px;}
  48. .rightBgOn { -webkit-animation: rightbg-animation 3s 1 ease-in-out; }
  49. .stageText{ position:absolute; text-shadow: 0px 1px 1px #000; font:normal 36px/24px "Black Ops One", Palatino, serif; left:75px; top:240px; z-index:13; color:#fff;}
  50. .stageTextOn{-webkit-animation:stageText-animation 2s 1 ease-in-out;opacity:0;}
  51. @-webkit-keyframes warn-animation {0% {
  52. opacity: 0;
  53. }
  54. 100% {
  55. opacity: 1;
  56. }
  57. }
  58. @-webkit-keyframes b_l2-animation {0% {
  59. -webkit-transform:scale(8);
  60. right:-400px;
  61. }
  62. 50% {
  63. -webkit-transform:scale(8);
  64. right:-100px;
  65. }
  66. 100% {
  67. right:10px;
  68. -webkit-transform:scale(1);
  69. }
  70. }
  71. @-webkit-keyframes gogogo {
  72. 0%{
  73. opacity: 1;
  74. }
  75. 50%{
  76. opacity: 0.7;
  77. }
  78. 100%{
  79. opacity: 1;
  80. }
  81. }
  82. @-webkit-keyframes right-animation {0% {
  83. opacity: 0;
  84. right: -200px;
  85. }
  86. 100% {
  87. opacity: 1;
  88. right: 140px;
  89. }
  90. }
  91. @-webkit-keyframes leftbg-animation { 0% {
  92. opacity: 0;
  93. left: -240px;
  94. }
  95. 20% {
  96. opacity: 1;
  97. left: 0px;
  98. }
  99. 70% {
  100. opacity: 1;
  101. left: 0px;
  102. }
  103. 100% {
  104. opacity: 0.5;
  105. left: -240px;
  106. }
  107. }
  108. @-webkit-keyframes rightbg-animation { 0% {
  109. opacity: 0;
  110. right: -240px;
  111. }
  112. 20% {
  113. opacity: 1;
  114. right: 0px;
  115. }
  116. 70% {
  117. opacity: 1;
  118. right: 0px;
  119. }
  120. 100% {
  121. opacity: 0.5;
  122. right: -240px;
  123. }
  124. }
  125. @-webkit-keyframes left-animation { 0% {
  126. opacity: 0;
  127. bottom:-100px
  128. }
  129. 100% {
  130. opacity: 1;
  131. bottom:100px
  132. }
  133. }
  134. @-webkit-keyframes over-animation { 0% {
  135. opacity: 0;
  136. margin-top:-600px;
  137. }
  138. 100% {
  139. opacity: 0.9;
  140. margin-top:-150px;
  141. }
  142. }
  143. @-webkit-keyframes sus-animation { 0% {
  144. opacity: 0;
  145. margin-top:-600px;
  146. }
  147. 100% {
  148. opacity: 0.9;
  149. margin-top:-240px;
  150. }
  151. }
  152. @-webkit-keyframes overh2-animation { 0% {
  153. opacity: 0;
  154. -webkit-transform: scale(5);
  155. }
  156. 100% {
  157. opacity: 1;
  158. -webkit-transform:scale(1);
  159. }
  160. }
  161. @-webkit-keyframes stageText-animation { 0% {
  162. opacity: 0;
  163. -webkit-transform:scale(5) rotateX(0deg);
  164. }
  165. 30% {
  166. opacity: 1;
  167. -webkit-transform:scale(1) rotateX(360deg);
  168. }
  169. 70% {
  170. opacity: 1;
  171. -webkit-transform:scale(1) rotateX(360deg);
  172. }
  173. 100% {
  174. opacity: 0;
  175. -webkit-transform: scale(10) rotateX(0deg);
  176. }
  177. }
  178. @-webkit-keyframes create-animation { 0% {
  179. opacity: 0;
  180. top:240px;
  181. -webkit-transform: rotateX(0deg);
  182. }
  183. 50% {
  184. opacity: 1;
  185. top:240px;
  186. -webkit-transform: rotateX(360deg);
  187. }
  188. 100% {
  189. opacity: 1;
  190. top:604px;
  191. -webkit-transform: rotateX(360deg);
  192. }
  193. }
  194. @-webkit-keyframes right2-animation { 0% {
  195. opacity: 1;
  196. right: 150px;
  197. }
  198. 100% {
  199. opacity: 0;
  200. right: -200px;
  201. }
  202. }
  203. @-webkit-keyframes left2-animation { 0% {
  204. opacity: 1;
  205. bottom: 100px;
  206. }
  207. 100% {
  208. opacity: 0;
  209. bottom: -100px;
  210. }
  211. }
  212. @-webkit-keyframes h1-animation { 0% {
  213. opacity: 0;
  214. top: -200px;
  215. -webkit-transform: rotateX(0deg);
  216. }
  217. 75% {
  218. opacity: 0.5;
  219. top: 3px;
  220. -webkit-transform: rotateX(720deg);
  221. }
  222. 80% {
  223. opacity: 0.6;
  224. top: 0px;
  225. -webkit-transform: rotateX(720deg);
  226. }
  227. 85% {
  228. opacity: 0.7;
  229. top: 3px;
  230. -webkit-transform: rotateX(720deg);
  231. }
  232. 90% {
  233. opacity: 0.8;
  234. top: 0px;
  235. -webkit-transform: rotateX(720deg);
  236. }
  237. 95% {
  238. opacity: 0.9;
  239. top: 3px;
  240. -webkit-transform: rotateX(720deg);
  241. }
  242. 100% {
  243. opacity: 1;
  244. top: 0px;
  245. -webkit-transform: rotateX(720deg);
  246. }
  247. }
  248. @-webkit-keyframes h2-animation { 0% {
  249. opacity: 1;
  250. }
  251. 100% {
  252. opacity: 0;
  253. }
  254. }
  255. @-webkit-keyframes fit-animation { 0% {
  256. left:640px;
  257. }
  258. 95% {
  259. left:235px;
  260. -webkit-transform: rotateX(720deg);
  261. }
  262. 96% {
  263. left:240px;
  264. -webkit-transform: rotateX(720deg);
  265. }
  266. 97% {
  267. left:235px;
  268. -webkit-transform: rotateX(720deg);
  269. }
  270. 98% {
  271. left:240px;
  272. -webkit-transform: rotateX(720deg);
  273. }
  274. 99% {
  275. left:235px;
  276. -webkit-transform: rotateX(720deg);
  277. }
  278. 100% {
  279. left:240px;
  280. -webkit-transform: rotateX(720deg);
  281. }
  282. }
  283. @-webkit-keyframes game { 0% {
  284. -webkit-transform:translate3d(-4px, 0px, 0px);
  285. }
  286. 10% {
  287. -webkit-transform:translate3d(4px, 0px, 0px);
  288. }
  289. 20% {
  290. -webkit-transform:translate3d(-4px, 0px, 0px);
  291. }
  292. 30% {
  293. -webkit-transform:translate3d(4px, 0px, 0px);
  294. }
  295. 40% {
  296. -webkit-transform:translate3d(-4px, 0px, 0px);
  297. }
  298. 50% {
  299. -webkit-transform:translate3d(4px, 0px, 0px);
  300. }
  301. 60% {
  302. -webkit-transform:translate3d(-4px, 0px, 0px);
  303. }
  304. 70% {
  305. -webkit-transform:translate3d(4px, 0px, 0px);
  306. }
  307. 80% {
  308. -webkit-transform:translate3d(-4px, 0px, 0px);
  309. }
  310. 90% {
  311. -webkit-transform:translate3d(4px, 0px, 0px);
  312. }
  313. 100% {
  314. -webkit-transform:translate3d(0px, 0px, 0px);
  315. }
  316. }
  317. @-webkit-keyframes game2 { 0% {
  318. left:0;
  319. }
  320. 10% {
  321. left:-2px;
  322. }
  323. 20% {
  324. left:0px;
  325. }
  326. 30% {
  327. left:2px;
  328. }
  329. 40% {
  330. left:0px;
  331. }
  332. 50% {
  333. left:-2px;
  334. }
  335. 60% {
  336. left:0px;
  337. }
  338. 70% {
  339. left:2px;
  340. }
  341. 80% {
  342. left:0px;
  343. }
  344. 90% {
  345. left:-2px;
  346. }
  347. 100% {
  348. left:0px;
  349. }
  350. }
  351. @-webkit-keyframes rot0-animation { 0% {
  352. opacity: 1;
  353. -webkit-transform: rotate(0deg) scale(1);
  354. margin-left:0;
  355. }
  356. 100% {
  357. margin-left:800px;
  358. opacity: 0;
  359. -webkit-transform:perspective(40px) rotate(90deg) scale(5);
  360. }
  361. }
  362. @-webkit-keyframes rot1-animation { 0% {
  363. opacity: 1;
  364. -webkit-transform: rotate(0deg) scale(1);
  365. margin-left:0px;
  366. }
  367. 100% {
  368. margin-left:-800px;
  369. opacity: 0;
  370. -webkit-transform: rotate(90deg) scale(5);
  371. }
  372. }