body{ font-size: 14px; overflow-x: hidden; } a{ text-decoration: none; } .not-roll{ overflow: hidden; } .wrap{ width: 1200px; margin: 0 auto; } /* 头部 */ .header-img img{ display: block; width: 100%; } /* 导航 */ .header-nav{ background-color: #C90303; } .header-nav ul{ display: flex; justify-content: space-around; } .header-nav ul li{ flex: 1; position: relative; } .header-nav li a{ display: block; color: #fff; font-weight: bold; text-align: center; height: 40px; line-height: 40px; } .header-nav li:hover>a{ color: #ffff00; background-color: #FF1111; } .header-nav>ul>li>a>span{ display: none; } /* 二级导航 */ .nav-secondLevel{ position: absolute; top: 50px; left: -20px; width: calc(100% + 40px); z-index: 100; background-color: #C90303; flex-wrap: wrap; } .header-nav .nav-secondLevel li{ width: 100%; flex: auto; } .header-nav .nav-secondLevel li a{ height: 40px; line-height: 40px; border-bottom: 1px solid #D20000; } /* 三级导航 */ .nav-threeLevel{ position: absolute; top: 0; left: 100%; width: 300px; display: flex; flex-wrap: wrap; background-color: #FF1111; } .header-nav .nav-threeLevel li{ width: 50%; flex: auto; } .header-nav .nav-threeLevel li a:hover{ background-color: #FF4A4A; } .header-nav>ul ul{ display: none; } .header-nav>ul>li:hover .nav-secondLevel, .nav-secondLevel li:hover .nav-threeLevel{ display: flex; } /* 底部 */ .footer-mesg{ background-color: #C90303; color: #fff; text-align: center; line-height: 34px; padding: 12px 0; } .footer-mesg a{ color: #fff; text-decoration: underline; } .footer-mesg span{ margin: 0 8px; } /* 返回顶部 */ .top{ width: 50px; height: 50px; line-height: 50px; position: fixed; bottom: 20px; right: 20px; background: rgba(0,0,0,0.28); border-radius: 5px; z-index: 100; text-align: center; display: none; } .top img{ width: 65%; vertical-align: middle; } /* 轮播 */ .swiper-pagination-bullet{ width: 10px; height: 10px; background-color: #fff; opacity: 1; } .swiper-button-next, .swiper-button-prev{ opacity: 0; } .swiper-container:hover .swiper-button-next, .swiper-container:hover .swiper-button-prev{ opacity: 1; } /* 飘窗 */ .close_btn:hover{ cursor: pointer; color: #ff0000; } /* 列表页 */ .content-list-wrap{ margin-bottom: 10px; } .content-part{ display: flex; justify-content: space-between; } .content-left{ width: 200px; background-color: #F1F2F2; margin-right: 10px; margin-bottom: 10px; } .content-left h2{ text-align: center; } .content-left h2{ color: #fff; background-color: #C90303; height: 40px; line-height: 40px; font-size: 14px; padding: 0 5px; } .content-left h2 a{ color: #fff; float: right; font-size: 13px; } .content-left-list{ padding: 0 15px; } .content-left-list li a{ box-sizing: border-box; display: block; line-height: 40px; border-bottom: 1px solid #ccc; font-weight: bold; text-align: center; } .content-left-current a{ color: #FF1111; } .content-right{ flex: auto; width: 80%; } /* 面包屑 */ .crumbs{ width: 100%; line-height: 36px; padding: 0 25px; } .crumbs a:hover { color: #ffff00; } /* 列表 */ .list-wrap{ margin-top: 10px; } .list-wrap li{ padding: 0 35px; } .list-wrap li>a{ display: block; line-height: 42px; line-height: 42px; overflow: hidden; border-bottom: 1px dashed #ccc; } .list-wrap .list-title{ width: calc(100% - 160px); float: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .list-wrap .list-time{ float: right; } /* 分页 */ .list-page{ padding: 20px 0; text-align: center; } /* 正文页 */ .article-wrap{ padding: 0 20px 20px; } .article-title{ text-align: center; font-size: 24px; line-height: 50px; margin: 30px 0; } .article-mesg{ color: #999; text-align: center; } .article-mesg p{ display: inline-block; } .article-mesg span{ margin-right: 30px; } .article-main{ font-size: 16px; margin-top: 35px; } .article-main p{ line-height: 36px; word-break: break-all; } .article-main img{ width: auto !important; height: auto !important; max-width: 100%; margin: 10px auto; cursor: default; } /* 目录页 */ .catalog { padding: 16px 0 16px; } .catalog-item { margin-bottom: 20px; } .catalog-title { font-size: 14px; border-bottom: 1px solid #C90303; line-height: 34px; margin: 0 25px; } .catalog-title a { font-weight: normal; float: right; } .catalog-item .content-wrap-list { padding: 0; } .content-img-list { display: flex; margin: 12px 25px 0; } .content-img-list li { box-sizing: border-box; width: 33.3%; } .content-img-list li a{ box-sizing: border-box; display: block; margin: 0 12px; } .content-img-list li img { width: 100%; } .content-img-list-imgWrap { border: 1px solid #CCCCCC; padding: 6px; background-color: #F7F7F7; overflow: hidden; } .content-img-list li img { transition: all .3s; } .content-img-list li:hover img { transform: scale(1.3); } .content-img-list li p { text-align: center; line-height: 26px; margin: 10px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .catalog-item .list-wrap{ margin: 0; } /* 图文列表 */ .list-pic .content-img-list { margin-top: 25px; flex-wrap: wrap; } .list-pic .content-img-list li { width: 25%; margin-bottom: 15px; } .list-pic .content-img-list-imgWrap { padding: 10px; } .no-data { text-align: center; margin: 100px 0px; } .qrcode-warp { text-align: center; font-size: 14px; margin: 20px auto; } .qrcode-warp canvas { max-width: 128px; max-height: 128px; } .qrcode-warp-desc { margin-top: 5px; } .sidebar{ position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 10; } .sidebar-left { left: 0; right: auto; } .sidebar img{ display: block; } .sidebar-close{ float: right; padding: 5px 10px; } /* 全部页面变灰 */ /* html { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); _filter:none; } */