wap_css.css 6.2 KB

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