cokingCoalB.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. *,
  2. *:before,
  3. *:after {
  4. padding: 0;
  5. margin: 0;
  6. box-sizing: border-box;
  7. }
  8. html,
  9. body {
  10. height: 100%;
  11. font-size: 14px;
  12. background-color: #ecffff;
  13. font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
  14. 'Hiragino Sans GB', Arial, sans-serif;
  15. }
  16. .flex {
  17. display: flex;
  18. }
  19. .flex1 {
  20. flex: 1;
  21. }
  22. .flex2 {
  23. flex: 2;
  24. }
  25. .flex-around {
  26. display: flex;
  27. justify-content: space-around;
  28. }
  29. .flex-between {
  30. display: flex;
  31. justify-content: space-between;
  32. align-items: center;
  33. }
  34. .flex-end {
  35. display: flex;
  36. justify-content: flex-end;
  37. }
  38. .flex-align-center {
  39. display: flex;
  40. align-items: center;
  41. }
  42. .text-center {
  43. text-align: center;
  44. }
  45. .font12 {
  46. font-size: 12px;
  47. }
  48. .main-color {
  49. color: #0bf1ff;
  50. }
  51. .danger-color {
  52. color: #f15450 !important;
  53. }
  54. .error-color {
  55. color: #ffc704 !important;
  56. }
  57. .btm10 {
  58. margin-bottom: 10px;
  59. }
  60. .btm20 {
  61. margin-bottom: 20px;
  62. }
  63. a {
  64. text-decoration: none;
  65. cursor: pointer;
  66. }
  67. [v-cloak] {
  68. display: none;
  69. }
  70. #app {
  71. background: url('../images/top-back2.png') center center no-repeat;
  72. background-size: 100% 103%;
  73. padding-top: 10px;
  74. height: 100vh;
  75. overflow: hidden;
  76. color: #fff;
  77. }
  78. .my-header {
  79. height: 70px;
  80. line-height: 70px;
  81. background: url('../images/title-back.png') center center no-repeat;
  82. background-size: 100% 100%;
  83. color: #0bf1ff;
  84. text-align: center;
  85. font-size: 25px;
  86. font-weight: 600;
  87. }
  88. .my-header span {
  89. background-image: -webkit-linear-gradient(top, #fff, #99eeff);
  90. -webkit-background-clip: text;
  91. -webkit-text-fill-color: transparent;
  92. }
  93. .main {
  94. padding: 15px;
  95. height: calc(100% - 70px);
  96. /* background: url('../images/content-bg.png') no-repeat center bottom; */
  97. background-size: 80%;
  98. display: grid;
  99. grid-template-columns: 30% 40% 30%;
  100. padding-bottom: 65px;
  101. }
  102. .footer {
  103. position: fixed;
  104. bottom: 0;
  105. padding: 10px;
  106. display: flex;
  107. background-color: rgba(0, 0, 0, 0.5);
  108. width: 100%;
  109. background: url('../images/foot-back.png') no-repeat center bottom;
  110. background-size: 100% 100%;
  111. }
  112. .footer a {
  113. height: 40px;
  114. line-height: 40px;
  115. text-align: center;
  116. color: #fff;
  117. background: url('../images/footer-item.png') no-repeat;
  118. background-size: 100% 100%;
  119. width: 200px;
  120. }
  121. .footer a:hover {
  122. background: url('../images/footer-item-checked.png') no-repeat;
  123. background-size: 100% 100%;
  124. }
  125. .my-header span.rightTime {
  126. position: absolute;
  127. right: 100px;
  128. bottom: 10px;
  129. font-size: 14px;
  130. }
  131. .left,
  132. .right {
  133. display: grid;
  134. grid-template-rows: repeat(2, minmax(0, 1fr));
  135. gap: 10px;
  136. }
  137. .right {
  138. grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  139. }
  140. .left-top,
  141. .left-bottom,
  142. .right-bottom,
  143. .right-top {
  144. width: 100%;
  145. height: 100%;
  146. padding: 10px;
  147. background: url('../images/rb-back.png') no-repeat;
  148. background-size: 100% 100%;
  149. }
  150. .left-top-content,
  151. .left-bottom-content,
  152. .right-top-content,
  153. .right-bottom-content {
  154. height: calc(100% - 50px);
  155. }
  156. .loopBack {
  157. /* background: url('../images/gold.png') no-repeat center;
  158. background-size: 60% auto; */
  159. }
  160. .center {
  161. padding: 10px;
  162. }
  163. .center-top {
  164. height: 80px;
  165. display: grid;
  166. grid-template-columns: repeat(2, minmax(0, 1fr));
  167. gap: 10px;
  168. }
  169. .center-top > div {
  170. height: 100%;
  171. background-size: 100% 100%;
  172. }
  173. .center-top > div:nth-child(1) {
  174. background: url('../images/man.png') no-repeat center;
  175. }
  176. .center-top > div:nth-child(2) {
  177. background: url('../images/woman.png') no-repeat center;
  178. }
  179. .top-text span {
  180. color: #69c0ff;
  181. font-size: 18px;
  182. font-weight: bold;
  183. font-style: italic;
  184. margin-right: 5px;
  185. }
  186. .right-top-content-top {
  187. display: grid;
  188. grid-template-columns: repeat(2, minmax(0, 1fr));
  189. grid-template-rows: repeat(2, minmax(0, 1fr));
  190. width: 100%;
  191. height: 100%;
  192. gap: 10px;
  193. }
  194. .right-top-content-top > div {
  195. padding-left: 70px;
  196. }
  197. .right-top-content-top > div:nth-child(1) {
  198. background: url('../images/right-top-img1.png') no-repeat center;
  199. background-size: 100% auto;
  200. }
  201. .right-top-content-top > div:nth-child(2) {
  202. background: url('../images/right-top-img2.png') no-repeat center;
  203. background-size: 100% auto;
  204. }
  205. .right-top-content-top > div:nth-child(3) {
  206. background: url('../images/right-top-img3.png') no-repeat center;
  207. background-size: 100% auto;
  208. }
  209. .right-top-content-top > div:nth-child(4) {
  210. background: url('../images/right-top-img4.png') no-repeat center;
  211. background-size: 100% auto;
  212. }
  213. .right-top-content-bottom {
  214. height: calc(100% - 80px);
  215. }
  216. /* zhb */
  217. /* 宽高纵横比 */
  218. .aspect-auto {
  219. aspect-ratio: auto;
  220. }
  221. .aspect-square {
  222. aspect-ratio: 1 / 1;
  223. }
  224. .aspect-video {
  225. aspect-ratio: 16 / 9;
  226. }
  227. /* aspect-[4/3] */
  228. /* 居中 */
  229. .mx-auto {
  230. margin: 0 auto;
  231. }
  232. /* 设置容器内的列数/每列距离 */
  233. .columns-1 {
  234. columns: 1;
  235. }
  236. /* columns-[20px] */
  237. /* 盒子模型 */
  238. .box-border {
  239. box-sizing: border-box;
  240. }
  241. .box-content {
  242. box-sizing: content-box;
  243. }
  244. /* 消失 */
  245. .hidden {
  246. display: none;
  247. }
  248. /* 块级元素 */
  249. .block {
  250. display: block;
  251. }
  252. /* 行内块 */
  253. .inline-block {
  254. display: inline-block;
  255. }
  256. /* 行内元素 */
  257. .inline {
  258. display: inline;
  259. }
  260. /* 弹性布局 */
  261. .flex {
  262. display: flex;
  263. }
  264. /* 主轴起点在左边 */
  265. .flex-row {
  266. flex-direction: row;
  267. }
  268. /* 主轴起点在右边 */
  269. .flex-row-reverse {
  270. flex-direction: row-reverse;
  271. }
  272. /* 主轴竖向排列,在上面 */
  273. .flex-col {
  274. flex-direction: column;
  275. }
  276. /* 主轴竖向排列,在下面 */
  277. .flex-col-reverse {
  278. flex-direction: column-reverse;
  279. }
  280. /* 自动换行 */
  281. .flex-wrap {
  282. flex-wrap: wrap;
  283. }
  284. /* 自动换行下起点 */
  285. .flex-wrap-reverse {
  286. flex-wrap: wrap-reverse;
  287. }
  288. /* 不换行 */
  289. .flex-nowrap {
  290. flex-wrap: nowrap;
  291. }
  292. /* 弹性成长 */
  293. .grow {
  294. flex-grow: 1;
  295. }
  296. /* 不允许弹性成长 */
  297. .grow-0 {
  298. flex-grow: 0;
  299. }
  300. /* 主轴从左开始 */
  301. .justify-start {
  302. justify-content: flex-start;
  303. }
  304. /* 主轴从右开始 */
  305. .justify-end {
  306. justify-content: flex-end;
  307. }
  308. /* 主轴剧中 */
  309. .justify-center {
  310. justify-content: center;
  311. }
  312. /* 主轴两端无间隔 */
  313. .justify-between {
  314. justify-content: space-between;
  315. }
  316. /* 主轴两端有间隔 */
  317. .justify-around {
  318. justify-content: space-around;
  319. }
  320. /* 所有间隔相等 */
  321. .justify-evenly {
  322. justify-content: space-evenly;
  323. }
  324. /* 纵向起点最上方 */
  325. .items-start {
  326. align-items: flex-start;
  327. }
  328. /* 纵向起点最下方 */
  329. .items-end {
  330. align-items: flex-end;
  331. }
  332. .items-center {
  333. align-items: center;
  334. }
  335. /* 网格布局 */
  336. .grid {
  337. display: grid;
  338. }
  339. /* 有几列 */
  340. .grid-cols-4 {
  341. grid-template-columns: repeat(4, minmax(0, 1fr));
  342. }
  343. /* 有几行 */
  344. .grid-rows-3 {
  345. grid-template-rows: repeat(3, minmax(0, 1fr));
  346. }
  347. /* 间距 */
  348. .gap-7 {
  349. gap: 1.75rem;
  350. }
  351. /* 允许弹性成长 */
  352. .shrink {
  353. flex-shrink: 1;
  354. }
  355. /* 不允许弹性成长 */
  356. .shrink-0 {
  357. flex-shrink: 0;
  358. }
  359. /* 不允许成长也不允许收缩 */
  360. .flex-none {
  361. flex: none;
  362. }
  363. /* 浮动布局 */
  364. .float-right {
  365. float: right;
  366. }
  367. .float-left {
  368. float: left;
  369. }
  370. .clear-both {
  371. clear: both;
  372. }
  373. /* 溢出 */
  374. .overflow-auto {
  375. overflow: auto;
  376. }
  377. .overflow-hidden {
  378. overflow: hidden;
  379. }
  380. .overflow-scroll {
  381. overflow: scroll;
  382. }
  383. .overflow-x-auto {
  384. overflow-x: auto;
  385. }
  386. .overflow-y-auto {
  387. overflow-y: auto;
  388. }
  389. /* 定位 */
  390. .fixed {
  391. position: fixed;
  392. }
  393. .absolute {
  394. position: absolute;
  395. }
  396. .relative {
  397. position: relative;
  398. }
  399. .top-0 {
  400. top: 0px;
  401. }
  402. .right-0 {
  403. right: 0px;
  404. }
  405. .bottom-0 {
  406. bottom: 0px;
  407. }
  408. .left-0 {
  409. left: 0px;
  410. }
  411. /* top-[3px] */
  412. /* z-[100] */
  413. /* 显示隐藏未脱离文档流 */
  414. .visible {
  415. visibility: visible;
  416. }
  417. .invisible {
  418. visibility: hidden;
  419. }
  420. /* 内边距 */
  421. .p-0 {
  422. padding: 0px;
  423. }
  424. .px-0 {
  425. padding-left: 0px;
  426. padding-right: 0px;
  427. }
  428. .py-0 {
  429. padding-top: 0px;
  430. padding-bottom: 0px;
  431. }
  432. .pt-0 {
  433. padding-top: 0px;
  434. }
  435. .pr-0 {
  436. padding-right: 0px;
  437. }
  438. .pb-0 {
  439. padding-bottom: 0px;
  440. }
  441. .pl-0 {
  442. padding-left: 0px;
  443. }
  444. /* p-[5px] */
  445. /* 外边距 */
  446. .m-0 {
  447. margin: 0px;
  448. }
  449. .mx-0 {
  450. margin-left: 0px;
  451. margin-right: 0px;
  452. }
  453. .my-0 {
  454. margin-top: 0px;
  455. margin-bottom: 0px;
  456. }
  457. .mt-0 {
  458. margin-top: 0px;
  459. }
  460. .mr-0 {
  461. margin-right: 0px;
  462. }
  463. .mb-0 {
  464. margin-bottom: 0px;
  465. }
  466. .ml-0 {
  467. margin-left: 0px;
  468. }
  469. /* m-[5px] */
  470. /* 宽度 */
  471. .w-full {
  472. width: 100%;
  473. }
  474. .w-screen {
  475. width: 100vw;
  476. }
  477. /* w-[32rem] */
  478. /* min-w-[50%] */
  479. /* max-w-[50%] */
  480. /* 高度 */
  481. .h-full {
  482. height: 100%;
  483. }
  484. .h-screen {
  485. height: 100vh;
  486. }
  487. /* h-[32rem] */
  488. /* min-h-[50%] */
  489. /* max-h-[32rem] */
  490. /* 字体 */
  491. .text-xs {
  492. font-size: 0.75rem; /* 12px */
  493. line-height: 1rem; /* 16px */
  494. }
  495. .text-sm {
  496. font-size: 0.875rem; /* 14px */
  497. line-height: 1.25rem; /* 20px */
  498. }
  499. .text-base {
  500. font-size: 1rem; /* 16px */
  501. line-height: 1.5rem; /* 24px */
  502. }
  503. .text-lg {
  504. font-size: 1.125rem; /* 18px */
  505. line-height: 1.75rem; /* 28px */
  506. }
  507. .text-xl {
  508. font-size: 1.25rem; /* 20px */
  509. line-height: 1.75rem; /* 28px */
  510. }
  511. .text-2xl {
  512. font-size: 1.5rem; /* 24px */
  513. line-height: 2rem; /* 32px */
  514. }
  515. .text-3xl {
  516. font-size: 1.875rem; /* 30px */
  517. line-height: 2.25rem; /* 36px */
  518. }
  519. .text-4xl {
  520. font-size: 2.25rem; /* 36px */
  521. line-height: 2.5rem; /* 40px */
  522. }
  523. .text-5xl {
  524. font-size: 3rem; /* 48px */
  525. line-height: 1;
  526. }
  527. .text-6xl {
  528. font-size: 3.75rem; /* 60px */
  529. line-height: 1;
  530. }
  531. .text-7xl {
  532. font-size: 4.5rem; /* 72px */
  533. line-height: 1;
  534. }
  535. .text-8xl {
  536. font-size: 6rem; /* 96px */
  537. line-height: 1;
  538. }
  539. .text-9xl {
  540. font-size: 8rem; /* 128px */
  541. line-height: 1;
  542. }
  543. /* text-[14px] */
  544. /* 字体粗细font-weight */
  545. /* font-[1100] */
  546. /* https://tailwindcss.com/docs/font-weight */
  547. /* 字体间距letter-spacing */
  548. /* tracking-[.25em] */
  549. /* 行高line-height */
  550. /* leading-[3rem] */
  551. /* 无列表样式 */
  552. .list-none {
  553. list-style-type: none;
  554. }
  555. /* 小圆点 */
  556. .list-disc {
  557. list-style-type: disc;
  558. }
  559. /* 数字列表 */
  560. .list-decimal {
  561. list-style-type: decimal;
  562. }
  563. .text-left {
  564. text-align: left;
  565. }
  566. .text-center {
  567. text-align: center;
  568. }
  569. .text-right {
  570. text-align: right;
  571. }
  572. /* 所有文本头尾对齐 */
  573. .text-justify {
  574. text-align: justify;
  575. }
  576. /* 文本颜色 */
  577. /* text-[#50d71e] */
  578. /* https://tailwindcss.com/docs/text-color */
  579. /* 下划线 */
  580. .underline {
  581. text-decoration-line: underline;
  582. }
  583. /* 上划线 */
  584. .overline {
  585. text-decoration-line: overline;
  586. }
  587. /* 中划线 */
  588. .line-through {
  589. text-decoration-line: line-through;
  590. }
  591. /* 无划线 */
  592. .no-underline {
  593. text-decoration-line: none;
  594. }
  595. /* 全小写 */
  596. .lowercase {
  597. text-transform: lowercase;
  598. }
  599. /* 全大写 */
  600. .uppercase {
  601. text-transform: uppercase;
  602. }
  603. /* 首字母大写 */
  604. .capitalize {
  605. text-transform: capitalize;
  606. }