html,
body{
max-width: 100%;
overflow-x: hidden;
}
body{
font-size: 14px;
}
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;
} */
/* 旧二级学院头部:官方校徽 + 规范学院名称 */
.header-img.legacy-college-brand{
min-height: 112px;
display: flex;
align-items: center;
}
.legacy-college-brand-link{
display: flex;
align-items: center;
gap: 18px;
color: #8C0000;
}
.legacy-college-brand-link:hover{
color: #8C0000;
}
.legacy-college-brand-logo{
width: auto !important;
height: 72px;
object-fit: contain;
}
.legacy-college-brand-copy{
display: flex;
flex-direction: column;
gap: 7px;
padding-left: 18px;
border-left: 1px solid rgba(140,0,0,.22);
line-height: 1.12;
}
.legacy-college-brand-copy strong{
font-family: "Noto Serif SC", "STZhongsong", "Songti SC", serif;
font-size: 30px;
font-weight: 700;
letter-spacing: .08em;
white-space: nowrap;
}
.legacy-college-brand-copy em{
color: #666;
font-family: Arial, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: 700;
letter-spacing: .16em;
white-space: nowrap;
}
@media (max-width: 680px){
.header-img.legacy-college-brand{min-height:86px}
.legacy-college-brand-link{gap:10px}
.legacy-college-brand-logo{height:50px}
.legacy-college-brand-copy{padding-left:10px;gap:4px}
.legacy-college-brand-copy strong{font-size:21px;letter-spacing:.03em}
.legacy-college-brand-copy em{font-size:8px;letter-spacing:.08em}
}
/* 历史文章与组件中可能存在空图片占位,统一隐藏,避免破图图标和空白占位。 */
img[src=""],
img[src="#"],
img:not([src]) {
display: none !important;
}
/* Word 导入及正文图片居中样式 */
.image-style-align-center {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}
figure.image.image-style-align-center {
text-align: center;
}
figure.image.image-style-align-center > img,
figure.image.image-style-align-center img {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* 富文本上传 PDF:所有站点正文容器统一按内容区全宽显示 */
figure.space-editor-pdf-viewer,
figure[data-space-pdf="true"] {
display: block !important;
width: 100% !important;
max-width: 100% !important;
margin: 24px 0 !important;
float: none !important;
text-indent: 0 !important;
}
iframe.space-editor-pdf-frame {
display: block !important;
width: 100% !important;
max-width: 100% !important;
height: 72vh !important;
min-height: 520px;
max-height: 760px;
border: 1px solid #dcdfe6;
border-radius: 4px;
background: #f7f8fa;
box-sizing: border-box;
}
@media (max-width: 768px) {
iframe.space-editor-pdf-frame {
height: 60vh !important;
min-height: 420px;
max-height: 520px;
}
}