game.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. body {
  2. background-color: #F6B3B3;
  3. color: #fff;
  4. font: 15px/ 1.5 '微软雅黑';
  5. margin:0px;
  6. }
  7. body>a {
  8. display: none
  9. }
  10. #container {
  11. width: 480px;
  12. margin: auto;
  13. }
  14. .page {
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. right: 0;
  19. bottom: 0;
  20. max-width: 480px;
  21. margin: auto;
  22. }
  23. .hide {
  24. display: none
  25. }
  26. #loading {
  27. display: block;
  28. font-size: 30px;
  29. text-align: center;
  30. color: #fff
  31. }
  32. #loading .loading-txt {
  33. height: 100px;
  34. width: 100%;
  35. position: absolute;
  36. top: 0;
  37. left: 0;
  38. right: 0;
  39. bottom: 60px;
  40. margin: auto
  41. }
  42. .boyaa_logo {
  43. height: 50px;
  44. width: 110px;
  45. position: absolute;
  46. top: 0;
  47. left: 0;
  48. right: 0;
  49. bottom: 0;
  50. margin: auto;
  51. border-radius: 10px;
  52. -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
  53. -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
  54. box-shadow: 1px 1px 3px rgba(0, 0, 0, .5)
  55. }
  56. .boyaa_logo img {
  57. max-width: 100%;
  58. border-radius: 10px;
  59. display: block
  60. }
  61. .copyright {
  62. position: absolute;
  63. bottom: 0;
  64. left: 0;
  65. width: 100%;
  66. text-align: center;
  67. font-size: 16px
  68. }
  69. #index h1 {
  70. text-align: center;
  71. font-size: 30px;
  72. padding: 30px 0;
  73. text-shadow: 1px 1px 1px #AB3C3C
  74. }
  75. .btns {
  76. text-align: center;
  77. position: absolute;
  78. bottom: 10px;
  79. height: 140px;
  80. width: 100%;
  81. color: #ddd
  82. }
  83. .btns .btn2{
  84. height:60px;
  85. margin:auto;
  86. width:50%;
  87. }
  88. #room header {
  89. position: absolute;
  90. top: 0;
  91. left: 0;
  92. width: 100%;
  93. height: 50px;
  94. line-height: 50px;
  95. text-align: center;
  96. font-size: 16px;
  97. color: #B82828;
  98. }
  99. #room header .lv {
  100. position: absolute;
  101. width: 80px;
  102. height: 50px;
  103. left: 10px;
  104. top: 0
  105. }
  106. #room header .lv em {
  107. font-style: normal
  108. }
  109. #room header .btn-pause {
  110. position: absolute;
  111. top: 5px;
  112. right: 10px;
  113. height: 40px;
  114. width: 60px;
  115. line-height: 40px;
  116. padding: 0;
  117. margin: 0;
  118. color: #fff
  119. }
  120. #room header .time {
  121. font-size: 20px;
  122. font-weight: 700;
  123. background-color: #FD9090;
  124. color: #FFCACA;
  125. padding: 0 10px;
  126. border-radius: 10px
  127. }
  128. #room header .time.danger {
  129. color: #FF0505;
  130. background-color: #fff
  131. }
  132. #help {
  133. height: 30px;
  134. font-size: 16px;
  135. color: #FFA1A1;
  136. text-align: center
  137. }
  138. #box {
  139. position: absolute;
  140. top: 0;
  141. right: 0;
  142. bottom: 0;
  143. left: 0;
  144. margin: auto;
  145. background-color: #ddd;
  146. border-radius: 10px;
  147. padding: 10px
  148. }
  149. #boxguess {
  150. position: absolute;
  151. top: 0;
  152. right: 0;
  153. bottom: 30%;
  154. left: 0;
  155. margin: auto;
  156. background-color: #BEA6A6;
  157. border-radius: 10px;
  158. padding: 10px
  159. }
  160. #boxlist {
  161. position: absolute;
  162. bottom: 5%;
  163. left: 0px;
  164. margin: 2%;
  165. background-color: #ddd;
  166. border-radius: 10px;
  167. }
  168. .boxguesstext {
  169. display: block;
  170. float: left;
  171. border-radius: 10px;
  172. cursor: pointer;
  173. border: 5px solid #ddd;
  174. -webkit-box-sizing: border-box;
  175. -moz-box-sizing: border-box;
  176. box-sizing: border-box;
  177. font-size: 95px;
  178. text-align: center;
  179. width: 100%;
  180. }
  181. #boxlist .boxitem {
  182. position: relative;
  183. display: block;
  184. float: left;
  185. border-radius: 10px;
  186. cursor: pointer;
  187. border: 5px solid #ddd;
  188. -webkit-box-sizing: border-box;
  189. -moz-box-sizing: border-box;
  190. box-sizing: border-box;
  191. width: 33%;
  192. height: 100%;
  193. display: inline-block;
  194. font-size: 80px;
  195. text-align: center;
  196. display: block;
  197. }
  198. .boxitem img {
  199. font-size: 0px;
  200. margin;
  201. 0
  202. px;
  203. padding
  204. 0px;
  205. }
  206. .boxitem p {
  207. position: absolute;
  208. left: 40%;
  209. bottom: 0px;
  210. margin: auto;
  211. font-size: 10px;
  212. color: black;
  213. }
  214. #boxguess span {
  215. width: 100%;
  216. height: 100%
  217. }
  218. #box.lv3 span {
  219. width: 33.33%;
  220. height: 33.33%
  221. }
  222. #box.lv4 span {
  223. width: 25%;
  224. height: 25%
  225. }
  226. #box.lv5 span {
  227. width: 20%;
  228. height: 20%;
  229. border-width: 3px
  230. }
  231. #box.lv6 span {
  232. width: 16.666%;
  233. height: 16.666%;
  234. border-width: 3px
  235. }
  236. #box.lv7 span {
  237. width: 14.28%;
  238. height: 14.28%;
  239. border-width: 3px
  240. }
  241. #box.lv8 span {
  242. width: 12.5%;
  243. height: 12.5%;
  244. border-width: 3px
  245. }
  246. #box.lv9 span {
  247. width: 11.111%;
  248. height: 11.111%;
  249. border-width: 3px
  250. }
  251. #box span img {
  252. width: 100%
  253. }
  254. #dialog .inner {
  255. height: 100%;
  256. width: 100%;
  257. text-align: center;
  258. font-size: 20px
  259. }
  260. #result {
  261. position: absolute;
  262. top: 40px;
  263. width: 90%;
  264. margin: auto;
  265. text-align: left;
  266. left: 20px;
  267. color: rgb(184, 117, 117);
  268. font-size: 18px;
  269. }
  270. #dialog .inner .content {
  271. padding-top: 30px
  272. }
  273. #dialog .inner h3 {
  274. line-height: 60px;
  275. font-size: 40px;
  276. margin: 0;
  277. color: #321
  278. }
  279. #dialog .inner .pause h3 {
  280. color: #FFE2C5
  281. }
  282. #dialog .inner .btn {
  283. margin: 15px auto
  284. }
  285. #dialog .inner p {
  286. margin: 0
  287. }
  288. #dialog .inner-content {
  289. height: 270px;
  290. width: 100%;
  291. position: absolute;
  292. top: 0;
  293. left: 0;
  294. right: 0;
  295. bottom: 0;
  296. margin: auto
  297. }
  298. .btn {
  299. border: none;
  300. color: inherit;
  301. cursor: pointer;
  302. display: inline-block;
  303. margin: 10px 30px;
  304. text-transform: uppercase;
  305. letter-spacing: 1px;
  306. font-weight: 700;
  307. outline: 0;
  308. position: relative;
  309. background: #FCAD26;
  310. border-radius: 7px;
  311. box-shadow: 0 5px #DA9622;
  312. font-size: 20px;
  313. font-family: '微软雅黑';
  314. height: 50px;
  315. width: 220px;
  316. line-height: 50px;
  317. -webkit-tap-highlight-color: transparent
  318. }
  319. .btn.btn-bottom {
  320. position: absolute;
  321. width: 300px;
  322. padding: 0;
  323. bottom: 20px;
  324. left: 50%;
  325. margin-left: -150px
  326. }
  327. .boyaa-logo {
  328. display: block;
  329. height: 50px;
  330. width: 100px;
  331. margin: 0 auto;
  332. -webkit-tap-highlight-color: transparent
  333. }
  334. .boyaa-logo img {
  335. max-width: 100%
  336. }
  337. .banner {
  338. display: none;
  339. width: 640px;
  340. background-color: #123;
  341. max-width: 100%;
  342. position: absolute;
  343. bottom: 0;
  344. left: 0;
  345. display: none
  346. }
  347. .banner img {
  348. display: block;
  349. max-width: 100%
  350. }
  351. @media all and (orientation:landscape) {
  352. #room header {
  353. height: 100%;
  354. width: 80px
  355. }
  356. #room header .lv {
  357. left: 0
  358. }
  359. #room header .time {
  360. display: inline-block;
  361. height: 50px;
  362. width: 100%;
  363. padding: 0;
  364. position: absolute;
  365. top: 50%;
  366. left: 0;
  367. margin-top: -25px
  368. }
  369. #room header .btn-pause {
  370. top: auto;
  371. bottom: 15px
  372. }
  373. #box {
  374. top: 0;
  375. left: 80px
  376. }
  377. #dialog {
  378. padding-top: 0;
  379. //padding-left: 80px
  380. }
  381. #dialog .inner .content {
  382. padding-top: 100px
  383. }
  384. }
  385. @media all and (max-width:361px) {
  386. #box.lv1 span,#box.lv2 span,#box.lv3 span,#box.lv4 span {
  387. border-width: 2px;
  388. border-radius: 5px
  389. }
  390. #box.lv5 span,#box.lv6 span,#box.lv7 span,#box.lv8 span,#box.lv9 span {
  391. border-width: 1px;
  392. border-radius: 3px
  393. }
  394. }
  395. .btn-boyaa {
  396. text-decoration: none
  397. }
  398. .btn-boyaa img {
  399. height: 30px;
  400. width: 30px;
  401. vertical-align: middle;
  402. margin-left: 10px
  403. }