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%;
}