/* 增对hanweb.css====问题的覆盖样式! */ body { text-align:center; } a {transition: all 0.2s ease-out 0s; color:#333} a:hover{transition: all 0.2s ease-out 0s; color:#F00} /*******文章正文样式开始****/ .bt-article-s .bt-article-02{ width:1000px; padding:25px 100px 30px 100px; } .bt-article-y .bt-article-02{ width:810px!important; padding:25px 100px 30px 100px;} /***文章页-自适应wap手机端效果代码判断css的关键,以下css是使用于手机端的样式代码**/ @media only screen and (max-width:768px) { /**手机端所有需要隐藏的容器class全部加在下面**/ .bt-top-nav, .bt-head-cen, .bt-nav-y, .bt-nav-s .bt-box, .bt-position, .bt-footer{ display:none; } /**手机端所有需要显示的容器宽度都要变成100%**/ .bt-head, .bt-article-s, .bt-article-y{ width:100% !important } .bt-article-s .bt-article-02, .bt-article-y .bt-article-02{ width:100%; padding:15px 10px;} /**手机端-页头部分全部隐藏,然后替换成手机端专用logo**/ .bt-head{ width:100%; height:80px; min-height:0; border-bottom:#333 solid 2px; background:url("/wwwycjgcnet/images/244/logo-wap.png") no-repeat left top; } /**手机端-文章文调整**/ .bt-article-s, .bt-article-y{ min-height:400px; margin:0 auto; padding:15px 10px; } .bt-article-s .bt-article-02, .bt-article-y .bt-article-02{ padding:0; } .bt-article-s .sp_time font, .bt-article-y .sp_time font{ padding:0 20px; line-height:30px; display:block; width:100% } } .fenxiang .fx-cen:first-child{background:url("/wwwycjgcnet/images/244/fenxiangTit.png") no-repeat left center;padding-left:28px;height:40px;} .jiathis_style{margin-top:12px!important;} .print_close a{display:block;height:40px;line-height:40px;float:left;font-size:15px;} .print{background:url("/wwwycjgcnet/images/244/print.png") no-repeat left center;padding-left:30px;margin-right:20px;} .close{background:url("/wwwycjgcnet/images/244/close.png") no-repeat left center;padding-left:30px;}