m.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. body{ background-color: #F06060; color: #fff; font: 12px/1.5 '微软雅黑';
  2. }
  3. body>a{ display: none; }
  4. .page{
  5. position: absolute;
  6. top: 0;
  7. left: 0;
  8. width: 100%;
  9. height: 100%;
  10. }
  11. .hide{display: none;}
  12. #loading{
  13. display: block;
  14. font-size: 30px;
  15. line-height: 500px;
  16. text-align: center;
  17. color: #fff;
  18. }
  19. #index h1{text-align: center; font-size: 30px; padding: 30px 0;text-shadow:1px 1px 1px #AB3C3C; }
  20. #index .btns{ text-align: center; position: absolute; bottom: 10px; height: 210px; width: 100%; color: #ddd;}
  21. #room header{
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. height: 50px;
  27. line-height: 50px;
  28. text-align: center;
  29. font-size: 16px;
  30. color: #FFA1A1;
  31. }
  32. #room header .lv{
  33. position: absolute;
  34. width: 80px;
  35. height: 50px;
  36. left: 10px;
  37. top: 0;
  38. }
  39. #room header .lv em{
  40. font-style: normal;
  41. }
  42. #room header .btn-pause{
  43. position: absolute;
  44. top: 5px;
  45. right: 10px;
  46. height: 40px;
  47. width: 60px;
  48. line-height: 40px;
  49. padding: 0;
  50. margin: 0;
  51. color: #fff;
  52. }
  53. #room header .time{
  54. font-size: 20px;
  55. font-weight: bold;
  56. background-color: #FD9090;
  57. color: #FFCACA;
  58. padding: 0 10px;
  59. border-radius: 10px;
  60. }
  61. #room header .time.danger{
  62. color: #FF0505;
  63. background-color: #fff;
  64. }
  65. #help{
  66. height: 30px;
  67. font-size: 16px;
  68. color: #FFA1A1;
  69. text-align: center;
  70. }
  71. #box{
  72. position: absolute;
  73. top: 50px;
  74. right: 0;
  75. bottom: 0;
  76. left: 0;
  77. margin: auto;
  78. background-color: #ddd;
  79. border-radius: 10px;
  80. padding: 10px;
  81. }
  82. #box span{
  83. display: block;
  84. float: left;
  85. border-radius: 10px;
  86. cursor: pointer;
  87. border: 5px solid #ddd;
  88. -webkit-box-sizing: border-box;
  89. -moz-box-sizing: border-box;
  90. box-sizing: border-box;
  91. }
  92. #box.lv2 span{
  93. width: 50%;
  94. height: 50%;
  95. }
  96. #box.lv3 span{
  97. width: 33.33%;
  98. height: 33.33%;
  99. }
  100. #box.lv4 span{
  101. width: 25%;
  102. height: 25%;
  103. }
  104. #box.lv5 span{
  105. width: 20%;
  106. height: 20%;
  107. border-width: 3px;
  108. }
  109. #box.lv6 span{
  110. width: 16.666%;
  111. height: 16.666%;
  112. border-width: 3px;
  113. }
  114. #box.lv7 span{
  115. width: 14.28%;
  116. height: 14.28%;
  117. border-width: 3px;
  118. }
  119. #box.lv8 span{
  120. width: 12.5%;
  121. height: 12.5%;
  122. border-width: 3px;
  123. }
  124. #box.lv9 span{
  125. width: 11.111%;
  126. height: 11.111%;
  127. border-width: 3px;
  128. }
  129. #box span img{
  130. width: 100%;
  131. }
  132. #dialog{
  133. background: url(../img/share.png) top right no-repeat #A74343;
  134. padding-top: 50px;
  135. box-sizing: border-box;
  136. -webkit-box-sizing: border-box;
  137. }
  138. #dialog .inner{
  139. height: 100%;
  140. width: 100%;
  141. text-align: center;
  142. font-size: 20px;
  143. }
  144. #dialog .inner .content{
  145. padding-top: 50px;
  146. }
  147. #dialog .inner h3{
  148. line-height: 60px;
  149. font-size: 40px;
  150. margin: 0;
  151. color: #321;
  152. }
  153. #dialog .inner .pause h3{
  154. color: #FFE2C5;
  155. }
  156. #dialog .inner .btn{
  157. margin: 15px auto;
  158. }
  159. #dialog .inner p{ margin: 0;}
  160. .btn {
  161. border: none;
  162. color: inherit;
  163. cursor: pointer;
  164. display: inline-block;
  165. margin: 15px 30px;
  166. text-transform: uppercase;
  167. letter-spacing: 1px;
  168. font-weight: 700;
  169. outline: none;
  170. position: relative;
  171. background: #FCAD26;
  172. border-radius: 7px;
  173. box-shadow: 0 5px #DA9622;
  174. font-size: 20px;
  175. font-family: '微软雅黑';
  176. height: 70px;
  177. width: 220px;
  178. line-height: 70px;
  179. -webkit-tap-highlight-color:rgba(0,0,0,0);
  180. }
  181. .btn.btn-bottom{
  182. position: absolute;
  183. width: 300px;
  184. padding: 0;
  185. bottom: 20px;
  186. left: 50%;
  187. margin-left: -150px;
  188. }
  189. .btn-wrap .boyaa-logo{
  190. display:block;
  191. height: 50px;
  192. width: 100px;
  193. margin: 0 auto;
  194. -webkit-tap-highlight-color:rgba(0,0,0,0);
  195. }
  196. .btn-wrap .boyaa-logo img{
  197. max-width: 100%;
  198. }
  199. @media all and (orientation:landscape) {
  200. #room header{
  201. height: 100%;
  202. width: 80px;
  203. }
  204. #room header .lv{
  205. left: 0;
  206. }
  207. #room header .time{
  208. display: inline-block;
  209. height: 50px;
  210. width: 100%;
  211. padding: 0;
  212. position: absolute;
  213. top: 50%;
  214. left: 0;
  215. margin-top: -25px;
  216. }
  217. #room header .btn-pause{
  218. top: auto;
  219. bottom: 15px;
  220. }
  221. #box{
  222. top: 0;
  223. left: 80px;
  224. }
  225. #dialog{
  226. padding-top: 0;
  227. padding-left: 80px;
  228. }
  229. #dialog .inner .content{
  230. padding-top: 100px;
  231. }
  232. }
  233. @media all and (max-width: 361px){
  234. #box.lv1 span,#box.lv2 span,#box.lv3 span,#box.lv4 span{
  235. border-width: 2px;
  236. border-radius: 5px;
  237. }
  238. #box.lv5 span,#box.lv6 span,#box.lv7 span,#box.lv8 span,#box.lv9 span{
  239. border-width: 1px;
  240. border-radius: 3px;
  241. }
  242. }
  243. .btn-boyaa{ text-decoration: none;}
  244. .btn-boyaa img{height: 30px; width: 30px; vertical-align: middle; margin-left: 10px;}