card.css 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. .card {
  2. max-width: 162mm;
  3. padding: 4.5mm 6mm 4mm 6mm;
  4. font-family: 'Times New Roman', 'SimSun' !important;
  5. position: relative;
  6. }
  7. .card .position {
  8. position: absolute;
  9. width: 5.6mm;
  10. height: 2.6mm;
  11. background-color: #000;
  12. }
  13. .card .pos-left {
  14. top: 0;
  15. left: 8.4mm;
  16. }
  17. .card .pos-center {
  18. top: 0;
  19. left: 33%;
  20. }
  21. .card .pos-right {
  22. top: 0;
  23. right: 8.4mm;
  24. }
  25. .card .pos-bottom-left {
  26. bottom: -3.5mm;
  27. left: 8.4mm;
  28. }
  29. .card .pos-bottom-right {
  30. bottom: -3.5mm;
  31. right: 8.4mm;
  32. }
  33. .card .flex {
  34. display: -webkit-box;
  35. display: -moz-box;
  36. display: -ms-flexbox;
  37. display: -webkit-flex;
  38. display: flex;
  39. }
  40. .card .alic {
  41. -webkit-align-items: center;
  42. -moz-box-align: center;
  43. -webkit-box-align: center;
  44. align-items: center;
  45. }
  46. .card .flex-center {
  47. display: -webkit-box;
  48. display: -moz-box;
  49. display: -ms-flexbox;
  50. display: -webkit-flex;
  51. display: flex;
  52. -webkit-align-items: center;
  53. -moz-box-align: center;
  54. -webkit-box-align: center;
  55. align-items: center;
  56. }
  57. .card .bd {
  58. position: relative;
  59. }
  60. .card .bd:after {
  61. position: absolute;
  62. content: " ";
  63. left: 0;
  64. top: 0px;
  65. z-index: -1;
  66. width: 200%;
  67. height: 200%;
  68. border: 1px solid;
  69. -webkit-transform-origin: 0 0;
  70. transform-origin: 0 0;
  71. -webkit-transform: scale(0.5, 0.5);
  72. transform: scale(0.5, 0.5);
  73. }
  74. .card .bdb {
  75. position: relative;
  76. }
  77. .card .bdb:after {
  78. position: absolute;
  79. content: " ";
  80. left: 0;
  81. top: 0px;
  82. z-index: -1;
  83. width: 200%;
  84. height: 200%;
  85. border-bottom: 1px solid;
  86. -webkit-transform-origin: 0 0;
  87. transform-origin: 0 0;
  88. -webkit-transform: scale(0.5, 0.5);
  89. transform: scale(0.5, 0.5);
  90. }
  91. .card .bdt {
  92. position: relative;
  93. }
  94. .card .bdt:after {
  95. position: absolute;
  96. content: " ";
  97. left: 0;
  98. top: 0px;
  99. z-index: -1;
  100. width: 200%;
  101. height: 200%;
  102. border-top: 1px solid;
  103. -webkit-transform-origin: 0 0;
  104. transform-origin: 0 0;
  105. -webkit-transform: scale(0.5, 0.5);
  106. transform: scale(0.5, 0.5);
  107. }
  108. .card .bdr {
  109. position: relative;
  110. }
  111. .card .bdr:after {
  112. position: absolute;
  113. content: " ";
  114. left: 0;
  115. top: 0px;
  116. z-index: -1;
  117. width: 200%;
  118. height: 200%;
  119. border-right: 1px solid;
  120. -webkit-transform-origin: 0 0;
  121. transform-origin: 0 0;
  122. -webkit-transform: scale(0.5, 0.5);
  123. transform: scale(0.5, 0.5);
  124. }
  125. .card .bdl {
  126. position: relative;
  127. }
  128. .card .bdl:after {
  129. position: absolute;
  130. content: " ";
  131. left: 0;
  132. top: 0px;
  133. z-index: -1;
  134. width: 200%;
  135. height: 200%;
  136. border-left: 1px solid;
  137. -webkit-transform-origin: 0 0;
  138. transform-origin: 0 0;
  139. -webkit-transform: scale(0.5, 0.5);
  140. transform: scale(0.5, 0.5);
  141. }
  142. .card .card-head {
  143. text-align: center;
  144. }
  145. .card .card-head .card-title {
  146. font-size: 9pt;
  147. font-weight: bold;
  148. }
  149. .card .card-head .head-bottom {
  150. font-size: 6pt;
  151. margin: 1mm 0;
  152. height: 2.12mm;
  153. overflow: hidden;
  154. }
  155. .card .info {
  156. margin-bottom: 2mm;
  157. }
  158. .card .info .info-text {
  159. box-flex: 1;
  160. -webkit-box-flex: 1;
  161. -moz-box-flex: 1;
  162. flex: 1;
  163. -webkit-flex: 1;
  164. }
  165. .card .info .info-text .essential-info {
  166. height: 6mm;
  167. line-height: 7mm;
  168. font-size: 7pt;
  169. -webkit-justify-content: space-around;
  170. justify-content: space-around;
  171. -moz-box-pack: space-around;
  172. -webkit-box-pack: space-around;
  173. box-pack: space-around;
  174. }
  175. .card .info .info-text .essential-info .info-item i {
  176. height: 5mm;
  177. display: block;
  178. width: 20mm;
  179. text-align: center;
  180. }
  181. .card .info .info-text .tips .tips-left {
  182. font-size: 5pt;
  183. padding: 0 1mm;
  184. width: 2mm;
  185. text-align: center;
  186. line-height: 2.2mm;
  187. }
  188. .card .info .info-text .tips .tips-left span {
  189. display: block;
  190. }
  191. .card .info .info-text .tips .tips-right {
  192. font-size: 5pt;
  193. line-height: 2.2mm;
  194. padding: 0.8mm 0 0.8mm 2mm;
  195. }
  196. .card .info .info-text .examples {
  197. height: 5mm;
  198. font-size: 5pt;
  199. justify-content: space-around;
  200. -webkit-justify-content: space-around;
  201. -moz-box-pack: space-around;
  202. -webkit-box-pack: space-around;
  203. box-pack: space-around;
  204. }
  205. .card .info .info-text .examples .correct span {
  206. margin-right: 1mm;
  207. }
  208. .card .info .info-text .examples .correct .four-line-grid {
  209. width: 13mm;
  210. height: 3.5mm;
  211. box-sizing: border-box;
  212. }
  213. .card .info .info-text .examples .correct .four-line-grid .line {
  214. width: 100%;
  215. height: 1.1mm;
  216. box-sizing: border-box;
  217. position: relative;
  218. }
  219. .card .info .info-text .examples .correct .four-line-grid .line .write {
  220. position: absolute;
  221. top: -1.6mm;
  222. left: 2.3mm;
  223. font-size: 10pt;
  224. }
  225. .card .info .info-text .examples .correct .four-line-grid:after {
  226. content: " ";
  227. position: absolute;
  228. left: 0;
  229. top: 0px;
  230. z-index: -1;
  231. width: 200%;
  232. height: 200%;
  233. -webkit-transform-origin: 0 0;
  234. transform-origin: 0 0;
  235. -webkit-transform: scale(0.5, 0.5);
  236. transform: scale(0.5, 0.5);
  237. border-bottom: 1px dashed #999;
  238. }
  239. .card .info .info-text .examples .sign div {
  240. width: 3.6mm;
  241. height: 1.6mm;
  242. margin: 0 3mm 0.5mm 1mm;
  243. }
  244. .card .info .info-qr-code {
  245. padding: 0 2mm;
  246. }
  247. .card .info .info-qr-code img {
  248. width: 14mm;
  249. height: 14mm;
  250. }
  251. .card .content {
  252. height: 128mm;
  253. padding: 2mm 1mm;
  254. font-size: 7pt;
  255. }
  256. .card .content .word-list {
  257. -webkit-flex-wrap: wrap;
  258. -webkit-box-lines: multiple;
  259. -moz-flex-wrap: wrap;
  260. flex-wrap: wrap;
  261. }
  262. .card .content .word-list li {
  263. padding-bottom: 3.6mm;
  264. padding-left: 1.5mm;
  265. }
  266. .card .content .word-list li .words-img {
  267. width: 34mm;
  268. height: 6.5mm;
  269. box-sizing: border-box;
  270. font-size: 7pt;
  271. position: relative;
  272. }
  273. .card .content .word-list li .words-img .correct {
  274. position: absolute;
  275. font-weight: bolder;
  276. top: -0.3mm;
  277. left: 0;
  278. background: rgba(255, 255, 255, 0.5);
  279. }
  280. .card .content .word-list li .words-img .result {
  281. color: #444;
  282. font-weight: bolder;
  283. position: absolute;
  284. top: -0.3mm;
  285. right: 0;
  286. background: rgba(255, 255, 255, 0.5);
  287. }
  288. .card .content .word-list li .words-img .iconfont {
  289. font-size: 15pt;
  290. font-weight: bold;
  291. position: absolute;
  292. top: 0.7mm;
  293. right: 0mm;
  294. }
  295. .card .content .word-list li .words-img img {
  296. width: 100%;
  297. height: 100%;
  298. }
  299. .card .content .words {
  300. width: 22mm;
  301. padding-right: 1mm;
  302. }
  303. .card .content .words i {
  304. padding-right: 1mm;
  305. }
  306. .card .content .words span {
  307. display: -webkit-box;
  308. -webkit-box-orient: vertical;
  309. -webkit-line-clamp: 2;
  310. overflow: hidden;
  311. line-height: 2.7mm;
  312. }
  313. .card .four-line-grid {
  314. width: 34mm;
  315. height: 6.5mm;
  316. box-sizing: border-box;
  317. position: relative;
  318. }
  319. .card .four-line-grid .line {
  320. width: 100%;
  321. height: 2mm;
  322. box-sizing: border-box;
  323. position: relative;
  324. }
  325. .card .four-line-grid .line:after {
  326. content: " ";
  327. position: absolute;
  328. left: 0;
  329. top: 0px;
  330. z-index: -1;
  331. width: 200%;
  332. height: 200%;
  333. -webkit-transform-origin: 0 0;
  334. transform-origin: 0 0;
  335. -webkit-transform: scale(0.5, 0.5);
  336. transform: scale(0.5, 0.5);
  337. border-top: 1px dashed #ddd;
  338. border-bottom: 1px solid #888;
  339. }
  340. .card .four-line-grid:after {
  341. content: " ";
  342. position: absolute;
  343. left: 0;
  344. top: 0px;
  345. z-index: -1;
  346. width: 200%;
  347. height: 200%;
  348. -webkit-transform-origin: 0 0;
  349. transform-origin: 0 0;
  350. -webkit-transform: scale(0.5, 0.5);
  351. transform: scale(0.5, 0.5);
  352. border: 1px dashed #ddd;
  353. }
  354. .back .pos-center2 {
  355. top: 0;
  356. right: 33% !important;
  357. }
  358. .back .content {
  359. height: 156.23mm;
  360. }
  361. .card-after {
  362. padding: 0 6mm;
  363. }
  364. .card-after .info .info-text .examples.examples-after {
  365. height: 6mm;
  366. }
  367. .card-after .info .info-text .examples.examples-after .correct-after {
  368. position: relative;
  369. font-size: 6pt;
  370. }
  371. .card-after .info .info-text .examples.examples-after .correct-after .four-line-grid {
  372. width: 26mm;
  373. height: 5mm;
  374. }
  375. .card-after .info .info-text .examples.examples-after .correct-after .four-line-grid .line {
  376. width: 100%;
  377. height: 1.6mm;
  378. box-sizing: border-box;
  379. position: relative;
  380. }
  381. .card-after .info .info-text .examples.examples-after .correct-after .four-line-grid .line .write {
  382. position: absolute;
  383. top: -1mm;
  384. left: 8.6mm;
  385. font-size: 10pt;
  386. }
  387. .card-after .info .info-text .examples.examples-after .correct-after .correct {
  388. position: absolute;
  389. top: 0mm;
  390. left: 13.5mm;
  391. }
  392. .card-after .info .info-text .examples.examples-after .correct-after .result {
  393. position: absolute;
  394. top: 0mm;
  395. right: 0mm;
  396. }
  397. .card-after .content {
  398. height: 139mm;
  399. }
  400. .card-after .content .word-list li {
  401. padding-bottom: 4.5mm;
  402. }
  403. .back-after {
  404. padding: 0 6mm;
  405. margin-top: 2mm;
  406. }
  407. .back-after .content {
  408. height: 164mm;
  409. }
  410. .card-teach {
  411. padding: 0 6mm;
  412. }
  413. .card-teach .card-head {
  414. margin-bottom: 2mm;
  415. }
  416. .card-teach .content {
  417. height: 159mm;
  418. }
  419. .card-teach .content .words {
  420. width: 25mm;
  421. padding-right: 1mm;
  422. }
  423. .card-teach .content .word-list li {
  424. padding-bottom: 2.6mm;
  425. }
  426. .card-teach .content .word-list li .four-line-grid {
  427. width: 31mm;
  428. height: 5.5mm;
  429. }
  430. .card-teach .content .word-list li .four-line-grid .line {
  431. height: 1.8mm;
  432. text-align: center;
  433. line-height: 1mm;
  434. }
  435. .card-teach .content .word-list li .four-line-grid .line .write {
  436. font-size: 12pt;
  437. }
  438. .teach-back {
  439. padding: 0 6mm;
  440. margin-top: 2mm;
  441. }
  442. .teach-back .content {
  443. height: 165mm;
  444. }
  445. .separate {
  446. padding: 0 6mm;
  447. }
  448. .separate .card-head {
  449. margin-bottom: 4mm;
  450. }
  451. .separate .content {
  452. height: 149mm;
  453. }
  454. .separate .content .word-list li {
  455. padding-bottom: 5.4mm;
  456. }
  457. .separate .content .word-list li .four-line-grid .line {
  458. text-align: center;
  459. line-height: 1mm;
  460. }
  461. .separate .content .word-list li .four-line-grid .line .write {
  462. font-size: 12pt;
  463. }
  464. .separate-back {
  465. padding: 0 6mm;
  466. margin-top: 2mm;
  467. }
  468. .separate-back .content {
  469. height: 165mm;
  470. }
  471. .separate-back .content .word-list li {
  472. padding-bottom: 5.4mm;
  473. }
  474. .separate-back .content .word-list li .four-line-grid .line {
  475. text-align: center;
  476. line-height: 1mm;
  477. }
  478. .separate-back .content .word-list li .four-line-grid .line .write {
  479. font-size: 12pt;
  480. }
  481. .paper .card {
  482. padding: 0;
  483. }