123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456 |
- html{
- height: 100%;
- }
- body{
- height: 100%;
- width: 100%;
- min-width: 1280px;
- margin: 0;
- background: url('../img/bg.png') no-repeat;
- background-size: 100% 100%;
- overflow: hidden;
- padding: 3%;
- }
- .content{
- height: 100%;
- }
- @font-face {
- font-family: "numfont";
- src: url('../fonts/num.otf') format('truetype');
- }
- .numfont {
- font-family:"numfont" !important;
- font-size:16px;
- font-style:normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .left{
- float: left;
- width: 30%;
- height: 100%;
- }
- /*closed*/
- #btn{
- position: absolute;
- top: 12%;
- right: 12%;
- width: 52px;
- height: 52px;
- z-index: 9999999;
- cursor: pointer;
- }
- #btn>div{
- width: 52px;
- height: 52px;
- position: relative;
- }
- .btn0{
- position: absolute;
- width: 52px;
- height: 52px;
- background: url("../img/close0.png") no-repeat;
- background-size: 100%;
- animation: clockwise 3s linear infinite;
- }
- .btn1{
- position: absolute;
- width: 34px;
- height: 34px;
- margin: 9px;
- background: url("../img/close1.png") no-repeat;
- background-size: 100%;
- }
- .btn2{
- position: absolute;
- width: 20px;
- height: 20px;
- margin: 16px;
- background: url("../img/close2.png") no-repeat;
- background-size: 100%;
- animation: anticlockwise 3s linear infinite;
- }
- @keyframes clockwise {
- 0% {
- transform:rotate(0deg);
- }
- 100% {
- transform:rotate(-360deg);
- }
- }
- @keyframes anticlockwise {
- 0% {
- transform:rotate(0deg);
- }
- 100% {
- transform:rotate(360deg);
- }
- }
- /*air*/
- .air{
- height: 20%;
- }
- .title{
- background: url("../img/line.png") no-repeat top;
- background-size: 90%;
- height: 12%;
- color: #ACA5A1;
- font-size: 10px;
- text-align: center;
- padding-top: 1%;
- font-weight: bold;
- }
- .air-relative,.air-absolutely{
- height: 20%;
- position: relative;
- }
- .air-relative{
- margin: 2% 0 8% 0;
- }
- .air-val{
- float: left;
- color: white;
- height: 100%;
- line-height: 100%;
- width: 15%;
- }
- .air-val div{
- width: 60%;
- height: 100%;
- float: left;
- margin-left: 1%;
- margin-top: 4%;
- }
- .air-val div p{
- margin: 0 5%;
- }
- .unit{
- width: 15%;
- float: right;
- margin-right: 5%;
- color: white;
- height: 100%;
- font-family: numfont;
- line-height: 200%;
- text-align: right;
- }
- .gray{
- border-bottom: 1px solid #25201E;
- }
- .gray,.light{
- height: 100%;
- width: 70%;
- position: absolute;
- left: 15%;
- }
- .gray span,.light span{
- display: block;
- width: 2%;
- height: 90%;
- float: left;
- }
- .air-relative .gray span{
- background: url("../img/bartop1.png") no-repeat;
- background-size: auto 100%;
- }
- .air-relative .light span{
- background: url("../img/bartop0.png") no-repeat;
- background-size: auto 100%;
- }
- .air-absolutely .gray span{
- background: url("../img/barfoot1.png") no-repeat;
- background-size: auto 100%;
- }
- .air-absolutely .light span{
- background: url("../img/barfoot0.png") no-repeat;
- background-size: auto 100%;
- }
- .air-icon{
- display: block;
- width: 20%;
- height: 90%;
- float: left;
- }
- .air-relative .air-icon {
- background: url("../img/bartop0.png") no-repeat;
- background-size: auto 100%;
- }
- .air-absolutely .air-icon{
- background: url("../img/barfoot0.png") no-repeat;
- background-size: auto 100%;
- }
- .hpa-rel,.hpa-abs{
- font-size: 30px;
- }
- .air-val .hpa-nam{
- margin-top: 20%;
- }
- .hpa-nam{
- font-size: 12px;
- }
- /*tem-hum*/
- .tem-hum{
- height: 25%;
- margin-top: 2%;
- }
- .temperature,.humidity{
- float: left;
- width: 50%;
- height: 100%;
- background: url("../img/leftline.png") no-repeat left;
- background-size: auto 100%;
- }
- .tem-hum-title{
- background: #B0CC35;
- width: 60%;
- margin-left: 25%;
- height: 10%;
- font-size: 11px;
- font-weight: bold;
- text-align: center;
- line-height: 160%;
- }
- .tem-hum-chart{
- width: 80%;
- height: 80%;
- margin: 0 auto;
- }
- .tem-val,.hum-val{
- width: 70%;
- margin-left: 25%;
- height: 10%;
- font-size: 11px;
- font-weight: bold;
- }
- .indoor,.outdoor{
- display: inline-block;
- color: white;
- text-indent: 8px;
- margin-left: 8px;
- }
- .indoor{
- border-left: 4px solid #B0CC35;
- }
- .outdoor{
- border-left: 4px solid red;
- }
- /*temp-k*/
- .temp-k{
- height: 21%;
- margin-top: 3%;
- }
- #tempKChart{
- height: 87%;
- }
- .dity-k{
- height: 21%;
- }
- #dityKChart{
- height: 87%;
- }
- /*map*/
- .middle{
- float: left;
- width: 34%;
- height: 100%;
- }
- .chinaMap{
- margin-top: 3%;
- width: 100%;
- height: 70%;
- overflow: hidden;
- z-index: 999999;
- position: relative;
- }
- .mapBox{
- background: url("../img/wrapper.png") no-repeat center;
- background-size: 100% 100%;
- width: 90%;
- margin: 7% auto;
- height: 85%;
- }
- #map{
- width: 100%;
- height: 100%;
- }
- .lineRun{
- width: 100%;
- height: 80px;
- background: url("../img/animate.png") no-repeat bottom;
- background-size: 100%;
- }
- .headTitle{
- font-family: numfont;
- color: #B0CC35;
- position: relative;
- width: 100%;
- text-align: center;
- font-size: 20px;
- }
- /*right*/
- .right{
- float: left;
- width: 36%;
- height: 100%;
- box-sizing: border-box;
- padding-right: 5%;
- }
- .information{
- width: 90%;
- height: 20%;
- padding: 0 5%;
- }
- .baseInfo,.temData{
- width: 45%;
- height: 100%;
- float: left;
- background: url("../img/verticalline.png") no-repeat left;
- background-size: auto 100%;
- padding-left: 5%;
- }
- .infoTitle{
- font-size: 10px;
- color: #AEA7A3;
- margin-top: 0;
- }
- .area{
- font-family: numfont;
- font-size: 30px;
- color: #B0CC35;
- margin: 0 0 12px 0;
- }
- .days{
- font-family: numfont;
- color: #B0CC35;
- font-size: 25px;
- }
- .date{
- display: inline-block;
- text-indent: 29px;
- }
- .idNum{
- display: inline-block;
- text-indent: 50px;
- }
- .temTitle{
- color: red;
- font-size: 18px;
- margin: 0;
- }
- .indoorTem{
- font-family: numfont;
- color: red;
- font-size: 30px;
- margin: 0 0 15px 0;
- }
- .temperatureN{
- font-size: 60px;
- display: inline-block;
- margin-right: 15px;
- }
- .point span{
- display: inline-block;
-
- margin-right: 80px;
- }
- .wind{
- width: 100%;
- height: 30%;
- margin-top: 3%;
- }
- #windChart{
- width: 45%;
- margin-left: 5%;
- float: left;
- height: 100%;
- }
- .windData{
- width: 45%;
- float: left;
- height: 100%;
- }
- .windSpeed,.gust{
- width: 94%;
- height: 50%;
- float: right;
- background: url("../img/line1.png") no-repeat center;
- background-size: 100%;
- overflow: hidden;
- }
- .windTitle{
- background: #B0CC35;
- width: 60%;
- margin-top: 5%;
- margin-left: 35%;
- height: 14%;
- font-size: 11px;
- font-weight: bold;
- text-align: center;
- line-height: 160%;
- }
- .windBox{
- width: 100%;
- height: 80%;
- color: #ACA5A1;
- }
- .windBox>div{
- margin-top: 2%;
- height: 98%;
- float: left;
- }
- .windBox div p{
- font-size: 12px;
- margin: 5px 0;
- }
- .windWrap{
- width: 76%;
- height: 80%;
- margin: 20% 12%;
- background: url("../img/wind0.png") no-repeat;
- background-size: 100%;
- overflow: hidden;
- }
- .windFan{
- width: 60%;
- margin: 20%;
- }
- .currentSpeed,.highestSpeed{
- font-family: numfont;
- color: #B0CC35;
- font-size: 30px;
- }
- .windSpeed .windFan{
- animation: speed 600ms linear infinite;
- }
- .gust .windFan{
- animation: speed 400ms linear infinite;
- }
- @keyframes speed {
- 0% {
- transform:rotate(0deg);
- }
- 100% {
- transform:rotate(360deg);
- }
- }
- /*rain*/
- .air-title{
- height: 5%;
- }
- .rainfall{
- width: 100%;
- height: 33%;
- margin-top: 5%;
- }
- .rainfall .windData{
- margin-left: 2.5%;
- }
|