main.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. @charset "utf-8";
  2. body,dl,dd,ul,ol,h1,h2,h3,h4,h5,h6,pre,form,input,textarea,p,hr,thead,tbody,tfoot,th,td{margin:0;padding:0;}
  3. ul,ol{list-style:none;}
  4. a{text-decoration:none;}
  5. html{-ms-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none;}
  6. body{line-height:1.5;}
  7. body,button,input,select,textarea{font-family:'helvetica neue',tahoma,'hiragino sans gb',stheiti,'wenquanyi micro hei',\5FAE\8F6F\96C5\9ED1,\5B8B\4F53,sans-serif;}
  8. b,strong{font-weight:bold;}
  9. i,em{font-style:normal;}
  10. table{border-collapse:collapse;border-spacing:0;}
  11. table th,table td{border:1px solid #ddd;padding:5px;}
  12. table th{font-weight:inherit;border-bottom-width:2px;border-bottom-color:#ccc;}
  13. img{border:0 none;width:auto\9;max-width:100%;vertical-align:top;}
  14. button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;vertical-align:baseline;}
  15. button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}
  16. button[disabled],input[disabled]{cursor:default;}
  17. input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}
  18. input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}
  19. input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
  20. @media screen and (-webkit-min-device-pixel-ratio:0){input{line-height:normal!important;}}
  21. select[size],select[multiple],select[size][multiple]{border:1px solid #AAA;padding:0;}
  22. article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}
  23. audio,canvas,video,progress{display:inline-block;}
  24. a,input,button{outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-focus-ring-color: rgba(0, 0, 0, 0);}
  25. button,input{outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-user-modify: read-write-plaintext-only;}
  26. .loader {
  27. width: 4rem;
  28. height: 4rem;
  29. font-size: 10px;
  30. position: relative;
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. margin: 2rem auto 0;
  35. }
  36. .g-doc{
  37. width: 7.5rem;
  38. margin: 0 auto;
  39. position: relative;
  40. }
  41. .loader .face {
  42. position: absolute;
  43. border-radius: 50%;
  44. border-style: solid;
  45. animation: animate 3s linear infinite;
  46. }
  47. .loader .face:nth-child(1) {
  48. width: 100%;
  49. height: 100%;
  50. color: #bbc5ff;
  51. /* border-color: currentColor transparent transparent currentColor; */
  52. /* border-width: 0.2em 0.2em 0em 0em; */
  53. --deg: -45deg;
  54. animation-direction: normal;
  55. }
  56. .loader .face:nth-child(2) {
  57. width: 70%;
  58. height: 70%;
  59. color: #bbc5ff;
  60. /* border-color: currentColor currentColor transparent transparent; */
  61. /* border-width: 0.2em 0em 0em 0.2em; */
  62. --deg: -135deg;
  63. animation-direction: reverse;
  64. }
  65. .loader .face .circle {
  66. position: absolute;
  67. width: 50%;
  68. height: 0.1em;
  69. top: 50%;
  70. left: 50%;
  71. background-color: transparent;
  72. transform: rotate(var(--deg));
  73. transform-origin: left;
  74. }
  75. .loader .face .circle::before {
  76. position: absolute;
  77. top: -0.5em;
  78. right: -0.5em;
  79. content: '';
  80. width: 1em;
  81. height: 1em;
  82. background-color: currentColor;
  83. border-radius: 50%;
  84. box-shadow: 0 0 2em,
  85. 0 0 4em,
  86. 0 0 6em,
  87. 0 0 8em,
  88. 0 0 10em,
  89. 0 0 0 0.5em rgba(255, 255, 0, 0.1);
  90. }
  91. @keyframes animate {
  92. to {
  93. transform: rotate(1turn);
  94. }
  95. }
  96. body{
  97. background: url(../img/bg2.jpg) center top;
  98. }
  99. .cov{ position: absolute; }
  100. .g-inner{margin: 0 auto;width: 7.5rem;overflow: hidden;}
  101. .cov1{left: 50%;top: 3.3rem;width: 2.4rem;margin-left: -1.2rem;/* border: solid #71a3fd 2px; */border-radius: 50%;}
  102. .cov2{left: 50%;top: 10.5rem;margin-left: -1.5rem;width: 3rem;font-size: .3rem;text-align: center;}
  103. .cov1 .userface{width: 2.2rem;height: 2.2rem;margin: 0 auto;}
  104. .gstart .cov3{}
  105. .cov3{left: 50%;top: 9rem;width: 2rem;height: 1rem;line-height: 1rem;margin-left: -1rem;text-align: center;font-size: .5rem;color: #FFF;font-weight: bold;border-radius: .2rem;}
  106. .cov4{right: 50%;top: 8.5rem;width: 2rem;margin-right: -1rem;}
  107. .userface{border-radius: 50%;overflow: hidden;background-color: #000;display: block;}
  108. .cov4 .userface{width: 2.0rem;height: 2.0rem;float: right;opacity: 0;}
  109. .doing .cov1{left: -.5rem;margin: 0;top: 1rem;background: #32deec;border-radius: 1rem;width: 4.3rem;border: 0;background: url(../img/user0.png);background-size: 4.3rem;height: 1rem;}
  110. .num{opacity: 0;color: #FFF;FONT-SIZE: 0.6REM;position: absolute;top: 0;text-shadow: 0px 0px 6px #7f8dde;}
  111. .doing .num{opacity: 1;line-height: .8rem;text-align: center;text-shadow: 2px 2px 0px #820b3e;}
  112. .doing .cov1 .num{
  113. /* color: #FFF; */
  114. /* FONT-SIZE: 0.5REM; */
  115. left: 2.3rem;
  116. }
  117. .doing .cov4 .num{
  118. left: .8rem;
  119. }
  120. .doing .cov4,.end .cov4{right: 50%;top: 10rem;width: 2rem;margin-left: -1rem;}
  121. .doing .cov4{right: -.4rem;top: 2rem;width: 4rem;border-radius: 1rem;margin-right: 0rem;height: 1rem;background: url(../img/user1.png);background-size: 4.3rem;}
  122. .doing .cov1 .userface{width: 1.0rem;height: 1.0rem;left: .8rem;background: url(../img/user0-face.png);background-size: 100%;}
  123. .doing .cov2 , .doing .loading{opacity: 0;position: absolute;left: 50%;margin-left: -2.3rem;}
  124. .doing .cov3{top: 0rem;z-index: 9;}
  125. .doing .userface{position: absolute;top: -.5rem;}
  126. .cov .name{
  127. color: #fff;
  128. font-style: normal;
  129. position: absolute;
  130. left: .8rem;
  131. font-size: .35rem;
  132. top: 1rem;
  133. left: .2rem;
  134. width: 2rem;
  135. text-align: center;
  136. text-shadow: 2px 2px 0px #820b3e;
  137. }
  138. .cov4 .name{left: 1.7rem;top: -1.2rem;}
  139. .gstart .name{top: 3.4rem;width: 2rem;left: 50%;margin-left: -1rem;text-align: center;}
  140. .gstart .cov4 .name{ left: 46%; }
  141. .doing.gstart .name{top: inherit;}
  142. .doing.gstart .cov4 .name{left: 2rem;top: -1rem;}
  143. .doing .qs-item{display:block;width: 5.50rem;}
  144. .doing .cov4 .userface{opacity:1;width: 1rem;height: 1rem;left: 2.3rem;background: url(../img/user0-face.png);background-size: 100%;}
  145. .doing .userface img{
  146. padding: 0.1rem;
  147. width: .8rem;
  148. border-radius: 50%;
  149. }
  150. .qs-item{padding: 3.8rem 1rem 0;display: none;position: absolute;left: 0;top: 0;z-index: 99;}
  151. .qs-item .tit{color: #FFF;font-size: .4rem;text-align: center;display: block;margin-bottom: .2rem;}
  152. .qs-item .list{
  153. margin: 0 auto;
  154. width: 4.4rem;
  155. }
  156. .qs-item li{
  157. width: 4.46rem;
  158. height: .95rem;
  159. border-radius: 1.15rem;
  160. color: #8400b1;
  161. background-color: #FFF;
  162. text-align: center;
  163. line-height: 1.15rem;
  164. margin-bottom: .5rem;
  165. overflow: hidden;
  166. }
  167. .qs-item li:nth-child(2n){
  168. -webkit-animation-name: bounceInLeft;
  169. animation-name: bounceInLeft;
  170. -webkit-animation-duration: .5s;
  171. animation-duration: .5s;
  172. -webkit-animation-fill-mode: both;
  173. animation-fill-mode: both;
  174. }
  175. .qs-item li:nth-child(2n-1){
  176. -webkit-animation-name: bounceInRight;
  177. animation-name: bounceInRight;
  178. -webkit-animation-duration: .5s;
  179. animation-duration: .5s;
  180. -webkit-animation-fill-mode: both;
  181. animation-fill-mode: both;
  182. }
  183. .qs-item li.answer {
  184. width: 100%;
  185. height: 100%;
  186. margin: 0;
  187. /* background: url(../img/check.png) no-repeat center; */
  188. background-color: #FFF;
  189. border: 0;
  190. background-size: 100%;
  191. color: #222e71;
  192. font-size: .44rem;
  193. float: left;
  194. margin-bottom: .3rem;
  195. box-shadow: 0 0.1rem 0rem #7e8cdd;
  196. position: relative;
  197. }
  198. .result .btn.on,.rulebtn.on{
  199. box-shadow: 0 0 1rem #FFEB3B;
  200. border-radius: .15rem;
  201. }
  202. .qs-item li.on{
  203. background-color:#8BC34A;
  204. color: #FFF;
  205. box-shadow: 0 0.1rem 0rem #4CAF50;
  206. }
  207. .qs-item li.cur_answer{
  208. background-color:#009688;
  209. color: #FFF;
  210. box-shadow: 0 0.1rem 0rem #00706f;
  211. /* background: url(../img/check-true.png) no-repeat center; */background-size:100%;color: #FFF;box-shadow: 0 0.1rem 0rem #7e8cdd;}
  212. .qs-item .cur_answer.cur_error{/* background: url(../img/check-error.png) no-repeat center; */background-size:100%;color: #FFF;background: #ff5970;box-shadow: 0 0.1rem 0rem #931325;}
  213. .qs-item li.cur_true{
  214. background-color:#8BC34A;
  215. color: #FFF;
  216. box-shadow: 0 0.1rem 0rem #4CAF50;
  217. }
  218. .qs-item li.player_true em::after{
  219. content:"";
  220. position:absolute;
  221. right: 0.3rem;
  222. top: .3rem;
  223. width: .35rem;
  224. height: .35rem;
  225. border: solid .1rem #c3c3c3;
  226. border-radius: 50%;
  227. }
  228. .qs-item li.player_error em::before{content:"";position:absolute;right: .5rem;top: .5rem;width: .5rem;height: .1rem;background: #c3c3c3;border-radius: .1rem;-webkit-transform: rotate(-45deg);transform: rotate(-45deg);}
  229. .qs-item li.player_error em::after{
  230. content:"";
  231. content: "";
  232. position: absolute;
  233. right: .7rem;
  234. top: .3rem;
  235. width: .1rem;
  236. height: .5rem;
  237. background: #c3c3c3;
  238. border-radius: .1rem;
  239. -webkit-transform: rotate(-45deg);
  240. transform: rotate(-45deg);
  241. }
  242. .qs-item .cur_answer.cur_error::before{content:"";position:absolute;left: .5rem;top: .5rem;width: .5rem;height: .1rem;background: #FFF;border-radius: .1rem;-webkit-transform: rotate(-45deg);transform: rotate(-45deg);}
  243. .qs-item .cur_answer.cur_error::after{
  244. content:"";
  245. content: "";
  246. position: absolute;
  247. left: .7rem;
  248. top: .3rem;
  249. width: .1rem;
  250. height: .5rem;
  251. background: #FFF;
  252. border-radius: .1rem;
  253. -webkit-transform: rotate(-45deg);
  254. transform: rotate(-45deg);
  255. }
  256. .qs-item li.cur_true::before{content:"";position:absolute;left: 0.3rem;top: .3rem;width: .35rem;height: .35rem;border: solid .1rem #FFF;border-radius: 50%;}
  257. .qs-item .page{text-align: center;color: #fff;font-size: .3rem;clear: both;}
  258. .end .qs-item{display: none;}
  259. .result{width: 6.12rem;height: 9rem;margin: 4.8rem 0.7rem 0;background-color: #FFF;display: none;position: relative;}
  260. .end .result{display: block;background: url(../img/item.png) no-repeat center top;background-size: 100%;}
  261. .top-icon{width: 2.33rem;height: 3rem;background-size: 100%;display: block;position: absolute;top: -0.86rem;left: 50%;margin-left: -1.165rem;text-align: center;}
  262. .top-icon.success{background: url(../img/success.png) no-repeat;background-size: 100%;}
  263. .top-icon.faild{background: url(../img/fail.png) no-repeat;background-size: 100%;}
  264. .result .live{color: #FFF;text-align: center;display: block;margin-top: 1.2rem;float: left;width: 100%;margin-bottom: 1rem;/* display: none; */text-indent: -33em;overflow: hidden;}
  265. .result .btn{
  266. display: block;
  267. width: 2.46rem;
  268. height: 1rem;
  269. margin: 0 auto .3rem;
  270. text-align: center;
  271. clear: both;
  272. color: #FFF;
  273. line-height: 1.15rem;
  274. font-size: .45rem;
  275. text-indent: -44em;
  276. overflow: hidden;
  277. }
  278. .result .btn1{
  279. background: url(../img/again.png);
  280. background-size: 100%;
  281. }
  282. .result .btn2{
  283. background: url(../img/back-home.png);
  284. background-size: 100%;
  285. }
  286. .amt{
  287. transition: all .3s;
  288. -webkit-transition: all .3s;
  289. }
  290. .loading{
  291. position: absolute;
  292. left: 50%;
  293. top: .4rem;
  294. width: 4rem;
  295. margin-left: -2rem;
  296. }
  297. #start_game.layui-btn {
  298. display:inline-block;
  299. width: 2.66rem;
  300. height: 3.12rem;
  301. line-height:38px;
  302. padding:0 18px;
  303. color:#fff;
  304. white-space:nowrap;
  305. text-align:center;
  306. font-size:14px;
  307. border:none;
  308. border-radius:2px;
  309. cursor:pointer;
  310. background: url(../img/start.png) no-repeat center;
  311. background-size: 100%;
  312. text-indent: -33em;
  313. overflow: hidden;
  314. position: absolute;
  315. left: 2.46rem;
  316. top: 7.4rem;
  317. z-index: 9;
  318. -webkit-animation-name: swing;
  319. animation-name: swing;
  320. -webkit-animation-duration: 2s;
  321. animation-duration: 2s;
  322. -webkit-animation-fill-mode: both;
  323. animation-fill-mode: both;
  324. -webkit-animation-iteration-count: infinite;
  325. animation-iteration-count: infinite;
  326. }
  327. .layui-btn:hover {
  328. opacity:.8;
  329. filter:alpha(opacity=80);
  330. color:#fff
  331. }
  332. .layui-btn:active {
  333. opacity:1;
  334. filter:alpha(opacity=100)
  335. }
  336. .layui-btn+.layui-btn {
  337. margin-left:10px
  338. }
  339. .welcome{background: url(../img/bg1.png) no-repeat center bottom;height: 13.4rem;background-size: 7.5rem;}
  340. .welcome .covtit1{
  341. background: url(../img/tit1.png) no-repeat;
  342. background-size: 100%;
  343. width: 2.12rem;
  344. height: 2.34rem;
  345. left: .4rem;
  346. top: .4rem;
  347. -webkit-animation-name: wobble;
  348. animation-name:wobble;
  349. -webkit-animation-duration: 3s;
  350. animation-duration: 3s;
  351. -webkit-animation-fill-mode:both;
  352. animation-fill-mode:both;
  353. -webkit-animation-iteration-count: infinite;
  354. animation-iteration-count:infinite;
  355. }
  356. .welcome .covtit2{
  357. background: url(../img/tit2.png) no-repeat bottom;
  358. background-size: 100%;
  359. width: 6.63rem;
  360. height: 5.46rem;
  361. left: .4rem;
  362. top: 2rem;
  363. -webkit-animation-name: pulse;
  364. animation-name: pulse;
  365. -webkit-animation-duration: 2s;
  366. animation-duration: 2s;
  367. -webkit-animation-fill-mode: both;
  368. animation-fill-mode: both;
  369. -webkit-animation-iteration-count: infinite;
  370. animation-iteration-count: infinite;
  371. }
  372. .gstart{display:none}
  373. .popwind{width:6.05rem;height:6.98rem;position: absolute;left: 0.8rem;top: 2.5rem;background: url(../img/rulebg.png);background-size: 100%;display: none;z-index: 99;}
  374. .popwind .art{
  375. padding: 1.1rem .82rem .4rem;
  376. height: 4rem;
  377. color: #c0caff;
  378. font-size: .32rem;
  379. }
  380. .popwind .close{
  381. width: 2.46rem;
  382. height: 1rem;
  383. display: block;
  384. margin: 0 auto;
  385. background: url(../img/enter.png);
  386. background-size: 100%;
  387. }
  388. .welcome .rulebtn{
  389. display: block;
  390. width: 1.24rem;
  391. height: .72rem;
  392. background: url(../img/rule.png);
  393. background-size: 100%;
  394. position: absolute;
  395. left: 6rem;
  396. top: .5rem;
  397. }
  398. .popbg{display: none;position: fixed;left: 0;top: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);z-index: 90;}
  399. .covxlz{width: 2.86rem;left: 50%;margin-left: -1.43rem;top: 11.5rem;height: 1rem;border-radius: .5rem;background-color: #a7a8c5;line-height: 1rem;text-align: center;color: #222e71;}
  400. .con {
  401. position:relative;
  402. display:inline-block;
  403. height: 1.6rem;
  404. width: 1.6rem;
  405. background: url(../img/djs-bg.png);
  406. background-size: 100%;
  407. /* padding: .1rem; */
  408. }
  409. .doing .covxlz{display:none}
  410. .end .covxlz{display:block}
  411. .percent-circle {
  412. position:absolute;
  413. height:100%;
  414. background: #f49136;
  415. overflow: hidden;
  416. }
  417. .percent-circle-right {
  418. right:0;
  419. width: .8rem;
  420. border-radius: 0 .8rem .8rem 0/0 .8rem .8rem 0;
  421. }
  422. .percent-circle-right .right-content{
  423. position: absolute;
  424. content: '';
  425. width: 100%;
  426. height: 100%;
  427. transform-origin:left center;
  428. transform: rotate(0deg);
  429. border-radius: 0 .8rem .8rem 0/0 .8rem .8rem 0;
  430. background: #ffffff;
  431. }
  432. .percent-circle-left {
  433. width:.8rem;
  434. border-radius: .8rem 0 0 .8rem/.8rem 0 0 .8rem;
  435. }
  436. .percent-circle-left .left-content {
  437. position: absolute;
  438. content: '';
  439. width: 100%;
  440. height: 100%;
  441. transform-origin:right center;
  442. transform: rotate(0deg);
  443. border-radius: .8rem 0 0 .8rem/.8rem 0 0 .8rem;
  444. background: #ffffff;
  445. }
  446. .text-circle {
  447. position: absolute;
  448. display:flex;
  449. align-items: center;
  450. justify-content: center;
  451. height:80%;
  452. width:80%;
  453. left:10%;
  454. top:10%;
  455. border-radius:100%;
  456. background: #2b236e;
  457. color:#fff;
  458. }
  459. .poptis{
  460. display: inline-block;
  461. height: 28px;
  462. line-height: 28px;
  463. border-radius: 9px;
  464. background-color: #287AFF;
  465. text-align: center;
  466. color: #FFF;
  467. margin: 0 auto;
  468. display: block;
  469. position: fixed;
  470. left: 50%;
  471. top: 42%;
  472. padding: 7px 27px;
  473. font-size: 16px;
  474. z-index: 9999;
  475. }