body{ margin-top:0 } .cont{ background: url("../images/journalism/journalism_img.jpg") no-repeat; background-size: 100% 100%; padding: 200px 0 50px; position: relative; height:100vh } .cont_title h3{ text-align: center; } .cont_title p{ color: #a8a8a8; font-size: 26px; font-weight: 100; text-align: center; } .cont_title p:before{ content: ' '; display: block; width: 20px; height: 3px; background: #b01f24; margin: 6px auto 2px; } .news_list{ width: 70%; margin: 40px auto ; } .news_list .news_left{ width: 41%; float: left; } .news_list .news_left .top_img{ overflow:hidden; } .news_list .news_left .top_img img{ transition: all 2s; } .news_list .news_left .top_img img:hover{ transform: scale(1.2); } .news_list .news_left .bottom_cont h5{ margin: 14px 0; font-weight: bold; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } .news_list .news_left .bottom_cont p{ font-size: 12px; color: grey; text-align: justify; line-height: 18px; margin-bottom: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .news_list .news_left .bottom_cont a{ color: #b01f24; font-size: 12px; } .news_list .news_left .bottom_cont a span{ width: 11px; height: 11px; display: inline-block; text-align: center; line-height: 9px; font-size: 15px; border-radius: 10px; color: white; background: #b01f24; } .news_list .news_right{ width: 56%; float: right; } .news_list .news_right ul{ padding: 14px 0; border: 1px solid whitesmoke; } .news_list .news_right ul li{ height: 36px; line-height: 36px; } .news_list .news_right ul li i{ color: #b01f24; margin-right: 6px; } .news_list .news_right ul li a{ width: 100%; height: 100%; padding: 0 20px; display: inline-block; color: black; } .news_list .news_right ul li p{ width: 78%; float: left; } .news_list .news_right ul li span{ width: 20%; float: right; text-align: right; font-size: 12px; color: #333333; } .news_list .news_right ul .active_li{ background: #b01f24; } .news_list .news_right ul .active_li i , .news_list .news_right ul .active_li a , .news_list .news_right ul .active_li span{ color: white; } #paginator_page{ margin-top:20px; font-size:13px; color: darkgray; } #paginator_page a{ color: #333; font-size: 18px; } #bsWXBox{ width:auto !important; height:auto !important; } .foot{ position: relative; } .data{ width: 68%; margin: 50px auto; } .data .data_title{ text-align: center; margin: 0 0 20px; } .data .data_title h4{ font-weight: bold; } .data .data_title p{ font-size: 12px; color: grey; margin-top: 10px; } .data .data_border{ width: 100%; height: 1px; background: darkgray; } .data .data_border p{ width: 80%; height: 1px; background: #b01f24; margin: 0 auto; } .data .data_text{ width: 80%; margin: 38px auto; } hr{ border-top: 1px solid darkgray; } .next_foot .next_left a{ color: darkgray; } .next_foot .next_left a:hover{ color: #b01f24; } .next_foot .next_left{ width: 70%; float: left; } .next_foot .next_left p:first-child{ margin-bottom: 2px; } .next_foot .next_right{ width: 30%; float: right; text-align: right; } .next_foot .next_right a{ margin-left: 10px; width: 26px; height: 22px; display: inline-block; } @media screen and (max-width: 1400px){ .cont{ height:auto } } @media screen and (max-width: 750px){ .news_list { width: 94%; margin: 40px auto 0; } .news_list .news_left{ margin-bottom: 20px ; } .news_list .news_left , .news_list .news_right{ width: 100%; float: none; } .news_list .news_right ul li p{ width: 71%; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } .news_list .news_right ul li span{ width: 26%; } .data { width: 80%; margin: 30px auto; } .data .data_text { width: 100%; margin: 20px auto; } .next_foot .next_left { width: 66%; } .next_foot .next_right { width: 34%; } .next_foot .next_right a { margin-left: 2px; } } @media (min-width: 760px) and (max-width: 1030px) { .foot { position: fixed; } .news_list { width: 86%; } .news_list .news_left { width: 44%; } .news_list .news_left .bottom_cont h5 { margin: 10px 0; line-height: 22px; } .news_list .news_right { width: 53%; } .news_list .news_right ul li { height: 38px; line-height: 38px; } .news_list .news_right ul li p { width: 72%; } .news_list .news_right ul li span { width: 24%; } } @media screen and (min-width: 1560px){ .news_list .news_right ul li { height: 36px; line-height: 36px; } .news_list { width: 64%; } } @media screen and (min-width: 1880px){ /* .cont { */ /* padding: 70px 0; */ /* } */ .news_list { margin: 70px auto; } .news_list { width: 62%; } .news_list .news_left { width: 36%; } .news_list .news_right { width: 60%; } .news_list .news_left .bottom_cont h5 { font-size: 17px; } .news_list .news_left .bottom_cont p { font-size: 13px; } .news_list .news_right ul li { height: 38px; line-height: 38px; } } /* 2023.4.28更改 */ @media screen and (max-width:768px){ .data .data_text img{ height: auto !important; width: auto !important; } /* 2023.5.8修改 */ .cont{ padding: 135px 0 50px; } .data{ margin-top:130px !important; } .news_list .news_left .bottom_cont a span{ width: 13px; height: 13px; /* line-height: 12px; */ background: #fff; } }