/*公共样式开始*/ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 license: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* 加粗字体 */ h1, h2, h3, h4, h5, h6,strong,b{ font-weight: 700; } /* html5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } /* 取消漂浮样式 */ .clear { clear: both; display: block; height: 0; overflow: hidden; visibility: hidden; width: 0; } .clearfix:after { clear: both; content: " "; display: block; height: 0; } body { line-height: 1; font-family: "微软雅黑", "宋体", arial; } a{ text-decoration: none; color: #000; } ol, ul { list-style: none; } li{ list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } input:focus{ outline:none; } h1{ margin-bottom: 20px; font-size: 40px; font-weight: bold; line-height: 44px; text-align: center; } h2{ text-decoration: none; font-size: 17px; text-align: left; font-weight: bold; line-height: 31px; clear: both; color: #ff0000; margin-bottom: 15px; } /* 居中 */ .main{ width: 1200px; margin: 0 auto; } /* 头部间距 */ .top20{ margin-top: 20px; } .fl{ float: left; } .bo{ margin-bottom: 30px; } .fa14 a{ font-size: 14px !important; } /*公共样式结束*/ * { margin: 0px; padding: 0px; } html, body { height: 100%; } /* 头部背景 */ .background-color{ z-index: -2; position: fixed; width: 6000px; height:100%; background-color: #f8f8f8; } .background{ top: 0; background-image: ; width: 100% ; height: 320px; opacity: 1; position: absolute; z-index: -1; } /* 头部 logo */ .logo-color{ width: 100%; height: 100px; } .logo{ width: 1200px; height: 100px; margin: 0 auto; overflow: hidden; } .logo .logobox{ justify-content: space-between; height: 100px; align-items: center; } .logo .logobox .logo-img img{ margin-top: 20px; height: 50px; } /* 搜索栏目 */ .search{ padding-top: 20px; width: 585px; margin: 0 auto; overflow: hidden; } .logo-search{ width: 580px; border-radius: 41px; background-color: #fff; } .logo-search .search-input{ width: 80%; border: 0; height: 44px; border-radius: 41px 0 0 41px; text-indent: 1.5em; font-size: 16px; } .logo-search button{ line-height: 40px; float: right; width: 20%; border-radius: 41px; font-size: 20px; color: #fff; color: #0094ff; background-color: #e2f0fd; border: 2px solid #e2f0fd; } .logo-search button:hover{ opacity: 0.8; } .search-lanmu{ margin-top: 20px; padding-bottom: 66px; } .search-lanmu ul li{ display: block; float: left; margin-left: 20px; } .search-lanmu ul li a{ padding: 5px 20px; font-size: 14px; color: rgba(255, 255, 255, 0.8); line-height: 26px; border-radius: 27px; background-color: rgb(116 195 252 / 80%); } .search-lanmu ul li a:hover{ color:#fff ; } /* 我要投稿 */ .top_right{ margin-left: 10px; } .top_right a{ color: #fff; line-height: 30px; margin-left: 20px; font-size: 16px; opacity: 0.8; } .tc-sethome_box{ width: 200px; margin-top: 5px; } .top_right a img{ width: 16px; height: 16px; } a:hover{ color: #077ff9 !important; } /* nav导航 */ .site-conten{ overflow: hidden; } .nav_cen{ width: 100% } /* 控制卡片大小居中 */ .banner ,.column , .blogroll ,.theme ,.entry{ width: 1200px; margin: 0 auto; overflow: hidden; } .flex{ display: flex; } .nav ul{ margin-left: 32px; justify-content: space-between; } .nav ul li{ text-align: center; } .nav ul li a{ padding-bottom: 10px; font-size: 20px; color: #fff; } .nav ul li.shouye{ font-size: 24px; width: 200px; height: 50px; background-color: #077ff9; } .nav ul li.shouye p{ letter-spacing: 2px; color: #fff; line-height: 50px; width: 200px; } .nav ul li a:hover{ color: #fff !important; border-bottom: #fff solid 4px; font-weight: 600; } .nav_cen .nav ul .nav-a1{ color: #fff !important; font-weight: 700; border-bottom: #fff solid 3px; } /* banner区 */ /* 轮播图开始 */ #slideshow{ width: 530px; height: 300px; overflow: hidden; position: relative; } #slideshow img{ width: 530px; height: 300px; border-radius: 4px; position: absolute; /*图片采取绝对定位,均位于左上角,重叠在一起*/ top: 0; left: 0; opacity: 0; /*初始不透明度为0,图片都看不见*/ transition: opacity 1s linear; /*--重点--定义一个关于透明度的transition*/ } #slideshow img.active{ opacity: 1; /*有active类的图片不透明度为1,即显示图片*/ } /*-- 设置页码的样式 --*/ #slideshow div{ position: absolute; bottom: 5px; /* left: 50%; */ right: 0; padding: 5px; margin-left: -57.5px; /*水平居中,算出来宽度是115px*/ border-radius: 25px; } #slideshow span{ float: left; width: 12px; height: 12px; border-radius: 48px; /*设置页码为圆形*/ margin: 0 10px; background: rgba(255, 255, 255, 0.600000); } #slideshow span.active{ background: none; /* background: #ffdd55; */ background-image: ; width: 16px; height: 16px; display: block; } /*-- 设置左右按钮框的样式 --*/ #slideshow p{ width: 30px; line-height: 50px; position: absolute; top: 50%; margin-top: -30px; /*设置垂直居中*/ color: white; background: rgba(0,0,0,0.2); font-size: 16px; text-align: center; cursor: pointer; /*设置鼠标*/ /*设置不能选择文本*/ -ms-user-select:none;/*ie10*/ -webkit-user-select:none;/*webkit浏览器*/ user-select:none; display: none; } #slideshow p.left{ left: 0; } #slideshow p.right{ right: 0; } #slideshow:hover p{ display: block; } #slideshow p:hover{ background: rgba(0,0,0,0.6); } /* 轮播图结束 */ /* 左 */ .banner , .theme ,.entry-left ,.entry-right{ margin-top: 20px; background-color: #fff; border-radius: 5px; } /* 控制卡片边距 */ .banner .banner-box{ padding: 30px 30px 20px 30px; } /* banner编辑推荐 */ .banner-right{ margin-left: 30px; } .banner-right-biaoti{ overflow: hidden; margin-bottom: 20px; } .banner-right-biaoti p{ font-size: 20px; display: block; float: left; } .banner-right-biaoti a{ font-size: 12px; float: right; line-height: 20px; text-align: right; color: #999; } .banner-right-biaoti p::before{ content: ''; background-color: #0094ff; width: 8px; height: 8px; border-radius: 16px; margin-top: 8px; display: block; float: left; margin-right: 8px; } .banner-right:nth-child(3) .banner-right-biaoti p::before{ background-color: #4200ff; } .banner-right:nth-child(3) .banner-right-biaoti p::after{ content: ''; background-image: ; width: 9px; height: 13px; display: block; float: right; margin-top: 5px; margin-left: 8px; } .banner-right-list li a,.banner-right-list li i{ line-height: 16px; } .banner-right-list li a{ color:#333; font-size: 16px; width: 246px; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } .banner-right-list li i{ width: 50px; text-align: right; font-family: arial, helvetica, sans-serif; } .banner-right-list li{ display: flex; color: #333; font-size: 14px; margin-bottom: 18px; } .banner-box .banner-right{ width: 275px; } .banner-right-list li i { font-size: 14px; color: #999; } /* banner区块结束 */ /* 底部 */ /* 是把底部固定在100% */ .site-content{ min-height: 100%; } footer{ margin-top: 20px; width: 100%; height: 100px; background-color: #333945; text-align: center; padding: 20px 0; overflow: hidden; } footer div{ padding: 10px 0; } footer div a{ padding: 0 10px; } footer div a:nth-child(1){ /*border-right: 1px solid #fff;*/ } footer div a, footer div p{ font-size: 14px; color: #fff; opacity: 0.7; line-height: 30px; } /* /底部 */ /* 友情链接 */ .blogroll{ width: 1140px; background-color: #fff; border-radius: 10px; overflow: hidden; margin-top: 20px; padding: 30px; } .blogroll span{ font-weight: 600; margin-top: 20px; font-size: 16px; } .blogroll ul li{ /* width: 180px; */ margin-top: 20px; margin-right: 20px; display: block; float: left; } .blogroll ul li a{ font-size: 14px; color: #666; } /* 友情链接 */ /* 热门导航 */ .hot-nav{ background: #fff; border-radius: 10px; padding: 30px; width: 1140px; overflow: hidden; } .hot-nav .nav-item{ width: 284px; float: left; height: 76px; overflow: hidden; } .nav-item h4 { position: relative; font-size: 16px; font-weight: normal; margin-bottom: 10px; } .iconfont { font-family: "iconfont" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; -moz-osx-font-smoothing: grayscale; } .nav-item h4 em img{ margin-right: 5px; width: 14px; height: 14px; } .nav-item .nav-rwap a { font-size: 12px; margin-right: 20px; display: block; float: left; line-height: 24px; color: #666; } /* 热门导航结束 */ /* 栏目内容 */ .com1{ overflow: hidden; } .cen-com{ width: 820px; padding: 30px 30px 16px 30px; background-color: #fff; border-radius: 10px; overflow: hidden; margin-right: 20px; } .cen-com-title{ height: 30px; padding-bottom: 30px; width:100%; } .cen-com-title h3{ line-height: 30px; position: relative; font-size: 20px; margin-right: 30px; } .cen-com-title h3 em img{ width: 18px; margin-right: 5px; } .com-title-nav{ height: 32px; overflow: hidden; } .com-title-nav a{ padding: 0 10px; display: block; float: left; border-radius: 20px; margin-top: 14px; margin-left: 10px; color: #666; font-size: 12px; } .com-bottom .a{ width: 390px; overflow: hidden; margin-bottom: 30px; margin-right: 30px; } .com-bottom .a:nth-child(2n 0){ margin-right: 0; } .com-bottom .a .a-img img{ width: 138px; height: 80px; border-radius: 4px; margin-right: 20px; } .b-2 a{ width: 232px; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 10px; } .b-2 p{ width: 232px; font-size: 12px; color: #999; line-height: 24px; height: 48px; } .a-1 p{ text-align: justify; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .a-1 a{ display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } /* 列表 */ .com-b2-list li{ position: relative; line-height: 30px; padding-left: 90px; padding-right: 40px; width: 260px; float: left; margin-right: 30px; margin-bottom: 14px; } .com-b2-list li:nth-child(2n 0){ margin-right: 0; } .com-b2-list li a { float: left; } .com-b2-list li a:nth-child(1){ background: #f5f5f8; border-radius: 41px; font-size: 12px; width: 60px; padding: 0 10px; line-height: 24px; text-align: center; margin-top: 3px; position: absolute; left: 0; overflow: hidden; } .com-b2-list li i { font-size: 12px; color: #999; position: absolute; right: 0; } /* 右 */ .com-right{ width: 260px; padding: 10px 20px; background-color: #fff; overflow: hidden; border-radius: 10px; } .hd1 ,.hd3{ line-height: 42px; font-size: 20px; } .com-right img{ width: 100%; height: 112px; border-radius: 5px; margin-bottom: 20px; } .hd1-list li{ position: relative; line-height: 30px; margin: 0; padding-left: 26px; width: auto; } .hd1-list li span,.hd3-list li span{ display: block; width: 18px; height: 18px; background: #c0cbd6; color: #fff; border-radius: 4px; text-align: center; line-height: 16px; font-size: 12px; position: absolute; left: 0; top: 7px; } .hd1-list li:nth-child(1) span ,.hd3-list li:nth-child(1) span{ background: #0094ff; } .hd1-list li:nth-child(2) span ,.hd3-list li:nth-child(2) span{ background: #0094ff; opacity: 0.7; } .hd1-list li:nth-child(3) span,.hd3-list li:nth-child(3) span{ background: #0094ff; opacity: 0.4; } .hd3-list li{ position: relative; line-height: 30px; margin: 0; padding-left: 26px; width: auto; margin-bottom: 10px; } .hd3 h4{ margin-bottom: 10px; } .hd3 h4::before{ content: ''; width: 4px; height: 20px; background-color: #0094ff; display: block; margin-top: 12px; float: left; margin-right: 10px; } /* 栏目内容结束 */ /* label */ /* 当前页面 */ .column-site{ padding:20px 0; } .column-site span,.column-site li a ,.column-site li i{ color: #999; font-size: 16px; } .column-site li i{ padding: 0 10px ; font-family: "宋体"; } .blue{ background-image: ; width: 100%; display: block; /* background-color: #0094ff; */ overflow: hidden; background-size: 1920px 180px; } .se1{ padding-bottom: 20px; } .column-right .column-right-biaoti { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #ebebeb; } .column-right .column-right-biaoti span{ font-size: 20px; font-weight: 600; } .column-right-list-li a div{ overflow: hidden; margin-bottom: 12px; } .column-right-list-li a div p{ display: block; float: left; font-size: 22px; } .column-right-list-li a div i{ font-size: 12px; float: right; color: #999; margin-top: 8px; } .column-right-list-li a p:nth-child(2){ text-align: justify; font-size: 14px; color: #999; line-height: 20px; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } /* 时间 */ .column-right-list-buttom i ,.column-right-list-buttom ul li a{ color: #999; font-size: 12px; } .column-right-list-buttom ul li a:hover{ color: #077ff9 !important; } .column-right-list-buttom ul li{ display: block; float: left; } .column-top{ width: 1200px; background-color: #fff; margin-bottom: 20px; overflow: hidden; border-radius: 10px; } .column-top .box{ padding: 30px; } .column-top .column-top-biaoti{ margin-bottom: 20px; overflow: hidden; } .column-top .column-top-biaoti span{ font-size: 24px; font-weight: 600; line-height: 30px; display: block; float: left; } .column-top .column-top-biaoti span::before{ content: ''; background-color: #0094ff; width: 4px; height: 24px; display: block; float: left; margin-right: 10px; border-radius: 21px; margin-top: 4px; } .column-top .column-top-cen{ overflow: hidden; border-bottom: solid 1px #ebebeb; padding-bottom: 10px; margin-bottom: 20px; } .column-top .column-top-cen span{ font-size: 16px; border: 1px solid #077ff9; border-radius: 5px; padding: 2px 10px; color: #077ff9; display: block; float: left; margin-right: 20px; } .column-top ul li{ margin-right: 20px; display: block; float: left; margin-bottom: 10px; } .column-top ul li a{ font-size: 16px; line-height: 20px; } .column-top p{ text-align: justify; font-size: 14px; line-height: 2em; color: #888888; } .column-right .box{ background-color: #fff; border-radius: 10px; overflow: hidden; padding: 30px 30px 10px 30px; } /* 右边 */ .column-right{ width: 880px; overflow: hidden; display: block; float: left; margin-right: 20px; } .column-right-list .column-right-list-li { padding-bottom: 20px; margin-bottom: 30px; border-bottom: #ebebeb solid 1px; overflow: hidden; } .column-right-list li a img{ width: 200px; height: 125px; margin-right: 20px; border-radius: 10px; } /* 最新更新 */ .hd2-list li{ line-height: 30px; overflow: hidden; } .hd2-list li a{ float: left; width: 70%; padding-left:10px; background: url(/uploads/image/spimg/ddd.png) no-repeat center left; background-size: 4px 4px; } .hd2-list li i{ font-size: 12px; color: #999; float: right; } /* 热门词条 */ .hd1-tag li { float: left; margin-right: 20px; overflow: hidden; border-radius: 41px; } .hd1-tag li a{ font-size: 14px; line-height: 30px; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } /* 分页 */ .paging{ padding: 30px 0; text-align: center; } .pagination { list-style: none; display: inline-block; padding: 0; margin-top: 10px; } .pagination li { display: inline; text-align: center; } .pagination a { float: left; display: block; font-size: 14px; text-decoration: none; padding: 5px 12px; color: #4a4a4a; margin-left: -1px; border: 1px solid transparent; line-height: 1.5; } .pagination a.active { cursor: default; } .pagination a:active { outline: none; } .modal-4 a { color: #0094ff; margin: 0 5px; padding: 0; width: 30px; height: 30px; line-height: 30px; border-radius: 5px; background-color: #fff; } .modal-4 a.next { -moz-border-radius: 0 50px 50px 0; -webkit-border-radius: 0; border-radius: 5px; border: 0 !important; width: 80px; } .modal-4 a:hover { color: #fff !important; border: 1px solid #077ff9; background-color: #077ff9; } .modal-4 a.active, .modal-4 a:active { background-color: #077ff9; border: 1px solid #077ff9; color: #fff; } /* label结束 */ /* article */ #article-content1{ overflow: hidden; position: relative; } #article-content1 em{ padding: 30px 0; line-height: 20px; } .com-article{ float: left; } .article{ width: 800px; padding: 40px; overflow: hidden; background-color: #fff; margin-right: 20px; border-radius: 10px; } .art1{ text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom:1px solid #f2f2f2; } .art1 .tiem{ margin-top:10px; font-size: 12px; color: #999; } .art1 .tiem a{ color: #999; margin-left: 10px; } .art2{ margin-bottom: 10px; overflow: hidden; /* height: 1000px; */ } .art2 p:nth-child(1){ /* margin-bottom: 0; font-size: 14px; color: #999; */ /*text-indent: 0 !important;*/ } .art2 p{ font-size: 16px; text-indent: 2em; text-align: justify; line-height: 30px; margin-bottom: 12px; } .art2 p img{ margin: 0 auto; display: block; } .art2 b{ /*border-left:4px solid #0094ff;*/ text-indent: 10px !important; display: block; margin-bottom: 16px; font-size: 16px; } .art2 .o{ } .art2 .o .p,.art2 .o .p a{ text-indent: 0 !important; font-size: 12px; color:#999 } .b-ul{ width: 790px; display: flex; flex-wrap: wrap; justify-content: left; margin-bottom: 20px; } .b-ul li{ float: left; width: 240px; margin-right: 20px; line-height: 30px; height: 30px; overflow: hidden; margin-bottom: 4px; padding-left: 10px; text-indent: 5px; background: url(/uploads/image/spimg/yq.png) no-repeat center left; } .b-ul li:nth-child(3n){ margin-right: 0 } .art3 { display: flex; } .art3 p{ width: 385px; margin-right: 20px; } .art3 p:nth-child(2n){ text-align: right; margin-right: 0px; } .art3 p:nth-child(3n){ margin-bottom: 0; } /* 相关阅读 */ .com-read{ width: 800px; margin-top: 20px; padding: 30px 40px 40px 40px ; background-color: #fff; border-radius: 10px; overflow: hidden; } .read{ margin-bottom: 30px; padding-bottom: 15px; border-bottom:1px solid #ebebeb ; } .read2 li a.img, .read1 li a.img{ width: 200px; display: block; border-radius: 8px; overflow: hidden; float: left; margin-right: 20px; } .read2 li a.img img,.read1 li .img img{ width: 100%; } .read2 li .d-a a,.read1 li .d-a a{ font-size: 18px; overflow: hidden; line-height: 30px; font-weight: bold; } .read2 li p,.read1 li p{ text-align: justify; color: #666; font-size: 14px; line-height: 20px; overflow: hidden; margin: 6px 0; } .read2 li .d-a .read-tiem a,.read1 li .d-a .read-tiem a{ font-size: 12px !important; color: #999; margin-right: 10px; font-weight: normal !important; max-width: 200px; height: 24px; display: inline-block; line-height: 24px; } .read2 li,.read1 li{ padding-bottom: 20px; margin-bottom: 20px; border-bottom:1px solid #f8f8f8; } .read1 li:nth-child(5){ margin-bottom: 0 !important; border: 0; padding-bottom:0 !important; } /*article结束 */ /* 网站地图 */ .map-top{ display: flex; margin-top: 30px; overflow: hidden; justify-content: center; } .map-top ul li a{ margin-left: 30px; font-size: 20px; } .map1{ overflow: hidden; } .column-map-biaoti{ margin-top: 40px; margin-bottom: 14px; } .column-map-biaoti span{ font-size: 20px; } .column-map-biaoti span::before{ content: ''; background-color: #077ff9; width: 4px; height: 15px; display: block; float: left; margin-top: 2.5px; margin-right: 10px; } .column-map-list{ background-color: #fff; margin-bottom: 20px; overflow: hidden; border-radius: 10px; } .column-map-list .box{ padding: 20px; overflow: hidden; } .column-map-list ul li{ display: block; float: left; } .column-map ul li a{ line-height: 38px; padding-right: 20px; } /* /网站地图 */