game.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. html, body, div, p, h1, h2, a, span, img{border:0;margin:0;}
  2. html, body{-webkit-tap-highlight-color: transparent; font-family:"Microsoft YaHei" "黑体" "宋体" "Arial" "sans-serif"; color:#fff;
  3. position:fixed;top:0;left:0;right:0;bottom:0;
  4. }
  5. /*.body {overflow: hidden; background: #222; color:#cccccc; margin: 0px; padding: 0px; border: 0px; } */
  6. a,a:hover{text-decoration:none;}
  7. .hide{display:none;}
  8. #frames{overflow:hidden;position:relative;}
  9. #frames .frame{position:relative;}
  10. #preface{width:100%;height:100%;padding-top:1px;}
  11. #preface .ptips0{position:absolute;background:url(img_d/friendly_tip.png) no-repeat center;background-size:auto 2rem;height:2rem;width:100%;}
  12. #preface .ptips1{position:absolute;background:url(img_d/break_phone.png) no-repeat center;background-size:auto 3rem;height:3rem;width:100%;}
  13. #start-0{padding-top:1px;width:100%;height:100%;background:#49caae;}
  14. #start-0 .stitle{background:url(img_d/title.png) no-repeat center;background-size:auto 5rem;height:5rem;width:100%;margin-top:3rem;}
  15. #start-0 .sdegree{display:-webkit-box;width:70%;margin:4rem auto 0;}
  16. #start-0 .degree{-webkit-box-flex:1;width:0;text-align:center;height:5rem;}
  17. #start-0 .degree a{display:block;margin:0 auto;height:5rem;width:5rem;}
  18. #start-0 .seasy a{background:url(img_d/easy_mode_unchecked.png) no-repeat center;background-size:5rem 5rem;}
  19. #start-0 .seasy a.active{background:url(img_d/easy_mode_checked.png) no-repeat center;background-size:5rem 5rem;}
  20. #start-0 .snormal a{background:url(img_d/normal_mode_unchecked.png) no-repeat center;background-size:5rem 5rem;}
  21. #start-0 .snormal a.active{background:url(img_d/normal_mode_checked.png) no-repeat center;background-size:5rem 5rem;}
  22. #start-0 .scrazy a{background:url(img_d/difficult_mode_unchecked.png) no-repeat center;background-size:5rem 5rem;}
  23. #start-0 .scrazy a.active{background:url(img_d/difficult_mode_checked.png) no-repeat center;background-size:5rem 5rem;}
  24. #start-0 .sstart,#start-0 .smore {display:block;height:3rem;width:14.67rem;}
  25. #start-0 .sstart{margin:4rem auto 0;background:url(img_d/start_game_normal.png) no-repeat center;background-size:auto 3rem;}
  26. #start-0 .smore{margin:2rem auto 0;background:url(img_d/more_game_normal.png) no-repeat center;background-size:auto 3rem;}
  27. #start-1{width:100%;height:100%;padding-top:1px;background:#636363;}
  28. #start-1 .stips{background:url(img_d/introduce.png) no-repeat center;background-size:auto 10rem;height:10rem;width:100%;margin-top:4rem;}
  29. #start-1 .stips.invert{background:url(img_d/introduce_invert.png) no-repeat center;background-size:auto 10rem;}
  30. #start-1 .smode{display:-webkit-box;width:50%;margin:2rem auto 0;}
  31. #start-1 .mode{-webkit-box-flex:1;width:0;text-align:center;}
  32. #start-1 .mode a{display:block;margin:0 auto;height:6rem;width:6rem;}
  33. #start-1 .seven a{background:url(img_d/even_mode_unchecked.png) no-repeat center;background-size:6rem 6rem;}
  34. #start-1 .seven a.active{background:url(img_d/even_mode_checked.png) no-repeat center;background-size:6rem 6rem;}
  35. #start-1 .sodd a{background:url(img_d/odd_mode_unchecked.png) no-repeat center;background-size:6rem 6rem;}
  36. #start-1 .sodd a.active{background:url(img_d/odd_mode_checked.png) no-repeat center;background-size:6rem 6rem;}
  37. #start-1 .sstart{display:block;margin:4rem auto 0;background:url(img_d/start_normal.png) no-repeat center;background-size:auto 6rem;height:6rem;width:10.74rem;}
  38. #main{width:100%;height:100%;background:#636363;}
  39. #main .blocks{width:100%;height:100%;position:relative;}
  40. #main .block{position:absolute;border: 1px solid #000;background-image: url(img_d/numbers.png); background-color: #fff;text-align: center; font-size: 3rem; color: #666;}
  41. #main .block.right{background-color:#49caae;}
  42. #main .block.wrong{background-color:#f46564;}
  43. #main .score{position: absolute; z-index: 10; font-size: 2.4rem; text-align: center; width: 100%; color: #f46564; font-weight: bold;}
  44. #over{font-size:2rem;text-align:center;width:100%;height:100%;padding-top:1px;background:#f46564;}
  45. #over .otitle{height:3rem;width:100%;margin-top:6rem;}
  46. #over .otitle.degree-easy{background:url(img_d/easy_mode.png) no-repeat center;background-size:auto 3rem;}
  47. #over .otitle.degree-normal{background:url(img_d/normal_mode.png) no-repeat center;background-size:auto 3rem;}
  48. #over .otitle.degree-crazy{background:url(img_d/difficult_mode.png) no-repeat center;background-size:auto 3rem;}
  49. #over .oscore{width:100%;margin-top:3rem;text-align:center;font-size:3rem;}
  50. #over .obest{height:2rem;width:100%;margin-top:0.5rem;text-align:center;line-height:2rem;}
  51. #over .obtns{height:3rem;width:15rem;font-size:0;margin:0 auto;margin-top:3rem;}
  52. #over .oback{background:url(img_d/back_btn_normal.png) no-repeat center;background-size:auto 3rem;height:3rem;width:5.84rem;display:inline-block;margin-right:3rem;}
  53. #over .oretry{background:url(img_d/restart_btn_normal.png) no-repeat center;background-size:auto 3rem;height:3rem;width:5.84rem;display:inline-block;}
  54. #over .omore{background:url(img_d/ending_moregame_normal.png) no-repeat center;background-size:auto 3rem;height:3rem;width:10.51rem;display:inline-block;text-align:center;margin-top:2rem;}
  55. .doudoulogo{position:absolute;background:url(img_d/logo.png) no-repeat center;background-size:auto 2.4rem;height:2.4rem;width:100%;bottom:2rem;}
  56. .hw{line-height:0; text-indent:-9999999px;}
  57. .rotateout{-webkit-transition:-webkit-transform 1s; -webkit-transform:rotateY(90deg);}
  58. .rotatein{-webkit-transform:rotateY(90deg);}
  59. .rotatein1{-webkit-transition:-webkit-transform 1s; -webkit-transform:rotateY(0deg);}