nchome.css 2.3 KB

1
  1. h1{line-height:83px;text-align:center;font-size:28px;color:#333}.block{margin-top:70px}.block .block-title{line-height:50px;color:#2b79ff;font-size:28px;text-align:center;border-bottom:1px solid #efefef;margin-bottom:76px;position:relative;font-weight:400}.block .block-title span{position:absolute;width:100%;color:#999;font-size:16px;line-height:37px;left:0;bottom:-37px;font-weight:400}.block.environment .list{overflow:hidden}.block.environment .list dl{width:180px;background-color:#f8f9fa;display:block;float:left;text-align:center;margin-right:25px;padding:25px 0 20px;border-radius:5px}.block.environment .list dl:last-child{margin-right:0}.block.environment .list dl dt{font-size:35px;font-family:cursive;line-height:60px}.block.introduction .intro-cont{overflow:hidden;padding:21px 27px;background-color:#f8f9fa;border-radius:5px}.block.introduction .intro-cont img1{width:310px;height:230px;float:left}.block.introduction .intro-cont .txt{height:121px;overflow:auto;width:575px;float:right;margin-top:50px;line-height:25px;color:#777}.block.products ul{overflow:hidden}.block.products ul li{width:235px;float:left;margin:0 20px 20px 0;border-radius:5px;background-color:#f7f7f7;font-size:16px}.block.products ul li:nth-child(4n){margin-right:0}.block.products ul li a{display:block;color:#333}.block.products ul li a img{display:block}.block.products ul li a p{text-align:center;height:56px;line-height:50px}.block.information{margin-bottom:70px}.block.information .icon{width:31px;height:31px}.block.information ul{display:-webkit-box;display:-ms-flexbox;display:flex}.block.information li{display:inline-block;padding:33px 24px;background:#f8f9fa;margin-right:20px;-webkit-box-flex:1;-ms-flex:1;flex:1;box-sizing:border-box}.block.information li>*{vertical-align:middle;margin-right:15px}.block.information li:last-child{-webkit-box-flex:2;-ms-flex:2;flex:2;margin-right:0}.icon{background:url(../images/786c7f25.farmicon.png) no-repeat;background-size:250px 250px;width:25px;height:25px;display:inline-block}.icon.icon-temperature{background-position:0 0}.icon.icon-humidity{background-position:0 -25px}.icon.icon-light{background-position:0 -50px}.icon.icon-speed{background-position:0 -75px}.icon.icon-direction{background-position:0 -100px}.icon.icon-ct1{background-position:-36px 0}.icon.icon-ct2{background-position:-36px -49px}.icon.icon-ct3{background-position:-36px -99px}