| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924 |
- :root{--red:#9b1a30;--text:#222;--muted:#7f8993;--line:#e4e3e0;--page:min(1200px,calc(100vw - 40px))}
- *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:#fff;font-family:Arial,Helvetica,"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;line-height:24px}
- button,input{font:inherit}.hero-head{--hero-bg:url("news-red/hero-building.jpg");height:405px;color:#fff;background:linear-gradient(90deg,rgba(143,12,33,.92),rgba(153,29,48,.72)),var(--hero-bg) center center/cover no-repeat;position:relative;overflow:hidden}
- .head-inner{width:var(--page);height:100%;margin:auto;position:relative;padding-top:132px}.brand{font-size:62px;letter-spacing:3px;white-space:nowrap}.brand small{font-size:39px;margin-left:28px;letter-spacing:1px}.motto{margin-top:42px;display:flex;gap:46px;font-size:25px;letter-spacing:8px}.top-links{position:absolute;top:38px;right:0;font-family:Arial,sans-serif;font-size:18px;opacity:.92}.top-links a{color:#fff;text-decoration:none}.top-links b{padding:0 18px;font-weight:normal}.search{position:absolute;right:0;top:105px;width:485px;height:76px;background:#fff;border-radius:42px;display:flex;align-items:center;padding:0 28px;color:#9aa0a7;font-family:Arial,sans-serif}.search input{border:0;outline:0;flex:1;font-size:20px;color:#555;background:transparent}.search button{border:0;background:none;color:var(--red);font-weight:700;cursor:pointer}.slogan{position:absolute;right:32px;bottom:86px;font-size:27px;line-height:1.75;letter-spacing:7px;text-align:center}
- .main-nav{height:115px;border-bottom:1px solid var(--line);background:#fff}.main-nav ul{width:var(--page);height:100%;margin:auto;padding:0;display:flex;align-items:center;justify-content:center;gap:74px;list-style:none} .main-nav a{display:flex;align-items:center;height:100%;padding:0 4px;border-bottom:5px solid transparent;color:#253344;font-size:25px;text-decoration:none;white-space:nowrap}.main-nav a.active,.main-nav a:hover{color:var(--red);border-color:var(--red)}
- main{width:var(--page);margin:0 auto;padding-bottom:78px}.section{margin-top:57px}.section-title{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:17px;position:relative}.section-title:before{content:"";width:10px;height:43px;background:var(--red);display:block}.section-title h2{margin:0;font-size:36px;font-weight:500;letter-spacing:1px}.section-title em{font:18px Arial,sans-serif;color:#8a9097;letter-spacing:1px;font-style:normal}.more{margin-left:auto;color:#8a929b;text-decoration:none;font-size:21px}.more:hover{color:var(--red)}
- .feature{display:grid;grid-template-columns:1fr 1fr;gap:43px;margin-top:34px}.feature-image{width:100%;aspect-ratio:1090/427;object-fit:cover;display:block}.feature-copy{padding-top:2px}.news-list,.plain-list{list-style:none;margin:0;padding:0}.news-list li,.plain-list li{border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;min-height:72px;font-size:22px;cursor:pointer;transition:.2s}.news-list li:hover,.plain-list li:hover{color:var(--red);padding-left:7px}.news-list time,.plain-list time{margin-left:auto;color:#9299a2;font:18px Arial,sans-serif;white-space:nowrap}.feature-caption{padding-top:32px}.feature-caption .tag{color:#b73849;font:18px Arial,sans-serif;letter-spacing:2px}.feature-caption h3{font-size:28px;font-weight:500;margin:20px 0 12px}.feature-caption p{margin:0;color:#8e9298;font-size:18px}
- .two-col{display:grid;grid-template-columns:1fr 1fr;gap:62px}.sub-list li{display:block;padding:24px 0 20px;min-height:0}.sub-list li strong{font-size:21px;font-weight:500}.sub-list li span{display:block;color:#9ba0a6;font-size:16px;margin-top:11px}.sub-list li time{float:right;margin-top:-23px}
- .media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;margin-top:34px}.media-card{display:block;color:inherit;text-decoration:none;background:#f4f4f1;cursor:pointer;transition:.2s}.media-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(54,31,31,.1)}.media-card img{display:block;width:100%;aspect-ratio:733/296;object-fit:cover}.media-card .meta{padding:22px 27px 28px}.media-card .meta small{color:#ac3341;font-size:17px}.media-card h3{font-size:25px;font-weight:500;margin:13px 0 10px}.media-card time{color:#9299a2;font:18px Arial,sans-serif}
- .bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:62px}.download-box{background:#f5f5f2;padding:0 44px 25px}.download-box .section-title{border-bottom:1px solid #deded9}.download-row{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid #deded9;color:inherit;text-decoration:none;cursor:pointer}.download-row:hover{color:var(--red)}.download-row strong{display:block;font-size:21px;font-weight:500}.download-row small{display:block;color:#9299a2;font:17px Arial,sans-serif;margin-top:8px}.download-row span{color:#8b9098;font-size:18px}
- .toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:rgba(43,49,57,.92);color:#fff;padding:13px 22px;border-radius:4px;font:16px Arial,sans-serif;transition:.25s;z-index:5}.toast.show{opacity:1;transform:translate(-50%,0)}.modal{position:fixed;inset:0;background:rgba(0,0,0,.38);display:none;align-items:center;justify-content:center;z-index:4}.modal.show{display:flex}.dialog{width:min(680px,calc(100vw - 40px));background:#fff;padding:32px 36px 36px;box-shadow:0 16px 50px rgba(0,0,0,.2)}.dialog h3{margin:0 0 16px;color:var(--red);font-size:27px;font-weight:500}.dialog p{margin:0 0 26px;line-height:1.8;font-size:18px}.dialog button{border:0;background:var(--red);color:#fff;padding:10px 24px;cursor:pointer}
- @media (min-width:901px) and (max-width:1600px){
- .hero-head{height:234px}
- .head-inner{padding-top:76px}
- .brand{font-size:36px;letter-spacing:1.7px}
- .brand small{font-size:23px;margin-left:16px}
- .motto{margin-top:24px;gap:26px;font-size:15px;letter-spacing:4px}
- .top-links{top:22px;font-size:15px}
- .top-links b{padding:0 15px}
- .search{top:61px;width:300px;height:44px;border-radius:22px;padding:0 18px}
- .search input{font-size:14px}
- .slogan{right:18px;bottom:50px;font-size:16px;letter-spacing:4px}
- .main-nav{height:66px}
- .main-nav ul{gap:38px}
- .main-nav a{font-size:18px;border-bottom-width:3px}
- main{padding-bottom:45px}
- .section{margin-top:43px}
- .section#campus{margin-top:33px}
- .section-title{height:70px;gap:10px}
- .section-title:before{width:6px;height:32px}
- .section-title h2{font-size:24px;line-height:26.4px}
- .section-title em{font-size:12px;line-height:18px}
- .more{font-size:14px;line-height:21px}
- .feature{gap:36px;margin-top:22px}
- .news-list li,.plain-list li{min-height:72px;gap:16px;font-size:16px;line-height:24px}
- .news-list time,.plain-list time{font-size:16px;line-height:24px;color:#7f8993}
- .feature-caption{padding-top:16px}
- .feature-caption .tag{font-size:13px;line-height:19.5px}
- .feature-caption h3{font-size:24px;line-height:1.3;margin:10px 0 8px}
- .feature-caption p{font-size:16px;line-height:24px;color:#7f8993}
- .two-col{gap:36px}
- .sub-list li{padding:20px 0 16px}
- .sub-list li strong{font-size:16px;line-height:24px}
- .sub-list li span{font-size:14px;line-height:21px;margin-top:6px;color:#7f8993}
- .sub-list li time{font-size:14px;line-height:21px;margin-top:-21px}
- .media-grid{gap:24px;margin-top:22px}
- .media-card{background:#f3f2ef}
- .media-card .meta{padding:16px 18px 18px}
- .media-card .meta small{font-size:12px;line-height:18px}
- .media-card h3{font-size:16px;line-height:24px;margin:4px 0 6px}
- .media-card time{font-size:14px;line-height:21px;color:#7f8993}
- .bottom-grid{gap:36px}
- .download-box{padding:0 28px 16px;background:#f5f4f1}
- .download-row{gap:10px;padding:16px 0}
- .download-row strong{font-size:16px;line-height:24px}
- .download-row small{font-size:14px;line-height:21px;margin-top:5px;color:#7f8993}
- .download-row span{font-size:14px;line-height:21px}
- .news-list-layout{gap:36px}
- .news-sidebar-title{font-size:22px;line-height:1.4;font-weight:600}
- .news-sidebar-links a{min-height:43.6px;padding:10px 12px;font-size:16px;line-height:21.6px}
- .news-list-head{padding-bottom:10px;margin-bottom:22px}
- .news-list-head h1{font-size:26px;line-height:31.2px}
- .news-list-head span{font-size:14px;line-height:21px}
- .article-list a{gap:24px;padding:20px 0;font-size:16px;line-height:24px}
- .article-list time{flex:0 0 112px;font-size:16px;line-height:24px;color:#7f8993}
- .article-list strong{font-size:19px;line-height:28.5px;font-weight:600}
- .article-list p{margin:4px 0 0;font-size:14px;line-height:21.7px;color:#7f8993}
- .article-list-media{gap:24px}
- .article-list-media .article-copy{padding:16px 18px 18px}
- .article-list-media strong{font-size:16px;line-height:24px}
- .news-pagination a{font-size:14px;line-height:21px}
- .article-detail-body{margin-top:24px;font-size:17px;line-height:2.05}
- .dialog h3{font-size:18px}
- .dialog p{font-size:14px;line-height:24px}
- .dialog button{font-size:14px;padding:8px 18px}
- }
- @media (max-width:900px){:root{--page:calc(100vw - 36px)}.hero-head{height:320px}.head-inner{padding-top:108px}.brand{font-size:32px}.brand small{font-size:22px;margin-left:8px}.motto{margin-top:25px;gap:17px;font-size:15px;letter-spacing:3px}.top-links{top:18px;right:0;font-size:12px}.search{top:57px;width:250px;height:42px;padding:0 15px}.search input{font-size:14px}.slogan{right:0;bottom:25px;font-size:16px;letter-spacing:3px}.main-nav{height:72px}.main-nav ul{justify-content:flex-start;gap:20px;overflow:auto}.main-nav a{font-size:15px;white-space:nowrap}.section{margin-top:30px}.section-title{height:49px;gap:8px}.section-title:before{width:6px;height:27px}.section-title h2{font-size:23px}.section-title em{font-size:12px}.more{font-size:13px}.feature,.two-col,.bottom-grid{grid-template-columns:1fr;gap:28px}.feature{margin-top:20px}.news-list li,.plain-list li{min-height:48px;font-size:15px}.news-list time,.plain-list time{font-size:12px}.feature-caption{padding-top:3px}.feature-caption .tag{font-size:12px}.feature-caption h3{font-size:23px;margin:8px 0 7px}.feature-caption p{font-size:14px}.sub-list li strong{font-size:15px}.sub-list li span{font-size:12px;margin-top:6px}.sub-list li time{font-size:12px;margin-top:-17px}.media-grid{grid-template-columns:1fr;gap:18px;margin-top:20px}.media-card .meta{padding:14px 17px 18px}.media-card .meta small{font-size:12px}.media-card h3{font-size:18px;margin:4px 0 7px}.media-card time{font-size:12px}.download-box{padding:0 18px 16px}.download-row{padding:14px 0}.download-row strong{font-size:15px}.download-row small,.download-row span{font-size:12px}.dialog{padding:24px}.dialog h3{font-size:22px}.dialog p{font-size:15px}}
- .feature-image-link{display:block;color:inherit;text-decoration:none}.news-list a,.plain-list a{display:flex;align-items:center;gap:18px;width:100%;color:inherit;text-decoration:none}.sub-list li a{display:block;width:100%;color:inherit;text-decoration:none}.empty-line{padding:24px 0;color:#9299a2;font-size:18px}
- .news-list-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:36px;align-items:start}.news-sidebar{min-width:0}.news-sidebar-media{position:relative;aspect-ratio:3/1;overflow:hidden;background:#eef1f4}.news-sidebar-media img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.72)}.news-sidebar-media:after{position:absolute;inset:0;content:"";background:rgba(0,0,0,.14)}.news-sidebar-title{position:absolute;inset:auto 18px 16px;z-index:1;color:#fff;font-size:22px;font-weight:600;line-height:1.4;text-shadow:0 1px 3px rgba(0,0,0,.34)}.news-sidebar-links{display:grid}.news-sidebar-links a{display:block;min-height:43.6px;padding:10px 12px;color:#333;background:#f7f7f7;border-bottom:1px solid #e5e7eb;border-left:3px solid transparent;font-size:16px;line-height:21.6px;text-decoration:none}.news-sidebar-links a:first-child{border-top:1px solid #e5e7eb}.news-sidebar-links a.active,.news-sidebar-links a:hover{color:var(--red);background:#eee;border-left-color:var(--red)}.news-list-panel{min-width:0}.news-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px;padding-bottom:10px;border-bottom:3px solid var(--red)}.news-list-head h1{margin:0;font-size:26px;font-weight:500;line-height:31.2px}.news-list-head span{color:var(--muted);font:14px/21px Arial,sans-serif}.article-list{list-style:none;margin:0;padding:0}.article-list li{border-bottom:1px solid var(--line)}.article-list a{display:flex;gap:24px;align-items:center;padding:20px 0;color:inherit;font-size:16px;line-height:24px;text-decoration:none}.article-list time{flex:0 0 112px;color:#9299a2;font:16px/24px Arial,sans-serif}.article-list strong{display:block;font-size:19px;font-weight:600;line-height:28.5px}.article-list p{display:-webkit-box;margin:4px 0 0;overflow:hidden;color:#8e9298;font-size:14px;line-height:21.7px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.article-list a:hover strong{color:var(--red)}.article-list-graphic a{align-items:flex-start}.article-list-graphic img{width:210px;aspect-ratio:16/9;object-fit:cover}.article-list-graphic .article-copy{min-width:0;flex:1}.article-list-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:24px 0}.article-list-media li{border:0}.article-list-media a{display:block;padding:0;background:#f5f5f2}.article-list-media img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.article-list-media .article-copy{padding:16px 18px 20px}.article-list-media strong{font-size:18px}.news-pagination{display:flex;justify-content:center;gap:8px;margin-top:26px}.news-pagination a{display:grid;place-items:center;min-width:36px;height:36px;padding:0 12px;color:#5d6670;background:#fff;border:1px solid var(--line);text-decoration:none}.news-pagination a.active,.news-pagination a:hover{color:#fff;background:var(--red);border-color:var(--red)}.article-detail-wrap{max-width:1200px;margin:0 auto}.article-detail{padding:28px 34px 34px;background:#fff;border:1px solid var(--line)}.article-detail-header{padding-bottom:20px;border-bottom:1px solid var(--line);text-align:center}.article-detail-title{margin:0;color:#222;font-size:30px;font-weight:600;line-height:1.42}.article-detail-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:16px;color:#8e9298;font-size:14px}.article-detail-body{margin-top:24px;color:#332d28;font-size:17px;line-height:2.05}.article-detail-body>h1:first-child,.article-detail-body>h2:first-child,.article-detail-body .ck-content>h1:first-child,.article-detail-body .ck-content>h2:first-child{text-align:center}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:26px 0}.catalog-card{display:block;padding:24px;color:inherit;background:#f5f5f2;text-decoration:none;border-bottom:4px solid var(--red)}.catalog-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(54,31,31,.1)}.catalog-card strong{font-size:22px;font-weight:500}.catalog-card p{margin:12px 0 0;color:#8e9298;font-size:15px;line-height:1.7}.news-footer{margin-top:56px;padding:34px 0;color:#fff;background:#8f0c21}.news-footer-inner{display:flex;justify-content:space-between;gap:30px;width:var(--page);margin:0 auto}.news-footer p{margin:0 0 8px;line-height:1.7}.news-footer a{color:#fff}.news-breadcrumb{padding:20px 0 0;color:#858d96;font-size:15px}.news-breadcrumb a{color:#5f6872;text-decoration:none}.news-breadcrumb a:hover{color:var(--red)}@media(max-width:900px){.news-list-layout{grid-template-columns:1fr}.news-sidebar{display:none}.article-list-graphic img{width:130px}.article-list-media,.catalog-grid{grid-template-columns:1fr}.article-detail{padding:24px 20px 30px}.article-detail-title{font-size:26px}.news-footer-inner{display:block;width:calc(100vw - 36px)}}
- /* 新闻网-2026 同款底部区域 */
- body.screen-red-theme{--hx-red:#941c1e;--hx-red-dark:#580b0c;--hx-footer-soft:#fff1f1;--hx-top-link:#f6e1e3;--white:#fff}
- .screen-red-theme .footer-top{color:var(--white);background:var(--hx-red);position:relative;overflow:hidden}
- .screen-red-theme .department-footer-top{margin-top:12px}
- .screen-red-theme .footer-top>.wrap,.screen-red-theme .copyright>.wrap{width:min(1200px,calc(100% - 40px));margin:0 auto}
- .screen-red-theme .footer-main{display:grid;grid-template-columns:minmax(300px,1fr) minmax(260px,360px) minmax(300px,1fr);justify-content:stretch;gap:48px;min-height:190px;align-items:center}
- .screen-red-theme .footer-address p{margin:4px 0;color:var(--hx-footer-soft);font-size:13px;line-height:24px}
- .screen-red-theme .footer-logo{height:118px;background:url("/main/ffkj-portal/assets/official/logo.png") center/contain no-repeat}
- .screen-red-theme .footer-logo img{display:block;width:100%;height:100%;object-fit:contain}
- .screen-red-theme .footer-logo-custom{background:none}
- .screen-red-theme .footer-philosophy{justify-self:end;max-width:360px;color:var(--hx-footer-soft);text-align:left}
- .screen-red-theme .footer-philosophy strong{display:block;margin-bottom:12px;color:var(--white);font-size:19px;font-weight:700;letter-spacing:0}
- .screen-red-theme .department-footer-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
- .screen-red-theme .department-footer-link-list a{position:relative;min-width:0;padding-left:12px;overflow:hidden;color:var(--hx-footer-soft);font-size:14px;line-height:1.8;text-overflow:ellipsis;white-space:nowrap}
- .screen-red-theme .department-footer-link-list a::before{content:"";position:absolute;top:50%;left:0;width:4px;height:4px;background:rgba(255,255,255,.76);transform:translateY(-50%)}
- .screen-red-theme .department-footer-link-list a:hover{color:var(--white);text-decoration:none}
- .screen-red-theme .copyright{color:var(--hx-top-link);background:var(--hx-red-dark)}
- .screen-red-theme .copyright .wrap{display:flex;align-items:center;justify-content:center;gap:12px;min-height:40px;font-size:12px}
- .screen-red-theme .copyright a{color:var(--hx-top-link)}
- @media (max-width:1210px){.screen-red-theme .footer-main{grid-template-columns:minmax(260px,1fr) 260px minmax(260px,1fr);gap:30px}.screen-red-theme .footer-philosophy p{font-size:18px}}
- @media (max-width:900px){.screen-red-theme .footer-main{grid-template-columns:1fr;gap:22px}.screen-red-theme .footer-address,.screen-red-theme .footer-philosophy{justify-self:center;max-width:420px;text-align:center}.screen-red-theme .department-footer-link-list{grid-template-columns:1fr;justify-items:center}.screen-red-theme .department-footer-link-list a{max-width:min(320px,86vw)}.screen-red-theme .footer-logo{order:-1;width:min(360px,78vw);justify-self:center}.screen-red-theme .copyright .wrap{flex-direction:column;gap:2px}}
- /* 首页列表记录:降低字号和视觉重量 */
- .news-list li,.plain-list li{font-size:15px;line-height:22.5px;font-weight:400;color:#333}
- .news-list a,.plain-list a{color:inherit;font-weight:400}
- .sub-list li strong,.download-row strong{font-size:15px;line-height:22.5px;font-weight:400;color:#333}
- /* 首页头部:降低高度并修正品牌文字颜色 */
- @media (min-width:901px){
- .hero-head{height:177px}
- .head-inner{padding-top:30px}
- .brand{display:inline-block;color:#fff;text-decoration:none;font-size:24px;line-height:1.2}
- .brand small{font-size:14px;margin-left:10px}
- .motto{margin-top:6px;gap:14px;font-size:11px;line-height:14px;letter-spacing:3px}
- .top-links{top:8px;font-size:11px;line-height:16px}
- .top-links b{padding:0 8px}
- .search{top:28px;width:180px;height:24px;border-radius:12px;padding:0 10px}
- .search input{font-size:11px;line-height:16px}
- .search button{font-size:11px}
- .slogan{right:12px;bottom:22px;font-size:11px;line-height:1.5;letter-spacing:3px}
- .main-nav{height:44px}
- .main-nav ul{gap:30px}
- .main-nav a{font-size:14px;border-bottom-width:2px}
- }
- /* 一线动态、媒体华夏:日期与标题垂直居中 */
- .sub-list li a{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:14px;row-gap:0;align-items:start}
- .sub-list li strong{grid-column:1;grid-row:1;min-width:0}
- .sub-list li time{grid-column:2;grid-row:1;float:none;margin:0;align-self:center;white-space:nowrap}
- .sub-list li span{grid-column:1/-1;grid-row:2}
- /* 融媒头条卡片:底部灰色区严格跟随图片宽度 */
- .media-card{display:grid;grid-template-columns:minmax(0,1fr);background:transparent;overflow:hidden}
- .media-card img{width:100%;max-width:100%;min-width:0}
- .media-card .meta{width:100%;min-width:0;margin:0;background:#f3f2ef}
- /* 主导航:增高、纯黑字体与贴底选中线 */
- @media (min-width:901px){
- .main-nav{height:44px}
- .main-nav ul{align-items:stretch}
- .main-nav li{display:flex;height:100%}
- .main-nav a{height:100%;display:flex;align-items:center;color:#000;border-bottom:2px solid transparent}
- .main-nav a.active,.main-nav a:hover{color:#000;border-bottom-color:var(--red)}
- }
- /* 头部整体等比放大:按221/161比例同步调整红色区和导航 */
- @media (min-width:901px){
- .hero-head{height:161px}
- .head-inner{padding-top:41px}
- .brand{display:inline-block;color:#fff;text-decoration:none;font-size:33px;line-height:1.2}
- .brand small{font-size:19px;margin-left:14px}
- .motto{margin-top:8px;gap:19px;font-size:15px;line-height:19px;letter-spacing:4px}
- .top-links{top:19px;font-size:15px;line-height:22px}
- .top-links b{padding:0 11px}
- .search{top:46px;width:248px;height:33px;border-radius:17px;padding:0 14px}
- .search input{font-size:15px;line-height:22px}
- .search button{font-size:15px}
- .slogan{right:16px;bottom:30px;font-size:15px;line-height:1.5;letter-spacing:4px}
- .main-nav{height:60px}
- .main-nav ul{gap:41px}
- .main-nav a{font-size:19px;border-bottom-width:3px}
- }
- /* 一线动态:记录行高减少约三分之一 */
- #campus-life > div:first-child .sub-list li{height:72px;min-height:72px;padding:19px 0}
- #campus-life > div:first-child .sub-list li strong,
- #campus-life > div:first-child .sub-list li time,
- #campus-life > div:first-child .sub-list li span{line-height:15px}
- #campus-life > div:first-child .sub-list li span{margin-top:4px}
- #campus-life > div:first-child .sub-list li a{row-gap:0}
- /* 栏目辅助文字:更多缩小两号,英文标注收紧字距 */
- .section-title .more{font-size:14px;line-height:21px}
- .section-title em{letter-spacing:.5px}
- /* 融媒头条卡片:锁定图片与灰色内容区为同一精确列宽 */
- .media-card{grid-template-columns:100%;width:100%;max-width:100%;overflow:hidden}
- .media-card img,.media-card .meta{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
- .media-card .meta{margin-left:0;margin-right:0}
- .media-card img{width:100%;height:auto;aspect-ratio:733/296;object-fit:cover;object-position:center}
- /* 宽屏下媒体华夏与一线动态保持72px记录高度 */
- #media .sub-list li{height:72px;min-height:72px;padding:19px 0}
- /* 融媒头条卡片标题和时间:小一号、单行省略 */
- .media-card h3,.media-card time{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
- .media-card h3{font-size:18px;line-height:24px}
- .media-card time{font-size:14px;line-height:21px;position:relative;top:-4px}
- /* 更宽屏下融媒头条灰色内容区固定128px */
- @media (min-width:1601px){
- .media-card .meta{height:128px;box-sizing:border-box}
- }
- /* 首页区块间距追加:校园新闻到双栏增加80px,双栏到融媒头条增加60px */
- @media (min-width:901px) and (max-width:1600px){
- #campus-life{margin-top:93px}
- #multimedia{margin-top:73px}
- }
- @media (min-width:1601px){
- #campus-life{margin-top:107px}
- #multimedia{margin-top:87px}
- }
- /* 下载专栏文章描述缩小一号 */
- .download-row small{font-size:12px;line-height:18px}
- /* 融媒头条视频卡片:类型文字前显示红色播放图标 */
- .media-card .meta small.is-video{display:inline-flex;align-items:center;gap:6px}
- .media-card .meta small.is-video::before{content:"";width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid #d40000}
- /* 校园新闻焦点头条整块上移4px */
- .feature-caption{position:relative;top:-4px}
- /* 手机端:紧凑红色头部、白色标题、搜索收起、三横线侧边导航 */
- .mobile-nav-mask{display:none}
- .mobile-nav-toggle{display:none}
- @media (max-width:900px){
- .hero-head{height:177px}
- .head-inner{width:calc(100vw - 36px);margin:0 auto;padding-top:26px}
- .brand{display:block;max-width:calc(100% - 52px);color:#fff;text-decoration:none;font-size:24px;line-height:1.2;white-space:normal}
- .brand small{font-size:14px;margin-left:6px}
- .motto{margin-top:8px;gap:12px;font-size:12px;line-height:16px;letter-spacing:2px}
- .top-links{display:none}
- .search{display:none}
- .slogan{right:0;bottom:18px;font-size:12px;line-height:1.5;letter-spacing:3px}
- .mobile-nav-toggle{position:absolute;top:17px;right:0;z-index:101;display:flex;width:42px;height:36px;flex-direction:column;justify-content:center;gap:5px;padding:6px 8px;border:0;background:transparent;cursor:pointer}
- .mobile-nav-toggle span{display:block;width:26px;height:2px;background:#fff;transition:transform .2s ease,opacity .2s ease}
- .mobile-nav-toggle.is-open span{background:#222}
- .mobile-nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
- .mobile-nav-toggle.is-open span:nth-child(2){opacity:0}
- .mobile-nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
- .main-nav{position:fixed;top:0;right:0;bottom:0;left:auto;z-index:100;display:block;width:min(82vw,320px);height:100dvh;margin:0;padding:0;background:#fff;border:0;box-shadow:-12px 0 30px rgba(0,0,0,.16);transform:translateX(100%);transition:transform .25s ease;overflow-y:auto}
- .main-nav.is-open{transform:translateX(0)}
- .main-nav ul{display:flex;width:100%;height:auto;margin:0;padding:76px 20px 28px;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;overflow:visible}
- .main-nav li{display:block;height:auto}
- .main-nav a{display:flex;align-items:center;justify-content:flex-start;width:100%;height:auto;min-height:52px;padding:12px 14px;color:#000;border:0;border-bottom:1px solid #ededed;border-left:3px solid transparent;font-size:16px;line-height:24px;text-decoration:none}
- .main-nav a.active{border-bottom-color:#ededed;border-left-color:var(--red);color:#000}
- .mobile-nav-mask{position:fixed;inset:0;z-index:99;display:block;background:rgba(0,0,0,.36);opacity:0;pointer-events:none;transition:opacity .25s ease}
- .mobile-nav-mask.is-open{opacity:1;pointer-events:auto}
- }
- /* 手机端侧边导航内的搜索 */
- .mobile-nav-search-item{display:none}
- @media (max-width:900px){
- .mobile-nav-search-item{display:block;padding:0 0 14px;margin-bottom:8px;border-bottom:1px solid #ededed}
- .mobile-nav-search{display:flex;align-items:center;height:42px;padding:0 12px;background:#f5f5f5;border:1px solid #e5e7eb;border-radius:21px}
- .mobile-nav-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#555;font-size:14px}
- .mobile-nav-search button{border:0;background:transparent;color:var(--red);font-size:14px;font-weight:600;cursor:pointer}
- }
- /* 手机搜索项只能在手机侧边导航中出现 */
- .main-nav .mobile-nav-search-item{display:none}
- @media (max-width:900px){.main-nav .mobile-nav-search-item{display:block;padding:0 0 14px;margin-bottom:8px;border-bottom:1px solid #ededed}}
- /* 手机端头部再压缩并放大右侧标语 */
- @media (max-width:900px){
- .hero-head{height:127px}
- .slogan{font-size:14px}
- }
- /* 手机端标语位于三横线左侧并保留80px间距 */
- @media (max-width:900px){
- .slogan{right:104px}
- }
- /* 手机端三横线放大并保留右侧20px边距 */
- @media (max-width:900px){
- .mobile-nav-toggle{top:21.5px;right:20px;width:50px;height:46px;gap:6px;padding:8px 10px}
- .mobile-nav-toggle span{width:30px;height:3px}
- .mobile-nav-toggle.is-open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
- .mobile-nav-toggle.is-open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
- .slogan{right:72px}
- }
- /* 手机端焦点头条文案距离上方图片20px */
- @media (max-width:900px){
- #campus .feature-caption{padding-top:20px;top:0}
- }
- /* 顶部红色区域改为0.78纯色遮罩,不使用渐变 */
- .hero-head{background:var(--hero-bg) center center/cover no-repeat}
- .hero-head::before{position:absolute;inset:0;z-index:0;background:rgba(143,12,33,.9);pointer-events:none;content:""}
- .hero-head>.head-inner{position:relative;z-index:1}
- /* 列表页左侧媒体区:新闻网反白Logo居中,子栏目保持上级标题 */
- .news-sidebar-caption{position:absolute;inset:auto 18px 16px;z-index:1}
- .news-sidebar-caption .news-sidebar-title{position:static;inset:auto;display:block}
- .news-sidebar-caption.is-news{inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
- .news-sidebar-caption.is-news .news-sidebar-logo{display:block;width:150px;max-width:76%;height:auto}
- /* 新闻网左侧圆形反白标识与文字并排 */
- .news-sidebar-caption.is-news{flex-direction:row;gap:8px;text-align:left}
- .news-sidebar-caption.is-news .news-sidebar-logo{width:34px;height:34px;max-width:none;object-fit:contain}
- /* 新闻网左侧纯白圆形Logo,整组靠左并放大 */
- .news-sidebar-caption.is-news{justify-content:flex-start;text-align:left;padding-left:18px;gap:8px}
- .news-sidebar-caption.is-news .news-sidebar-logo{width:48px;height:48px;max-width:none;object-fit:contain}
- /* 新闻网侧栏Logo尺寸与层级最终调整 */
- .news-sidebar-caption.is-news{z-index:3}
- .news-sidebar-caption.is-news .news-sidebar-logo{position:relative;z-index:4;width:38px;height:38px;max-width:none;object-fit:contain}
- .news-sidebar-caption.is-news .news-sidebar-title{color:#fff}
- /* 圆形Logo不受侧栏图片压暗滤镜影响 */
- .news-sidebar-caption.is-news .news-sidebar-logo{filter:none;opacity:1}
- /* 列表页日期统一放在记录右侧 */
- .article-list time{margin-left:auto;text-align:right}
- .article-list-graphic time{align-self:center;text-align:right}
- .article-list-media time{display:block;margin:0 18px 16px auto;text-align:right}
- /* 列表页底部固定到视口最下方并展示页码分页 */
- body.screen-list-page{min-height:100vh;display:flex;flex-direction:column}
- body.screen-list-page main{flex:1 0 auto}
- body.screen-list-page .footer-top{margin-top:auto}
- .news-pagination{flex-wrap:wrap}
- .news-pagination .page-summary{display:flex;align-items:center;margin-right:auto;color:#7f8993;font-size:14px;line-height:21px}
- .news-pagination .page-arrow,.news-pagination .page-ellipsis{display:grid;place-items:center;min-width:36px;height:36px;padding:0 12px;color:#5d6670;background:#fff;border:1px solid var(--line);text-decoration:none}
- .news-pagination .page-ellipsis{border-color:transparent;background:transparent}
- .news-pagination .page-arrow.is-disabled{color:#b9bec4;cursor:not-allowed}
- /* 2026-09-21:导航吸顶、校园新闻文案截断、一线动态部门字号 */
- @media (min-width:901px){
- .main-nav{position:sticky;top:0;z-index:90}
- }
- #campus .feature-caption h3{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
- #campus .feature-caption p{display:-webkit-box;max-width:100%;max-height:48px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:24px}
- #campus-life > div:first-child .sub-list li strong{font-size:15px;line-height:15px}
- #campus-life > div:first-child .sub-list li span{font-size:14px;line-height:15px}
- @media (min-width:901px){
- #campus .feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
- }
- #campus .feature-image-link,
- #campus .feature-caption,
- #campus .news-list,
- #campus .news-list li,
- #campus .news-list li a{min-width:0}
- @media (min-width:901px){
- #campus .feature-caption{top:0;padding-top:16px}
- #campus .feature-caption h3{padding-top:2px;margin-top:8px}
- }
- #campus .feature-caption h3,
- .section-title h2{font-weight:400}
- /* 正文图片不得超出内容框,兼容编辑器内联固定宽高 */
- .article-detail-body img,
- .article-detail-body .ck-content img{max-width:100%!important;height:auto!important}
- /* 通知公告与下载专栏:条数及桌面端行高对齐 */
- @media (min-width:901px){
- #notice .plain-list li{height:60.5px;min-height:60.5px;padding:0}
- #notice .plain-list li a{height:100%;align-items:center}
- }
- /* 通知公告与下载专栏容器样式保持一致 */
- .notice-box{background:#f5f5f2;padding:0 44px 25px}
- .notice-box .section-title{border-bottom:1px solid #deded9}
- @media (max-width:900px){.notice-box{padding:0 18px 16px}}
- /* 下载专栏固定行高与预览字号;通知公告仅保留透明对齐留白 */
- .notice-box{background:transparent}
- @media (min-width:901px){
- #downloads .download-row{height:60.5px;min-height:60.5px;padding:0;box-sizing:border-box;overflow:hidden}
- #downloads .download-row>div{min-width:0}
- #downloads .download-row strong,
- #downloads .download-row small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
- #downloads .download-row>span{font-size:14px!important;line-height:21px!important}
- }
- /* 校园新闻焦点文章摘要 */
- #campus .feature-caption p{font-size:15px}
- /* 媒体华夏:单行和两行标题均在记录行内垂直居中 */
- #media .sub-list li{display:flex;align-items:center;padding:0}
- /* 宽屏不放大字体,只让布局宽度自适应 */
- @media (min-width:1601px){
- .section-title h2{font-size:24px}
- .section-title em{font-size:12px}
- #campus .feature-caption h3{font-size:24px}
- }
- /* 通知公告去掉左右留白,左边缘与融媒头条一致 */
- .notice-box{padding:0 0 25px;background:transparent}
- @media (max-width:900px){.notice-box{padding:0 0 16px}}
- /* 首页区块间距:两段距离缩小30px并保持一致 */
- @media (min-width:901px) and (max-width:1600px){
- #campus-life{margin-top:63px}
- #multimedia{margin-top:63px}
- }
- @media (min-width:1601px){
- #campus-life{margin-top:77px}
- #multimedia{margin-top:77px}
- }
- /* 下载专栏:标题和摘要间距缩小并整体垂直居中 */
- #downloads .download-row small{margin-top:3px}
- @media (min-width:901px){
- #downloads .download-row>div{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;align-self:stretch;min-width:0}
- #downloads .download-row>span{align-self:center}
- }
- /* 一线动态标题单行省略 */
- #campus-life > div:first-child .sub-list li strong{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
- /* 媒体华夏标题单行省略 */
- #media .sub-list li strong{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
- /* 手机端首页相邻栏目间距增加6px */
- @media (max-width:900px){
- #home > .section + .section{margin-top:36px}
- }
- /* 顶部网站标题字体 */
- .brand{font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB",sans-serif}
- /* 首页校园新闻:16:9图片,标题底部与右侧列表底部对齐 */
- #campus .feature-image{aspect-ratio:16/9}
- @media (min-width:901px){
- #campus .feature{align-items:stretch}
- #campus .feature-image-link{display:flex;flex-direction:column;height:100%}
- #campus .feature-caption{display:flex;flex:1;align-items:flex-end;padding-top:16px;top:0}
- #campus .feature-caption h3{margin:0;padding:0;font-size:24px;line-height:1.3}
- }
- /* 列表页记录标题仅参考外部样式的字号与颜色 */
- body.screen-list-page .article-list strong{font-size:16px;color:#515151}
- /* 首页底部:使用主站同一套底部视觉,可继续按本站栏目独立维护 */
- :root{--hx-red-dark-rgb:88,11,12}
- body.screen-red-theme .screen-footer-main {
- position: relative;
- z-index: 30;
- grid-template-columns:
- minmax(290px, 1.34fr)
- minmax(150px, 0.82fr)
- minmax(260px, 1.24fr)
- minmax(182px, 1fr);
- gap: clamp(14px, 1.7vw, 26px);
- min-height: 190px;
- padding: 20px 0;
- align-items: center;
- }
- body.screen-red-theme .screen-footer-main > * {
- min-width: 0;
- }
- body.screen-red-theme .screen-footer-address {
- margin-top: 3px;
- margin-right: 28px;
- padding: 3px 2px 2px 0;
- }
- body.screen-red-theme .screen-footer-address p {
- margin: 3px 0;
- font-size: 13px;
- line-height: 1.55;
- }
- body.screen-red-theme .screen-footer-qrcode {
- position: relative;
- z-index: 60;
- display: grid;
- grid-template-columns: repeat(3, 56px);
- gap: 8px 12px;
- align-items: start;
- justify-content: center;
- margin: 6px 0 2px -59px;
- padding: 9px 15px 0 0;
- overflow: visible;
- }
- body.screen-red-theme .screen-footer-qrcode .screen-qr-link {
- position: relative;
- display: flex;
- width: 56px;
- min-width: 0;
- flex-direction: column;
- align-items: center;
- gap: 5px;
- color: #ffffff;
- font-size: 12px;
- font-weight: 500;
- line-height: 1.2;
- text-align: center;
- text-decoration: none;
- text-shadow: 0 1px 3px rgba(var(--hx-red-dark-rgb), 0.28);
- transition: transform 0.2s ease, color 0.2s ease;
- isolation: isolate;
- }
- body.screen-red-theme .screen-footer-qrcode .screen-qr-link:hover {
- z-index: 80;
- color: #ffffff;
- transform: translateY(-2px);
- }
- body.screen-red-theme .screen-footer-qrcode .screen-qr-link:focus-visible {
- z-index: 80;
- }
- body.screen-red-theme .screen-footer-qrcode .screen-social-icon {
- display: grid;
- width: 46px;
- height: 46px;
- overflow: hidden;
- place-items: center;
- border: 2px solid rgba(255, 255, 255, 0.86);
- border-radius: 50%;
- background: #ffffff;
- box-shadow: 0 8px 18px rgba(var(--hx-red-dark-rgb), 0.16);
- }
- body.screen-red-theme .screen-footer-qrcode .screen-social-icon img {
- display: block;
- width: 100%;
- height: 100%;
- border-radius: 50%;
- object-fit: cover;
- }
- body.screen-red-theme .screen-footer-qrcode .screen-qr-image {
- position: absolute;
- bottom: calc(100% + 10px);
- left: 50%;
- z-index: 120;
- width: 98px;
- height: 98px;
- max-width: none;
- padding: 6px;
- border: 1px solid rgba(var(--hx-red-dark-rgb), 0.16);
- border-radius: 8px;
- background: #ffffff;
- box-shadow: 0 14px 30px rgba(var(--hx-red-dark-rgb), 0.2);
- opacity: 0;
- object-fit: contain;
- pointer-events: none;
- transform: translate(-50%, 8px) scale(0.96);
- transition: opacity 0.2s ease, transform 0.2s ease;
- }
- body.screen-red-theme .screen-footer-qrcode .screen-qr-link:hover .screen-qr-image,
- body.screen-red-theme .screen-footer-qrcode .screen-qr-link:focus-visible .screen-qr-image {
- opacity: 1;
- transform: translate(-50%, 0) scale(1);
- }
- body.screen-red-theme .screen-footer-qrcode .screen-qr-label {
- display: block;
- max-width: 70px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- body.screen-red-theme .screen-footer-logo {
- width: 100%;
- max-width: 288px;
- height: 52px;
- margin: 0 0 12px;
- background-position: left center;
- justify-self: start;
- }
- body.screen-red-theme .screen-footer-links {
- color: var(--hx-footer-soft);
- }
- body.screen-red-theme .screen-footer-links strong {
- display: block;
- margin-bottom: 10px;
- color: #ffffff;
- font-size: 16px;
- font-weight: 700;
- line-height: 1.2;
- text-shadow: 0 1px 3px rgba(var(--hx-red-dark-rgb), 0.28);
- }
- body.screen-red-theme .screen-footer-links div {
- display: grid;
- gap: 6px;
- }
- body.screen-red-theme .screen-footer-friend-grid {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 6px 24px;
- }
- body.screen-red-theme .screen-footer-friend-grid > div {
- min-width: 0;
- }
- body.screen-red-theme .screen-footer-links a {
- overflow: hidden;
- color: var(--hx-footer-soft);
- font-size: 13px;
- line-height: 1.35;
- text-overflow: ellipsis;
- white-space: nowrap;
- transition: color 0.2s ease, transform 0.2s ease;
- }
- body.screen-red-theme .screen-footer-links a:hover {
- color: #ffffff;
- transform: translateX(4px);
- text-decoration: none;
- }
- body.screen-red-theme .screen-footer-philosophy {
- justify-self: end;
- max-width: 220px;
- }
- body.screen-red-theme .screen-footer-philosophy strong {
- margin-bottom: 9px;
- font-size: 16px;
- text-shadow: 0 1px 3px rgba(var(--hx-red-dark-rgb), 0.28);
- }
- body.screen-red-theme .screen-footer-philosophy p {
- margin-bottom: 6px;
- font-size: 18px;
- }
- body.screen-red-theme .screen-footer-philosophy span {
- font-size: 13px;
- }
- @media (max-width:900px){
- body.screen-red-theme .screen-footer-main {
- grid-template-columns: 1fr;
- gap: 22px;
- min-height: 0;
- padding: 26px 0;
- text-align: center;
- }
- body.screen-red-theme .screen-footer-address,
- body.screen-red-theme .screen-footer-philosophy {
- justify-self: center;
- max-width: 420px;
- margin-right: 0;
- padding: 0;
- text-align: center;
- }
- body.screen-red-theme .screen-footer-qrcode {
- justify-content: center;
- margin: 20px -4px 31px 0;
- padding: 1px 0 0;
- }
- body.screen-red-theme .screen-footer-logo {
- order: 0;
- width: min(320px, 72vw);
- max-width: none;
- height: 70px;
- margin: 0 auto 10px;
- background-position: center;
- }
- body.screen-red-theme .screen-footer-links div {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- gap: 8px 16px;
- }
- body.screen-red-theme .screen-footer-links .screen-footer-friend-grid {
- display: grid;
- width: min(420px, 100%);
- margin: 0 auto 28px;
- padding-bottom: 13px;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 8px 28px;
- }
- body.screen-red-theme .screen-footer-links .screen-footer-friend-grid > div {
- display: grid;
- min-width: 0;
- gap: 8px;
- }
- body.screen-red-theme .screen-footer-links a {
- white-space: nowrap;
- }
- body.screen-red-theme .copyright .wrap {
- display: grid;
- grid-template-columns: 1fr;
- gap: 3px;
- min-height: 0;
- padding: 8px 0;
- text-align: center;
- }
- }
- /* 校园新闻图片轮播:最多取有缩略图的前5篇文章 */
- #campus .campus-feature-carousel{display:flex;flex-direction:column;min-width:0;height:100%}
- #campus .campus-feature-images{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#eef1f4}
- #campus .campus-feature-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease}
- #campus .campus-feature-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
- #campus .campus-feature-slide .feature-image{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
- #campus .campus-feature-caption{display:none;min-width:0}
- #campus .campus-feature-caption.is-active{display:block}
- #campus .campus-feature-arrow{position:absolute;top:50%;z-index:4;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;color:#fff;background:rgba(24,28,32,.34);font:24px/1 Arial,sans-serif;cursor:pointer;transform:translateY(-50%);transition:background .2s}
- #campus .campus-feature-arrow:hover{background:rgba(24,28,32,.58)}
- #campus .campus-feature-arrow.prev{left:14px}
- #campus .campus-feature-arrow.next{right:14px}
- #campus .campus-feature-dots{position:absolute;right:16px;bottom:12px;z-index:4;display:flex;gap:7px}
- #campus .campus-feature-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.62);box-shadow:0 0 0 1px rgba(0,0,0,.16);cursor:pointer}
- #campus .campus-feature-dots button.is-active{background:var(--red);box-shadow:none}
- @media (min-width:901px){
- #campus .campus-feature-caption.is-active{display:flex;flex:1;align-items:flex-end;padding-top:16px;top:0}
- }
- @media (max-width:900px){
- #campus .campus-feature-arrow{width:32px;height:32px;font-size:21px}
- #campus .campus-feature-arrow.prev{left:10px}
- #campus .campus-feature-arrow.next{right:10px}
- }
- /* 校园新闻轮播标题:纯黑且无下划线 */
- #campus .campus-feature-caption,
- #campus .campus-feature-caption:link,
- #campus .campus-feature-caption:visited,
- #campus .campus-feature-caption:hover,
- #campus .campus-feature-caption:active{color:#000;text-decoration:none}
- #campus .campus-feature-caption h3{color:#000;text-decoration:none}
- /* 顶栏搜索框:兼容 Edge/Chromium,按钮文字固定横向且不换行 */
- .search input{min-width:0;width:100%}
- .search button,
- .mobile-nav-search button{flex:0 0 auto;width:auto;min-width:max-content;padding:0;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;writing-mode:horizontal-tb;text-orientation:mixed;line-height:1;appearance:none;-webkit-appearance:none}
- /* 顶部品牌:网站属性徽标 + 网站名称 */
- .brand{display:inline-flex;align-items:center;max-width:calc(100% - 230px);gap:14px;color:#fff;text-decoration:none;white-space:nowrap}
- .brand-name{display:inline-block;min-width:0;white-space:nowrap}
- .brand-logo{display:block;flex:0 0 auto;width:auto;max-width:none;height:52px;object-fit:contain}
- .brand-name{font-size:1em;font-weight:600;line-height:1.2}
- @media (max-width:900px){
- .hero-head{height:92px}
- .head-inner{padding-top:16px}
- .brand{display:flex;flex-direction:row;align-items:center;width:calc(100% - 54px);max-width:none;gap:0;white-space:normal}
- .brand-logo{width:100%;max-width:320px;height:auto;margin-left:0}
- .brand-name{display:none}
- }
- /* 华夏部门模版:首页模块、轮播和底部信息 */
- .dept-red-page main.dept-home-main{width:var(--page)}
- .dept-hero-section{margin-top:28px}
- .dept-hero-carousel{position:relative;overflow:hidden;background:#eef1f4}
- .dept-hero-slides{position:relative;aspect-ratio:1920/620}
- .dept-hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease}
- .dept-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
- .dept-hero-slide img{display:block;width:100%;height:100%;object-fit:cover}
- .dept-hero-slide>span{position:absolute;left:0;right:0;bottom:0;display:block;padding:24px 32px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.58))}
- .dept-hero-slide strong{display:block;max-width:78%;font-size:24px;font-weight:400;line-height:1.35;text-shadow:0 2px 5px rgba(0,0,0,.34)}
- .dept-hero-arrow{position:absolute;top:50%;z-index:4;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;color:#fff;background:rgba(24,28,32,.38);font:26px/1 Arial,sans-serif;cursor:pointer;transform:translateY(-50%)}
- .dept-hero-arrow.prev{left:16px}.dept-hero-arrow.next{right:16px}
- .dept-hero-dots{position:absolute;right:20px;bottom:18px;z-index:4;display:flex;gap:8px}
- .dept-hero-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.62);cursor:pointer}
- .dept-hero-dots button.is-active{background:var(--red)}
- .dept-home-section .plain-list li a{display:flex;align-items:center;width:100%;color:inherit;text-decoration:none}
- .dept-home-section .plain-list li a time{margin-left:auto}
- .dept-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:30px}
- .dept-card{display:flex;flex-direction:column;min-width:0;color:inherit;text-decoration:none;background:#f5f5f2;transition:.2s}
- .dept-card:hover{color:var(--red);transform:translateY(-3px);box-shadow:0 8px 20px rgba(38,32,31,.1)}
- .dept-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
- .dept-card>span{display:flex;flex:1;flex-direction:column;gap:12px;padding:18px 20px 20px}
- .dept-card strong{display:-webkit-box;overflow:hidden;font-size:16px;font-weight:400;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
- .dept-card time{margin-top:auto;color:#9299a2;font:14px Arial,sans-serif}
- .dept-media-grid{margin-top:30px}
- .dept-media-card .meta small.is-video:before{content:"▶";display:inline-block;margin-right:6px;color:var(--red)}
- .dept-footer{margin-top:32px;padding:38px 0 34px;color:#fff;background:#94152c}
- .dept-footer-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr) minmax(210px,.65fr);gap:40px;width:var(--page);margin:0 auto;align-items:center}
- .dept-footer-contact{display:grid;min-width:0;gap:16px}
- .dept-footer-logo{display:block;width:auto;max-width:320px;height:58px;object-fit:contain;object-position:left center}
- .dept-footer-contact>strong{font-size:22px;font-weight:500}
- .dept-footer-contact-lines{display:grid;gap:2px}
- .dept-footer-contact p{margin:0;color:rgba(255,255,255,.88);font-size:13px;line-height:1.75;overflow-wrap:anywhere}
- .dept-footer-links strong{display:block;margin-bottom:14px;font-size:17px;font-weight:500}
- .dept-footer-links>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
- .dept-footer-links a{overflow:hidden;color:rgba(255,255,255,.9);font-size:14px;line-height:1.8;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
- .dept-footer-links a:hover{color:#fff;text-decoration:underline}
- .dept-footer-image{display:flex;justify-content:flex-end}
- .dept-footer-image img{display:block;width:150px;height:150px;padding:5px;background:#fff;object-fit:contain}
- .dept-footer-copyright{padding:11px 0;color:rgba(255,255,255,.76);background:#760c1b;font-size:12px;line-height:20px;text-align:center}
- @media (max-width:900px){
- .dept-red-page main.dept-home-main{width:var(--page)}
- .dept-hero-section{margin-top:20px}
- .dept-hero-slide>span{padding:14px 16px}
- .dept-hero-slide strong{max-width:100%;font-size:17px}
- .dept-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
- .dept-card>span{padding:13px 14px 15px}
- .dept-card strong{font-size:15px}
- .dept-home-section .plain-list li a{display:block}
- .dept-home-section .plain-list li a time{display:block;float:none;margin:6px 0 0}
- .dept-footer{padding:30px 0 26px}
- .dept-footer-main{grid-template-columns:1fr;gap:24px;text-align:center}
- .dept-footer-contact{justify-items:center;gap:12px;text-align:center}
- .dept-footer-logo{width:min(300px,100%);max-width:100%;height:auto}
- .dept-footer-contact p{font-size:13px;line-height:1.75}
- .dept-footer-links>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
- .dept-footer-links a{text-align:center}
- .dept-footer-image{display:none}
- .dept-footer-copyright{padding:10px 0;font-size:11px;line-height:18px}
- }
- /* 首页首屏:左侧轮播,右侧公告 */
- .dept-hero-notice-section{margin-top:28px}
- .dept-hero-notice-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:43px;align-items:stretch}
- .dept-hero-notice-grid .dept-hero-carousel{height:100%}
- .dept-hero-notice-grid .dept-hero-slides{aspect-ratio:16/9}
- .dept-notice-panel{display:flex;flex-direction:column;min-width:0;padding:0 28px 18px;background:#f5f5f2}
- .dept-notice-panel>.section-title{margin:0;padding:0;border-bottom:1px solid var(--line)}
- .dept-notice-list{flex:1;margin-top:0}
- .dept-notice-list li{min-height:47px;font-size:15px;line-height:22px}
- .dept-notice-list li a{display:flex;align-items:center;width:100%;color:#333;text-decoration:none}
- .dept-notice-list li a time{margin-left:auto;color:#9299a2;font-size:13px;white-space:nowrap}
- .dept-notice-list li a:hover{color:var(--red)}
- @media (max-width:900px){
- .dept-hero-notice-grid{grid-template-columns:minmax(0,1fr);gap:20px}
- .dept-hero-notice-grid .dept-hero-slides{aspect-ratio:16/9}
- .dept-notice-panel{padding:0 16px 12px}
- .dept-notice-list li{min-height:48px}
- .dept-notice-list li a{display:block}
- .dept-notice-list li a time{display:block;float:none;margin:4px 0 0}
- }
- /* 专业建设与学院风采并排 */
- .dept-major-showcase-section{margin-top:57px}
- .dept-two-module-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:43px;align-items:stretch}
- .dept-side-module{display:flex;flex-direction:column;min-width:0;height:100%}
- .dept-side-module>.section-title{margin-bottom:18px}
- .dept-side-list li{min-height:56px;font-size:15px;line-height:22.5px}
- .dept-side-list li a{display:flex;align-items:center;width:100%;color:#333;text-decoration:none}
- .dept-side-list li a time{margin-left:auto;color:#9299a2;font-size:13px;white-space:nowrap}
- .dept-side-list li a:hover{color:var(--red)}
- .dept-showcase-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:12px;margin-top:0;margin-bottom:0}
- .dept-showcase-card{position:relative;display:block;min-height:150px;overflow:hidden;background-color:#e7e3de;background-position:center;background-size:cover}
- .dept-showcase-card:nth-child(1){background-image:url("/main/ffkj-portal/assets/official/view-1.jpg")}
- .dept-showcase-card:nth-child(2){background-image:url("/main/ffkj-portal/assets/official/view-2.jpg")}
- .dept-showcase-card:nth-child(3){background-image:url("/main/ffkj-portal/assets/official/view-3.jpg")}
- .dept-showcase-card:nth-child(4){background-image:url("/main/ffkj-portal/assets/official/campus-4.jpg")}
- .dept-showcase-card>img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .35s ease}
- .dept-showcase-card:hover{color:#fff}
- .dept-showcase-card:hover>img{transform:scale(1.03)}
- .dept-showcase-card>span{position:absolute;left:0;right:0;bottom:0;display:block;flex:none;padding:13px 15px 14px;color:#fff;background:rgba(0,0,0,.48)}
- .dept-showcase-card strong{display:block;overflow:hidden;color:#fff;font-size:15px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
- @media (max-width:900px){
- .dept-major-showcase-section{margin-top:36px}
- .dept-two-module-grid{grid-template-columns:minmax(0,1fr);gap:36px}
- .dept-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
- .dept-showcase-card{min-height:170px}
- .dept-showcase-card>span{padding:11px 12px 12px}
- .dept-showcase-card strong{font-size:14px}
- .dept-side-list li a{display:block}
- .dept-side-list li a time{display:block;float:none;margin:5px 0 0}
- }
- /* 主导航二级栏目下拉 */
- .main-nav>ul>li.has-children{position:relative}
- .main-nav .dept-nav-panel{position:absolute;top:100%;left:50%;z-index:30;display:none;width:220px;height:auto;margin:0;padding:8px 0;transform:translateX(-50%);background:#fff;box-shadow:0 12px 26px rgba(0,0,0,.14);list-style:none}
- .main-nav .dept-nav-panel li{display:block;height:auto}
- .main-nav .dept-nav-panel a{display:block;width:100%;height:auto;min-height:0;padding:10px 18px;border:0;color:#333;font-size:15px;line-height:22px;text-align:center;white-space:nowrap}
- .main-nav .dept-nav-panel a:hover,.main-nav .dept-nav-panel a.active{color:var(--red);background:#f7f4f1}
- .main-nav>ul>li.has-children:hover>.dept-nav-panel{display:block}
- @media (max-width:900px){
- .main-nav .dept-nav-panel{position:static;display:block;width:100%;padding:0 0 6px 14px;transform:none;background:transparent;border-top:0;box-shadow:none}
- .main-nav .dept-nav-panel a{min-height:42px;padding:8px 14px;color:#555;font-size:14px;text-align:left}
- }
|