investHomeGroup.css 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  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 .mapBack{
  447. position: absolute;
  448. width: 60px;
  449. height: 60px;
  450. top: 100px;
  451. right: 100px;
  452. z-index: 99999999;
  453. }
  454. .CenterBox .status {
  455. position: absolute;
  456. /* bottom: 20px; */
  457. bottom: 200px;
  458. right: 15px;
  459. background-color: rgba(3, 10, 12, 0.46);
  460. border: 1px solid #4A57CF;
  461. }
  462. .CenterBox .status p {
  463. background-color: #02397f;
  464. line-height: 45px;
  465. text-align: center;
  466. font-size: 25px;
  467. color: #40a9ff;
  468. }
  469. .CenterBox .status li {
  470. line-height: 30px;
  471. padding-right: 15px;
  472. list-style: none;
  473. position: relative;
  474. font-size: 20px;
  475. }
  476. .CenterBox .status li::before {
  477. content: '';
  478. position: absolute;
  479. left: -15px;
  480. top: 50%;
  481. transform: translate(0, -50%);
  482. width: 5px;
  483. height: 5px;
  484. background-color: #00ffff;
  485. border-radius: 50%;
  486. }
  487. .CenterBox .status i {
  488. font-size: 20px;
  489. font-weight: 600;
  490. color: #40a9ff;
  491. }
  492. .CenterBox .tooltip-cont {
  493. margin: -15px;
  494. border: 1px solid #3699ff;
  495. border-radius: 8px;
  496. padding: 15px;
  497. background-color: rgb(39 122 145 / 0.36);
  498. font-size: 30px;
  499. }
  500. .CenterBox .tooltip-cont p {
  501. line-height: 1.8;
  502. color: #f3f3f3;
  503. position: relative;
  504. padding-left: 12px;
  505. }
  506. .CenterBox .tooltip-cont p::before {
  507. position: absolute;
  508. display: inline-block;
  509. content: '';
  510. left: -10px;
  511. top: 20px;
  512. width: 15px;
  513. height: 15px;
  514. border-radius: 50%;
  515. background-color: #40a9ff;
  516. }
  517. .CenterBox .tooltip-cont span {
  518. color: #69c0ff;
  519. }
  520. .RightBox .right-t {
  521. display: grid;
  522. gap: 10px;
  523. grid-template-columns: 3fr 1fr;
  524. background: url('../groupImg/langBack.png') no-repeat center;
  525. background-size: 100% 100%;
  526. padding: 10px;
  527. }
  528. .RightBox .right-c,
  529. .RightBox .right-b {
  530. display: grid;
  531. gap: 10px;
  532. grid-template-columns: repeat(2, 1fr);
  533. }
  534. .RightBox .right-c > div,
  535. .RightBox .right-b > div {
  536. background: url('../groupImg/cBack.png') no-repeat center;
  537. background-size: 100% 100%;
  538. padding: 10px;
  539. }
  540. .RightBox .top-lb {
  541. padding: 0px 30px;
  542. display: grid;
  543. /* grid-template-columns: repeat(11, 1fr); */
  544. grid-template-columns: 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr;
  545. gap: 10px;
  546. padding-bottom: 20px;
  547. }
  548. .RightBox .top-lb > .topCard:nth-child(odd) > div:first-child,
  549. .RightBox .top-rb > .topCard:nth-child(odd) > div:first-child {
  550. width: 190px;
  551. height: 190px;
  552. background-size: 100% 100%;
  553. }
  554. .RightBox .top-lb > .topCard:nth-child(even) > div:first-child,
  555. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  556. width: 100px;
  557. height: 100px;
  558. background-size: 100% 100%;
  559. }
  560. .RightBox .titleBackBlue {
  561. background: url('../groupImg/completed.png') no-repeat center;
  562. background-size: 95% 95%;
  563. }
  564. .RightBox .titleBackYellow {
  565. background: url('../groupImg/completed2.png') no-repeat center;
  566. background-size: 95% 95%;
  567. }
  568. .RightBox .top-rb {
  569. padding: 0px 30px;
  570. display: grid;
  571. grid-template-columns: 2.5fr 1fr 2.5fr;
  572. gap: 10px;
  573. padding-bottom: 20px;
  574. }
  575. .RightBox .top-lb > .topCard:nth-child(even) > div:first-child {
  576. background: url('../groupImg/completedDot.png') no-repeat center;
  577. background-size: 100% auto;
  578. background-position: 0 25%;
  579. }
  580. .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
  581. background: url('../groupImg/completedDot.png') no-repeat;
  582. background-size: 100% auto;
  583. background-position: 0 35%;
  584. }
  585. .RightBox .centerBack {
  586. background: url('../groupImg/back2.png') no-repeat;
  587. background-size: 100% 100%;
  588. }
  589. .RightBox .center-l {
  590. display: grid;
  591. grid-template-columns: repeat(3, 1fr);
  592. gap: 10px;
  593. padding: 20px !important;
  594. }
  595. .RightBox .center-l > div {
  596. background: url('../groupImg/center-left-list-back.png') no-repeat;
  597. background-size: 100% 100%;
  598. text-align: center;
  599. padding: 10%;
  600. }
  601. .RightBox .center-l-title {
  602. width: 100%;
  603. height: 10%;
  604. margin-top: 15%;
  605. font-size: 30px;
  606. font-weight: bold;
  607. }
  608. .RightBox .center-l-list {
  609. height: 30%;
  610. margin: 15% 0;
  611. background: url('../groupImg/project.png') no-repeat center;
  612. background-size: 100% auto;
  613. font-size: 26px;
  614. }
  615. .RightBox .center-l-list2 {
  616. height: 30%;
  617. background: url('../groupImg/pin.png') no-repeat center;
  618. background-size: 100% auto;
  619. font-size: 26px;
  620. }
  621. .RightBox .right-br {
  622. display: grid;
  623. gap: 10px;
  624. grid-template-rows: repeat(2, 1fr);
  625. }
  626. .RightBox .right-brt {
  627. display: grid;
  628. gap: 10px;
  629. grid-template-columns: repeat(2, 1fr);
  630. }
  631. .RightBox .flotage {
  632. width: 220px;
  633. height: 100px;
  634. background-color: rgba(70, 78, 87, 0.5);
  635. display: flex;
  636. flex-direction: column;
  637. justify-content: space-around;
  638. padding: 10px;
  639. border: 1px solid #557e81;
  640. top: 15px;
  641. transition: all 0.2s;
  642. }
  643. .tip-box {
  644. position: absolute;
  645. width: 2000px !important;
  646. height: 1400px !important;
  647. top: calc(50% - 700px);
  648. left: calc(50% - 1000px);
  649. background: url('../groupImg/popup.png') no-repeat center;
  650. background-color: #133b65;
  651. background-size: 100% 100%;
  652. padding: 160px 70px 70px 70px;
  653. border-radius: 55px;
  654. z-index: 9999999999;
  655. }
  656. .titleImg {
  657. width: 100%;
  658. height: 100%;
  659. border-radius: 10px;
  660. }
  661. .popLeft,
  662. .popright {
  663. height: 90%;
  664. width: 50%;
  665. }
  666. .popright {
  667. right: 0;
  668. }
  669. .poptitle{
  670. top:60px;
  671. left: calc(50% - 210px);
  672. width: 400px;
  673. text-align: center;
  674. font-size: 30px;
  675. font-weight: bolder;
  676. background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
  677. -webkit-background-clip: text;
  678. -webkit-text-fill-color: transparent;
  679. }
  680. .doubleTip{
  681. display: grid;
  682. grid-template-rows: repeat(2, 1fr);
  683. gap: 10px;
  684. }
  685. .tip-down {
  686. position: absolute;
  687. top:10px;
  688. right: 30px;
  689. width: 50px;
  690. text-align: center;
  691. height: 50px;
  692. line-height: 50px;
  693. cursor: pointer;
  694. font-size: 60px;
  695. }
  696. .row-item,.header-item{
  697. font-size: 20px !important;
  698. }
  699. /* 公共css */
  700. /* 宽高纵横比 */
  701. .aspect-auto {
  702. aspect-ratio: auto;
  703. }
  704. .aspect-square {
  705. aspect-ratio: 1 / 1;
  706. }
  707. .aspect-video {
  708. aspect-ratio: 16 / 9;
  709. }
  710. /* aspect-[4/3] */
  711. /* 居中 */
  712. .mx-auto {
  713. margin: 0 auto;
  714. }
  715. /* 设置容器内的列数/每列距离 */
  716. .columns-1 {
  717. columns: 1;
  718. }
  719. /* columns-[20px] */
  720. /* 盒子模型 */
  721. .box-border {
  722. box-sizing: border-box;
  723. }
  724. .box-content {
  725. box-sizing: content-box;
  726. }
  727. /* 消失 */
  728. .hidden {
  729. display: none;
  730. }
  731. /* 块级元素 */
  732. .block {
  733. display: block;
  734. }
  735. /* 行内块 */
  736. .inline-block {
  737. display: inline-block;
  738. }
  739. /* 行内元素 */
  740. .inline {
  741. display: inline;
  742. }
  743. /* 弹性布局 */
  744. .flex {
  745. display: flex;
  746. }
  747. /* 主轴起点在左边 */
  748. .flex-row {
  749. flex-direction: row;
  750. }
  751. /* 主轴起点在右边 */
  752. .flex-row-reverse {
  753. flex-direction: row-reverse;
  754. }
  755. /* 主轴竖向排列,在上面 */
  756. .flex-col {
  757. flex-direction: column;
  758. }
  759. /* 主轴竖向排列,在下面 */
  760. .flex-col-reverse {
  761. flex-direction: column-reverse;
  762. }
  763. /* 自动换行 */
  764. .flex-wrap {
  765. flex-wrap: wrap;
  766. }
  767. /* 自动换行下起点 */
  768. .flex-wrap-reverse {
  769. flex-wrap: wrap-reverse;
  770. }
  771. /* 不换行 */
  772. .flex-nowrap {
  773. flex-wrap: nowrap;
  774. }
  775. /* 弹性成长 */
  776. .grow {
  777. flex-grow: 1;
  778. }
  779. /* 不允许弹性成长 */
  780. .grow-0 {
  781. flex-grow: 0;
  782. }
  783. /* 主轴从左开始 */
  784. .justify-start {
  785. justify-content: flex-start;
  786. }
  787. /* 主轴从右开始 */
  788. .justify-end {
  789. justify-content: flex-end;
  790. }
  791. /* 主轴剧中 */
  792. .justify-center {
  793. justify-content: center;
  794. }
  795. /* 主轴两端无间隔 */
  796. .justify-between {
  797. justify-content: space-between;
  798. }
  799. /* 主轴两端有间隔 */
  800. .justify-around {
  801. justify-content: space-around;
  802. }
  803. /* 所有间隔相等 */
  804. .justify-evenly {
  805. justify-content: space-evenly;
  806. }
  807. /* 纵向起点最上方 */
  808. .items-start {
  809. align-items: flex-start;
  810. }
  811. /* 纵向起点最下方 */
  812. .items-end {
  813. align-items: flex-end;
  814. }
  815. .items-center {
  816. align-items: center;
  817. }
  818. /* 网格布局 */
  819. .grid {
  820. display: grid;
  821. }
  822. /* 有几列 */
  823. .grid-cols-4 {
  824. grid-template-columns: repeat(4, minmax(0, 1fr));
  825. grid-template-columns: repeat(4, 1fr);
  826. }
  827. /* 有几行 */
  828. .grid-rows-3 {
  829. grid-template-rows: repeat(3, minmax(0, 1fr));
  830. grid-template-rows: repeat(3, 1fr);
  831. }
  832. /* 容器中的内容上下布局 */
  833. .grid-center {
  834. align-items: center;
  835. }
  836. /* 间距 */
  837. .gap-7 {
  838. gap: 1.75rem;
  839. }
  840. /* 允许弹性成长 */
  841. .shrink {
  842. flex-shrink: 1;
  843. }
  844. /* 不允许弹性成长 */
  845. .shrink-0 {
  846. flex-shrink: 0;
  847. }
  848. /* 不允许成长也不允许收缩 */
  849. .flex-none {
  850. flex: none;
  851. }
  852. /* 浮动布局 */
  853. .float-right {
  854. float: right;
  855. }
  856. .float-left {
  857. float: left;
  858. }
  859. .clear-both {
  860. clear: both;
  861. }
  862. /* 溢出 */
  863. .overflow-auto {
  864. overflow: auto;
  865. }
  866. .overflow-hidden {
  867. overflow: hidden;
  868. }
  869. .overflow-scroll {
  870. overflow: scroll;
  871. }
  872. .overflow-x-auto {
  873. overflow-x: auto;
  874. }
  875. .overflow-y-auto {
  876. overflow-y: auto;
  877. }
  878. /* 定位 */
  879. .fixed {
  880. position: fixed;
  881. }
  882. .absolute {
  883. position: absolute;
  884. }
  885. .relative {
  886. position: relative;
  887. }
  888. .top-0 {
  889. top: 0px;
  890. }
  891. .right-0 {
  892. right: 0px;
  893. }
  894. .bottom-0 {
  895. bottom: 0px;
  896. }
  897. .left-0 {
  898. left: 0px;
  899. }
  900. /* top-[3px] */
  901. /* z-[100] */
  902. /* 显示隐藏未脱离文档流 */
  903. .visible {
  904. visibility: visible;
  905. }
  906. .invisible {
  907. visibility: hidden;
  908. }
  909. /* 内边距 */
  910. .p-0 {
  911. padding: 0px;
  912. }
  913. .px-0 {
  914. padding-left: 0px;
  915. padding-right: 0px;
  916. }
  917. .py-0 {
  918. padding-top: 0px;
  919. padding-bottom: 0px;
  920. }
  921. .pt-0 {
  922. padding-top: 0px;
  923. }
  924. .pr-0 {
  925. padding-right: 0px;
  926. }
  927. .pb-0 {
  928. padding-bottom: 0px;
  929. }
  930. .pl-0 {
  931. padding-left: 0px;
  932. }
  933. /* p-[5px] */
  934. /* 外边距 */
  935. .m-0 {
  936. margin: 0px;
  937. }
  938. .mx-0 {
  939. margin-left: 0px;
  940. margin-right: 0px;
  941. }
  942. .my-0 {
  943. margin-top: 0px;
  944. margin-bottom: 0px;
  945. }
  946. .mt-0 {
  947. margin-top: 0px;
  948. }
  949. .mr-0 {
  950. margin-right: 0px;
  951. }
  952. .mb-0 {
  953. margin-bottom: 0px;
  954. }
  955. .ml-0 {
  956. margin-left: 0px;
  957. }
  958. /* m-[5px] */
  959. /* 宽度 */
  960. .w-full {
  961. width: 100%;
  962. }
  963. .w-screen {
  964. width: 100vw;
  965. }
  966. /* w-[32rem] */
  967. /* min-w-[50%] */
  968. /* max-w-[50%] */
  969. /* 高度 */
  970. .h-full {
  971. height: 100%;
  972. }
  973. .h-screen {
  974. height: 100vh;
  975. }
  976. /* h-[32rem] */
  977. /* min-h-[50%] */
  978. /* max-h-[32rem] */
  979. /* 字体 */
  980. .text-xs {
  981. font-size: 0.75rem; /* 12px */
  982. line-height: 1rem; /* 16px */
  983. }
  984. .text-sm {
  985. font-size: 0.875rem; /* 14px */
  986. line-height: 1.25rem; /* 20px */
  987. }
  988. .text-base {
  989. font-size: 1rem; /* 16px */
  990. line-height: 1.5rem; /* 24px */
  991. }
  992. .text-lg {
  993. font-size: 1.125rem; /* 18px */
  994. line-height: 1.75rem; /* 28px */
  995. }
  996. .text-xl {
  997. font-size: 1.25rem; /* 20px */
  998. line-height: 1.75rem; /* 28px */
  999. }
  1000. .text-2xl {
  1001. font-size: 1.5rem; /* 24px */
  1002. line-height: 2rem; /* 32px */
  1003. }
  1004. .text-3xl {
  1005. font-size: 1.875rem; /* 30px */
  1006. line-height: 2.25rem; /* 36px */
  1007. }
  1008. .text-4xl {
  1009. font-size: 2.25rem; /* 36px */
  1010. line-height: 2.5rem; /* 40px */
  1011. }
  1012. .text-5xl {
  1013. font-size: 3rem; /* 48px */
  1014. line-height: 1;
  1015. }
  1016. .text-6xl {
  1017. font-size: 3.75rem; /* 60px */
  1018. line-height: 1;
  1019. }
  1020. .text-7xl {
  1021. font-size: 4.5rem; /* 72px */
  1022. line-height: 1;
  1023. }
  1024. .text-8xl {
  1025. font-size: 6rem; /* 96px */
  1026. line-height: 1;
  1027. }
  1028. .text-9xl {
  1029. font-size: 8rem; /* 128px */
  1030. line-height: 1;
  1031. }
  1032. /* text-[14px] */
  1033. /* 字体粗细font-weight */
  1034. /* font-[1100] */
  1035. /* https://tailwindcss.com/docs/font-weight */
  1036. /* 字体间距letter-spacing */
  1037. /* tracking-[.25em] */
  1038. /* 行高line-height */
  1039. /* leading-[3rem] */
  1040. /* 无列表样式 */
  1041. .list-none {
  1042. list-style-type: none;
  1043. }
  1044. /* 小圆点 */
  1045. .list-disc {
  1046. list-style-type: disc;
  1047. }
  1048. /* 数字列表 */
  1049. .list-decimal {
  1050. list-style-type: decimal;
  1051. }
  1052. .text-left {
  1053. text-align: left;
  1054. }
  1055. .text-center {
  1056. text-align: center;
  1057. }
  1058. .text-right {
  1059. text-align: right;
  1060. }
  1061. /* 所有文本头尾对齐 */
  1062. .text-justify {
  1063. text-align: justify;
  1064. }
  1065. /* 文本颜色 */
  1066. /* text-[#50d71e] */
  1067. /* https://tailwindcss.com/docs/text-color */
  1068. /* 下划线 */
  1069. .underline {
  1070. text-decoration-line: underline;
  1071. }
  1072. /* 上划线 */
  1073. .overline {
  1074. text-decoration-line: overline;
  1075. }
  1076. /* 中划线 */
  1077. .line-through {
  1078. text-decoration-line: line-through;
  1079. }
  1080. /* 无划线 */
  1081. .no-underline {
  1082. text-decoration-line: none;
  1083. }
  1084. /* 全小写 */
  1085. .lowercase {
  1086. text-transform: lowercase;
  1087. }
  1088. /* 全大写 */
  1089. .uppercase {
  1090. text-transform: uppercase;
  1091. }
  1092. /* 首字母大写 */
  1093. .capitalize {
  1094. text-transform: capitalize;
  1095. }