@charset "utf-8"; body { background-color: #f8f8f8; padding-top: 1.3rem; } .banner { width: 100%; position: relative; } .banner img { display: block; width: 100%; } /* 分页开始 */ .pagination { text-align: center; font-size: 0; padding-top: 0.5rem; } .pagination a { display: inline-block; border: 1px solid #dcdcdc; padding: 0 0.12rem; height: 0.35rem; line-height: 0.35rem; font-size: 0.14rem; text-align: center; color: #666; margin: 0 0.07rem; } .pagination a.active { background: #034ea1; color: #fff; border: 1px solid #034ea1; } .pagination a:hover { background: #034ea1; color: #fff; border: 1px solid #034ea1; } .pagination span { display: inline-block; font-size: 0.14rem; } /* 分页结束 */ .nymain { position: relative; padding-top: 0.4rem; padding-bottom: 0.5rem; } .nymain>div { align-items: flex-start; } .nymain .leftNav { width: 2.5rem; box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15); position: relative; background: #fff; background-size: 100% auto; } .nymain .leftNav>h2 { color: #fff; background: #034ea1; font-family: "sySong"; font-size: 0.28rem; overflow: hidden; text-align: center; line-height: 0.9rem; } .nymain .leftNav>ul { padding-bottom: 0.5rem; } .nymain .leftNav>ul>li { position: relative; } .nymain .leftNav>ul>li:first-child { border-top: none; } .nymain .leftNav ul li a { display: block; font-size: 0.2rem; line-height: 0.7rem; padding: 0 0.35rem; border-bottom: 1px solid rgba(204, 204, 204, 0.2); position: relative; overflow: hidden; } .nymain .leftNav>ul>li.on>a, .nymain .leftNav>ul>li.active>a { color: #034ea1; } .nymain .leftNav>ul>li.on>a::after, .nymain .leftNav>ul>li.active>a::after { visibility: visible; opacity: 1; } .nymain .leftNav ul li.active ul { display: block; } .nymain .leftNav ul li a:hover { color: #034ea1; } .nymain .leftNav>ul>li>ul { display: none; padding-right: 0; background-color: rgba(255, 255, 255, 0.5); padding-left: 0.2rem; padding-top: 0.1rem; padding-bottom: 0.1rem; } .nymain .leftNav>ul>li>ul>li>a { font-size: 0.15rem; line-height: 0.45rem; } .nymain .leftNav>ul>li>ul>li.on>a { color: #034ea1; } .ny-right { width: calc(100% - 3.18rem); min-height: 400px; margin-bottom: 40px; position: relative; } .position { align-items: center; padding-bottom: 0.15rem; line-height: 0.4rem; border-bottom: 1px solid rgba(204, 204, 204, 0.5); } .position h3 { font-size: 0.28rem; color: #000; padding-left: 0.3rem; position: relative; } .position h3::after { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0.05rem; height: 0.27rem; background: #034ea1; } .position>div { font-size: 0; } .position img { vertical-align: middle; margin-right: 0.05rem; width: 0.19rem; height: 0.16rem; } .position span { color: #666; font-size: 0.16rem; vertical-align: middle; } .position a { font-size: 0.16rem; color: #666; margin: 0 0.05rem; vertical-align: middle; } .position a:hover { color: #0a5ead; } /* 列表页 */ .text-list ul li { padding: 0 0.3rem; line-height: 0.7rem; background-color: #fff; font-size: 0.18rem; display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 0.2rem; position: relative; z-index: 1; } .text-list ul li a { width: calc(100% - 1.5rem); display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .text-list ul li .date { font-size: 0.14rem; color: #999; } .text-list ul li .date span { font-size: 0.24rem; font-weight: bold; color: #034ea1; padding-right: 0.05rem; } .text-list ul li:hover { background: #034ea1; } .text-list ul li:hover::after { display: block; } .text-list ul li:hover a { color: #fff; } .text-list ul li:hover .date { color: rgba(255, 255, 255, 0.8); } .text-list ul li:hover .date span { color: #fff; } /* 内容页 */ .art-main .art-tit h3 { text-align: center; color: #000; font-weight: normal; font-size: 0.28rem; margin-top: 0.5rem; } .art-main .cont-tit p { font-size: 0; text-align: center; padding-top: 0.2rem; padding-bottom: 0.2rem; line-height: 0.22rem; border-bottom: 1px dashed rgba(204, 204, 204, 0.5); } .art-main .cont-tit p span { display: inline-block; vertical-align: middle; font-size: 0.16rem; color: #999; margin: 0 0.15rem; } .art-main .art-body { padding-top: 0.3rem; } .art-main .art-body p { color: #333333; text-indent: 2em; font-size: 0.16rem; line-height: 0.34rem; margin-bottom: 0.2rem; } .art-main .art-body img { max-width: 80% !important; display: block; margin: 0 auto; } .art-info { border-top: 1px dashed #e1e1e1; margin-top: 0.5rem; padding-top: 0.2rem; } .pnext p { text-indent: initial; font-size: 0.16rem; line-height: 0.26rem; margin-top: 0.1rem; } .pnext p:first-child { margin-top: 0; } .pnext p a { font-size: 0.16rem; } .pnext p:hover { color: #034ea1; text-decoration: underline; } .pnext p:hover a { color: #034ea1; text-decoration: underline; } /* 图文列表页 start */ .tw ul li a { overflow: hidden; padding: 0.3rem; background-color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 0.45rem; transition: all 0.3s; } .tw ul li .imgList-pic { width: 3.3rem; overflow: hidden; } .tw ul li .imgList-pic .pic { padding-top: 60.6%; } .tw ul li .imgList-info { width: calc(100% - 3.65rem); } .tw ul li.on .imgList-info { width: 100%; } .tw ul li .imgList-info .date { display: inline-block; font-size: 0.14rem; color: #999; background: url(../images/rl1.png) no-repeat left center; padding-left: 0.35rem; } .tw ul li .imgList-info .date span { font-size: 0.24rem; font-weight: bold; color: #034ea1; padding-right: 0.05rem; } .tw ul li .imgList-info h3 { font-size: 0.18rem; line-height: 0.32rem; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all 0.3s; margin-top: 0.15rem; } .tw ul li .imgList-info p { font-size: 0.16rem; line-height: 0.24rem; max-height: 0.48rem; color: #999; margin-top: 0.1rem; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; transition: all 0.3s; } .tw ul li a:hover { background: #034ea1; } .tw ul li a:hover .date { background-image: url(../images/rl2.png); color: rgba(255, 255, 255, 0.8); } .tw ul li a:hover .date span { color: #fff; } .tw ul li a:hover .imgList-info h3 { color: #fff; } .tw ul li a:hover .imgList-info p { color: rgba(255, 255, 255, 0.6); } .tw ul li a:hover .pic img { transform: scale(1.1); } /* 图文列表页 end */ /* 图片列表 */ .img-lists ul { overflow: hidden; margin-left: -2%; margin-right: -2%; } .img-lists ul li { float: left; width: 29%; margin: 0.4rem 2% 0 2%; border: 1px solid #eee; transition: all 0.3s; position: relative; top: 0; } .img-lists ul li:hover { box-shadow: 0 0 10px rgba(51, 51, 51, 0.16); top: -10px; } .img-lists ul li a { display: block; width: 100%; } .img-lists ul li a .pic { padding-top: 61%; } .img-lists ul li a>img { display: block; width: 100%; height: 7.96rem; } .img-lists ul li a>div.info { padding: 0.1rem; font-size: 0; text-align: center; } .img-lists ul li a>div.info p { color: #333; font-size: 0.16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; } .img-lists ul li:hover a>div.info p { color: #034ea1; } /* 师资列表 */ .sz-list ul li a { overflow: hidden; padding: 0.3rem; background-color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 0.45rem; transition: all 0.3s; position: relative; } .sz-list ul li .imgList-pic { width: 3.5rem; } .sz-list ul li .imgList-pic .pic { padding-top: 65.71%; } .sz-list ul li .imgList-info { width: calc(100% - 4rem); } .sz-list ul li .imgList-info h3 { font-size: 0.24rem; font-weight: bold; line-height: 0.4rem; } .sz-list ul li .imgList-info h4 { font-size: 0.18rem; line-height: 0.4rem; border-bottom: 1px dashed #e5e5e5; } .sz-list ul li .imgList-info p { margin-top: 0.1rem; font-size: 0.16rem; line-height: 0.28rem; height: 0.84rem; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; } .sz-list ul li .imgList-info>img { display: block; float: right; margin-top: 0.2rem; transition: all 0.3s; } .sz-list ul li:hover a { box-shadow: 4.95px 4.95px 25px 0px rgba(17, 87, 138, 0.3); } .sz-list ul li:hover a .imgList-info h3 { color: #0a5ead; } .sz-list ul li:hover a .pic img { transform: scale(1.1); } .sz-list ul li:hover a .imgList-info>img { margin-right: 0.05rem; } .sz-list ul li:hover a::after { visibility: visible; opacity: 1; } @media screen and (max-width: 1024px) { .sz-list ul li .imgList-pic { width: 2.5rem; } .sz-list ul li .imgList-info { width: calc(100% - 3rem); } } @media screen and (max-width: 900px) {} @media screen and (max-width: 768px) { .nymain { padding-top: 0.2rem; } .nymain .leftNav { width: 100%; background-image: none; } .nymain .leftNav>h2 { height: auto; line-height: 0.54rem; font-size: 0.2rem; text-align: left; padding-left: 0.2rem; font-weight: 600; color: #fff; background: #034ea1; } .nymain .leftNav>h2 span { float: right; width: 0.5rem; height: 0.54rem; background: url(../images/sub_left_down2.png) no-repeat center center; cursor: pointer; } .nymain .leftNav ul { display: none; padding-bottom: 0; } .nymain .leftNav ul li a { line-height: 0.5rem; font-size: 0.18rem; } .position h3 { display: none; } .ny-right { width: 100%; margin-top: 0.3rem; } .text-list ul li { padding: 0 0.2rem; line-height: 0.6rem; } .text-list ul li::after { height: 0.6rem; } .art-main .art-tit h3 { font-size: 0.24rem; } .pnext p, .pnext p a { font-size: 0.18rem; } .tw ul li .imgList-pic { width: 2.5rem; } .tw ul li .imgList-info { width: calc(100% - 2.8rem); } .tw ul li a { margin-top: 0.3rem; } } @media screen and (max-width: 640px) {} @media screen and (max-width: 480px) { .tw ul li .imgList-pic { margin: 0 auto; } .tw ul li .imgList-info { width: 100%; } .sz-list ul li .imgList-pic { margin: 0 auto; } .sz-list ul li .imgList-info { width: 100%; } .sz-list ul li a { margin-top: 0.2rem; } .sz-list ul li .imgList-info h3, .sz-list ul li .imgList-info h4 { text-align: center; } .sz-list ul li .imgList-info h4 { line-height: 0.26rem; padding-bottom: 0.1rem; } .sz-list ul li .imgList-info>img { height: 0.15rem; } .img-lists ul li { width: 46%; } } @media screen and (max-width: 375px) {} @media screen and (max-width: 320px) {}