news-detail.css 4.22 KB
/* 新闻详情 */
.news-con {
    padding: 60px 0 100px;
}

/*内容*/
.newsxq-lf {
    width: 780px;
    float: left;
}

/*相关新闻部分*/
.newsxq-rt {
    width: 370px;
    float: right;
    border: 1px solid #ebebeb;
    padding: 42px 24px 63px;
    background: #fff;
}

.newsxq-lf h1 {
    color: #333;
    font-size: 18px;
    text-align: center;
    margin-bottom: 27px;
}

.newsxq-lf img {
    max-width: 100%;
    height: auto;
}

.pull-right {
    text-align: center;
    font-size: 0;
    position: relative;
}

.pull-right:before {
    content: '';
    width: 285px;
    height: 1px;
    background: #e5e5e5;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -0.5px;
}

.pull-right:after {
    content: '';
    width: 285px;
    height: 1px;
    background: #e5e5e5;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -0.5px;
}

.pull-right .bdsharebuttonbox {
    text-align: center;
    display: inline-block;
}

.newsxq-info {
    text-align: center;
    font-size: 0;
    margin-top: 22px;
}

.newsxq-info span {
    display: inline-block;
    color: #666;
    font-size: 14px;
    margin: 0 28px;
}

.news-dy span {
    color: #0e48a7;
    font-size: 14px;
}

.news-dy {
    color: #666;
    font-size: 14px;
    line-height: 28px;
    background: #f5f5f5;
    padding: 22px 20px;
    margin-top: 26px;
}

.newsxq-desc p {
    color: #666;
    font-size: 14px;
}

.newsxq-desc {
    padding: 21px 0;
    border-bottom: 1px solid #e5e5e5;
}

.newsxq_lb {
    padding-top: 25px;
    overflow: hidden;
}

.newsxq_bbl {
    float: left;
}

.newsxq_bbl a {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.newsxq_bbl a:hover {
    color: #0369fc;
}

.newsxq_bbl a:last-child {
    margin-bottom: 0;
}

.newsxq_bbl a span {
    color: #cba35a;
    padding-right: 5px;
}

.newsxq_bbr {
    float: right;
}

.newsxq_bbr a {
    display: inline-block;
    width: 92px;
    height: 36px;
    background: #f4f4f4;
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 36px;
}

.newsxq_bbr a:hover {
    background: #0369fc;
    color: #fff;
}

.news-comment {
    margin-top: 35px;
}

.comment-tit {
    color: #333;
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #bfbfbf;
    display: inline-block;
    margin-bottom: 30px;
}

.newsxq_rt h2 {
    padding-left: 33px;
    color: #333;
    font-size: 20px;
    background: url(../images/zan.png) no-repeat left top 2px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 17px;
}

.newsxq_rm li p {
    color: #999;
    padding-left: 10px;
    font-size: 14px;
}

.newsxq_rm li h3 {
    color: #666;
    font-size: 16px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsxq_rm li {
    padding-top: 21px;
}

.newsxq_rm li:hover h3 {
    color: #0369fc;
}

/*分享*/
.share .bdsharebuttonbox a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    opacity: 1;
    margin: 0 20px 0 0;
}

.share .bdsharebuttonbox a:last-child {
    margin-right: 0;
}

.share .bdsharebuttonbox a.s1 {
    background: url(../images/s1.png) no-repeat center;
}

.share .bdsharebuttonbox a.s2 {
    background: url(../images/s2.png) no-repeat center;
}

.share .bdsharebuttonbox a.s3 {
    background: url(../images/s3.png) no-repeat center;
}

.share .bdsharebuttonbox a.s1:hover {
    background: url(../images/s1h.png) no-repeat center;
}

.share .bdsharebuttonbox a.s2:hover {
    background: url(../images/s2h.png) no-repeat center;
}

.share .bdsharebuttonbox a.s3:hover {
    background: url(../images/s3h.png) no-repeat center;
}

@media (max-width: 768px) {
    .news-con {
        padding: 20px !important;
    }
    .newsxq-lf {
        width: 100% !important;
    }
    .pull-right:before {
        width: 20vw;
    }
    .pull-right:after {
        width: 20vw;
    }

    .newsxq-lf img {
        max-width: 100% !important;
        height: auto;
    }
    .newsxq_lb {
        display: flex;
        flex-direction: column;
    }

    .newsxq_bbr {
        margin: 10px 0;
    }

    .newsxq-rt {
        width: 100% !important;
        border: none !important;
        padding: 20px 0 0 0;
    }

    .newsxq-info span {
        margin: 0 10px 0 0 !important;
    }
}