cokingCoalA.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  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. .left-top,
  138. .left-bottom,
  139. .right-bottom,
  140. .right-top {
  141. width: 100%;
  142. height: 100%;
  143. padding: 10px;
  144. background: url('../images/rb-back.png') no-repeat;
  145. background-size: 100% 100%;
  146. }
  147. .left-top-content,
  148. .left-bottom-content,
  149. .right-top-content,
  150. .right-bottom-content {
  151. height: calc(100% - 50px);
  152. }
  153. /* .loopBack {
  154. background: url('../images/loop.png') no-repeat center;
  155. background-size: 60% auto;
  156. } */
  157. .center {
  158. padding: 10px;
  159. }
  160. .center-top {
  161. height: 80px;
  162. display: grid;
  163. grid-template-columns: repeat(3, minmax(0, 1fr));
  164. gap: 10px;
  165. }
  166. .center-top > div {
  167. height: 100%;
  168. background-size: 100% 100%;
  169. }
  170. .center-top > div:nth-child(1) {
  171. background: url('../images/c1Back.png') no-repeat center;
  172. }
  173. .center-top > div:nth-child(2) {
  174. background: url('../images/c2Back.png') no-repeat center;
  175. }
  176. .center-top > div:nth-child(3) {
  177. background: url('../images/c3Back.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. width: 100%;
  190. height: 80px;
  191. gap: 10px;
  192. }
  193. .right-top-content-top > div:nth-child(1) {
  194. background-color: #022347;
  195. }
  196. .right-top-content-top > div:nth-child(2) {
  197. background-color: #072844;
  198. }
  199. .right-top-content-bottom {
  200. height: calc(100% - 80px);
  201. }
  202. .right-top .pull-down {
  203. right: 0px;
  204. background: url('../images/down-back.png') no-repeat center;
  205. background-size: 100% 100%;
  206. padding: 5px 8px;
  207. }
  208. /* zhb */
  209. /* 宽高纵横比 */
  210. .aspect-auto {
  211. aspect-ratio: auto;
  212. }
  213. .aspect-square {
  214. aspect-ratio: 1 / 1;
  215. }
  216. .aspect-video {
  217. aspect-ratio: 16 / 9;
  218. }
  219. /* aspect-[4/3] */
  220. /* 居中 */
  221. .mx-auto {
  222. margin: 0 auto;
  223. }
  224. /* 设置容器内的列数/每列距离 */
  225. .columns-1 {
  226. columns: 1;
  227. }
  228. /* columns-[20px] */
  229. /* 盒子模型 */
  230. .box-border {
  231. box-sizing: border-box;
  232. }
  233. .box-content {
  234. box-sizing: content-box;
  235. }
  236. /* 消失 */
  237. .hidden {
  238. display: none;
  239. }
  240. /* 块级元素 */
  241. .block {
  242. display: block;
  243. }
  244. /* 行内块 */
  245. .inline-block {
  246. display: inline-block;
  247. }
  248. /* 行内元素 */
  249. .inline {
  250. display: inline;
  251. }
  252. /* 弹性布局 */
  253. .flex {
  254. display: flex;
  255. }
  256. /* 主轴起点在左边 */
  257. .flex-row {
  258. flex-direction: row;
  259. }
  260. /* 主轴起点在右边 */
  261. .flex-row-reverse {
  262. flex-direction: row-reverse;
  263. }
  264. /* 主轴竖向排列,在上面 */
  265. .flex-col {
  266. flex-direction: column;
  267. }
  268. /* 主轴竖向排列,在下面 */
  269. .flex-col-reverse {
  270. flex-direction: column-reverse;
  271. }
  272. /* 自动换行 */
  273. .flex-wrap {
  274. flex-wrap: wrap;
  275. }
  276. /* 自动换行下起点 */
  277. .flex-wrap-reverse {
  278. flex-wrap: wrap-reverse;
  279. }
  280. /* 不换行 */
  281. .flex-nowrap {
  282. flex-wrap: nowrap;
  283. }
  284. /* 弹性成长 */
  285. .grow {
  286. flex-grow: 1;
  287. }
  288. /* 不允许弹性成长 */
  289. .grow-0 {
  290. flex-grow: 0;
  291. }
  292. /* 主轴从左开始 */
  293. .justify-start {
  294. justify-content: flex-start;
  295. }
  296. /* 主轴从右开始 */
  297. .justify-end {
  298. justify-content: flex-end;
  299. }
  300. /* 主轴剧中 */
  301. .justify-center {
  302. justify-content: center;
  303. }
  304. /* 主轴两端无间隔 */
  305. .justify-between {
  306. justify-content: space-between;
  307. }
  308. /* 主轴两端有间隔 */
  309. .justify-around {
  310. justify-content: space-around;
  311. }
  312. /* 所有间隔相等 */
  313. .justify-evenly {
  314. justify-content: space-evenly;
  315. }
  316. /* 纵向起点最上方 */
  317. .items-start {
  318. align-items: flex-start;
  319. }
  320. /* 纵向起点最下方 */
  321. .items-end {
  322. align-items: flex-end;
  323. }
  324. .items-center {
  325. align-items: center;
  326. }
  327. /* 网格布局 */
  328. .grid {
  329. display: grid;
  330. }
  331. /* 有几列 */
  332. .grid-cols-4 {
  333. grid-template-columns: repeat(4, minmax(0, 1fr));
  334. }
  335. /* 有几行 */
  336. .grid-rows-3 {
  337. grid-template-rows: repeat(3, minmax(0, 1fr));
  338. }
  339. /* 间距 */
  340. .gap-7 {
  341. gap: 1.75rem;
  342. }
  343. /* 允许弹性成长 */
  344. .shrink {
  345. flex-shrink: 1;
  346. }
  347. /* 不允许弹性成长 */
  348. .shrink-0 {
  349. flex-shrink: 0;
  350. }
  351. /* 不允许成长也不允许收缩 */
  352. .flex-none {
  353. flex: none;
  354. }
  355. /* 浮动布局 */
  356. .float-right {
  357. float: right;
  358. }
  359. .float-left {
  360. float: left;
  361. }
  362. .clear-both {
  363. clear: both;
  364. }
  365. /* 溢出 */
  366. .overflow-auto {
  367. overflow: auto;
  368. }
  369. .overflow-hidden {
  370. overflow: hidden;
  371. }
  372. .overflow-scroll {
  373. overflow: scroll;
  374. }
  375. .overflow-x-auto {
  376. overflow-x: auto;
  377. }
  378. .overflow-y-auto {
  379. overflow-y: auto;
  380. }
  381. /* 定位 */
  382. .fixed {
  383. position: fixed;
  384. }
  385. .absolute {
  386. position: absolute;
  387. }
  388. .relative {
  389. position: relative;
  390. }
  391. .top-0 {
  392. top: 0px;
  393. }
  394. .right-0 {
  395. right: 0px;
  396. }
  397. .bottom-0 {
  398. bottom: 0px;
  399. }
  400. .left-0 {
  401. left: 0px;
  402. }
  403. /* top-[3px] */
  404. /* z-[100] */
  405. /* 显示隐藏未脱离文档流 */
  406. .visible {
  407. visibility: visible;
  408. }
  409. .invisible {
  410. visibility: hidden;
  411. }
  412. /* 内边距 */
  413. .p-0 {
  414. padding: 0px;
  415. }
  416. .px-0 {
  417. padding-left: 0px;
  418. padding-right: 0px;
  419. }
  420. .py-0 {
  421. padding-top: 0px;
  422. padding-bottom: 0px;
  423. }
  424. .pt-0 {
  425. padding-top: 0px;
  426. }
  427. .pr-0 {
  428. padding-right: 0px;
  429. }
  430. .pb-0 {
  431. padding-bottom: 0px;
  432. }
  433. .pl-0 {
  434. padding-left: 0px;
  435. }
  436. /* p-[5px] */
  437. /* 外边距 */
  438. .m-0 {
  439. margin: 0px;
  440. }
  441. .mx-0 {
  442. margin-left: 0px;
  443. margin-right: 0px;
  444. }
  445. .my-0 {
  446. margin-top: 0px;
  447. margin-bottom: 0px;
  448. }
  449. .mt-0 {
  450. margin-top: 0px;
  451. }
  452. .mr-0 {
  453. margin-right: 0px;
  454. }
  455. .mb-0 {
  456. margin-bottom: 0px;
  457. }
  458. .ml-0 {
  459. margin-left: 0px;
  460. }
  461. /* m-[5px] */
  462. /* 宽度 */
  463. .w-full {
  464. width: 100%;
  465. }
  466. .w-screen {
  467. width: 100vw;
  468. }
  469. /* w-[32rem] */
  470. /* min-w-[50%] */
  471. /* max-w-[50%] */
  472. /* 高度 */
  473. .h-full {
  474. height: 100%;
  475. }
  476. .h-screen {
  477. height: 100vh;
  478. }
  479. /* h-[32rem] */
  480. /* min-h-[50%] */
  481. /* max-h-[32rem] */
  482. /* 字体 */
  483. .text-xs {
  484. font-size: 0.75rem; /* 12px */
  485. line-height: 1rem; /* 16px */
  486. }
  487. .text-sm {
  488. font-size: 0.875rem; /* 14px */
  489. line-height: 1.25rem; /* 20px */
  490. }
  491. .text-base {
  492. font-size: 1rem; /* 16px */
  493. line-height: 1.5rem; /* 24px */
  494. }
  495. .text-lg {
  496. font-size: 1.125rem; /* 18px */
  497. line-height: 1.75rem; /* 28px */
  498. }
  499. .text-xl {
  500. font-size: 1.25rem; /* 20px */
  501. line-height: 1.75rem; /* 28px */
  502. }
  503. .text-2xl {
  504. font-size: 1.5rem; /* 24px */
  505. line-height: 2rem; /* 32px */
  506. }
  507. .text-3xl {
  508. font-size: 1.875rem; /* 30px */
  509. line-height: 2.25rem; /* 36px */
  510. }
  511. .text-4xl {
  512. font-size: 2.25rem; /* 36px */
  513. line-height: 2.5rem; /* 40px */
  514. }
  515. .text-5xl {
  516. font-size: 3rem; /* 48px */
  517. line-height: 1;
  518. }
  519. .text-6xl {
  520. font-size: 3.75rem; /* 60px */
  521. line-height: 1;
  522. }
  523. .text-7xl {
  524. font-size: 4.5rem; /* 72px */
  525. line-height: 1;
  526. }
  527. .text-8xl {
  528. font-size: 6rem; /* 96px */
  529. line-height: 1;
  530. }
  531. .text-9xl {
  532. font-size: 8rem; /* 128px */
  533. line-height: 1;
  534. }
  535. /* text-[14px] */
  536. /* 字体粗细font-weight */
  537. /* font-[1100] */
  538. /* https://tailwindcss.com/docs/font-weight */
  539. /* 字体间距letter-spacing */
  540. /* tracking-[.25em] */
  541. /* 行高line-height */
  542. /* leading-[3rem] */
  543. /* 无列表样式 */
  544. .list-none {
  545. list-style-type: none;
  546. }
  547. /* 小圆点 */
  548. .list-disc {
  549. list-style-type: disc;
  550. }
  551. /* 数字列表 */
  552. .list-decimal {
  553. list-style-type: decimal;
  554. }
  555. .text-left {
  556. text-align: left;
  557. }
  558. .text-center {
  559. text-align: center;
  560. }
  561. .text-right {
  562. text-align: right;
  563. }
  564. /* 所有文本头尾对齐 */
  565. .text-justify {
  566. text-align: justify;
  567. }
  568. /* 文本颜色 */
  569. /* text-[#50d71e] */
  570. /* https://tailwindcss.com/docs/text-color */
  571. /* 下划线 */
  572. .underline {
  573. text-decoration-line: underline;
  574. }
  575. /* 上划线 */
  576. .overline {
  577. text-decoration-line: overline;
  578. }
  579. /* 中划线 */
  580. .line-through {
  581. text-decoration-line: line-through;
  582. }
  583. /* 无划线 */
  584. .no-underline {
  585. text-decoration-line: none;
  586. }
  587. /* 全小写 */
  588. .lowercase {
  589. text-transform: lowercase;
  590. }
  591. /* 全大写 */
  592. .uppercase {
  593. text-transform: uppercase;
  594. }
  595. /* 首字母大写 */
  596. .capitalize {
  597. text-transform: capitalize;
  598. }