investHomeGroup.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  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-lb > .topCard:nth-child(even) > div:first-child {
  552. background: url('../images5/completedDot.png') no-repeat center;
  553. background-size: 100% auto;
  554. background-position: 0 25%;
  555. }
  556. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  557. background: url('../images5/completedDot.png') no-repeat;
  558. background-size: 100% auto;
  559. background-position: 0 35%;
  560. }
  561. .RightBox .centerBack {
  562. background: url('../images5/back2.png') no-repeat;
  563. background-size: 100% 100%;
  564. }
  565. .RightBox .center-l {
  566. display: grid;
  567. grid-template-columns: repeat(3, 1fr);
  568. gap: 10px;
  569. padding: 20px !important;
  570. }
  571. .RightBox .center-l > div {
  572. background: url('../images5/center-left-list-back.png') no-repeat;
  573. background-size: 100% 100%;
  574. text-align: center;
  575. padding: 10%;
  576. }
  577. .RightBox .center-l-title {
  578. width: 100%;
  579. height: 10%;
  580. margin-top: 15%;
  581. font-size: 30px;
  582. font-weight: bold;
  583. }
  584. .RightBox .center-l-list{
  585. height: 30%;
  586. margin: 15% 0;
  587. background: url('../images5/project.png') no-repeat center;
  588. background-size: 100% auto;
  589. font-size: 26px;
  590. }
  591. .RightBox .center-l-list2{
  592. height: 30%;
  593. background: url('../images5/pin.png') no-repeat center;
  594. background-size: 100% auto;
  595. font-size: 26px;
  596. }
  597. .RightBox .right-br{
  598. display: grid;
  599. gap: 10px;
  600. grid-template-rows: repeat(2, 1fr);
  601. }
  602. .RightBox .right-brt{
  603. display: grid;
  604. gap: 10px;
  605. grid-template-columns: repeat(2, 1fr);
  606. }
  607. /* 公共css */
  608. /* 宽高纵横比 */
  609. .aspect-auto {
  610. aspect-ratio: auto;
  611. }
  612. .aspect-square {
  613. aspect-ratio: 1 / 1;
  614. }
  615. .aspect-video {
  616. aspect-ratio: 16 / 9;
  617. }
  618. /* aspect-[4/3] */
  619. /* 居中 */
  620. .mx-auto {
  621. margin: 0 auto;
  622. }
  623. /* 设置容器内的列数/每列距离 */
  624. .columns-1 {
  625. columns: 1;
  626. }
  627. /* columns-[20px] */
  628. /* 盒子模型 */
  629. .box-border {
  630. box-sizing: border-box;
  631. }
  632. .box-content {
  633. box-sizing: content-box;
  634. }
  635. /* 消失 */
  636. .hidden {
  637. display: none;
  638. }
  639. /* 块级元素 */
  640. .block {
  641. display: block;
  642. }
  643. /* 行内块 */
  644. .inline-block {
  645. display: inline-block;
  646. }
  647. /* 行内元素 */
  648. .inline {
  649. display: inline;
  650. }
  651. /* 弹性布局 */
  652. .flex {
  653. display: flex;
  654. }
  655. /* 主轴起点在左边 */
  656. .flex-row {
  657. flex-direction: row;
  658. }
  659. /* 主轴起点在右边 */
  660. .flex-row-reverse {
  661. flex-direction: row-reverse;
  662. }
  663. /* 主轴竖向排列,在上面 */
  664. .flex-col {
  665. flex-direction: column;
  666. }
  667. /* 主轴竖向排列,在下面 */
  668. .flex-col-reverse {
  669. flex-direction: column-reverse;
  670. }
  671. /* 自动换行 */
  672. .flex-wrap {
  673. flex-wrap: wrap;
  674. }
  675. /* 自动换行下起点 */
  676. .flex-wrap-reverse {
  677. flex-wrap: wrap-reverse;
  678. }
  679. /* 不换行 */
  680. .flex-nowrap {
  681. flex-wrap: nowrap;
  682. }
  683. /* 弹性成长 */
  684. .grow {
  685. flex-grow: 1;
  686. }
  687. /* 不允许弹性成长 */
  688. .grow-0 {
  689. flex-grow: 0;
  690. }
  691. /* 主轴从左开始 */
  692. .justify-start {
  693. justify-content: flex-start;
  694. }
  695. /* 主轴从右开始 */
  696. .justify-end {
  697. justify-content: flex-end;
  698. }
  699. /* 主轴剧中 */
  700. .justify-center {
  701. justify-content: center;
  702. }
  703. /* 主轴两端无间隔 */
  704. .justify-between {
  705. justify-content: space-between;
  706. }
  707. /* 主轴两端有间隔 */
  708. .justify-around {
  709. justify-content: space-around;
  710. }
  711. /* 所有间隔相等 */
  712. .justify-evenly {
  713. justify-content: space-evenly;
  714. }
  715. /* 纵向起点最上方 */
  716. .items-start {
  717. align-items: flex-start;
  718. }
  719. /* 纵向起点最下方 */
  720. .items-end {
  721. align-items: flex-end;
  722. }
  723. .items-center {
  724. align-items: center;
  725. }
  726. /* 网格布局 */
  727. .grid {
  728. display: grid;
  729. }
  730. /* 有几列 */
  731. .grid-cols-4 {
  732. grid-template-columns: repeat(4, minmax(0, 1fr));
  733. grid-template-columns: repeat(4, 1fr);
  734. }
  735. /* 有几行 */
  736. .grid-rows-3 {
  737. grid-template-rows: repeat(3, minmax(0, 1fr));
  738. grid-template-rows: repeat(3, 1fr);
  739. }
  740. /* 容器中的内容上下布局 */
  741. .grid-center {
  742. align-items: center;
  743. }
  744. /* 间距 */
  745. .gap-7 {
  746. gap: 1.75rem;
  747. }
  748. /* 允许弹性成长 */
  749. .shrink {
  750. flex-shrink: 1;
  751. }
  752. /* 不允许弹性成长 */
  753. .shrink-0 {
  754. flex-shrink: 0;
  755. }
  756. /* 不允许成长也不允许收缩 */
  757. .flex-none {
  758. flex: none;
  759. }
  760. /* 浮动布局 */
  761. .float-right {
  762. float: right;
  763. }
  764. .float-left {
  765. float: left;
  766. }
  767. .clear-both {
  768. clear: both;
  769. }
  770. /* 溢出 */
  771. .overflow-auto {
  772. overflow: auto;
  773. }
  774. .overflow-hidden {
  775. overflow: hidden;
  776. }
  777. .overflow-scroll {
  778. overflow: scroll;
  779. }
  780. .overflow-x-auto {
  781. overflow-x: auto;
  782. }
  783. .overflow-y-auto {
  784. overflow-y: auto;
  785. }
  786. /* 定位 */
  787. .fixed {
  788. position: fixed;
  789. }
  790. .absolute {
  791. position: absolute;
  792. }
  793. .relative {
  794. position: relative;
  795. }
  796. .top-0 {
  797. top: 0px;
  798. }
  799. .right-0 {
  800. right: 0px;
  801. }
  802. .bottom-0 {
  803. bottom: 0px;
  804. }
  805. .left-0 {
  806. left: 0px;
  807. }
  808. /* top-[3px] */
  809. /* z-[100] */
  810. /* 显示隐藏未脱离文档流 */
  811. .visible {
  812. visibility: visible;
  813. }
  814. .invisible {
  815. visibility: hidden;
  816. }
  817. /* 内边距 */
  818. .p-0 {
  819. padding: 0px;
  820. }
  821. .px-0 {
  822. padding-left: 0px;
  823. padding-right: 0px;
  824. }
  825. .py-0 {
  826. padding-top: 0px;
  827. padding-bottom: 0px;
  828. }
  829. .pt-0 {
  830. padding-top: 0px;
  831. }
  832. .pr-0 {
  833. padding-right: 0px;
  834. }
  835. .pb-0 {
  836. padding-bottom: 0px;
  837. }
  838. .pl-0 {
  839. padding-left: 0px;
  840. }
  841. /* p-[5px] */
  842. /* 外边距 */
  843. .m-0 {
  844. margin: 0px;
  845. }
  846. .mx-0 {
  847. margin-left: 0px;
  848. margin-right: 0px;
  849. }
  850. .my-0 {
  851. margin-top: 0px;
  852. margin-bottom: 0px;
  853. }
  854. .mt-0 {
  855. margin-top: 0px;
  856. }
  857. .mr-0 {
  858. margin-right: 0px;
  859. }
  860. .mb-0 {
  861. margin-bottom: 0px;
  862. }
  863. .ml-0 {
  864. margin-left: 0px;
  865. }
  866. /* m-[5px] */
  867. /* 宽度 */
  868. .w-full {
  869. width: 100%;
  870. }
  871. .w-screen {
  872. width: 100vw;
  873. }
  874. /* w-[32rem] */
  875. /* min-w-[50%] */
  876. /* max-w-[50%] */
  877. /* 高度 */
  878. .h-full {
  879. height: 100%;
  880. }
  881. .h-screen {
  882. height: 100vh;
  883. }
  884. /* h-[32rem] */
  885. /* min-h-[50%] */
  886. /* max-h-[32rem] */
  887. /* 字体 */
  888. .text-xs {
  889. font-size: 0.75rem; /* 12px */
  890. line-height: 1rem; /* 16px */
  891. }
  892. .text-sm {
  893. font-size: 0.875rem; /* 14px */
  894. line-height: 1.25rem; /* 20px */
  895. }
  896. .text-base {
  897. font-size: 1rem; /* 16px */
  898. line-height: 1.5rem; /* 24px */
  899. }
  900. .text-lg {
  901. font-size: 1.125rem; /* 18px */
  902. line-height: 1.75rem; /* 28px */
  903. }
  904. .text-xl {
  905. font-size: 1.25rem; /* 20px */
  906. line-height: 1.75rem; /* 28px */
  907. }
  908. .text-2xl {
  909. font-size: 1.5rem; /* 24px */
  910. line-height: 2rem; /* 32px */
  911. }
  912. .text-3xl {
  913. font-size: 1.875rem; /* 30px */
  914. line-height: 2.25rem; /* 36px */
  915. }
  916. .text-4xl {
  917. font-size: 2.25rem; /* 36px */
  918. line-height: 2.5rem; /* 40px */
  919. }
  920. .text-5xl {
  921. font-size: 3rem; /* 48px */
  922. line-height: 1;
  923. }
  924. .text-6xl {
  925. font-size: 3.75rem; /* 60px */
  926. line-height: 1;
  927. }
  928. .text-7xl {
  929. font-size: 4.5rem; /* 72px */
  930. line-height: 1;
  931. }
  932. .text-8xl {
  933. font-size: 6rem; /* 96px */
  934. line-height: 1;
  935. }
  936. .text-9xl {
  937. font-size: 8rem; /* 128px */
  938. line-height: 1;
  939. }
  940. /* text-[14px] */
  941. /* 字体粗细font-weight */
  942. /* font-[1100] */
  943. /* https://tailwindcss.com/docs/font-weight */
  944. /* 字体间距letter-spacing */
  945. /* tracking-[.25em] */
  946. /* 行高line-height */
  947. /* leading-[3rem] */
  948. /* 无列表样式 */
  949. .list-none {
  950. list-style-type: none;
  951. }
  952. /* 小圆点 */
  953. .list-disc {
  954. list-style-type: disc;
  955. }
  956. /* 数字列表 */
  957. .list-decimal {
  958. list-style-type: decimal;
  959. }
  960. .text-left {
  961. text-align: left;
  962. }
  963. .text-center {
  964. text-align: center;
  965. }
  966. .text-right {
  967. text-align: right;
  968. }
  969. /* 所有文本头尾对齐 */
  970. .text-justify {
  971. text-align: justify;
  972. }
  973. /* 文本颜色 */
  974. /* text-[#50d71e] */
  975. /* https://tailwindcss.com/docs/text-color */
  976. /* 下划线 */
  977. .underline {
  978. text-decoration-line: underline;
  979. }
  980. /* 上划线 */
  981. .overline {
  982. text-decoration-line: overline;
  983. }
  984. /* 中划线 */
  985. .line-through {
  986. text-decoration-line: line-through;
  987. }
  988. /* 无划线 */
  989. .no-underline {
  990. text-decoration-line: none;
  991. }
  992. /* 全小写 */
  993. .lowercase {
  994. text-transform: lowercase;
  995. }
  996. /* 全大写 */
  997. .uppercase {
  998. text-transform: uppercase;
  999. }
  1000. /* 首字母大写 */
  1001. .capitalize {
  1002. text-transform: capitalize;
  1003. }