|
@@ -0,0 +1,129 @@
|
|
|
|
|
+/* 建筑与艺术传媒学院模板:以信工学院模板为骨架,按建艺设计稿重构首页视觉。 */
|
|
|
|
|
+:root{
|
|
|
|
|
+ --brand:#06417f;--brand-d:#052f5f;--brand-l:#eaf3fb;--brand-2:#398ec8;
|
|
|
|
|
+ --jy-title:#06417f;--jy-date:#398ec8;--jy-ink:#1f2d40;--jy-muted:#5f6f82;
|
|
|
|
|
+ --jy-line:#dce5ef;--jy-bg:#f6f9fc;
|
|
|
|
|
+}
|
|
|
|
|
+.jianyi-page{font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans SC",sans-serif;color:var(--jy-ink);background:#fff}
|
|
|
|
|
+.jianyi-page .wrap{max-width:1200px}
|
|
|
|
|
+.jianyi-page img{max-width:100%}
|
|
|
|
|
+.jianyi-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
|
|
|
|
|
+.jy-header{position:relative;z-index:200;color:#fff;background-color:#06417f;background-image:url('/main/ffkj-portal/jianyi/images/jianyi-header-bg-final.png');background-position:center top;background-size:100% 150px;background-repeat:no-repeat;box-shadow:0 3px 18px rgba(4,35,72,.18)}
|
|
|
|
|
+.jy-header-top{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:22px}
|
|
|
|
|
+.jy-brand{display:flex;align-items:center;min-width:0;color:#fff;text-decoration:none}
|
|
|
|
|
+.jy-brand-logo{display:block;width:clamp(250px,30vw,360px);height:50px;object-fit:contain;object-position:left center;transform:translateY(-2px)}
|
|
|
|
|
+.jy-brand-fallback{display:flex;flex-direction:column;line-height:1.25}
|
|
|
|
|
+.jy-brand-fallback strong{font-size:24px;letter-spacing:3px}
|
|
|
|
|
+.jy-brand-fallback small{margin-top:4px;color:#cfe5f7;font-size:11px;letter-spacing:1.3px}
|
|
|
|
|
+.jy-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}
|
|
|
|
|
+.jy-school-home{display:inline-flex;align-items:center;gap:5px;padding:0 2px 2px;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;color:#fff;font-size:13px;line-height:1.2;text-decoration:none;white-space:nowrap;transition:color .18s ease,border-color .18s ease}
|
|
|
|
|
+.jy-school-home:hover{border-bottom-color:rgba(255,255,255,.72);background:transparent;color:#FFE49A}
|
|
|
|
|
+.jy-search{display:flex;align-items:center;width:125px;height:38px;padding:3px 4px 3px 13px;border-radius:999px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12)}
|
|
|
|
|
+.jy-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--jy-ink);font-size:13px}
|
|
|
|
|
+.jy-search input::placeholder{color:#91a1b3}
|
|
|
|
|
+.jy-search button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:#eaf3fb;color:var(--brand);cursor:pointer}
|
|
|
|
|
+.jy-nav{position:sticky;top:0;z-index:220;border-top:1px solid rgba(255,255,255,.22);background-color:#06417f;background-image:url('/main/ffkj-portal/jianyi/images/jianyi-header-bg-final.png');background-position:center bottom;background-size:100% 150px;background-repeat:no-repeat;box-shadow:0 3px 12px rgba(4,35,72,.18)}
|
|
|
|
|
+.jy-nav-inner{display:flex;justify-content:flex-end;align-items:center;min-height:56px}
|
|
|
|
|
+.jy-nav-list{display:flex;align-items:center;justify-content:flex-end;gap:2px;margin:0 0 0 auto;padding:0;list-style:none}
|
|
|
|
|
+.jy-nav-item{position:relative}
|
|
|
|
|
+.jy-nav-item>a{position:relative;display:block;padding:16px 15px;color:rgba(255,255,255,.94);font-size:18px;font-weight:600;letter-spacing:.5px;text-decoration:none;white-space:nowrap}
|
|
|
|
|
+.jy-nav-item>a::after{content:"";position:absolute;left:50%;bottom:4px;width:0;height:2px;border-radius:2px;background:#fff;transform:translateX(-50%);transition:width .2s}
|
|
|
|
|
+.jy-nav-item:hover>a::after,.jy-nav-item.is-active>a::after{width:60%}
|
|
|
|
|
+.jy-nav-item>.jy-subnav{position:absolute;top:100%;left:50%;right:auto;display:none;min-width:190px;margin:0;padding:8px 0;list-style:none;background:#fff;border-radius:0 0 6px 6px;box-shadow:0 16px 32px rgba(6,65,127,.2);transform:translateX(-50%)}
|
|
|
|
|
+.jy-nav-item:hover>.jy-subnav,.jy-nav-item:focus-within>.jy-subnav{display:block}
|
|
|
|
|
+.jy-subnav a{display:block;padding:9px 18px;color:var(--jy-ink);font-size:13.5px;text-decoration:none;white-space:nowrap}
|
|
|
|
|
+.jy-subnav a:hover{color:var(--brand);background:var(--brand-l)}
|
|
|
|
|
+.jy-subnav-group>a{font-weight:600}
|
|
|
|
|
+.jy-subnav-children{margin:0 0 4px;padding:0 0 0 10px;list-style:none;border-left:2px solid var(--brand-l)}
|
|
|
|
|
+.jy-subnav-children a{padding:7px 18px 7px 26px;color:var(--jy-muted);font-size:13px}
|
|
|
|
|
+.jy-mobile-menu{display:none;width:40px;height:36px;padding:8px;border:1px solid rgba(255,255,255,.42);border-radius:7px;background:rgba(255,255,255,.08);cursor:pointer}
|
|
|
|
|
+.jy-mobile-menu span{display:block;height:2px;margin:4px 0;border-radius:2px;background:#fff}
|
|
|
|
|
+.jianyi-page .jy-drawer-grandchildren{margin:0 0 6px 12px;border-left:2px solid var(--brand-l)}
|
|
|
|
|
+.jianyi-page .jy-drawer-grandchildren a{min-height:38px;padding:7px 14px;font-size:13px}
|
|
|
|
|
+.jy-home-main{background:#fff}
|
|
|
|
|
+.jy-section{padding:36px 0}
|
|
|
|
|
+.jy-news-section{background:#f6f9fc}
|
|
|
|
|
+.jy-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
|
|
|
|
|
+.jy-title-wrap{position:relative;min-width:0}
|
|
|
|
|
+.jy-title-ghost{display:block;margin-bottom:-8px;color:#d7e9f7;font-size:clamp(23px,3vw,36px);font-weight:800;letter-spacing:2px;line-height:1.1;white-space:nowrap}
|
|
|
|
|
+.jy-section-head h2{position:relative;margin:0;color:var(--jy-title);font-size:clamp(25px,2.8vw,32px);letter-spacing:2px;line-height:1.25}
|
|
|
|
|
+.jy-more{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink-3);font-size:12.5px;letter-spacing:.5px;text-decoration:none;box-shadow:none;white-space:nowrap}
|
|
|
|
|
+.jy-more:hover{background:transparent;color:var(--brand);filter:none}
|
|
|
|
|
+.jy-news-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:stretch}
|
|
|
|
|
+.jy-news-col{display:flex;flex-direction:column;min-width:0;min-height:520px}
|
|
|
|
|
+.jy-news-col+.jy-news-col{border-left:1px solid var(--jy-line);padding-left:40px}
|
|
|
|
|
+.jy-feature{position:relative;display:block;overflow:hidden;border-radius:6px;background:#dbe9f5;text-decoration:none}
|
|
|
|
|
+.jy-feature img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s}
|
|
|
|
|
+.jy-feature:hover img{transform:scale(1.04)}
|
|
|
|
|
+.jy-feature span{position:absolute;right:0;bottom:0;left:0;padding:30px 18px 14px;background:linear-gradient(transparent,rgba(5,37,74,.9));color:#fff;font-size:15px;font-weight:600;line-height:1.55}
|
|
|
|
|
+.jy-news-list{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(64px,1fr));flex:1;width:100%;min-width:0;margin:8px 0 0;padding:0;list-style:none}
|
|
|
|
|
+.jy-news-list li{min-width:0;width:100%;min-height:64px;border-bottom:1px dashed var(--jy-line)}
|
|
|
|
|
+.jy-news-list li:last-child{border-bottom:0}
|
|
|
|
|
+.jy-news-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;height:100%;padding:10px 0;color:#33445b;text-decoration:none}
|
|
|
|
|
+.jy-news-list a:hover strong{color:var(--brand)}
|
|
|
|
|
+.jy-news-list strong{display:block;min-width:0;overflow:hidden;font-size:14px;font-weight:600;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.jy-date-pill{flex:0 0 auto;padding:3px 9px;border-radius:4px;background:var(--jy-date);color:#fff;font-size:11.5px;line-height:1.5;white-space:nowrap}
|
|
|
|
|
+.jy-notice-list{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(5,minmax(0,1fr));flex:1;width:100%;min-width:0;margin:0;padding:0;list-style:none}
|
|
|
|
|
+.jy-notice-list li{min-width:0;width:100%;display:flex;align-items:center;gap:16px;min-height:74px;padding:9px 0;border-bottom:1px dashed var(--jy-line)}
|
|
|
|
|
+.jy-notice-list li:last-child{border-bottom:0}
|
|
|
|
|
+.jy-date-badge{flex:0 0 62px;height:62px;overflow:hidden;border:1px solid #b9d8ef;border-radius:3px;background:#fff;text-align:center}
|
|
|
|
|
+.jy-date-badge b{display:block;padding:3px 0;background:var(--jy-date);color:#fff;font-size:12px;font-weight:500}
|
|
|
|
|
+.jy-date-badge span{display:grid;place-items:center;height:38px;color:var(--brand);font-size:21px;font-weight:700;line-height:1}
|
|
|
|
|
+.jy-notice-list a{display:flex;align-items:center;flex:1;min-width:0;height:100%;color:#33445b;font-size:14px;line-height:1.68;text-decoration:none}
|
|
|
|
|
+.jy-notice-list a::before{content:"•";margin-right:8px;color:var(--brand-2);font-weight:700}
|
|
|
|
|
+.jy-notice-list a:hover{color:var(--brand)}
|
|
|
|
|
+.jy-digital-section{padding-bottom:29px;background:linear-gradient(180deg,#fff 0%,#fff 22%,#f1f7fc 32%,#dcecf8 52%,#f1f7fc 72%,#fff 100%)}
|
|
|
|
|
+.jy-center-head{margin-bottom:30px;text-align:center}
|
|
|
|
|
+.jy-center-head .jy-title-ghost{margin-bottom:-12px;color:#dbeaf6}
|
|
|
|
|
+.jy-digital-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:8px 2px 14px}
|
|
|
|
|
+.jy-digital-card{display:block;min-width:0;overflow:hidden;border:3px solid #fff;border-radius:4px;background:#fff;box-shadow:0 4px 14px rgba(6,65,127,.1);text-decoration:none}
|
|
|
|
|
+.jy-digital-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s}
|
|
|
|
|
+.jy-digital-card:hover img{transform:scale(1.04)}
|
|
|
|
|
+.jy-digital-caption{display:flex;align-items:center;justify-content:center;padding:13px 14px;background:#fff;color:var(--brand);text-align:center}
|
|
|
|
|
+.jy-digital-caption strong{overflow:hidden;font-size:17px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.jy-carousel{position:relative}
|
|
|
|
|
+.jy-carousel-viewport{overflow:hidden;padding:8px 2px 14px}
|
|
|
|
|
+.jy-carousel-track{display:flex;gap:16px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}
|
|
|
|
|
+.jy-carousel-track::-webkit-scrollbar{display:none}
|
|
|
|
|
+.jy-media-card{position:relative;display:block;flex:0 0 calc((100% - 48px)/4);min-width:230px;overflow:hidden;border:3px solid #fff;border-radius:4px;background:#dbe9f5;box-shadow:0 4px 14px rgba(6,65,127,.1);scroll-snap-align:start;text-decoration:none}
|
|
|
|
|
+.jy-media-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s}
|
|
|
|
|
+.jy-media-card:hover img{transform:scale(1.05)}
|
|
|
|
|
+.jy-media-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;background:linear-gradient(135deg,rgba(5,47,95,.92),rgba(57,142,200,.82));color:#fff;text-align:center;opacity:0;transition:opacity .25s}
|
|
|
|
|
+.jy-media-card:hover .jy-media-overlay,.jy-media-card:focus-visible .jy-media-overlay{opacity:1}
|
|
|
|
|
+.jy-media-overlay strong{font-size:18px;letter-spacing:1px;line-height:1.5}
|
|
|
|
|
+.jy-media-overlay em{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.55);font-size:12px;font-style:normal}
|
|
|
|
|
+.jy-section-intro{max-width:860px;margin:28px auto 0;color:#5a6c80;font-size:15px;line-height:2;text-align:center}
|
|
|
|
|
+.jy-carousel-controls{display:flex;justify-content:flex-end;margin-top:19px}
|
|
|
|
|
+.jy-carousel-arrows{display:flex;gap:9px}
|
|
|
|
|
+.jy-carousel-arrow{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:5px;background:var(--jy-date);color:#fff;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 4px 12px rgba(6,65,127,.16)}
|
|
|
|
|
+.jy-carousel-arrow:hover{background:var(--jy-date);filter:brightness(.92)}
|
|
|
|
|
+.jy-carousel-arrow:disabled{background:var(--jy-date);box-shadow:none;opacity:.55;cursor:default}
|
|
|
|
|
+.jy-events-section{background:#fff}
|
|
|
|
|
+.jy-footer{margin-top:32px;background:linear-gradient(112deg,#052f5f,#06417f 58%,#0b5b9b);color:#d7e6f4}
|
|
|
|
|
+.jy-footer-main{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:36px;align-items:start;padding:34px 0 28px}
|
|
|
|
|
+.jy-footer h4{margin:0 0 10px;color:#fff;font-size:14px;font-weight:600;letter-spacing:1.2px}
|
|
|
|
|
+.jy-footer p{margin:0 0 7px;font-size:12.5px;line-height:1.9;color:#bcd3e7}
|
|
|
|
|
+.jy-footer-consult-desc{white-space:pre-line}
|
|
|
|
|
+.jy-footer-brand{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:14px}
|
|
|
|
|
+.jy-footer-logo{display:block;width:280px;max-width:100%;height:52px;margin-bottom:0;object-fit:contain;object-position:left center}
|
|
|
|
|
+.jy-footer-links{display:flex;flex-wrap:wrap;gap:8px 16px}
|
|
|
|
|
+.jy-footer-links a{color:#bcd3e7;font-size:12.5px;text-decoration:none}
|
|
|
|
|
+.jy-footer-links a:hover{color:#fff;text-decoration:underline}
|
|
|
|
|
+.jy-footer-qr{display:flex;gap:12px;margin-top:0}
|
|
|
|
|
+.jy-footer-qr .item{width:72px;text-align:center}
|
|
|
|
|
+.jy-footer-qr img{display:block;width:72px;height:72px;padding:4px;border-radius:5px;background:#fff;object-fit:cover}
|
|
|
|
|
+.jy-footer-qr span{display:block;overflow:hidden;margin-top:5px;color:#bcd3e7;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.jy-footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding:12px 0 14px;color:#8fb4d5;font-size:11.5px;text-align:center}
|
|
|
|
|
+.jianyi-page .inner-hero{background:linear-gradient(115deg,var(--brand-d),var(--brand) 58%,var(--brand-2))}
|
|
|
|
|
+.jianyi-page .inner-hero h1{color:#fff}
|
|
|
|
|
+.jianyi-page .crumb-links,.jianyi-page .inner-hero p{color:#d6e9f8}
|
|
|
|
|
+.jianyi-page .article-list-thumb,.jianyi-page .article-media-thumb,.jianyi-page .article-media-grid img,.jianyi-page .catalog-grid img{aspect-ratio:16/9}
|
|
|
|
|
+.jianyi-page .article-list-thumb img,.jianyi-page .article-media-thumb img,.jianyi-page .article-media-grid img{width:100%;height:100%;object-fit:cover}
|
|
|
|
|
+.jianyi-page .article-media-grid img{display:block}
|
|
|
|
|
+.jianyi-page .inner-side-links a.is-active,.jianyi-page .inner-side-links a:hover{color:var(--brand)}
|
|
|
|
|
+.jy-back-top{position:fixed;right:20px;bottom:24px;z-index:90;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--brand);color:#fff;font-size:22px;box-shadow:0 8px 20px rgba(6,65,127,.24);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s;cursor:pointer}
|
|
|
|
|
+.jy-back-top.is-visible{opacity:1;visibility:visible;transform:none}
|
|
|
|
|
+@media (max-width:1100px){.jy-media-card{flex-basis:calc((100% - 32px)/3)}.jy-nav-item>a{padding-inline:10px;font-size:17px}.jy-search{width:125px}.jy-nav-item:last-child>.jy-subnav{left:auto;right:0;transform:none}}
|
|
|
|
|
+@media (max-width:900px){.jy-header-top{min-height:78px}.jy-brand-logo{width:280px;height:46px}.jy-search{display:none}.jy-nav{display:none}.jy-mobile-menu{display:block}.jy-digital-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jy-news-grid{grid-template-columns:1fr;gap:34px}.jy-news-col{min-height:0}.jy-news-col+.jy-news-col{border-left:0;padding-left:0}.jy-news-list{grid-template-rows:repeat(2,auto)}.jy-notice-list{grid-template-rows:repeat(5,auto)}.jy-media-card{flex-basis:calc((100% - 16px)/2)}.jy-footer-main{grid-template-columns:1fr 1fr}}
|
|
|
|
|
+@media (max-width:600px){.jianyi-page .wrap{max-width:none;padding-inline:16px}.jy-header-top{gap:10px}.jy-brand-logo{width:235px;height:43px}.jy-school-home{padding:0 0 2px;font-size:12px}.jy-section{padding:27px 0}.jy-title-ghost{font-size:23px;letter-spacing:1px;white-space:normal}.jy-section-head h2{font-size:25px}.jy-section-intro{text-align:left;font-size:14px;line-height:1.9}.jy-digital-grid{grid-template-columns:minmax(0,1fr)}.jy-media-card{flex-basis:82%;min-width:220px}.jy-footer-main{grid-template-columns:1fr;gap:26px}.jy-footer-brand{gap:16px}.jy-footer-logo{width:240px}.jy-footer-qr img{width:64px;height:64px}}
|
|
|
|
|
+@media (prefers-reduced-motion:reduce){.jianyi-page *,.jianyi-page *::before,.jianyi-page *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
|