css.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. @font-face
  2. {
  3. font-family: LiSu;
  4. src: url('../font/SIMLI.TTF');
  5. }
  6. .fontLiSu {
  7. font-family: 'LiSu';
  8. }
  9. .colorc {
  10. color:#38290F;
  11. }
  12. .color2 {
  13. color:#9D3323;
  14. }
  15. .centerc {
  16. text-align:center;
  17. font-size:35px;
  18. line-height: 54px;
  19. height:100%;
  20. }
  21. img {
  22. max-width:100%;
  23. }
  24. button {
  25. background:none;
  26. outline:none;
  27. border:none;
  28. }
  29. .flexc {
  30. display: flex;
  31. justify-content: center;
  32. align-items: center;
  33. }
  34. .flexc-column {
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. flex-direction: column;
  39. }
  40. .btnc {
  41. width:180px;
  42. height:180px;
  43. line-height: 180px;
  44. font-size:34px;
  45. margin-top:20px;
  46. }
  47. .start-btn {
  48. background:url(../img/btn-bg1.png)center/130px no-repeat;
  49. }
  50. .again-btn {
  51. background:url(../img/btn-bg1.png)center/130px no-repeat;
  52. }
  53. .over-btn {
  54. background:url(../img/btn-bg2.png)center/130px no-repeat;
  55. }
  56. .game {
  57. position:absolute;
  58. z-index:9999;
  59. width:100%;
  60. height:100%;
  61. overflow: hidden;
  62. }
  63. .bg {
  64. /* background:url(../img/bg.jpg)center 100% no-repeat; */
  65. }
  66. .center-bg {
  67. background: url(../img/cener-bg.jpg)center 100% no-repeat;
  68. }
  69. .game-container {
  70. position:relative;
  71. width:1246px;
  72. height:700px;
  73. }
  74. .game-container .close-game {
  75. position:absolute;
  76. top:-22px;
  77. right:-22px;
  78. display:block;
  79. width:44px;
  80. height:44px;
  81. background:#38290F;
  82. border-radius:22px;
  83. color:#EDDABA;
  84. font-size:36px;
  85. text-align: center;
  86. line-height: 44px;
  87. }
  88. .game-container .start {
  89. width:100%;
  90. height:100%;
  91. }
  92. .game-container .left-title {
  93. width:323px;
  94. height:534px;
  95. /* border:2px dashed rgb(39, 25, 14,0.16); */
  96. margin-right:8px;
  97. }
  98. .game-container .right-info {
  99. font-size:30px;
  100. line-height: 54px;
  101. color:#38290F;
  102. text-align:center;
  103. }
  104. .game-container .right-info {
  105. width:570px;
  106. }
  107. .game-container .right-info span {
  108. color:#9D3323;
  109. }
  110. .game-container .right-info .start-btn {
  111. font-size:34px;
  112. color:#9D3323;
  113. }
  114. .game-container .process .top-img {
  115. position:absolute;
  116. left:0;
  117. top:0;
  118. width:129px;
  119. height:214px;
  120. /* border:1px dashed rgba(39, 25, 14,0.16); */
  121. }
  122. .game-container .process .topic {
  123. width:720px;
  124. margin-top:122px;
  125. }
  126. .game-container .process .topic .question {
  127. font-size:30px;
  128. line-height: 54px;
  129. }
  130. .game-container .process .topic .answer {
  131. width:427px;
  132. margin-top:30px;
  133. }
  134. .game-container .process .topic .answer ul li {
  135. line-height:54px;
  136. margin-bottom:20px;
  137. font-size:30px;
  138. }
  139. .game-container .process .topic .answer ul li:hover {
  140. border-bottom:1px solid #A58E65;
  141. color:#9D3323;
  142. }
  143. .game-container .process .topic .answer ul li.active {
  144. border-bottom:1px solid #A58E65;
  145. }
  146. .game-container .process .topic .answer ul li.correct::after {
  147. content: '√';
  148. color:#9D3323;
  149. margin-left:1em;
  150. }
  151. .game-container .process .topic .answer ul li.wrong::after {
  152. content:'×';
  153. color:#9D3323;
  154. margin-left:1em;
  155. }
  156. .game-container .process .next-btn {
  157. width:90px;
  158. height:90px;
  159. line-height: 90px;
  160. position:absolute;
  161. right:106px;
  162. bottom:85px;
  163. font-size:28px;
  164. background:url(../img/btn-bg1.png)center/100% no-repeat;
  165. }
  166. .pc {
  167. display:block;
  168. }
  169. .wap {
  170. display:none;
  171. }
  172. @media screen and (max-width:600px) {
  173. .pc {
  174. display:none;
  175. }
  176. .wap {
  177. display:block;
  178. }
  179. .btnc {
  180. width:22vw;
  181. height:22vw;
  182. line-height: 22vw;
  183. margin-top:0;
  184. font-size:4.8vw;
  185. }
  186. .start-btn {
  187. background:url(../img/btn-bg1.png)center/18vw no-repeat;
  188. }
  189. .again-btn {
  190. background:url(../img/btn-bg1.png)center/18vw no-repeat;
  191. }
  192. .over-btn {
  193. background:url(../img/btn-bg2.png)center/18vw no-repeat;
  194. }
  195. .centerc {
  196. font-size:5.5vw;
  197. line-height: 9.2vw;
  198. justify-content: flex-start;
  199. }
  200. .centerc p {
  201. margin-top:23vw;
  202. margin-bottom:32vw;
  203. }
  204. .bg {
  205. /* background: url(../img/wapbg.jpg)center no-repeat; */
  206. /* background:#38290fcc;
  207. background-size:cover; */
  208. }
  209. .center-bg {
  210. background: url(../img/wapcenter-bg.jpg)center 100% no-repeat;
  211. background-size:cover;
  212. }
  213. .game-container {
  214. width:88.8vw;
  215. height:149vw;
  216. }
  217. .game-container .close-game {
  218. width:8.5vw;
  219. height:8.5vw;
  220. line-height: 8.5vw;
  221. font-size:6vw;
  222. right:-4vw;
  223. top:-4vw;
  224. }
  225. .game-container .start {
  226. flex-direction: column;
  227. }
  228. .game-container .left-title {
  229. width:42.7%;
  230. height:auto;
  231. border-width:1px;
  232. margin-right:4vw;
  233. }
  234. .game-container .right-info {
  235. width:70%;
  236. font-size:4vw;
  237. line-height: 7vw;
  238. }
  239. .game-container .right-info .start-btn {
  240. position:relative;
  241. font-size:6vw;
  242. width:30.5vw;
  243. height:30.5vw;
  244. line-height: 30.5vw;
  245. background-size:23.5vw;
  246. }
  247. .game-container .right-info .start-btn::after {
  248. content:'';
  249. display:block;
  250. width:23.5vw;
  251. height:23.5vw;
  252. position:absolute;
  253. }
  254. .game-container .process .top-img {
  255. width:18.6vw;
  256. height:auto;
  257. position:relative;
  258. border:1px dashed rgba(39, 25, 14,0.16);
  259. margin-top:5.7vw;
  260. }
  261. .game-container .process .topic {
  262. width:66.6vw;
  263. margin-top:5.7vw;
  264. }
  265. .game-container .process .topic .question {
  266. font-size:4.1vw;
  267. line-height: 7vw;
  268. }
  269. .game-container .process .topic .answer {
  270. width:88%;
  271. margin:11vw auto 0;
  272. }
  273. .game-container .process .topic .answer ul li {
  274. line-height:6.3vw;
  275. margin-bottom:2vw;
  276. font-size:4vw;
  277. }
  278. .game-container .process .topic .answer ul li.active {
  279. border-bottom:1px solid #A58E65;
  280. }
  281. .game-container .process .topic .answer ul li.correct::after {
  282. content: '√';
  283. color:#9D3323
  284. }
  285. .game-container .process .topic .answer ul li.wrong::after {
  286. content:'×';
  287. color:#9D3323
  288. }
  289. .game-container .process .next-btn {
  290. width:14vw;
  291. height:14vw;
  292. line-height: 14vw;
  293. position:absolute;
  294. right:5.9vw;
  295. bottom:5.1vw;
  296. font-size:4.3vw;
  297. background:url(../img/btn-bg1.png)center/100% no-repeat;
  298. }
  299. }