main.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  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. .loader {
  25. width: 4rem;
  26. height: 4rem;
  27. font-size: 10px;
  28. position: relative;
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. margin: 2rem auto 0;
  33. }
  34. .loader .face {
  35. position: absolute;
  36. border-radius: 50%;
  37. border-style: solid;
  38. animation: animate 3s linear infinite;
  39. }
  40. .loader .face:nth-child(1) {
  41. width: 100%;
  42. height: 100%;
  43. color: #bbc5ff;
  44. /* border-color: currentColor transparent transparent currentColor; */
  45. /* border-width: 0.2em 0.2em 0em 0em; */
  46. --deg: -45deg;
  47. animation-direction: normal;
  48. }
  49. .loader .face:nth-child(2) {
  50. width: 70%;
  51. height: 70%;
  52. color: #bbc5ff;
  53. /* border-color: currentColor currentColor transparent transparent; */
  54. /* border-width: 0.2em 0em 0em 0.2em; */
  55. --deg: -135deg;
  56. animation-direction: reverse;
  57. }
  58. .loader .face .circle {
  59. position: absolute;
  60. width: 50%;
  61. height: 0.1em;
  62. top: 50%;
  63. left: 50%;
  64. background-color: transparent;
  65. transform: rotate(var(--deg));
  66. transform-origin: left;
  67. }
  68. .loader .face .circle::before {
  69. position: absolute;
  70. top: -0.5em;
  71. right: -0.5em;
  72. content: '';
  73. width: 1em;
  74. height: 1em;
  75. background-color: currentColor;
  76. border-radius: 50%;
  77. box-shadow: 0 0 2em,
  78. 0 0 4em,
  79. 0 0 6em,
  80. 0 0 8em,
  81. 0 0 10em,
  82. 0 0 0 0.5em rgba(255, 255, 0, 0.1);
  83. }
  84. @keyframes animate {
  85. to {
  86. transform: rotate(1turn);
  87. }
  88. }
  89. body{
  90. background: url(../img/bg2.jpg) center top;
  91. }
  92. .cov{ position: absolute; }
  93. .g-inner{margin: 0 auto;width: 7.5rem;}
  94. .cov1{left: 50%;top: 3.3rem;width: 2.4rem;margin-left: -1.2rem;/* border: solid #71a3fd 2px; */border-radius: 50%;}
  95. .cov2{left: 50%;top: 10.5rem;margin-left: -1.5rem;width: 3rem;font-size: .3rem;text-align: center;}
  96. .cov1 .userface{width: 2.2rem;height: 2.2rem;margin: 0 auto;}
  97. .cov3{left: 50%;top: 7rem;width: 2rem;height: 1rem;line-height: 1rem;margin-left: -1rem;text-align: center;font-size: .5rem;color: #FFF;font-weight: bold;border-radius: .2rem;}
  98. .cov4{right: 50%;top: 8.5rem;width: 2rem;margin-right: -1rem;}
  99. .userface{border-radius: 50%;overflow: hidden;background-color: #000;display: block;}
  100. .cov4 .userface{width: 2.0rem;height: 2.0rem;float: right;opacity: 0;}
  101. .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;}
  102. .num{opacity: 0;color: #FFF;FONT-SIZE: 0.6REM;position: absolute;top: 0;text-shadow: 0px 0px 6px #7f8dde;}
  103. .doing .num{opacity: 1;line-height: .8rem;text-align: center;text-shadow: 2px 2px 0px #820b3e;}
  104. .doing .cov1 .num{
  105. /* color: #FFF; */
  106. /* FONT-SIZE: 0.5REM; */
  107. left: 2.3rem;
  108. }
  109. .doing .cov4 .num{
  110. left: .8rem;
  111. }
  112. .doing .cov4,.end .cov4{right: 50%;top: 10rem;width: 2rem;margin-left: -1rem;}
  113. .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;}
  114. .doing .cov1 .userface{width: 1.0rem;height: 1.0rem;left: .8rem;background: url(../img/user0-face.png);background-size: 100%;}
  115. .doing .cov2 , .doing .loading{opacity: 0;position: absolute;left: 50%;margin-left: -2.3rem;}
  116. .doing .cov3{top: 0rem;z-index: 9;}
  117. .doing .userface{position: absolute;top: -.5rem;}
  118. .cov .name{
  119. color: #fff;
  120. font-style: normal;
  121. position: absolute;
  122. left: .8rem;
  123. font-size: .35rem;
  124. top: 1rem;
  125. left: .2rem;
  126. width: 2rem;
  127. text-align: center;
  128. }
  129. .cov4 .name{left: 1.7rem;top: -1.2rem;}
  130. .gstart .name{top: 3.4rem;width: 2rem;left: 50%;margin-left: -1rem;text-align: center;}
  131. .gstart .cov4 .name{ left: 46%; }
  132. .doing.gstart .name{ top:inherit; }
  133. .doing.gstart .cov4 .name{ left:inherit; }
  134. .doing .qs-item{display:block;width: 5.50rem;}
  135. .doing .cov4 .userface{opacity:1;width: 1rem;height: 1rem;left: 2.3rem;background: url(../img/user0-face.png);background-size: 100%;}
  136. .doing .userface img{
  137. padding: 0.1rem;
  138. width: .8rem;
  139. border-radius: 50%;
  140. }
  141. .qs-item{padding: 3.8rem 1rem 0;display: none;position: absolute;left: 0;top: 0;z-index: 99;}
  142. .qs-item .tit{color: #FFF;font-size: .4rem;text-align: center;display: block;margin-bottom: .2rem;}
  143. .qs-item .list{
  144. margin: 0 auto;
  145. width: 4.4rem;
  146. }
  147. .qs-item li{
  148. width: 4.46rem;
  149. height: .95rem;
  150. border-radius: 1.15rem;
  151. color: #8400b1;
  152. background-color: #FFF;
  153. text-align: center;
  154. line-height: 1.15rem;
  155. margin-bottom: .5rem;
  156. overflow: hidden;
  157. }
  158. .qs-item li .answer {
  159. width: 100%;
  160. height: 100%;
  161. margin: 0;
  162. background: url(../img/check.png) no-repeat center;
  163. border: 0;
  164. background-size: 100%;
  165. color: #222e71;
  166. font-size: .44rem;
  167. float: left;
  168. }
  169. .qs-item li.on,.qs-item li .cur_answer{
  170. background: url(../img/check-true.png) no-repeat center;
  171. background-size:100%;
  172. color: #FFF;
  173. }
  174. .qs-item .cur_answer.cur_error{
  175. background: url(../img/check-error.png) no-repeat center;
  176. background-size:100%;
  177. color: #FFF;
  178. }
  179. .qs-item .cur_answer.cur_true{
  180. background-color:#009688;
  181. color: #FFF;
  182. }
  183. .qs-item .page{text-align: center; color: #fff; font-size: .3rem;}
  184. .end .qs-item{display: none;}
  185. .result{width: 6.12rem;height: 9rem;margin: 4.8rem 0.7rem 0;background-color: #FFF;display: none;position: relative;}
  186. .end .result{display: block;background: url(../img/item.png) no-repeat center top;background-size: 100%;}
  187. .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;}
  188. .top-icon.success{background-image: url(../img/success.png); }
  189. .top-icon.faild{background-image: url(../img/fail.png);}
  190. .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;}
  191. .result .btn{
  192. display: block;
  193. width: 2.46rem;
  194. height: 1rem;
  195. margin: 0 auto .3rem;
  196. text-align: center;
  197. clear: both;
  198. color: #FFF;
  199. line-height: 1.15rem;
  200. font-size: .45rem;
  201. text-indent: -44em;
  202. overflow: hidden;
  203. }
  204. .result .btn1{
  205. background: url(../img/again.png);
  206. background-size: 100%;
  207. }
  208. .result .btn2{
  209. background: url(../img/back-home.png);
  210. background-size: 100%;
  211. }
  212. .amt{
  213. transition: all .3s;
  214. -webkit-transition: all .3s;
  215. }
  216. .loading{
  217. position: absolute;
  218. left: 50%;
  219. top: .4rem;
  220. width: 4rem;
  221. margin-left: -2rem;
  222. }
  223. #start_game.layui-btn {
  224. display:inline-block;
  225. width: 2.66rem;
  226. height: 3.12rem;
  227. line-height:38px;
  228. padding:0 18px;
  229. color:#fff;
  230. white-space:nowrap;
  231. text-align:center;
  232. font-size:14px;
  233. border:none;
  234. border-radius:2px;
  235. cursor:pointer;
  236. background: url(../img/start.png) no-repeat center;
  237. background-size: 100%;
  238. text-indent: -33em;
  239. overflow: hidden;
  240. position: absolute;
  241. left: 2.46rem;
  242. top: 7.4rem;
  243. z-index: 9;
  244. -webkit-animation-name: swing;
  245. animation-name: swing;
  246. -webkit-animation-duration: 2s;
  247. animation-duration: 2s;
  248. -webkit-animation-fill-mode: both;
  249. animation-fill-mode: both;
  250. -webkit-animation-iteration-count: infinite;
  251. animation-iteration-count: infinite;
  252. }
  253. .layui-btn:hover {
  254. opacity:.8;
  255. filter:alpha(opacity=80);
  256. color:#fff
  257. }
  258. .layui-btn:active {
  259. opacity:1;
  260. filter:alpha(opacity=100)
  261. }
  262. .layui-btn+.layui-btn {
  263. margin-left:10px
  264. }
  265. .welcome{background: url(../img/bg1.png) no-repeat center bottom;height: 13.4rem;background-size: 7.5rem;}
  266. .welcome .covtit1{
  267. background: url(../img/tit1.png) no-repeat;
  268. background-size: 100%;
  269. width: 2.12rem;
  270. height: 2.34rem;
  271. left: .4rem;
  272. top: .4rem;
  273. -webkit-animation-name: wobble;
  274. animation-name:wobble;
  275. -webkit-animation-duration: 3s;
  276. animation-duration: 3s;
  277. -webkit-animation-fill-mode:both;
  278. animation-fill-mode:both;
  279. -webkit-animation-iteration-count: infinite;
  280. animation-iteration-count:infinite;
  281. }
  282. .welcome .covtit2{
  283. background: url(../img/tit2.png) no-repeat bottom;
  284. background-size: 100%;
  285. width: 6.63rem;
  286. height: 5.46rem;
  287. left: .4rem;
  288. top: 2rem;
  289. -webkit-animation-name: pulse;
  290. animation-name: pulse;
  291. -webkit-animation-duration: 2s;
  292. animation-duration: 2s;
  293. -webkit-animation-fill-mode: both;
  294. animation-fill-mode: both;
  295. -webkit-animation-iteration-count: infinite;
  296. animation-iteration-count: infinite;
  297. }
  298. .gstart{display:none}
  299. .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;}
  300. .popwind .art{
  301. padding: 1.1rem .82rem .4rem;
  302. height: 4rem;
  303. color: #c0caff;
  304. font-size: .32rem;
  305. }
  306. .popwind .close{
  307. width: 2.46rem;
  308. height: 1rem;
  309. display: block;
  310. margin: 0 auto;
  311. background: url(../img/enter.png);
  312. background-size: 100%;
  313. }
  314. .welcome .rulebtn{
  315. display: block;
  316. width: 1.24rem;
  317. height: .72rem;
  318. background: url(../img/rule.png);
  319. background-size: 100%;
  320. position: absolute;
  321. left: 6rem;
  322. top: .5rem;
  323. }
  324. .popbg{display: none;position: fixed;left: 0;top: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);}
  325. .covxlz{ width: 2.86rem;left: 50%; margin-left: -1.43rem; bottom: .5rem; height: 1rem; border-radius: .5rem; background-color: #a7a8c5;line-height: 1rem;text-align: center;color: #222e71 }
  326. .con {
  327. position:relative;
  328. display:inline-block;
  329. height: 1.6rem;
  330. width: 1.6rem;
  331. background: url(../img/djs-bg.png);
  332. background-size: 100%;
  333. /* padding: .1rem; */
  334. }
  335. .percent-circle {
  336. position:absolute;
  337. height:100%;
  338. background: #f49136;
  339. overflow: hidden;
  340. }
  341. .percent-circle-right {
  342. right:0;
  343. width: .8rem;
  344. border-radius: 0 .8rem .8rem 0/0 .8rem .8rem 0;
  345. }
  346. .percent-circle-right .right-content{
  347. position: absolute;
  348. content: '';
  349. width: 100%;
  350. height: 100%;
  351. transform-origin:left center;
  352. transform: rotate(0deg);
  353. border-radius: 0 .8rem .8rem 0/0 .8rem .8rem 0;
  354. background: #ffffff;
  355. }
  356. .percent-circle-left {
  357. width:.8rem;
  358. border-radius: .8rem 0 0 .8rem/.8rem 0 0 .8rem;
  359. }
  360. .percent-circle-left .left-content {
  361. position: absolute;
  362. content: '';
  363. width: 100%;
  364. height: 100%;
  365. transform-origin:right center;
  366. transform: rotate(0deg);
  367. border-radius: .8rem 0 0 .8rem/.8rem 0 0 .8rem;
  368. background: #ffffff;
  369. }
  370. .text-circle {
  371. position: absolute;
  372. display:flex;
  373. align-items: center;
  374. justify-content: center;
  375. height:80%;
  376. width:80%;
  377. left:10%;
  378. top:10%;
  379. border-radius:100%;
  380. background: #2b236e;
  381. color:#fff;
  382. }