1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153 |
- html,
- body {
- width: 7680px;
- min-height: 2130px;
- height: 100%;
- font-size: 20px;
- color: #fff;
- font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
- 'Hiragino Sans GB', Arial, sans-serif;
- overflow-y: hidden;
- }
- *,
- *:before,
- *:after {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- }
- a {
- text-decoration: none;
- cursor: pointer;
- }
- [v-cloak] {
- display: none;
- }
- .pointer {
- cursor: pointer;
- }
- #app {
- background: url('../groupImg/page-bg.png') center center no-repeat;
- background-size: 100% 100%;
- padding-top: 10px;
- width: 100%;
- height: 100%;
- overflow: hidden;
- color: #fff;
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- padding: 10px;
- }
- #app > div {
- width: 100%;
- height: 100%;
- }
- div {
- overflow: hidden;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- .my-header {
- position: relative;
- height: 70px;
- line-height: 70px;
- background: url('../groupImg/header-bg.png') center center no-repeat;
- background-size: 100% 100%;
- text-align: center;
- font-weight: bold;
- font-size: 32px;
- font-weight: 600;
- }
- .my-header span {
- background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- .my-header span.right {
- position: absolute;
- right: 60px;
- top: 0px;
- font-size: 16px;
- }
- .LeftBox,
- .CenterBox,
- .RightBox {
- padding: 0 20px;
- }
- .CenterBox > .main {
- width: 100%;
- height: calc(100% - 70px);
- display: grid;
- grid-template-columns: 3fr 4fr 3fr;
- gap: 10px;
- background: url('../groupImg/back-center.png') center center no-repeat;
- background-size: 100% 100%;
- }
- .LeftBox > .main {
- width: 100%;
- height: calc(100% - 70px);
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- grid-template-rows: repeat(3, 1fr);
- gap: 10px;
- }
- .RightBox > .main {
- width: 100%;
- height: calc(100% - 70px);
- display: grid;
- grid-template-rows: 5fr 8fr 11fr;
- gap: 10px;
- }
- .LeftBox .card {
- width: 100%;
- height: 100%;
- overflow: hidden;
- background: url('../groupImg/frame1.png') center center no-repeat;
- background-size: 100% 100%;
- }
- .title {
- position: relative;
- text-align: center;
- height: 100px;
- line-height: 100px;
- }
- .title .text {
- font-size: 30px;
- font-weight: 600;
- color: #05fbfe;
- text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
- background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- position: relative;
- }
- .title .text::before {
- position: absolute;
- content: ' ';
- top: 15px;
- left: -40px;
- width: 30px;
- height: 10px;
- background: url('../groupImg/title-left2.png') no-repeat;
- }
- .title .text::after {
- position: absolute;
- content: ' ';
- top: 15px;
- right: -40px;
- width: 30px;
- height: 10px;
- background: url('../groupImg/title-right2.png') no-repeat;
- }
- .content {
- height: calc(100% - 110px);
- padding: 0 15px 10px;
- }
- .left-lt .content {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- gap: 10px;
- }
- .left-lt .content > div:first-child {
- display: grid;
- gap: 10px;
- grid-template-rows: repeat(2, 1fr);
- }
- .LeftBox .content-left-top {
- width: 100%;
- display: flex;
- align-items: center;
- height: 100%;
- }
- .LeftBox .item2 {
- width: 50%;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .LeftBox .item2 .item2-title {
- font-weight: bold;
- font-size: 30px;
- }
- .LeftBox .item2 .item2-title span {
- font-weight: 500;
- font-size: 12px;
- }
- .LeftBox .item2 .item2-img {
- width: 150px;
- height: 150px;
- /* margin-top: -20px; */
- }
- .LeftBox .item2 .item2-text {
- color: #fff;
- font-size: 20px;
- }
- .LeftBox .content-left-top {
- width: 100%;
- display: flex;
- align-items: center;
- height: 100%;
- }
- .LeftBox .content-left-bottom {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .LeftBox .total {
- text-align: center;
- width: 200px;
- height: 30px;
- position: absolute;
- left: calc(50% - 100px);
- bottom: 7%;
- font-weight: bold;
- color: #2cb7e0;
- font-size: 20px;
- }
- .LeftBox .commonBack,
- .RightBox .commonBack {
- background-color: #062c4d;
- border-radius: 15px;
- }
- .LeftBox .left-rt .content {
- display: grid;
- grid-template-rows: repeat(2, 1fr);
- gap: 10px;
- }
- .LeftBox .left-rt .content > div:first-child {
- display: grid;
- gap: 10px;
- grid-template-columns: 3fr 4fr 4fr;
- }
- .LeftBox .left-rt .item3 {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .LeftBox .left-rt .item3 .item3-title {
- font-weight: bold;
- font-size: 30px;
- color: #69c0ff;
- }
- .LeftBox .left-rt .item3 .item3-title span {
- font-size: 14px;
- font-weight: 500;
- }
- .left-rt .item3 .item3-img {
- margin-top: -20px;
- width: 100px;
- height: 102px;
- margin-bottom: 18px;
- }
- .LeftBox .left-rt .item3 .item3-text {
- font-size: 14px;
- color: #fff;
- }
- .LeftBox .left-rt .item4-text {
- font-size: 20px;
- }
- .LeftBox .left-rt .item4 .item4-title {
- position: relative;
- padding-left: 10px;
- color: #69c0ff;
- margin-left: 10px;
- margin-top: 5px;
- font-size: 30px;
- }
- .LeftBox .left-rt .item4 .item4-title::before {
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- transform: translate(0, -50%);
- width: 5px;
- height: 5px;
- border-radius: 50%;
- background-color: #69c0ff;
- }
- .LeftBox .left-rt .item4 .item4-con {
- display: flex;
- align-items: center;
- justify-content: space-around;
- height: 100%;
- margin-top: 20px;
- }
- .LeftBox .left-rt .item4 .item4-con .item {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin: 0 30px;
- }
- .LeftBox .left-rt .item4 .item4-con .item .title {
- color: #69c0ff;
- font-weight: bold;
- font-size: 28px;
- height: 30px !important;
- line-height: 30px !important;
- margin-top: 10px;
- }
- .LeftBox .left-rt .item4 .item4-con .item .title span {
- font-weight: 500;
- font-size: 24px;
- }
- .LeftBox .left-rt .item4 .item4-con .item .text {
- font-size: 24px;
- color: #fff;
- }
- .LeftBox .left-rtb {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .LeftBox .left-rc {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- grid-template-rows: repeat(2, 1fr);
- }
- .LeftBox .left-lb,
- .left-rb {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .LeftBox .light {
- background-color: #79a4db6c !important;
- }
- .CenterBox .center-l .card,
- .CenterBox .center-r .card {
- width: 100%;
- height: 100%;
- overflow: hidden;
- background: url('../groupImg/frame2.png') center center no-repeat;
- background-size: 100% 100%;
- }
- .CenterBox .center-l,
- .CenterBox .center-r {
- display: grid;
- gap: 10px;
- grid-template-rows: repeat(3, 1fr);
- }
- .CenterBox .boxs {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- grid-template-rows: repeat(2, 1fr);
- padding: 10px;
- color: #40a9ff;
- height: 100%;
- }
- .CenterBox .boxs > div {
- flex: 0 0 50%;
- background: url('../groupImg/left1-bg.png') no-repeat center;
- background-size: 100% 100%;
- padding: 20px 30px;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- .CenterBox .boxs > div > p {
- width: 80%;
- }
- .CenterBox .boxs > div > p:nth-child(1) {
- display: flex;
- justify-content: space-between;
- }
- .CenterBox .boxs > div > p:nth-child(2) {
- margin-top: 25px;
- text-align: left;
- }
- .CenterBox .boxs .name {
- color: #f3f3f3;
- font-size: 30px;
- }
- .CenterBox .boxs .change {
- color: #32edaa;
- }
- .CenterBox .boxs .change.up {
- color: #ed3248;
- }
- .CenterBox .boxs .num {
- font-size: 30px;
- font-weight: 600;
- margin-right: 5px;
- }
- .CenterBox .boxs .el-icon-more {
- font-size: 35px;
- }
- .CenterBox .top {
- display: flex;
- justify-content: space-between;
- }
- .CenterBox .top .box {
- flex: 1;
- margin: 0 10px;
- display: flex;
- flex-direction: column;
- align-items: center;
- color: #40a9ff;
- }
- /* .CenterBox .t {
- padding: 15px 0;
- display: flex;
- align-items: center;
- background-color: rgba(59,211,255,0.05);
- } */
- .CenterBox .t {
- padding: 25px 0;
- display: flex;
- font-size: 30px;
- font-weight: 600;
- align-items: center;
- justify-content: center;
- background-color: rgba(18, 61, 98, 0.6);
- }
- .CenterBox .b {
- padding: 15px 0;
- display: flex;
- align-items: center;
- justify-content: space-around;
- background-color: rgba(7, 42, 76, 0.6);
- padding: 15px 0;
- }
- .CenterBox .b span {
- color: #40a9ff;
- font-size: 34px;
- font-weight: 900;
- }
- .CenterBox .t img {
- margin-right: 10px;
- }
- .CenterBox .box > div {
- width: 100%;
- }
- .CenterBox .box > img {
- width: 40px;
- }
- .CenterBox .box > div p {
- font-size: 26px;
- color: #e1e3ef;
- }
- .CenterBox .box > div span {
- display: inline-block;
- font-size: 34px;
- margin-right: 5px;
- font-weight: bolder;
- margin-top: 5px;
- }
- .CenterBox .map-box {
- height: 100%;
- position: relative;
- padding: 30px 0;
- }
- .CenterBox .mapBack{
- position: absolute;
- width: 60px;
- height: 60px;
- top: 100px;
- right: 100px;
- z-index: 99999999;
- }
- .CenterBox .status {
- position: absolute;
- /* bottom: 20px; */
- bottom: 200px;
- right: 15px;
- background-color: rgba(3, 10, 12, 0.46);
- border: 1px solid #4A57CF;
- }
- .CenterBox .status p {
- background-color: #02397f;
- line-height: 45px;
- text-align: center;
- font-size: 25px;
- color: #40a9ff;
- }
- .CenterBox .status li {
- line-height: 30px;
- padding-right: 15px;
- list-style: none;
- position: relative;
- font-size: 20px;
- }
- .CenterBox .status li::before {
- content: '';
- position: absolute;
- left: -15px;
- top: 50%;
- transform: translate(0, -50%);
- width: 5px;
- height: 5px;
- background-color: #00ffff;
- border-radius: 50%;
- }
- .CenterBox .status i {
- font-size: 20px;
- font-weight: 600;
- color: #40a9ff;
- }
- .CenterBox .tooltip-cont {
- margin: -15px;
- border: 1px solid #3699ff;
- border-radius: 8px;
- padding: 15px;
- background-color: rgb(39 122 145 / 0.36);
- font-size: 30px;
- }
- .CenterBox .tooltip-cont p {
- line-height: 1.8;
- color: #f3f3f3;
- position: relative;
- padding-left: 12px;
- }
- .CenterBox .tooltip-cont p::before {
- position: absolute;
- display: inline-block;
- content: '';
- left: -10px;
- top: 20px;
- width: 15px;
- height: 15px;
- border-radius: 50%;
- background-color: #40a9ff;
- }
- .CenterBox .tooltip-cont span {
- color: #69c0ff;
- }
- .RightBox .right-t {
- display: grid;
- gap: 10px;
- grid-template-columns: 3fr 1fr;
- background: url('../groupImg/langBack.png') no-repeat center;
- background-size: 100% 100%;
- padding: 10px;
- }
- .RightBox .right-c,
- .RightBox .right-b {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .RightBox .right-c > div,
- .RightBox .right-b > div {
- background: url('../groupImg/cBack.png') no-repeat center;
- background-size: 100% 100%;
- padding: 10px;
- }
- .RightBox .top-lb {
- padding: 0px 30px;
- display: grid;
- /* grid-template-columns: repeat(11, 1fr); */
- grid-template-columns: 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr;
- gap: 10px;
- padding-bottom: 20px;
- }
- .RightBox .top-lb > .topCard:nth-child(odd) > div:first-child,
- .RightBox .top-rb > .topCard:nth-child(odd) > div:first-child {
- width: 190px;
- height: 190px;
- background-size: 100% 100%;
- }
- .RightBox .top-lb > .topCard:nth-child(even) > div:first-child,
- .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
- width: 100px;
- height: 100px;
- background-size: 100% 100%;
- }
- .RightBox .titleBackBlue {
- background: url('../groupImg/completed.png') no-repeat center;
- background-size: 95% 95%;
- }
- .RightBox .titleBackYellow {
- background: url('../groupImg/completed2.png') no-repeat center;
- background-size: 95% 95%;
- }
- .RightBox .top-rb {
- padding: 0px 30px;
- display: grid;
- grid-template-columns: 2.5fr 1fr 2.5fr;
- gap: 10px;
- padding-bottom: 20px;
- }
- .RightBox .top-lb > .topCard:nth-child(even) > div:first-child {
- background: url('../groupImg/completedDot.png') no-repeat center;
- background-size: 100% auto;
- background-position: 0 25%;
- }
- .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
- background: url('../groupImg/completedDot.png') no-repeat;
- background-size: 100% auto;
- background-position: 0 35%;
- }
- .RightBox .centerBack {
- background: url('../groupImg/back2.png') no-repeat;
- background-size: 100% 100%;
- }
- .RightBox .center-l {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 10px;
- padding: 20px !important;
- }
- .RightBox .center-l > div {
- background: url('../groupImg/center-left-list-back.png') no-repeat;
- background-size: 100% 100%;
- text-align: center;
- padding: 10%;
- }
- .RightBox .center-l-title {
- width: 100%;
- height: 10%;
- margin-top: 15%;
- font-size: 30px;
- font-weight: bold;
- }
- .RightBox .center-l-list {
- height: 30%;
- margin: 15% 0;
- background: url('../groupImg/project.png') no-repeat center;
- background-size: 100% auto;
- font-size: 26px;
- }
- .RightBox .center-l-list2 {
- height: 30%;
- background: url('../groupImg/pin.png') no-repeat center;
- background-size: 100% auto;
- font-size: 26px;
- }
- .RightBox .right-br {
- display: grid;
- gap: 10px;
- grid-template-rows: repeat(2, 1fr);
- }
- .RightBox .right-brt {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .RightBox .flotage {
- width: 220px;
- height: 100px;
- background-color: rgba(70, 78, 87, 0.5);
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- padding: 10px;
- /* border: 1px solid #557e81; */
- top: 15px;
- border-radius: 5px;
- transition: all 0.2s;
- }
- .tip-box {
- position: absolute;
- width: 2000px !important;
- height: 1400px !important;
- top: calc(50% - 700px);
- left: calc(50% - 1000px);
- background: url('../groupImg/popup.png') no-repeat center;
- background-color: #133b65;
- background-size: 100% 100%;
- padding: 200px 100px 100px 100px;
- border-radius: 55px;
- z-index: 9999999999;
- }
- .titleImg {
- width: 100%;
- height: 100%;
- border-radius: 10px;
- }
- .popLeft,
- .popright {
- height: 90%;
- width: 50%;
- }
- .popright {
- right: 0;
- }
- .poptitle{
- top:60px;
- left: calc(50% - 210px);
- width: 400px;
- text-align: center;
- font-size: 30px;
- font-weight: bolder;
- background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- .doubleTip{
- display: grid;
- grid-template-rows: repeat(2, 1fr);
- gap: 10px;
- }
- .tip2 {
- width: 100%;
- height: 100%;
- display: grid;
- grid-template-columns: 60% 40%;
- /* grid-template-rows: 1fr 1fr; */
- grid-gap: 10px;
- }
- .tip-down {
- position: absolute;
- top:10px;
- right: 30px;
- width: 50px;
- text-align: center;
- height: 50px;
- line-height: 50px;
- cursor: pointer;
- font-size: 60px;
- }
- .row-item,.header-item{
- font-size: 20px !important;
- }
- .tip2-list {
- height: 100%;
- display: grid;
- grid-template-rows: repeat(5, minmax(0, 1fr));
- background-color: #04224c;
- padding: 20px 20px;
- font-size: 30px;
- }
- .tip2-list > div {
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .tip2-list > div:nth-child(2),
- .tip2-list > div:nth-child(4) {
- border-top: 1px solid #69c0ff;
- border-bottom: 1px solid #69c0ff;
- }
- .total3 {
- bottom: 15%;
- }
- .total {
- text-align: center;
- position: absolute;
- left: calc(50% - 150px);
- bottom: 15%;
- font-size: 30px;
- font-weight: bold;
- color: #2cb7e0;
- }
- /* 公共css */
- /* 宽高纵横比 */
- .aspect-auto {
- aspect-ratio: auto;
- }
- .aspect-square {
- aspect-ratio: 1 / 1;
- }
- .aspect-video {
- aspect-ratio: 16 / 9;
- }
- /* aspect-[4/3] */
- /* 居中 */
- .mx-auto {
- margin: 0 auto;
- }
- /* 设置容器内的列数/每列距离 */
- .columns-1 {
- columns: 1;
- }
- /* columns-[20px] */
- /* 盒子模型 */
- .box-border {
- box-sizing: border-box;
- }
- .box-content {
- box-sizing: content-box;
- }
- /* 消失 */
- .hidden {
- display: none;
- }
- /* 块级元素 */
- .block {
- display: block;
- }
- /* 行内块 */
- .inline-block {
- display: inline-block;
- }
- /* 行内元素 */
- .inline {
- display: inline;
- }
- /* 弹性布局 */
- .flex {
- display: flex;
- }
- /* 主轴起点在左边 */
- .flex-row {
- flex-direction: row;
- }
- /* 主轴起点在右边 */
- .flex-row-reverse {
- flex-direction: row-reverse;
- }
- /* 主轴竖向排列,在上面 */
- .flex-col {
- flex-direction: column;
- }
- /* 主轴竖向排列,在下面 */
- .flex-col-reverse {
- flex-direction: column-reverse;
- }
- /* 自动换行 */
- .flex-wrap {
- flex-wrap: wrap;
- }
- /* 自动换行下起点 */
- .flex-wrap-reverse {
- flex-wrap: wrap-reverse;
- }
- /* 不换行 */
- .flex-nowrap {
- flex-wrap: nowrap;
- }
- /* 弹性成长 */
- .grow {
- flex-grow: 1;
- }
- /* 不允许弹性成长 */
- .grow-0 {
- flex-grow: 0;
- }
- /* 主轴从左开始 */
- .justify-start {
- justify-content: flex-start;
- }
- /* 主轴从右开始 */
- .justify-end {
- justify-content: flex-end;
- }
- /* 主轴剧中 */
- .justify-center {
- justify-content: center;
- }
- /* 主轴两端无间隔 */
- .justify-between {
- justify-content: space-between;
- }
- /* 主轴两端有间隔 */
- .justify-around {
- justify-content: space-around;
- }
- /* 所有间隔相等 */
- .justify-evenly {
- justify-content: space-evenly;
- }
- /* 纵向起点最上方 */
- .items-start {
- align-items: flex-start;
- }
- /* 纵向起点最下方 */
- .items-end {
- align-items: flex-end;
- }
- .items-center {
- align-items: center;
- }
- /* 网格布局 */
- .grid {
- display: grid;
- }
- /* 有几列 */
- .grid-cols-4 {
- grid-template-columns: repeat(4, minmax(0, 1fr));
- grid-template-columns: repeat(4, 1fr);
- }
- /* 有几行 */
- .grid-rows-3 {
- grid-template-rows: repeat(3, minmax(0, 1fr));
- grid-template-rows: repeat(3, 1fr);
- }
- /* 容器中的内容上下布局 */
- .grid-center {
- align-items: center;
- }
- /* 间距 */
- .gap-7 {
- gap: 1.75rem;
- }
- /* 允许弹性成长 */
- .shrink {
- flex-shrink: 1;
- }
- /* 不允许弹性成长 */
- .shrink-0 {
- flex-shrink: 0;
- }
- /* 不允许成长也不允许收缩 */
- .flex-none {
- flex: none;
- }
- /* 浮动布局 */
- .float-right {
- float: right;
- }
- .float-left {
- float: left;
- }
- .clear-both {
- clear: both;
- }
- /* 溢出 */
- .overflow-auto {
- overflow: auto;
- }
- .overflow-hidden {
- overflow: hidden;
- }
- .overflow-scroll {
- overflow: scroll;
- }
- .overflow-x-auto {
- overflow-x: auto;
- }
- .overflow-y-auto {
- overflow-y: auto;
- }
- /* 定位 */
- .fixed {
- position: fixed;
- }
- .absolute {
- position: absolute;
- }
- .relative {
- position: relative;
- }
- .top-0 {
- top: 0px;
- }
- .right-0 {
- right: 0px;
- }
- .bottom-0 {
- bottom: 0px;
- }
- .left-0 {
- left: 0px;
- }
- /* top-[3px] */
- /* z-[100] */
- /* 显示隐藏未脱离文档流 */
- .visible {
- visibility: visible;
- }
- .invisible {
- visibility: hidden;
- }
- /* 内边距 */
- .p-0 {
- padding: 0px;
- }
- .px-0 {
- padding-left: 0px;
- padding-right: 0px;
- }
- .py-0 {
- padding-top: 0px;
- padding-bottom: 0px;
- }
- .pt-0 {
- padding-top: 0px;
- }
- .pr-0 {
- padding-right: 0px;
- }
- .pb-0 {
- padding-bottom: 0px;
- }
- .pl-0 {
- padding-left: 0px;
- }
- /* p-[5px] */
- /* 外边距 */
- .m-0 {
- margin: 0px;
- }
- .mx-0 {
- margin-left: 0px;
- margin-right: 0px;
- }
- .my-0 {
- margin-top: 0px;
- margin-bottom: 0px;
- }
- .mt-0 {
- margin-top: 0px;
- }
- .mr-0 {
- margin-right: 0px;
- }
- .mb-0 {
- margin-bottom: 0px;
- }
- .ml-0 {
- margin-left: 0px;
- }
- /* m-[5px] */
- /* 宽度 */
- .w-full {
- width: 100%;
- }
- .w-screen {
- width: 100vw;
- }
- /* w-[32rem] */
- /* min-w-[50%] */
- /* max-w-[50%] */
- /* 高度 */
- .h-full {
- height: 100%;
- }
- .h-screen {
- height: 100vh;
- }
- /* h-[32rem] */
- /* min-h-[50%] */
- /* max-h-[32rem] */
- /* 字体 */
- .text-xs {
- font-size: 0.75rem; /* 12px */
- line-height: 1rem; /* 16px */
- }
- .text-sm {
- font-size: 0.875rem; /* 14px */
- line-height: 1.25rem; /* 20px */
- }
- .text-base {
- font-size: 1rem; /* 16px */
- line-height: 1.5rem; /* 24px */
- }
- .text-lg {
- font-size: 1.125rem; /* 18px */
- line-height: 1.75rem; /* 28px */
- }
- .text-xl {
- font-size: 1.25rem; /* 20px */
- line-height: 1.75rem; /* 28px */
- }
- .text-2xl {
- font-size: 1.5rem; /* 24px */
- line-height: 2rem; /* 32px */
- }
- .text-3xl {
- font-size: 1.875rem; /* 30px */
- line-height: 2.25rem; /* 36px */
- }
- .text-4xl {
- font-size: 2.25rem; /* 36px */
- line-height: 2.5rem; /* 40px */
- }
- .text-5xl {
- font-size: 3rem; /* 48px */
- line-height: 1;
- }
- .text-6xl {
- font-size: 3.75rem; /* 60px */
- line-height: 1;
- }
- .text-7xl {
- font-size: 4.5rem; /* 72px */
- line-height: 1;
- }
- .text-8xl {
- font-size: 6rem; /* 96px */
- line-height: 1;
- }
- .text-9xl {
- font-size: 8rem; /* 128px */
- line-height: 1;
- }
- /* text-[14px] */
- /* 字体粗细font-weight */
- /* font-[1100] */
- /* https://tailwindcss.com/docs/font-weight */
- /* 字体间距letter-spacing */
- /* tracking-[.25em] */
- /* 行高line-height */
- /* leading-[3rem] */
- /* 无列表样式 */
- .list-none {
- list-style-type: none;
- }
- /* 小圆点 */
- .list-disc {
- list-style-type: disc;
- }
- /* 数字列表 */
- .list-decimal {
- list-style-type: decimal;
- }
- .text-left {
- text-align: left;
- }
- .text-center {
- text-align: center;
- }
- .text-right {
- text-align: right;
- }
- /* 所有文本头尾对齐 */
- .text-justify {
- text-align: justify;
- }
- /* 文本颜色 */
- /* text-[#50d71e] */
- /* https://tailwindcss.com/docs/text-color */
- /* 下划线 */
- .underline {
- text-decoration-line: underline;
- }
- /* 上划线 */
- .overline {
- text-decoration-line: overline;
- }
- /* 中划线 */
- .line-through {
- text-decoration-line: line-through;
- }
- /* 无划线 */
- .no-underline {
- text-decoration-line: none;
- }
- /* 全小写 */
- .lowercase {
- text-transform: lowercase;
- }
- /* 全大写 */
- .uppercase {
- text-transform: uppercase;
- }
- /* 首字母大写 */
- .capitalize {
- text-transform: capitalize;
- }
|