investHomeGroup.css 16 KB

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