body{ background-color: #fff; } .main{ padding: 0; } .banner{ height: 400px; } .banner .caro-banner .caro-main>ul>li{ width: 100%; height: 100%; background-color: #008dd5; } .banner .caro-banner .caro-tab{ left: auto; right: 0; bottom: 20px; } .banner .caro-banner .caro-tab ul li{ width: 14px; height: 14px; } .banner .caro-banner .caro-tab .active{ background-color: #fc7222; } .banner .banner-main{ position: relative; } .banner .banner-pro img{ display: block; position: absolute; left: 0; top: 0; } .banner .banner-pro a{ display: block; position: absolute; z-index: 2; left: 0; top: 0; width: 200px; height: 110px; -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; } .banner .serv img+img{ display: inline-block; vertical-align: middle; -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; } .banner .banner-pro .banner-lab a:hover +img, .banner .banner-pro .serv a:hover +img+img{ -webkit-animation-name: hvr-bob-float, hvr-bob; animation-name: hvr-bob-float, hvr-bob; -webkit-animation-duration: .3s, 1.5s; animation-duration: .3s, 1.5s; -webkit-animation-delay: 0s, .3s; animation-delay: 0s, .3s; -webkit-animation-timing-function: ease-out, ease-in-out; animation-timing-function: ease-out, ease-in-out; -webkit-animation-iteration-count: 1, infinite; animation-iteration-count: 1, infinite; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; -webkit-animation-direction: normal, alternate; animation-direction: normal, alternate; } .banner .banner-lab .banner-gif{ display: none; } .banner .banner-lab:hover .banner-gif{ display: block; } .num{ height: 275px; border-bottom: 1px solid #ccc; } .num .num-list>ul>li{ float: left; position: relative; width: 14.28%; height: 125px; padding: 10px 0; text-align: center; } .num .num-list>ul>li>div{ margin-top: 10px; } .num .num-icon{ position: relative; width: 80px; height: 80px; padding: 17px 0; margin: 0 auto; background-color: #fafcff; border: 1px solid #e3eaf0; border-radius: 50%; display: inline-block; vertical-align: middle; -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; } .num .num-icon i{ font-size: 40px; color: #20bbf0; } .num .num-icon:before{ content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background: #34ADE6; -webkit-transform: scale(0); transform: scale(0); -webkit-transition-property: transform; transition-property: transform; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; border-radius: 50%; } .num .num-list>ul>li:hover .num-icon:before{ -webkit-transform: scale(1); transform: scale(1); } .num .num-list>ul>li:hover i{ color: #fff; } .num .num-type{ font-size: 16px; font-weight: bold; } .num .num-info{ font-family: Arial; font-size: 24px; font-weight: bold; color: #cc0000; } .num .num-depart{ width: 110px; margin: 0 auto; line-height: 30px; background-color: #fafcff; border: 1px solid #e2e9ef; border-radius: 4px; } .news{ padding: 30px 0 10px; background-color: #fafafa; overflow: hidden; } .news .news-dynamic{ margin-right: 410px; min-height: 290px; background-color: #fff; } .news-dynamic .dynamic-list{ margin-top: 25px; } .news-dynamic .dynamic-list>ul{ width: 100%; } .news-dynamic .dynamic-list>ul>li:hover{ background-color: #f7f7f7; } .news-dynamic .dynamic-list .dyna-time{ position: relative; float: left; width: 120px; padding: 15px 30px; border-right: solid 1px #e5e5e5; } .news-dynamic .dynamic-list .dyna-time:after{ content: ''; display: block; width: 12px; height: 12px; background: #fff; border: solid 2px #00baf2; border-radius: 50%; position: absolute; right: -9px; top: 16px; } .news-dynamic .dynamic-list .dyna-info{ overflow: hidden; padding: 15px 0 15px 30px; margin-left: 120px; } .news-data{ float: right; width: 370px; min-height: 290px; border: 1px solid #d3d3d3; background-color: #fff; } .news-data .news-header{ position: relative; height: 40px; padding-left: 15px; line-height: 40px; background-color: #fafafa; border-bottom: 1px solid #d3d3d3; } .news-data .news-header span{ margin-left: 10px; } .news-data .news-header span:before{ content:""; position:absolute; left: 12px; top: 14px; width:5px; height: 14px; background-color: #fa9f27; } .news-data .news-header a{ float: right; margin-right: 15px; font-size: 12px; font-family: SimSun; color: #666; } .news-data .news-header a:hover{ color: #2578c4; } .news-data .news-body{ padding: 10px; } .news-data .news-body>ul{ margin: 0; padding: 10px 0; } .news-data .news-body>ul>li{ position: relative; padding-left: 15px; height: 35px; line-height: 35px; } .news-data .news-body>ul>li:before{ content: ""; position: absolute; top: 18px; left: 3px; display: block; width: 4px; height: 4px; background-color: #666; } .news-data .news-body img{ display: block; width: 100%; } .news-data .news-body a{ display: block; float: left; width: 200px; color: #333; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .news-data .news-body a:hover{ color: #34ADE6; } .news-data .news-body div{ margin-left: 200px; text-align: right; font-size: 12px; color: #666; } .news-data .news-body div span+span{ margin-left: 5px; } .hot{ padding: 10px 0 20px; background-color: #fafafa; overflow: hidden; } .hot .tab-panel{ float: left; width: 370px; height: 355px; margin-right: 40px; } .hot .tab-panel.hot-app{ float: right; width: 370px; margin-right: 0; } .hot .tab-panel.hot-catalog .tab-header, .hot .tab-panel.hot-api .tab-header, .hot .tab-panel.hot-app .tab-header{ position: relative; background: url("/datazyszhjhacom/odweb/cities/dist/img/tabbg.jpg") repeat; } .hot .tab-panel.hot-catalog .tab-header:before, .hot .tab-panel.hot-api .tab-header:before, .hot .tab-panel.hot-app .tab-header:before{ content: ""; right: -1px; top: -1px; display: block; position: absolute; width: 20px; height: 21px; background: url("/datazyszhjhacom/odweb/cities/dist/img/tabcorner.jpg") no-repeat; } .hot .tab-panel.hot-catalog .tab-header>ul>li.active{ color: #e35b2b; border-top-color: #e35b2b; } .hot .tab-panel.hot-catalog .panel-cata-list .cata-name:before{ background-color: #e35b2b; } .hot .tab-panel.hot-api .tab-header>ul>li.active{ color: #1485db; border-top-color: #1485db; } .hot .tab-panel.hot-api .panel-cata-list .cata-name:before{ background-color: #1485db; } .hot .tab-panel.hot-app .tab-header>ul>li.active{ color: #4d9e22; border-top-color: #4d9e22; } .hot .tab-panel .panel-cata-list{ padding: 15px; } /* Bob */ @-webkit-keyframes hvr-bob { 0% { -webkit-transform: translateY(-8px); transform: translateY(-8px); } 50% { -webkit-transform: translateY(-4px); transform: translateY(-4px); } 100% { -webkit-transform: translateY(-8px); transform: translateY(-8px); } } @keyframes hvr-bob { 0% { -webkit-transform: translateY(-8px); transform: translateY(-8px); } 50% { -webkit-transform: translateY(-4px); transform: translateY(-4px); } 100% { -webkit-transform: translateY(-8px); transform: translateY(-8px); } } @-webkit-keyframes hvr-bob-float { 100% { -webkit-transform: translateY(-8px); transform: translateY(-8px); } } @keyframes hvr-bob-float { 100% { -webkit-transform: translateY(-8px); transform: translateY(-8px); } } /* Ripple Out */ @-webkit-keyframes hvr-ripple-out { 100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; } } @keyframes hvr-ripple-out { 100% { top: -12px; right: -12px; bottom: -12px; left: -12px; opacity: 0; } } @media screen\0 { .num .num-list>ul>li:hover .num-icon{ background-color: #34ADE6; } }