westdc-zf1/htdocs/static-sanji-v2/css/index.css

634 lines
12 KiB
CSS

* {
margin: 0;
padding: 0;
font-family: 'Source Sans Pro', sans-serif;
}
i{
font-style: normal;
}
li,ul{
list-style: none;
}
body {
font-size: 14px;
font-family: 'Source Sans Pro', sans-serif;
-webkit-font-smoothing: antialiased;
background: #fff;
}
.backBg{
background:#F7F8F9;
padding-bottom: 40px;
}
::selection {
color: #fff;
background: #303848;
}
::-moz-selection {
color: #fff;
background: #303848;
}
p {
color: #858585;
line-height:22px;
}
.pDark h3 {
color: #BEBEBE;
}
.btn, .form-control, .team-socials i {
border-radius: 5px !important;
}
.button-outline {
-webkit-font-smoothing: antialiased;
display: inline-block;
vertical-align: middle;
zoom: 1;
color: #fff;
padding: 10px 25px;
border: 2px solid #fff;
border-radius: 0px;
font-size: 16px;
font-weight: 400;
background: rgba(255,255,255,0.15);
}
.button-outline:hover {
color: #fff;
background: rgba(255,255,255,0.35);
}
a {
color: #303848;
text-decoration: none;
text-shadow: none;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-ms-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
a:hover {
color: #DF3927;
text-decoration: none;
}
.btn {
border: 0px;
border-radius: 0px;
}
.btn:hover {
background: #E24040;
}
.btn-primary {
background: #303848;
}
.form-control {
border-radius: 0px;
}
.mrgn30 {
margin: 30px 0;
}
.copyright {
color: #6D6D6D;
background: #E9E9E9;
padding: 20px 0;
}
#top {
position: relative;
}
.topHome {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 5;
background: #303848;
}
.topHome .fa-2x {
font-size: 20px;
color:#fff;
margin: 4px;
}
/* Header
----------------------------------------------*/
.carousel{
height: 500px;
margin-top: 70px;
}
.carousel-inner .item h4{
margin: 0;
position: absolute;
}
.carousel-inner .item1{
height: 500px;
background: url(../img/banner1.jpg) no-repeat center;
background-size:100% ;
}
.carousel-inner .item2{
height: 500px;
background: url(../img/banner2.jpg) no-repeat center;
background-size:100%
}
.carousel-inner .item3{
height: 500px;
background: url(../img/banner3.jpg) no-repeat center;
background-size:100% ;
}
.carousel-inner .item4{
height: 500px;
background: url(../img/banner4.jpg) no-repeat center;
background-size:100%
}
.glyphicon-chevron-left:before{
content: "";
}
.glyphicon-chevron-right:before{
content: "";
}
.carousel-control.left{
background: none;
}
.carousel-control.right{
background: none;
}
.features-hotnews .zhuantiBox .hot-im-wrapper {
height: 240px;
overflow: hidden;
text-align: center;
padding: 20px 0;
border-bottom: 1px solid #E6E6E6;
}
.zhuantiBox{
border:1px solid #E6E6E6;
margin-top: 20px;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-ms-border-radius: 4px;
}
.features-hotnews .zhuantiBox .infobox {
padding: 5px 10px;
}
.features-hotnews .zhuantiBox .infobox p {
word-wrap: break-word;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 12px;
height: 140px;
}
.features-hotnews .zhuantiBox img{
-webkit-transition:all 0.25s ease-in-out;
-moz-transition:all 0.25s ease-in-out;
-o-transition:all 0.25s ease-in-out;
-ms-transition:all 0.25s ease-in-out;
transition:all 0.25s ease-in-out;
}
.hoverBox:hover img{
opacity: 1;
transform: scale(1.15,1.15);
-webkit-transform:scale(1.15,1.15);
-moz-transform:scale(1.15,1.15);
-ms-transform:scale(1.15,1.15);
-o-transform:scale(1.15,1.15);
}
.hoverBox{
position: relative;
}
.hoverBox:hover .hotnews-box1{
opacity: 1;
}
.features-hotnews time {
color: #97989c;
font-size: 0.12rem;
display: block;
margin-bottom: 0.10rem
}
.features-hotnews p {
color: #000;
font-size: 14px;
line-height: 28px
}
.features-custom-function {
background: #F7F8F9
}
.moreBox{
overflow: hidden;
}
.more{
display: block;
background: url(../img/more_right.jpg) no-repeat right center;
padding-right: 15px;
color: #333;
float: right;
cursor: pointer;
}
.more:hover{
color:#3d97e3;
}
.navigation{display:block; overflow:hidden; width:100%; margin-bottom:0;padding:20px 0px 0px 0;}
.navigation span{font-family: 'Pacifico', cursive;margin-bottom:20px;display:block; height:40px; line-height:40px;font-size:32px;text-align:center;color:#333;font-weight:400; padding:10px 0px; }
.navigation span.ys{color:#fff;}
.navigation dl{ display:block; height:42px; background:url(../img/png_06.png) no-repeat center bottom;}
.intro{
overflow: hidden;
width: 100%;
margin-top: 40px;
background: url(../img/png_06.png) no-repeat center;
}
.intro h2{
color: #3d97e3;
font-family: 'Pacifico', cursive;
float: left;
font-size: 24px;
border-bottom: 2px solid #3d97e3;
margin-bottom: -1px;
line-height: 50px;
font-weight: bold;
margin: 0;
width: 100px;
}
.intro a{
display: block;
background: url(../img/more_right.jpg) no-repeat right center;
padding-right: 15px;
margin-right: 12px;
color: #333;
float: right;
margin-top: 18px;
cursor: pointer;
}
.sponsor{
width:180px;
height:180px;
float:left;
margin:4px;
/* Giving the sponsor div a relative positioning: */
position:relative;
cursor:pointer;
}
.sponsorFlip{
/* The sponsor div will be positioned absolutely with respect
to its parent .sponsor div and fill it in entirely */
position:absolute;
left:0;
top:0;
width:100%;
height:100%;
border:1px solid #ddd;
background:url("img/background.jpg") no-repeat center center #f9f9f9;
}
.sponsorFlip:hover{
border:1px solid #999;
/* CSS3 inset shadow: */
-moz-box-shadow:0 0 30px #999 inset;
-webkit-box-shadow:0 0 30px #999 inset;
box-shadow:0 0 30px #999 inset;
}
.sponsorFlip{
/* Centering the logo image in the middle of the sponsorFlip div */
position:absolute;
top:50%;
left:50%;
margin:-70px 0 0 -70px;
}
.sponsorData{
/* Hiding the .sponsorData div */
display:none;
}
.newsBoxL {
width: 475px;
height: 415px;
margin-right: 60px;
float: left;
}
.newsBoxL img {
display: block;
height: 245px;
width: 100%;
}
.newsBoxL .newsBoxLTxt {
height: 165px;
background: #004490;
color: #FFFFFF;
padding: 15px;
overflow: hidden;
}
.newsBoxLTxtL {
text-align: center;
width: 60px;
margin-right: 20px;
float: left;
}
.newsBoxLTxtR{
float: left;
width: 340px;
}
.newsBoxLTxtR a{
display: block;
color: #FFFFFF;
}
.newsBoxLTxtR h6{
font-size: 14px;
padding-bottom: 20px;
border-bottom: 1px solid #065ec0;
margin-bottom: 15px;
}
.newsBoxLTxtR p{
font-size: 12px;
line-height: 22px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
width: 340px;
height: 40px;
color: #FFFFFF;
}
.newsBoxLTxtL i{
display: block;
margin-bottom: 8px;
font-size: 30px;
}
.newsBoxLTxtL span{
font-size: 14px;
}
.newsBox{
padding-top: 20px;
padding-bottom: 20px;
}
.newsBoxR{
width: 630px;
float: right;
}
.newsBoxR li{
height: 90px;
margin-bottom: 20px;
transition: all .3s ease 0s;
transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-webkit-transform: translate3d(0, 0, 0);
clear: both;
}
.newsBoxR li:hover .newsTop p{
transform: translate3d(10px, 0, 0);
-moz-transform: translate3d(10px, 0, 0);
-webkit-transform: translate3d(10px, 0, 0);
transition: all .3s ease-out 0s;
color: #2b91f1;
}
.newsBoxR li:hover .newsBottom img{
transform: translate3d(10px, 0, 0);
-moz-transform: translate3d(10px, 0, 0);
-webkit-transform: translate3d(10px, 0, 0);
transition: all .3s ease-out 0s;
}
.newsTop{
overflow: hidden;
}
.newsTopLeft{
width: 490px;
float: left;
}
.newsTop p{
width: 490px;
font-size: 14px;
color: #333333;
padding-bottom: 20px;
margin: 0;
}
.newsTop .borBottom{
width: 490px;
border-bottom: 1px solid #dfdfdf;
clear: both;
float: left;
}
.newsTop .rihgtTop{
float: right;
width: 60px;
text-align: center;
}
.newsTop .rihgtTop span{
display: block;
font-size: 30px;
color: #4d4d4d;
margin-bottom: 5px;
}
.newsTop .rihgtTop i{
display: block;
font-size: 14px;
color: #a5a5a5;
}
.newsBottom p{
width: 490px;
font-size: 12px;
color: #999999;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
float: left;
line-height: 20px;
}
.newsBottom img{
float: right;
margin-top: 20px;
margin-right:20px ;
}
.carousel-indicators li {
display: inline-block;
width: 12px;
height: 12px;
margin: 1px;
text-indent: -999px;
cursor: pointer;
border-radius: 10px;
background: #EEEEEE;
margin: 0;
}
.carouse2{
height: 250px;
margin-top: 30px;
}
.carousel-indicators .active {
width: 12px;
height: 12px;
background:#3d97e3;
}
.pic .col-md-3{
overflow: hidden;
margin-right: 1%;
border: 1px solid #E6E6E6;
padding-top: 10px;
margin-bottom: 10px;
height: 80px;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-ms-border-radius: 4px;
}
.pic .col-md-3.lastOne{
margin-right: 0;
}
.pic img{
float: left;
margin-right: 10px;
}
.pic p{
float: left;
width: 140px;
color: #333333;
margin-top: 8px;
}
@media (min-width: 992px){
.col-md-3 {
width: 24%;
}
}
@media (min-width: 992px){
.backBg .col-md-3 {
width: 25%;
}
}
.imgBox img{
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
}
.imgBox{
border: 1px solid #E6E6E6;
margin-right: 1%;
margin-top: 30px;
padding: 0 10px;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-ms-border-radius: 4px;
}
.imgBox p{
margin: 0 -10px;
padding: 5px 10px;
color: #333;
line-height: 25px;
border-top: 1px solid #E6E6E6;
}
.imgBox video{
width: 100%;
margin-top:166px;
margin-bottom:166px;
}
.hotnews-box:hover {
cursor: pointer;
transition: all 0.3s;
transform: scale(1.02, 1.02);
-webkit-box-shadow: 0 0 0 #EFEFEF, 0.02rem 0.02rem 0.20rem #B9B9B9;
-moz-box-shadow: 0 0 0 #EFEFEF, 0.02rem 0.02rem 0.20rem #B9B9B9;
box-shadow: 0 0 0 #EFEFEF, 0.02rem 0.02rem 0.20rem #B9B9B9
}
.hotnews-box1{
background: rgba(0,0,0,0.7);
position: absolute;
left: 0;
top: 0;
margin-left:15px;
margin-right: 15px;
height: 400px;
padding:20px;
-webkit-transition:all 0.5s ease-in-out;
-moz-transition:all 0.5s ease-in-out;
-o-transition:all 0.5s ease-in-out;
-ms-transition:all 0.5s ease-in-out;
transition:all 0.5s ease-in-out;
opacity: 0;
margin-top: 20px;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-ms-border-radius: 4px;
}
.features{
margin-bottom: 40px;
}
.hotnews-box1 p{
color: #FFFFFF;
line-height: 25px;
}
.p-box{
border: 1px solid #CCCCCC;
margin-top: 30px;
overflow: hidden;
}
.p-box img{
width: 100%;
height: 160px;
-webkit-transition:all 0.25s ease-in-out;
-moz-transition:all 0.25s ease-in-out;
-o-transition:all 0.25s ease-in-out;
-ms-transition:all 0.25s ease-in-out;
transition:all 0.25s ease-in-out;
}
.p-box img:hover{
opacity: 1;
transform: scale(1.15,1.15);
-webkit-transform:scale(1.15,1.15);
-moz-transform:scale(1.15,1.15);
-ms-transform:scale(1.15,1.15);
-o-transform:scale(1.15,1.15);
}
.p-title {
height: 30px;
background-color: rgba(0,0,0,.6);
position: absolute;
left: 0;
bottom:0;
z-index: 999;
color: #fff;
text-align: center;
line-height: 30px;
width: calc(100% - 30px);
margin-left: 15px;
}
.p-title p{
color: #FFFFFF;
height: 30px;
line-height: 30px;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}