investHomeGroup.css 20 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081
  1. html,
  2. body {
  3. width: 7680px;
  4. min-height: 2130px;
  5. height: 100%;
  6. font-size: 20px;
  7. color: #fff;
  8. font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
  9. 'Hiragino Sans GB', Arial, sans-serif;
  10. overflow-y: hidden;
  11. }
  12. *,
  13. *:before,
  14. *:after {
  15. padding: 0;
  16. margin: 0;
  17. box-sizing: border-box;
  18. }
  19. a {
  20. text-decoration: none;
  21. cursor: pointer;
  22. }
  23. [v-cloak] {
  24. display: none;
  25. }
  26. .pointer {
  27. cursor: pointer;
  28. }
  29. #app {
  30. background: url('../groupImg/page-bg.png') center center no-repeat;
  31. background-size: 100% 100%;
  32. padding-top: 10px;
  33. width: 100%;
  34. height: 100%;
  35. overflow: hidden;
  36. color: #fff;
  37. display: grid;
  38. grid-template-columns: repeat(3, 1fr);
  39. padding: 10px;
  40. }
  41. #app > div {
  42. width: 100%;
  43. height: 100%;
  44. }
  45. div {
  46. overflow: hidden;
  47. -webkit-user-select: none;
  48. -moz-user-select: none;
  49. -ms-user-select: none;
  50. user-select: none;
  51. }
  52. .my-header {
  53. position: relative;
  54. height: 70px;
  55. line-height: 70px;
  56. background: url('../groupImg/header-bg.png') center center no-repeat;
  57. background-size: 100% 100%;
  58. text-align: center;
  59. font-weight: bold;
  60. font-size: 32px;
  61. font-weight: 600;
  62. }
  63. .my-header span {
  64. background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
  65. -webkit-background-clip: text;
  66. -webkit-text-fill-color: transparent;
  67. }
  68. .my-header span.right {
  69. position: absolute;
  70. right: 60px;
  71. top: 0px;
  72. font-size: 16px;
  73. }
  74. .LeftBox,
  75. .CenterBox,
  76. .RightBox {
  77. padding: 0 20px;
  78. }
  79. .CenterBox > .main {
  80. width: 100%;
  81. height: calc(100% - 70px);
  82. display: grid;
  83. grid-template-columns: 3fr 4fr 3fr;
  84. gap: 10px;
  85. background: url('../groupImg/back-center.png') center center no-repeat;
  86. background-size: 100% 100%;
  87. }
  88. .LeftBox > .main {
  89. width: 100%;
  90. height: calc(100% - 70px);
  91. display: grid;
  92. grid-template-columns: repeat(2, 1fr);
  93. grid-template-rows: repeat(3, 1fr);
  94. gap: 10px;
  95. }
  96. .RightBox > .main {
  97. width: 100%;
  98. height: calc(100% - 70px);
  99. display: grid;
  100. grid-template-rows: 5fr 8fr 11fr;
  101. gap: 10px;
  102. }
  103. .LeftBox .card {
  104. width: 100%;
  105. height: 100%;
  106. overflow: hidden;
  107. background: url('../groupImg/frame1.png') center center no-repeat;
  108. background-size: 100% 100%;
  109. }
  110. .title {
  111. position: relative;
  112. text-align: center;
  113. height: 100px;
  114. line-height: 100px;
  115. }
  116. .title .text {
  117. font-size: 30px;
  118. font-weight: 600;
  119. color: #05fbfe;
  120. text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
  121. background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
  122. -webkit-background-clip: text;
  123. -webkit-text-fill-color: transparent;
  124. position: relative;
  125. }
  126. .title .text::before {
  127. position: absolute;
  128. content: ' ';
  129. top: 15px;
  130. left: -40px;
  131. width: 30px;
  132. height: 10px;
  133. background: url('../groupImg/title-left2.png') no-repeat;
  134. }
  135. .title .text::after {
  136. position: absolute;
  137. content: ' ';
  138. top: 15px;
  139. right: -40px;
  140. width: 30px;
  141. height: 10px;
  142. background: url('../groupImg/title-right2.png') no-repeat;
  143. }
  144. .content {
  145. height: calc(100% - 110px);
  146. padding: 0 15px 10px;
  147. }
  148. .left-lt .content {
  149. display: grid;
  150. grid-template-columns: repeat(2, 1fr);
  151. gap: 10px;
  152. }
  153. .left-lt .content > div:first-child {
  154. display: grid;
  155. gap: 10px;
  156. grid-template-rows: repeat(2, 1fr);
  157. }
  158. .LeftBox .content-left-top {
  159. width: 100%;
  160. display: flex;
  161. align-items: center;
  162. height: 100%;
  163. }
  164. .LeftBox .item2 {
  165. width: 50%;
  166. display: flex;
  167. flex-direction: column;
  168. align-items: center;
  169. }
  170. .LeftBox .item2 .item2-title {
  171. font-weight: bold;
  172. font-size: 30px;
  173. }
  174. .LeftBox .item2 .item2-title span {
  175. font-weight: 500;
  176. font-size: 12px;
  177. }
  178. .LeftBox .item2 .item2-img {
  179. width: 150px;
  180. height: 150px;
  181. /* margin-top: -20px; */
  182. }
  183. .LeftBox .item2 .item2-text {
  184. color: #fff;
  185. font-size: 20px;
  186. }
  187. .LeftBox .content-left-top {
  188. width: 100%;
  189. display: flex;
  190. align-items: center;
  191. height: 100%;
  192. }
  193. .LeftBox .content-left-bottom {
  194. width: 100%;
  195. height: 100%;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. }
  200. .LeftBox .total {
  201. text-align: center;
  202. width: 200px;
  203. height: 30px;
  204. position: absolute;
  205. left: calc(50% - 100px);
  206. bottom: 7%;
  207. font-weight: bold;
  208. color: #2cb7e0;
  209. font-size: 20px;
  210. }
  211. .LeftBox .commonBack,
  212. .RightBox .commonBack {
  213. background-color: #062c4d;
  214. border-radius: 15px;
  215. }
  216. .LeftBox .left-rt .content {
  217. display: grid;
  218. grid-template-rows: repeat(2, 1fr);
  219. gap: 10px;
  220. }
  221. .LeftBox .left-rt .content > div:first-child {
  222. display: grid;
  223. gap: 10px;
  224. grid-template-columns: 3fr 4fr 4fr;
  225. }
  226. .LeftBox .left-rt .item3 {
  227. display: flex;
  228. flex-direction: column;
  229. align-items: center;
  230. justify-content: center;
  231. }
  232. .LeftBox .left-rt .item3 .item3-title {
  233. font-weight: bold;
  234. font-size: 30px;
  235. color: #69c0ff;
  236. }
  237. .LeftBox .left-rt .item3 .item3-title span {
  238. font-size: 14px;
  239. font-weight: 500;
  240. }
  241. .left-rt .item3 .item3-img {
  242. margin-top: -20px;
  243. width: 100px;
  244. height: 102px;
  245. margin-bottom: 18px;
  246. }
  247. .LeftBox .left-rt .item3 .item3-text {
  248. font-size: 14px;
  249. color: #fff;
  250. }
  251. .LeftBox .left-rt .item4-text {
  252. font-size: 20px;
  253. }
  254. .LeftBox .left-rt .item4 .item4-title {
  255. position: relative;
  256. padding-left: 10px;
  257. color: #69c0ff;
  258. margin-left: 10px;
  259. margin-top: 5px;
  260. font-size: 30px;
  261. }
  262. .LeftBox .left-rt .item4 .item4-title::before {
  263. content: '';
  264. position: absolute;
  265. left: 0;
  266. top: 50%;
  267. transform: translate(0, -50%);
  268. width: 5px;
  269. height: 5px;
  270. border-radius: 50%;
  271. background-color: #69c0ff;
  272. }
  273. .LeftBox .left-rt .item4 .item4-con {
  274. display: flex;
  275. align-items: center;
  276. justify-content: space-around;
  277. height: 100%;
  278. margin-top: 20px;
  279. }
  280. .LeftBox .left-rt .item4 .item4-con .item {
  281. display: flex;
  282. flex-direction: column;
  283. align-items: center;
  284. justify-content: center;
  285. margin: 0 30px;
  286. }
  287. .LeftBox .left-rt .item4 .item4-con .item .title {
  288. color: #69c0ff;
  289. font-weight: bold;
  290. font-size: 28px;
  291. height: 30px !important;
  292. line-height: 30px !important;
  293. margin-top: 10px;
  294. }
  295. .LeftBox .left-rt .item4 .item4-con .item .title span {
  296. font-weight: 500;
  297. font-size: 24px;
  298. }
  299. .LeftBox .left-rt .item4 .item4-con .item .text {
  300. font-size: 24px;
  301. color: #fff;
  302. }
  303. .LeftBox .left-rtb {
  304. display: grid;
  305. gap: 10px;
  306. grid-template-columns: repeat(2, 1fr);
  307. }
  308. .LeftBox .left-rc {
  309. display: grid;
  310. gap: 10px;
  311. grid-template-columns: repeat(2, 1fr);
  312. grid-template-rows: repeat(2, 1fr);
  313. }
  314. .LeftBox .left-lb,
  315. .left-rb {
  316. display: grid;
  317. gap: 10px;
  318. grid-template-columns: repeat(2, 1fr);
  319. }
  320. .CenterBox .center-l .card,
  321. .CenterBox .center-r .card {
  322. width: 100%;
  323. height: 100%;
  324. overflow: hidden;
  325. background: url('../groupImg/frame2.png') center center no-repeat;
  326. background-size: 100% 100%;
  327. }
  328. .CenterBox .center-l,
  329. .CenterBox .center-r {
  330. display: grid;
  331. gap: 10px;
  332. grid-template-rows: repeat(3, 1fr);
  333. }
  334. .CenterBox .boxs {
  335. display: grid;
  336. grid-template-columns: repeat(2, 1fr);
  337. grid-template-rows: repeat(2, 1fr);
  338. padding: 10px;
  339. color: #40a9ff;
  340. height: 100%;
  341. }
  342. .CenterBox .boxs > div {
  343. flex: 0 0 50%;
  344. background: url('../groupImg/left1-bg.png') no-repeat center;
  345. background-size: 100% 100%;
  346. padding: 20px 30px;
  347. display: flex;
  348. justify-content: center;
  349. align-items: center;
  350. flex-direction: column;
  351. }
  352. .CenterBox .boxs > div > p {
  353. width: 80%;
  354. }
  355. .CenterBox .boxs > div > p:nth-child(1) {
  356. display: flex;
  357. justify-content: space-between;
  358. }
  359. .CenterBox .boxs > div > p:nth-child(2) {
  360. margin-top: 25px;
  361. text-align: left;
  362. }
  363. .CenterBox .boxs .name {
  364. color: #f3f3f3;
  365. font-size: 30px;
  366. }
  367. .CenterBox .boxs .change {
  368. color: #32edaa;
  369. }
  370. .CenterBox .boxs .change.up {
  371. color: #ed3248;
  372. }
  373. .CenterBox .boxs .num {
  374. font-size: 30px;
  375. font-weight: 600;
  376. margin-right: 5px;
  377. }
  378. .CenterBox .boxs .el-icon-more {
  379. font-size: 35px;
  380. }
  381. .CenterBox .top {
  382. display: flex;
  383. justify-content: space-between;
  384. }
  385. .CenterBox .top .box {
  386. flex: 1;
  387. margin: 0 10px;
  388. display: flex;
  389. flex-direction: column;
  390. align-items: center;
  391. color: #40a9ff;
  392. }
  393. /* .CenterBox .t {
  394. padding: 15px 0;
  395. display: flex;
  396. align-items: center;
  397. background-color: rgba(59,211,255,0.05);
  398. } */
  399. .CenterBox .t {
  400. padding: 25px 0;
  401. display: flex;
  402. font-size: 30px;
  403. font-weight: 600;
  404. align-items: center;
  405. justify-content: center;
  406. background-color: rgba(18, 61, 98, 0.6);
  407. }
  408. .CenterBox .b {
  409. padding: 15px 0;
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-around;
  413. background-color: rgba(7, 42, 76, 0.6);
  414. padding: 15px 0;
  415. }
  416. .CenterBox .b span {
  417. color: #40a9ff;
  418. font-size: 34px;
  419. font-weight: 900;
  420. }
  421. .CenterBox .t img {
  422. margin-right: 10px;
  423. }
  424. .CenterBox .box > div {
  425. width: 100%;
  426. }
  427. .CenterBox .box > img {
  428. width: 40px;
  429. }
  430. .CenterBox .box > div p {
  431. font-size: 26px;
  432. color: #e1e3ef;
  433. }
  434. .CenterBox .box > div span {
  435. display: inline-block;
  436. font-size: 34px;
  437. margin-right: 5px;
  438. font-weight: bolder;
  439. margin-top: 5px;
  440. }
  441. .CenterBox .map-box {
  442. height: 100%;
  443. position: relative;
  444. padding: 30px 0;
  445. }
  446. .CenterBox .status {
  447. position: absolute;
  448. /* bottom: 20px; */
  449. bottom: 200px;
  450. right: 15px;
  451. background-color: rgba(3, 10, 12, 0.46);
  452. border: 1px solid #4A57CF;
  453. }
  454. .CenterBox .status p {
  455. background-color: #02397f;
  456. line-height: 45px;
  457. text-align: center;
  458. font-size: 25px;
  459. color: #40a9ff;
  460. }
  461. .CenterBox .status li {
  462. line-height: 30px;
  463. padding-right: 15px;
  464. list-style: none;
  465. position: relative;
  466. font-size: 20px;
  467. }
  468. .CenterBox .status li::before {
  469. content: '';
  470. position: absolute;
  471. left: -15px;
  472. top: 50%;
  473. transform: translate(0, -50%);
  474. width: 5px;
  475. height: 5px;
  476. background-color: #00ffff;
  477. border-radius: 50%;
  478. }
  479. .CenterBox .status i {
  480. font-size: 20px;
  481. font-weight: 600;
  482. color: #40a9ff;
  483. }
  484. .CenterBox .tooltip-cont {
  485. margin: -15px;
  486. border: 1px solid #3699ff;
  487. border-radius: 8px;
  488. padding: 15px;
  489. background-color: rgb(39 122 145 / 0.36);
  490. font-size: 30px;
  491. }
  492. .CenterBox .tooltip-cont p {
  493. line-height: 1.8;
  494. color: #f3f3f3;
  495. position: relative;
  496. padding-left: 12px;
  497. }
  498. .CenterBox .tooltip-cont p::before {
  499. position: absolute;
  500. display: inline-block;
  501. content: '';
  502. left: -10px;
  503. top: 20px;
  504. width: 15px;
  505. height: 15px;
  506. border-radius: 50%;
  507. background-color: #40a9ff;
  508. }
  509. .CenterBox .tooltip-cont span {
  510. color: #69c0ff;
  511. }
  512. .RightBox .right-t {
  513. display: grid;
  514. gap: 10px;
  515. grid-template-columns: 3fr 1fr;
  516. background: url('../groupImg/langBack.png') no-repeat center;
  517. background-size: 100% 100%;
  518. padding: 10px;
  519. }
  520. .RightBox .right-c,
  521. .RightBox .right-b {
  522. display: grid;
  523. gap: 10px;
  524. grid-template-columns: repeat(2, 1fr);
  525. }
  526. .RightBox .right-c > div,
  527. .RightBox .right-b > div {
  528. background: url('../groupImg/cBack.png') no-repeat center;
  529. background-size: 100% 100%;
  530. padding: 10px;
  531. }
  532. .RightBox .top-lb {
  533. padding: 0px 30px;
  534. display: grid;
  535. /* grid-template-columns: repeat(11, 1fr); */
  536. grid-template-columns: 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr;
  537. gap: 10px;
  538. padding-bottom: 20px;
  539. }
  540. .RightBox .top-lb > .topCard:nth-child(odd) > div:first-child,
  541. .RightBox .top-rb > .topCard:nth-child(odd) > div:first-child {
  542. width: 190px;
  543. height: 190px;
  544. background-size: 100% 100%;
  545. }
  546. .RightBox .top-lb > .topCard:nth-child(even) > div:first-child,
  547. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  548. width: 100px;
  549. height: 100px;
  550. background-size: 100% 100%;
  551. }
  552. .RightBox .titleBackBlue {
  553. background: url('../groupImg/completed.png') no-repeat center;
  554. background-size: 95% 95%;
  555. }
  556. .RightBox .titleBackYellow {
  557. background: url('../groupImg/completed2.png') no-repeat center;
  558. background-size: 95% 95%;
  559. }
  560. .RightBox .top-rb {
  561. padding: 0px 30px;
  562. display: grid;
  563. grid-template-columns: 2.5fr 1fr 2.5fr;
  564. gap: 10px;
  565. padding-bottom: 20px;
  566. }
  567. .RightBox .top-lb > .topCard:nth-child(even) > div:first-child {
  568. background: url('../groupImg/completedDot.png') no-repeat center;
  569. background-size: 100% auto;
  570. background-position: 0 25%;
  571. }
  572. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  573. background: url('../groupImg/completedDot.png') no-repeat;
  574. background-size: 100% auto;
  575. background-position: 0 35%;
  576. }
  577. .RightBox .centerBack {
  578. background: url('../groupImg/back2.png') no-repeat;
  579. background-size: 100% 100%;
  580. }
  581. .RightBox .center-l {
  582. display: grid;
  583. grid-template-columns: repeat(3, 1fr);
  584. gap: 10px;
  585. padding: 20px !important;
  586. }
  587. .RightBox .center-l > div {
  588. background: url('../groupImg/center-left-list-back.png') no-repeat;
  589. background-size: 100% 100%;
  590. text-align: center;
  591. padding: 10%;
  592. }
  593. .RightBox .center-l-title {
  594. width: 100%;
  595. height: 10%;
  596. margin-top: 15%;
  597. font-size: 30px;
  598. font-weight: bold;
  599. }
  600. .RightBox .center-l-list {
  601. height: 30%;
  602. margin: 15% 0;
  603. background: url('../groupImg/project.png') no-repeat center;
  604. background-size: 100% auto;
  605. font-size: 26px;
  606. }
  607. .RightBox .center-l-list2 {
  608. height: 30%;
  609. background: url('../groupImg/pin.png') no-repeat center;
  610. background-size: 100% auto;
  611. font-size: 26px;
  612. }
  613. .RightBox .right-br {
  614. display: grid;
  615. gap: 10px;
  616. grid-template-rows: repeat(2, 1fr);
  617. }
  618. .RightBox .right-brt {
  619. display: grid;
  620. gap: 10px;
  621. grid-template-columns: repeat(2, 1fr);
  622. }
  623. .RightBox .flotage {
  624. width: 220px;
  625. height: 100px;
  626. background-color: rgba(70, 78, 87, 0.5);
  627. display: flex;
  628. flex-direction: column;
  629. justify-content: space-around;
  630. padding: 10px;
  631. border: 1px solid #557e81;
  632. top: 15px;
  633. transition: all 0.2s;
  634. }
  635. .tip-box {
  636. position: absolute;
  637. width: 2000px !important;
  638. height: 1400px !important;
  639. top: calc(50% - 700px);
  640. left: calc(50% - 1000px);
  641. background: url('../groupImg/popup.png') no-repeat center;
  642. background-color: #133b65;
  643. background-size: 100% 100%;
  644. padding: 160px 70px 70px 70px;
  645. border-radius: 55px;
  646. z-index: 9999999999;
  647. }
  648. .titleImg {
  649. width: 100%;
  650. height: 100%;
  651. border-radius: 10px;
  652. }
  653. .popLeft,
  654. .popright {
  655. height: 90%;
  656. width: 50%;
  657. }
  658. .popright {
  659. right: 0;
  660. }
  661. .poptitle{
  662. top:60px;
  663. left: calc(50% - 210px);
  664. width: 400px;
  665. text-align: center;
  666. font-size: 30px;
  667. background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
  668. -webkit-background-clip: text;
  669. -webkit-text-fill-color: transparent;
  670. }
  671. /* 公共css */
  672. /* 宽高纵横比 */
  673. .aspect-auto {
  674. aspect-ratio: auto;
  675. }
  676. .aspect-square {
  677. aspect-ratio: 1 / 1;
  678. }
  679. .aspect-video {
  680. aspect-ratio: 16 / 9;
  681. }
  682. /* aspect-[4/3] */
  683. /* 居中 */
  684. .mx-auto {
  685. margin: 0 auto;
  686. }
  687. /* 设置容器内的列数/每列距离 */
  688. .columns-1 {
  689. columns: 1;
  690. }
  691. /* columns-[20px] */
  692. /* 盒子模型 */
  693. .box-border {
  694. box-sizing: border-box;
  695. }
  696. .box-content {
  697. box-sizing: content-box;
  698. }
  699. /* 消失 */
  700. .hidden {
  701. display: none;
  702. }
  703. /* 块级元素 */
  704. .block {
  705. display: block;
  706. }
  707. /* 行内块 */
  708. .inline-block {
  709. display: inline-block;
  710. }
  711. /* 行内元素 */
  712. .inline {
  713. display: inline;
  714. }
  715. /* 弹性布局 */
  716. .flex {
  717. display: flex;
  718. }
  719. /* 主轴起点在左边 */
  720. .flex-row {
  721. flex-direction: row;
  722. }
  723. /* 主轴起点在右边 */
  724. .flex-row-reverse {
  725. flex-direction: row-reverse;
  726. }
  727. /* 主轴竖向排列,在上面 */
  728. .flex-col {
  729. flex-direction: column;
  730. }
  731. /* 主轴竖向排列,在下面 */
  732. .flex-col-reverse {
  733. flex-direction: column-reverse;
  734. }
  735. /* 自动换行 */
  736. .flex-wrap {
  737. flex-wrap: wrap;
  738. }
  739. /* 自动换行下起点 */
  740. .flex-wrap-reverse {
  741. flex-wrap: wrap-reverse;
  742. }
  743. /* 不换行 */
  744. .flex-nowrap {
  745. flex-wrap: nowrap;
  746. }
  747. /* 弹性成长 */
  748. .grow {
  749. flex-grow: 1;
  750. }
  751. /* 不允许弹性成长 */
  752. .grow-0 {
  753. flex-grow: 0;
  754. }
  755. /* 主轴从左开始 */
  756. .justify-start {
  757. justify-content: flex-start;
  758. }
  759. /* 主轴从右开始 */
  760. .justify-end {
  761. justify-content: flex-end;
  762. }
  763. /* 主轴剧中 */
  764. .justify-center {
  765. justify-content: center;
  766. }
  767. /* 主轴两端无间隔 */
  768. .justify-between {
  769. justify-content: space-between;
  770. }
  771. /* 主轴两端有间隔 */
  772. .justify-around {
  773. justify-content: space-around;
  774. }
  775. /* 所有间隔相等 */
  776. .justify-evenly {
  777. justify-content: space-evenly;
  778. }
  779. /* 纵向起点最上方 */
  780. .items-start {
  781. align-items: flex-start;
  782. }
  783. /* 纵向起点最下方 */
  784. .items-end {
  785. align-items: flex-end;
  786. }
  787. .items-center {
  788. align-items: center;
  789. }
  790. /* 网格布局 */
  791. .grid {
  792. display: grid;
  793. }
  794. /* 有几列 */
  795. .grid-cols-4 {
  796. grid-template-columns: repeat(4, minmax(0, 1fr));
  797. grid-template-columns: repeat(4, 1fr);
  798. }
  799. /* 有几行 */
  800. .grid-rows-3 {
  801. grid-template-rows: repeat(3, minmax(0, 1fr));
  802. grid-template-rows: repeat(3, 1fr);
  803. }
  804. /* 容器中的内容上下布局 */
  805. .grid-center {
  806. align-items: center;
  807. }
  808. /* 间距 */
  809. .gap-7 {
  810. gap: 1.75rem;
  811. }
  812. /* 允许弹性成长 */
  813. .shrink {
  814. flex-shrink: 1;
  815. }
  816. /* 不允许弹性成长 */
  817. .shrink-0 {
  818. flex-shrink: 0;
  819. }
  820. /* 不允许成长也不允许收缩 */
  821. .flex-none {
  822. flex: none;
  823. }
  824. /* 浮动布局 */
  825. .float-right {
  826. float: right;
  827. }
  828. .float-left {
  829. float: left;
  830. }
  831. .clear-both {
  832. clear: both;
  833. }
  834. /* 溢出 */
  835. .overflow-auto {
  836. overflow: auto;
  837. }
  838. .overflow-hidden {
  839. overflow: hidden;
  840. }
  841. .overflow-scroll {
  842. overflow: scroll;
  843. }
  844. .overflow-x-auto {
  845. overflow-x: auto;
  846. }
  847. .overflow-y-auto {
  848. overflow-y: auto;
  849. }
  850. /* 定位 */
  851. .fixed {
  852. position: fixed;
  853. }
  854. .absolute {
  855. position: absolute;
  856. }
  857. .relative {
  858. position: relative;
  859. }
  860. .top-0 {
  861. top: 0px;
  862. }
  863. .right-0 {
  864. right: 0px;
  865. }
  866. .bottom-0 {
  867. bottom: 0px;
  868. }
  869. .left-0 {
  870. left: 0px;
  871. }
  872. /* top-[3px] */
  873. /* z-[100] */
  874. /* 显示隐藏未脱离文档流 */
  875. .visible {
  876. visibility: visible;
  877. }
  878. .invisible {
  879. visibility: hidden;
  880. }
  881. /* 内边距 */
  882. .p-0 {
  883. padding: 0px;
  884. }
  885. .px-0 {
  886. padding-left: 0px;
  887. padding-right: 0px;
  888. }
  889. .py-0 {
  890. padding-top: 0px;
  891. padding-bottom: 0px;
  892. }
  893. .pt-0 {
  894. padding-top: 0px;
  895. }
  896. .pr-0 {
  897. padding-right: 0px;
  898. }
  899. .pb-0 {
  900. padding-bottom: 0px;
  901. }
  902. .pl-0 {
  903. padding-left: 0px;
  904. }
  905. /* p-[5px] */
  906. /* 外边距 */
  907. .m-0 {
  908. margin: 0px;
  909. }
  910. .mx-0 {
  911. margin-left: 0px;
  912. margin-right: 0px;
  913. }
  914. .my-0 {
  915. margin-top: 0px;
  916. margin-bottom: 0px;
  917. }
  918. .mt-0 {
  919. margin-top: 0px;
  920. }
  921. .mr-0 {
  922. margin-right: 0px;
  923. }
  924. .mb-0 {
  925. margin-bottom: 0px;
  926. }
  927. .ml-0 {
  928. margin-left: 0px;
  929. }
  930. /* m-[5px] */
  931. /* 宽度 */
  932. .w-full {
  933. width: 100%;
  934. }
  935. .w-screen {
  936. width: 100vw;
  937. }
  938. /* w-[32rem] */
  939. /* min-w-[50%] */
  940. /* max-w-[50%] */
  941. /* 高度 */
  942. .h-full {
  943. height: 100%;
  944. }
  945. .h-screen {
  946. height: 100vh;
  947. }
  948. /* h-[32rem] */
  949. /* min-h-[50%] */
  950. /* max-h-[32rem] */
  951. /* 字体 */
  952. .text-xs {
  953. font-size: 0.75rem; /* 12px */
  954. line-height: 1rem; /* 16px */
  955. }
  956. .text-sm {
  957. font-size: 0.875rem; /* 14px */
  958. line-height: 1.25rem; /* 20px */
  959. }
  960. .text-base {
  961. font-size: 1rem; /* 16px */
  962. line-height: 1.5rem; /* 24px */
  963. }
  964. .text-lg {
  965. font-size: 1.125rem; /* 18px */
  966. line-height: 1.75rem; /* 28px */
  967. }
  968. .text-xl {
  969. font-size: 1.25rem; /* 20px */
  970. line-height: 1.75rem; /* 28px */
  971. }
  972. .text-2xl {
  973. font-size: 1.5rem; /* 24px */
  974. line-height: 2rem; /* 32px */
  975. }
  976. .text-3xl {
  977. font-size: 1.875rem; /* 30px */
  978. line-height: 2.25rem; /* 36px */
  979. }
  980. .text-4xl {
  981. font-size: 2.25rem; /* 36px */
  982. line-height: 2.5rem; /* 40px */
  983. }
  984. .text-5xl {
  985. font-size: 3rem; /* 48px */
  986. line-height: 1;
  987. }
  988. .text-6xl {
  989. font-size: 3.75rem; /* 60px */
  990. line-height: 1;
  991. }
  992. .text-7xl {
  993. font-size: 4.5rem; /* 72px */
  994. line-height: 1;
  995. }
  996. .text-8xl {
  997. font-size: 6rem; /* 96px */
  998. line-height: 1;
  999. }
  1000. .text-9xl {
  1001. font-size: 8rem; /* 128px */
  1002. line-height: 1;
  1003. }
  1004. /* text-[14px] */
  1005. /* 字体粗细font-weight */
  1006. /* font-[1100] */
  1007. /* https://tailwindcss.com/docs/font-weight */
  1008. /* 字体间距letter-spacing */
  1009. /* tracking-[.25em] */
  1010. /* 行高line-height */
  1011. /* leading-[3rem] */
  1012. /* 无列表样式 */
  1013. .list-none {
  1014. list-style-type: none;
  1015. }
  1016. /* 小圆点 */
  1017. .list-disc {
  1018. list-style-type: disc;
  1019. }
  1020. /* 数字列表 */
  1021. .list-decimal {
  1022. list-style-type: decimal;
  1023. }
  1024. .text-left {
  1025. text-align: left;
  1026. }
  1027. .text-center {
  1028. text-align: center;
  1029. }
  1030. .text-right {
  1031. text-align: right;
  1032. }
  1033. /* 所有文本头尾对齐 */
  1034. .text-justify {
  1035. text-align: justify;
  1036. }
  1037. /* 文本颜色 */
  1038. /* text-[#50d71e] */
  1039. /* https://tailwindcss.com/docs/text-color */
  1040. /* 下划线 */
  1041. .underline {
  1042. text-decoration-line: underline;
  1043. }
  1044. /* 上划线 */
  1045. .overline {
  1046. text-decoration-line: overline;
  1047. }
  1048. /* 中划线 */
  1049. .line-through {
  1050. text-decoration-line: line-through;
  1051. }
  1052. /* 无划线 */
  1053. .no-underline {
  1054. text-decoration-line: none;
  1055. }
  1056. /* 全小写 */
  1057. .lowercase {
  1058. text-transform: lowercase;
  1059. }
  1060. /* 全大写 */
  1061. .uppercase {
  1062. text-transform: uppercase;
  1063. }
  1064. /* 首字母大写 */
  1065. .capitalize {
  1066. text-transform: capitalize;
  1067. }