main.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  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;height: .5rem;left: 50%;margin-left: -1rem;text-align: center;overflow: hidden;}
  140. .gstart .cov4 .name{ left: 46%; }
  141. .doing.gstart .name{top: inherit;}
  142. .doing.gstart .cov4 .name{left: 2.0rem;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. overflow: hidden;
  185. width: 4.46rem;
  186. height: 1.2rem;
  187. line-height: 1.2rem;
  188. margin: 0;
  189. /* background: url(../img/check.png) no-repeat center; */
  190. background-color: #FFF;
  191. border: 0;
  192. background-size: 100%;
  193. color: #222e71;
  194. font-size: .44rem;
  195. float: left;
  196. margin-bottom: .3rem;
  197. box-shadow: 0 0.1rem 0rem #7e8cdd;
  198. position: relative;
  199. }
  200. .result .btn.on,.rulebtn.on{
  201. box-shadow: 0 0 1rem #FFEB3B;
  202. border-radius: .15rem;
  203. }
  204. .qs-item li.on{
  205. background-color:#8BC34A;
  206. color: #FFF;
  207. box-shadow: 0 0.1rem 0rem #4CAF50;
  208. }
  209. .qs-item li.cur_answer{
  210. background-color:#009688;
  211. color: #FFF;
  212. box-shadow: 0 0.1rem 0rem #00706f;
  213. /* background: url(../img/check-true.png) no-repeat center; */background-size:100%;color: #FFF;box-shadow: 0 0.1rem 0rem #7e8cdd;}
  214. .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;}
  215. .qs-item li.cur_true{
  216. background-color:#8BC34A;
  217. color: #FFF;
  218. box-shadow: 0 0.1rem 0rem #4CAF50;
  219. }
  220. .qs-item li.player_true em::after{
  221. content:"";
  222. position:absolute;
  223. right: 0.3rem;
  224. top: .3rem;
  225. width: .35rem;
  226. height: .35rem;
  227. border: solid .1rem #c3c3c3;
  228. border-radius: 50%;
  229. }
  230. .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);}
  231. .qs-item li.player_error em::after{
  232. content:"";
  233. content: "";
  234. position: absolute;
  235. right: .7rem;
  236. top: .3rem;
  237. width: .1rem;
  238. height: .5rem;
  239. background: #c3c3c3;
  240. border-radius: .1rem;
  241. -webkit-transform: rotate(-45deg);
  242. transform: rotate(-45deg);
  243. }
  244. .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);}
  245. .qs-item .cur_answer.cur_error::after{
  246. content:"";
  247. content: "";
  248. position: absolute;
  249. left: .7rem;
  250. top: .3rem;
  251. width: .1rem;
  252. height: .5rem;
  253. background: #FFF;
  254. border-radius: .1rem;
  255. -webkit-transform: rotate(-45deg);
  256. transform: rotate(-45deg);
  257. }
  258. .qs-item li.cur_answer.cur_true::before{content:"";position:absolute;left: 0.3rem;top: .3rem;width: .35rem;height: .35rem;border: solid .1rem #FFF;border-radius: 50%;}
  259. .qs-item .page{text-align: center;color: #fff;font-size: .3rem;clear: both;}
  260. .end .qs-item{display: none;}
  261. .result{width: 6.12rem;height: 9rem;margin: 4.8rem 0.7rem 0;background-color: #FFF;display: none;position: relative;}
  262. .end .result{display: block;background: url(../img/item.png) no-repeat center top;background-size: 100%;}
  263. .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;}
  264. .top-icon.success{background: url(../img/success.png) no-repeat;background-size: 100%;}
  265. .top-icon.faild{background: url(../img/fail.png) no-repeat;background-size: 100%;}
  266. .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;}
  267. .result .btn{
  268. display: block;
  269. width: 2.46rem;
  270. height: 1rem;
  271. margin: 0 auto .3rem;
  272. text-align: center;
  273. clear: both;
  274. color: #FFF;
  275. line-height: 1.15rem;
  276. font-size: .45rem;
  277. text-indent: -44em;
  278. overflow: hidden;
  279. }
  280. .result .btn1{
  281. background: url(../img/again.png);
  282. background-size: 100%;
  283. }
  284. .result .btn2{
  285. background: url(../img/back-home.png);
  286. background-size: 100%;
  287. }
  288. .amt{
  289. transition: all .3s;
  290. -webkit-transition: all .3s;
  291. }
  292. .loading{
  293. position: absolute;
  294. left: 50%;
  295. top: .4rem;
  296. width: 4rem;
  297. margin-left: -2rem;
  298. }
  299. #start_game.layui-btn {
  300. display:inline-block;
  301. width: 2.66rem;
  302. height: 3.12rem;
  303. line-height:38px;
  304. padding:0 18px;
  305. color:#fff;
  306. white-space:nowrap;
  307. text-align:center;
  308. font-size:14px;
  309. border:none;
  310. border-radius:2px;
  311. cursor:pointer;
  312. background: url(../img/start.png) no-repeat center;
  313. background-size: 100%;
  314. text-indent: -33em;
  315. overflow: hidden;
  316. position: absolute;
  317. left: 2.46rem;
  318. top: 7.4rem;
  319. z-index: 9;
  320. -webkit-animation-name: swing;
  321. animation-name: swing;
  322. -webkit-animation-duration: 2s;
  323. animation-duration: 2s;
  324. -webkit-animation-fill-mode: both;
  325. animation-fill-mode: both;
  326. -webkit-animation-iteration-count: infinite;
  327. animation-iteration-count: infinite;
  328. }
  329. .layui-btn+.layui-btn {
  330. margin-left:10px
  331. }
  332. .welcome{background: url(../img/bg1.png) no-repeat center bottom;height: 13.4rem;background-size: 7.5rem;}
  333. .welcome .covtit1{
  334. background: url(../img/tit1.png) no-repeat;
  335. background-size: 100%;
  336. width: 2.12rem;
  337. height: 2.34rem;
  338. left: .4rem;
  339. top: .4rem;
  340. -webkit-animation-name: wobble;
  341. animation-name:wobble;
  342. -webkit-animation-duration: 3s;
  343. animation-duration: 3s;
  344. -webkit-animation-fill-mode:both;
  345. animation-fill-mode:both;
  346. -webkit-animation-iteration-count: infinite;
  347. animation-iteration-count:infinite;
  348. }
  349. .welcome .covtit2{
  350. background: url(../img/tit2.png) no-repeat bottom;
  351. background-size: 100%;
  352. width: 6.63rem;
  353. height: 5.46rem;
  354. left: .4rem;
  355. top: 2rem;
  356. -webkit-animation-name: pulse;
  357. animation-name: pulse;
  358. -webkit-animation-duration: 2s;
  359. animation-duration: 2s;
  360. -webkit-animation-fill-mode: both;
  361. animation-fill-mode: both;
  362. -webkit-animation-iteration-count: infinite;
  363. animation-iteration-count: infinite;
  364. }
  365. .gstart{display:none}
  366. .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;}
  367. .popwind .art{
  368. padding: 1.1rem .82rem .4rem;
  369. height: 4rem;
  370. color: #c0caff;
  371. font-size: .32rem;
  372. }
  373. .popwind .close{
  374. width: 2.46rem;
  375. height: 1rem;
  376. display: block;
  377. margin: 0 auto;
  378. background: url(../img/enter.png);
  379. background-size: 100%;
  380. }
  381. .welcome .rulebtn{
  382. display: block;
  383. width: 1.24rem;
  384. height: .72rem;
  385. background: url(../img/rule.png);
  386. background-size: 100%;
  387. position: absolute;
  388. left: 6rem;
  389. top: .5rem;
  390. }
  391. .popbg{display: none;position: fixed;left: 0;top: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);z-index: 90;}
  392. .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;}
  393. .con {
  394. position:relative;
  395. display:inline-block;
  396. height: 1.6rem;
  397. width: 1.6rem;
  398. background: url(../img/djs-bg.png);
  399. background-size: 100%;
  400. /* padding: .1rem; */
  401. }
  402. .doing .covxlz{display:none}
  403. .end .covxlz{display:block}
  404. .percent-circle {
  405. position:absolute;
  406. height:100%;
  407. background: #f49136;
  408. overflow: hidden;
  409. }
  410. .percent-circle-right {
  411. right:0;
  412. width: .8rem;
  413. border-radius: 0 .8rem .8rem 0/0 .8rem .8rem 0;
  414. }
  415. .percent-circle-right .right-content{
  416. position: absolute;
  417. content: '';
  418. width: 100%;
  419. height: 100%;
  420. transform-origin:left center;
  421. transform: rotate(0deg);
  422. border-radius: 0 .8rem .8rem 0/0 .8rem .8rem 0;
  423. background: #ffffff;
  424. }
  425. .percent-circle-left {
  426. width:.8rem;
  427. border-radius: .8rem 0 0 .8rem/.8rem 0 0 .8rem;
  428. }
  429. .percent-circle-left .left-content {
  430. position: absolute;
  431. content: '';
  432. width: 100%;
  433. height: 100%;
  434. transform-origin:right center;
  435. transform: rotate(0deg);
  436. border-radius: .8rem 0 0 .8rem/.8rem 0 0 .8rem;
  437. background: #ffffff;
  438. }
  439. .text-circle {
  440. position: absolute;
  441. display:flex;
  442. align-items: center;
  443. justify-content: center;
  444. height:80%;
  445. width:80%;
  446. left:10%;
  447. top:10%;
  448. border-radius:100%;
  449. background: #2b236e;
  450. color:#fff;
  451. }
  452. .poptis{
  453. display: inline-block;
  454. height: 28px;
  455. line-height: 28px;
  456. border-radius: 9px;
  457. background-color: #287AFF;
  458. text-align: center;
  459. color: #FFF;
  460. margin: 0 auto;
  461. display: block;
  462. position: fixed;
  463. left: 50%;
  464. top: 42%;
  465. padding: 7px 27px;
  466. font-size: 16px;
  467. z-index: 9999;
  468. }