investHomeGroup.css 18 KB

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