| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573 |
- 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;
- }
- }
|