|
@@ -0,0 +1,446 @@
|
|
|
|
|
+/* =========================================================
|
|
|
|
|
+ 广州华夏职业学院 信息工程学院 官网首页 视觉设计稿 V1.3
|
|
|
|
|
+ (含通知公告 + 学院动态版 · 领导汇报用)
|
|
|
|
|
+ V1.3 变更:①修正 t3(产教融合)/ t4(招生就业)两组页签的激活选择器缺失——
|
|
|
|
|
+ 原缺失导致这两块「点不动 + 面板永久空白」,现补全「标签高亮 / svg 描边 / 面板显示」三类规则;
|
|
|
|
|
+ ②补充示意新闻(校企合作 6 条 / 实训条件 6 条 / 竞赛获奖 6 条 / 招生信息 6 条 / 就业服务 6 条),
|
|
|
|
|
+ 实训条件的「配置:…」改用右对齐灰字(.date-pill.cfg),避免挤在 72px 日期位里折行。
|
|
|
|
|
+ V1.2 变更:主导航「学生工作」后新增一级栏目「产教融合共同体」;
|
|
|
|
|
+ 首页「产教融合 · 校企合作」横幅更名为「人工智能与数字技术行业产教融合共同体」,
|
|
|
|
|
+ 简介按学院官网报道(2026-04-17 成立)重写。
|
|
|
|
|
+ 视觉语言对标:华南农业大学数学与信息学院·软件学院
|
|
|
|
|
+ 主色 #0048AE | 字体 PingFang SC / 微软雅黑 | 栅格 1200px
|
|
|
|
|
+ ========================================================= */
|
|
|
|
|
+:root{
|
|
|
|
|
+ --brand:#0048AE; /* 主色(可整体替换为学院标准色) */
|
|
|
|
|
+ --brand-d:#003581; /* 主色深 */
|
|
|
|
|
+ --brand-l:#EAF1FA; /* 主色浅底 */
|
|
|
|
|
+ --brand-2:#3E7FD1;
|
|
|
|
|
+ --gold:#C9A227; /* 辅助金 */
|
|
|
|
|
+ --ink:#212529;
|
|
|
|
|
+ --ink-2:#5A6472;
|
|
|
|
|
+ --ink-3:#8A94A6;
|
|
|
|
|
+ --line:#DEE2E6;
|
|
|
|
|
+ --line-2:#EDF0F4;
|
|
|
|
|
+ --bg:#F7F9FC;
|
|
|
|
|
+ --paper:#FFFFFF;
|
|
|
|
|
+ --maxw:1200px;
|
|
|
|
|
+ --radius:6px;
|
|
|
|
|
+ --font:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans SC",sans-serif;
|
|
|
|
|
+}
|
|
|
|
|
+*{box-sizing:border-box;margin:0;padding:0;}
|
|
|
|
|
+html{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
|
|
|
|
|
+body{
|
|
|
|
|
+ font-family:var(--font);color:var(--ink);background:var(--bg);
|
|
|
|
|
+ font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased;
|
|
|
|
|
+}
|
|
|
|
|
+a{color:inherit;text-decoration:none;}
|
|
|
|
|
+.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px;}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ① 页头 Header ================= */
|
|
|
|
|
+.header{
|
|
|
|
|
+ background:var(--brand);height:118px;position:relative;overflow:hidden;
|
|
|
|
|
+ display:flex;align-items:center;
|
|
|
|
|
+}
|
|
|
|
|
+/* 学科水印装饰:数学符号 + 电路走线(对标华农 .sticker 手法) */
|
|
|
|
|
+.header .wm{position:absolute;inset:0;pointer-events:none;opacity:.13;}
|
|
|
|
|
+.header .wm svg{position:absolute;height:100%;}
|
|
|
|
|
+.header .wm .l{left:-10px;top:0;}
|
|
|
|
|
+.header .wm .r{right:-30px;top:0;}
|
|
|
|
|
+.header .wrap{display:flex;align-items:center;justify-content:space-between;
|
|
|
|
|
+ width:100%;position:relative;z-index:2;gap:20px;}
|
|
|
|
|
+.brand{display:flex;align-items:center;gap:16px;color:#fff;}
|
|
|
|
|
+.brand .badge{width:62px;height:62px;flex:0 0 62px;}
|
|
|
|
|
+.brand .txt .s1{font-size:23px;font-weight:700;letter-spacing:2px;line-height:1.25;}
|
|
|
|
|
+.brand .txt .s2{font-size:11px;letter-spacing:.9px;color:#BBD2EE;margin-top:2px;text-transform:uppercase;}
|
|
|
|
|
+.sep{width:1px;height:52px;background:rgba(255,255,255,.28);margin:0 4px;}
|
|
|
|
|
+.brand .txt2 .s1{font-size:20px;font-weight:700;letter-spacing:3px;line-height:1.3;}
|
|
|
|
|
+.brand .txt2 .s2{font-size:10.5px;letter-spacing:.6px;color:#BBD2EE;margin-top:2px;text-transform:uppercase;}
|
|
|
|
|
+.search{display:flex;align-items:center;background:#fff;border-radius:3px;height:38px;
|
|
|
|
|
+ width:238px;padding:0 4px 0 14px;box-shadow:0 1px 3px rgba(0,0,0,.12);}
|
|
|
|
|
+.search input{border:0;outline:0;flex:1;font-size:13px;font-family:var(--font);color:var(--ink);background:transparent;}
|
|
|
|
|
+.search input::placeholder{color:#9AA6B6;}
|
|
|
|
|
+.search .btn{width:34px;height:30px;border-radius:2px;background:var(--brand-d);
|
|
|
|
|
+ display:flex;align-items:center;justify-content:center;cursor:pointer;}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ② 主导航 Nav ================= */
|
|
|
|
|
+.nav{background:var(--brand);border-top:1px solid rgba(255,255,255,.16);}
|
|
|
|
|
+.nav ul{list-style:none;display:flex;justify-content:space-between;align-items:center;
|
|
|
|
|
+ max-width:var(--maxw);margin:0 auto;padding:0 16px;}
|
|
|
|
|
+.nav li{position:relative;}
|
|
|
|
|
+.nav li>a{display:block;color:#fff;font-size:15.5px;letter-spacing:1px;
|
|
|
|
|
+ padding:15px 10px;position:relative;transition:.18s;}
|
|
|
|
|
+.nav li>a .arw{font-size:9px;opacity:.7;margin-left:5px;vertical-align:1px;}
|
|
|
|
|
+.nav li:hover>a{color:#FFE49A;}
|
|
|
|
|
+.nav li.on>a{color:#FFE49A;font-weight:600;}
|
|
|
|
|
+.nav li.on>a::after{content:"";position:absolute;left:50%;transform:translateX(-50%);
|
|
|
|
|
+ bottom:6px;width:26px;height:2.5px;background:#FFE49A;border-radius:2px;}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= 通用区块 ================= */
|
|
|
|
|
+.sec{padding:26px 0 6px;}
|
|
|
|
|
+.sec-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
|
|
|
|
|
+.sec-title .l{display:flex;align-items:center;gap:9px;}
|
|
|
|
|
+.sec-title .l .ic{width:22px;height:22px;display:flex;align-items:center;justify-content:center;}
|
|
|
|
|
+.sec-title h2{font-size:19px;font-weight:700;color:var(--brand);letter-spacing:1.5px;}
|
|
|
|
|
+.sec-title .more{font-size:12.5px;color:var(--ink-3);letter-spacing:.5px;}
|
|
|
|
|
+.sec-title .more:hover{color:var(--brand);}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ③ 学院新闻(左大图 + 右列表) ================= */
|
|
|
|
|
+.newsrow{display:grid;grid-template-columns:480px 1fr;gap:26px;align-items:stretch;}
|
|
|
|
|
+.newscard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
|
|
|
|
|
+ border-radius:var(--radius);overflow:hidden;transition:.2s;}
|
|
|
|
|
+.newscard:hover{border-color:var(--brand-2);box-shadow:0 6px 16px rgba(0,72,174,.13);}
|
|
|
|
|
+/* 图片框固定 16:9 横屏(480×270):常见横图 1280×720 / 1920×1080 可直接铺满;
|
|
|
|
|
+ 其它比例一律居中裁剪填充,不出现上下(或左右)白边 */
|
|
|
|
|
+.pic{position:relative;width:100%;aspect-ratio:16/9;flex:0 0 auto;overflow:hidden;
|
|
|
|
|
+ background:linear-gradient(135deg,#12467F,#2E6DB4 55%,#4E8FD0);}
|
|
|
|
|
+.pic::after{content:"";position:absolute;inset:0;
|
|
|
|
|
+ background:linear-gradient(to top,rgba(0,0,0,.34) 0%,transparent 46%);}
|
|
|
|
|
+.pic .ph{position:absolute;top:10px;left:10px;background:rgba(255,255,255,.9);
|
|
|
|
|
+ color:#8C99AA;font-size:10.5px;padding:2px 8px;border-radius:3px;z-index:2;letter-spacing:.5px;}
|
|
|
|
|
+.pic .dots{position:absolute;bottom:10px;right:14px;display:flex;gap:6px;z-index:3;}
|
|
|
|
|
+.pic .dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55);}
|
|
|
|
|
+.pic .dots i.a{background:#FFE49A;width:18px;border-radius:4px;}
|
|
|
|
|
+/* 图下说明区:撑满卡片剩余高度,使左卡片与右侧新闻列表等高 */
|
|
|
|
|
+.pic-cap{padding:13px 18px 15px;display:flex;flex-direction:column;flex:1;min-height:0;}
|
|
|
|
|
+.pic-cap .no{font-size:12px;font-weight:700;color:var(--brand);letter-spacing:1.2px;}
|
|
|
|
|
+.pic-cap .no em{font-style:normal;font-weight:400;color:var(--ink-3);letter-spacing:.5px;}
|
|
|
|
|
+.pic-cap .tt{font-size:15px;font-weight:700;color:var(--ink);line-height:1.5;margin-top:7px;
|
|
|
|
|
+ display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:.18s;}
|
|
|
|
|
+.newscard:hover .pic-cap .tt{color:var(--brand);}
|
|
|
|
|
+.pic-cap .ds{font-size:12.5px;color:var(--ink-3);line-height:1.8;margin-top:8px;
|
|
|
|
|
+ display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
|
|
|
|
|
+
|
|
|
|
|
+ul.list{list-style:none;}
|
|
|
|
|
+ul.list li{padding:10px 0;border-bottom:1px dashed var(--line);display:flex;
|
|
|
|
|
+ align-items:flex-start;gap:12px;}
|
|
|
|
|
+ul.list li:first-child{padding-top:0;}
|
|
|
|
|
+ul.list li:last-child{border-bottom:0;padding-bottom:0;}
|
|
|
|
|
+ul.list li .tx{flex:1;min-width:0;}
|
|
|
|
|
+ul.list li .tt{font-size:14px;color:var(--ink);line-height:1.5;
|
|
|
|
|
+ white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.18s;}
|
|
|
|
|
+ul.list li:hover .tt{color:var(--brand);}
|
|
|
|
|
+ul.list li .ds{font-size:12.5px;color:var(--ink-3);margin-top:4px;line-height:1.6;
|
|
|
|
|
+ white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
|
|
|
|
+.date-pill{flex:0 0 78px;text-align:center;font-size:11.5px;color:var(--ink-2);
|
|
|
|
|
+ background:#F1F4F8;border-radius:3px;padding:3px 0;margin-top:2px;letter-spacing:.3px;}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ④ 通知公告 + 学院动态(两块并列·各带页签) ================= */
|
|
|
|
|
+.two-col{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
|
|
|
|
|
+.tabbox input{display:none;}
|
|
|
|
|
+.tabbox .tabbar{display:flex;gap:10px;flex-wrap:wrap;}
|
|
|
|
|
+.tabbox .tabbar label{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2);
|
|
|
|
|
+ border:1px solid var(--line);background:#fff;border-radius:4px;padding:7px 14px;
|
|
|
|
|
+ cursor:pointer;transition:.18s;letter-spacing:.5px;user-select:none;}
|
|
|
|
|
+.tabbox .tabbar label svg{stroke:var(--ink-3);transition:.18s;}
|
|
|
|
|
+.tabbox .tabbar label:hover{border-color:var(--brand-2);color:var(--brand);}
|
|
|
|
|
+.tabbox .tabbar label:hover svg{stroke:var(--brand);}
|
|
|
|
|
+.tabbox .pane{display:none;padding-top:6px;}
|
|
|
|
|
+.tabbox .pane ul{list-style:none;}
|
|
|
|
|
+.tabbox .pane ul li{display:flex;align-items:center;gap:10px;padding:9px 0;
|
|
|
|
|
+ border-bottom:1px dashed var(--line);}
|
|
|
|
|
+.tabbox .pane ul li:last-child{border-bottom:0;}
|
|
|
|
|
+.tabbox .pane ul li .tt{flex:1;min-width:0;font-size:13.5px;color:var(--ink);
|
|
|
|
|
+ white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.16s;}
|
|
|
|
|
+.tabbox .pane ul li:hover .tt{color:var(--brand);}
|
|
|
|
|
+.tabbox .pane ul li .tag{flex:0 0 auto;font-size:10.5px;color:var(--brand);
|
|
|
|
|
+ background:var(--brand-l);border-radius:3px;padding:1px 6px;letter-spacing:.5px;}
|
|
|
|
|
+.tabbox .pane ul li .date-pill{flex:0 0 72px;font-size:11px;padding:2px 0;}
|
|
|
|
|
+
|
|
|
|
|
+/* 页签激活态:填充主色
|
|
|
|
|
+ ⚠ 四组(t1 通知公告 / t2 学院动态 / t3 产教融合 / t4 招生就业)各自成对。
|
|
|
|
|
+ 每组必须同时写「标签高亮」「svg 描边」「面板显示」三条规则,
|
|
|
|
|
+ 漏掉任何一组 → 该组页签点不动、面板永远空白。 */
|
|
|
|
|
+.tabbox.t1 #a1:checked~.sec-title .tabbar label[for=a1],
|
|
|
|
|
+.tabbox.t1 #a2:checked~.sec-title .tabbar label[for=a2],
|
|
|
|
|
+.tabbox.t1 #a3:checked~.sec-title .tabbar label[for=a3],
|
|
|
|
|
+.tabbox.t1 #a4:checked~.sec-title .tabbar label[for=a4],
|
|
|
|
|
+.tabbox.t2 #b1:checked~.sec-title .tabbar label[for=b1],
|
|
|
|
|
+.tabbox.t2 #b2:checked~.sec-title .tabbar label[for=b2],
|
|
|
|
|
+.tabbox.t2 #b3:checked~.sec-title .tabbar label[for=b3],
|
|
|
|
|
+.tabbox.t3 #c1:checked~.sec-title .tabbar label[for=c1],
|
|
|
|
|
+.tabbox.t3 #c2:checked~.sec-title .tabbar label[for=c2],
|
|
|
|
|
+.tabbox.t3 #c3:checked~.sec-title .tabbar label[for=c3],
|
|
|
|
|
+.tabbox.t4 #d1:checked~.sec-title .tabbar label[for=d1],
|
|
|
|
|
+.tabbox.t4 #d2:checked~.sec-title .tabbar label[for=d2]
|
|
|
|
|
+{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 2px 6px rgba(0,72,174,.28);}
|
|
|
|
|
+.tabbox.t1 #a1:checked~.sec-title .tabbar label[for=a1] svg,
|
|
|
|
|
+.tabbox.t1 #a2:checked~.sec-title .tabbar label[for=a2] svg,
|
|
|
|
|
+.tabbox.t1 #a3:checked~.sec-title .tabbar label[for=a3] svg,
|
|
|
|
|
+.tabbox.t1 #a4:checked~.sec-title .tabbar label[for=a4] svg,
|
|
|
|
|
+.tabbox.t2 #b1:checked~.sec-title .tabbar label[for=b1] svg,
|
|
|
|
|
+.tabbox.t2 #b2:checked~.sec-title .tabbar label[for=b2] svg,
|
|
|
|
|
+.tabbox.t2 #b3:checked~.sec-title .tabbar label[for=b3] svg,
|
|
|
|
|
+.tabbox.t3 #c1:checked~.sec-title .tabbar label[for=c1] svg,
|
|
|
|
|
+.tabbox.t3 #c2:checked~.sec-title .tabbar label[for=c2] svg,
|
|
|
|
|
+.tabbox.t3 #c3:checked~.sec-title .tabbar label[for=c3] svg,
|
|
|
|
|
+.tabbox.t4 #d1:checked~.sec-title .tabbar label[for=d1] svg,
|
|
|
|
|
+.tabbox.t4 #d2:checked~.sec-title .tabbar label[for=d2] svg{stroke:#fff;}
|
|
|
|
|
+.tabbox.t1 #a1:checked~.panes .p1,
|
|
|
|
|
+.tabbox.t1 #a2:checked~.panes .p2,
|
|
|
|
|
+.tabbox.t1 #a3:checked~.panes .p3,
|
|
|
|
|
+.tabbox.t1 #a4:checked~.panes .p4,
|
|
|
|
|
+.tabbox.t2 #b1:checked~.panes .p1,
|
|
|
|
|
+.tabbox.t2 #b2:checked~.panes .p2,
|
|
|
|
|
+.tabbox.t2 #b3:checked~.panes .p3,
|
|
|
|
|
+.tabbox.t3 #c1:checked~.panes .p1,
|
|
|
|
|
+.tabbox.t3 #c2:checked~.panes .p2,
|
|
|
|
|
+.tabbox.t3 #c3:checked~.panes .p3,
|
|
|
|
|
+.tabbox.t4 #d1:checked~.panes .p1,
|
|
|
|
|
+.tabbox.t4 #d2:checked~.panes .p2{display:block;}
|
|
|
|
|
+/* 实训条件:右侧不是日期而是一串"配置:…",给足宽度并单行省略,别让 72px 的日期位把文字折成三行 */
|
|
|
|
|
+.tabbox .pane ul li .date-pill.cfg{flex:0 0 188px;background:transparent;color:var(--ink-3);
|
|
|
|
|
+ font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right;
|
|
|
|
|
+ letter-spacing:0;padding-right:2px;}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ⑤ 专业卡片 ================= */
|
|
|
|
|
+.majors{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
|
|
|
|
|
+.major{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;
|
|
|
|
|
+ transition:.2s;cursor:pointer;}
|
|
|
|
|
+.major:hover{border-color:var(--brand-2);box-shadow:0 6px 16px rgba(0,72,174,.13);transform:translateY(-3px);}
|
|
|
|
|
+.major .top{height:74px;display:flex;align-items:center;justify-content:center;
|
|
|
|
|
+ background:linear-gradient(135deg,#EAF1FA,#DDE9F7);}
|
|
|
|
|
+.major .top svg{stroke:var(--brand);}
|
|
|
|
|
+.major .bt{padding:10px 8px 12px;text-align:center;}
|
|
|
|
|
+.major .bt .nm{font-size:13px;font-weight:600;color:var(--ink);line-height:1.4;}
|
|
|
|
|
+.major .bt .sub{font-size:11px;color:var(--ink-3);margin-top:3px;}
|
|
|
|
|
+.major.more .top{background:var(--brand);}
|
|
|
|
|
+.major.more .top svg{stroke:#fff;}
|
|
|
|
|
+.major.more .bt .nm{color:var(--brand);}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ⑥ 成果展示 ================= */
|
|
|
|
|
+.gallery{display:grid;grid-template-columns:1.15fr 1fr;gap:26px;}
|
|
|
|
|
+/* 四张等大 16:9 横图(与首页要闻图比例统一):取消固定高度与跨行大格,
|
|
|
|
|
+ 保证任何横拍照片都铺满格子、不出现上下白边 */
|
|
|
|
|
+.g-left{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
|
|
|
|
|
+.g-ph{aspect-ratio:16/9;border-radius:var(--radius);display:flex;align-items:flex-end;padding:8px 10px;
|
|
|
|
|
+ color:#fff;font-size:11.5px;position:relative;overflow:hidden;cursor:pointer;}
|
|
|
|
|
+.g-ph .bg{position:absolute;inset:0;}
|
|
|
|
|
+.g-ph span{position:relative;z-index:2;text-shadow:0 1px 3px rgba(0,0,0,.5);}
|
|
|
|
|
+.g-right ul{list-style:none;}
|
|
|
|
|
+.g-right ul li{padding:11px 0;border-bottom:1px dashed var(--line);display:flex;gap:10px;align-items:flex-start;}
|
|
|
|
|
+.g-right ul li:first-child{padding-top:0;}
|
|
|
|
|
+.g-right ul li:last-child{border-bottom:0;}
|
|
|
|
|
+.g-right ul li .bd{flex:1;}
|
|
|
|
|
+.g-right ul li .tt{font-size:13.5px;line-height:1.55;color:var(--ink);
|
|
|
|
|
+ display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
|
|
|
|
|
+.g-right ul li:hover .tt{color:var(--brand);}
|
|
|
|
|
+.g-right ul li .src{font-size:11px;color:var(--brand);background:var(--brand-l);
|
|
|
|
|
+ border-radius:3px;padding:1px 6px;display:inline-block;margin-top:5px;}
|
|
|
|
|
+
|
|
|
|
|
+/* 产教融合特色带 */
|
|
|
|
|
+.feature{background:linear-gradient(115deg,#00347A,#00509E 45%,#1667B8);border-radius:8px;
|
|
|
|
|
+ padding:22px 26px;color:#fff;display:flex;align-items:center;gap:26px;
|
|
|
|
|
+ position:relative;overflow:hidden;}
|
|
|
|
|
+.feature::after{content:"";position:absolute;right:-60px;bottom:-90px;width:260px;height:260px;
|
|
|
|
|
+ border-radius:50%;background:rgba(255,255,255,.06);}
|
|
|
|
|
+.feature .ic{width:56px;height:56px;flex:0 0 56px;border-radius:12px;background:rgba(255,255,255,.14);
|
|
|
|
|
+ display:flex;align-items:center;justify-content:center;}
|
|
|
|
|
+.feature .tx{flex:1;position:relative;z-index:2;}
|
|
|
|
|
+.feature .tx h3{font-size:17px;letter-spacing:1.5px;margin-bottom:6px;}
|
|
|
|
|
+.feature .tx p{font-size:12.5px;color:#C4D9F2;line-height:1.7;}
|
|
|
|
|
+.feature .go{position:relative;z-index:2;border:1px solid rgba(255,255,255,.5);border-radius:4px;
|
|
|
|
|
+ padding:8px 18px;font-size:12.5px;letter-spacing:1px;white-space:nowrap;cursor:pointer;transition:.2s;}
|
|
|
|
|
+.feature .go:hover{background:#fff;color:var(--brand);border-color:#fff;}
|
|
|
|
|
+
|
|
|
|
|
+/* ================= ⑦ 页脚 ================= */
|
|
|
|
|
+.footer{background:var(--brand-d);color:#C9D9EC;margin-top:30px;}
|
|
|
|
|
+.footer .wrap{padding:26px 16px 20px;display:grid;
|
|
|
|
|
+ grid-template-columns:1.6fr 1fr 1fr;gap:30px;align-items:start;}
|
|
|
|
|
+.footer h4{font-size:13.5px;color:#fff;letter-spacing:1.5px;margin-bottom:10px;font-weight:600;}
|
|
|
|
|
+.footer .info p{font-size:12px;line-height:1.95;color:#A9C0DC;}
|
|
|
|
|
+.footer .links{display:flex;flex-wrap:wrap;gap:7px 14px;}
|
|
|
|
|
+.footer .links a{font-size:12px;color:#A9C0DC;transition:.18s;}
|
|
|
|
|
+.footer .links a:hover{color:#FFE49A;}
|
|
|
|
|
+.footer .qr{display:flex;gap:20px;}
|
|
|
|
|
+.footer .qr .it{text-align:center;}
|
|
|
|
|
+.footer .qr .it .box{width:78px;height:78px;background:#fff;border-radius:5px;padding:5px;
|
|
|
|
|
+ display:flex;align-items:center;justify-content:center;}
|
|
|
|
|
+.footer .qr .it .box svg{width:100%;height:100%;}
|
|
|
|
|
+.footer .qr .it span{display:block;font-size:11px;color:#A9C0DC;margin-top:6px;}
|
|
|
|
|
+.footer .cr{border-top:1px solid rgba(255,255,255,.13);}
|
|
|
|
|
+.footer .cr .wrap{padding:12px 16px;display:block;text-align:center;font-size:11.5px;color:#8FA9C9;
|
|
|
|
|
+ grid-template-columns:1fr;}
|
|
|
|
|
+
|
|
|
|
|
+/* 响应式(窄屏预览可读) */
|
|
|
|
|
+@media (max-width:980px){
|
|
|
|
|
+ .newsrow{grid-template-columns:1fr;}
|
|
|
|
|
+ .pic{aspect-ratio:16/9;} /* 窄屏同样保持 16:9 横屏,不改成定高 */
|
|
|
|
|
+ .two-col{grid-template-columns:1fr;gap:22px;}
|
|
|
|
|
+ .majors{grid-template-columns:repeat(3,1fr);}
|
|
|
|
|
+ .gallery{grid-template-columns:1fr;}
|
|
|
|
|
+ .footer .wrap{grid-template-columns:1fr;gap:20px;}
|
|
|
|
|
+ .nav ul{overflow-x:auto;gap:2px;}
|
|
|
|
|
+ .nav li>a{font-size:13.5px;padding:13px 7px;white-space:nowrap;}
|
|
|
|
|
+ .header{height:auto;padding:16px 0;}
|
|
|
|
|
+ .header .wrap{flex-wrap:wrap;}
|
|
|
|
|
+ .search{width:100%;}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* ===== 信工学院模版:ZQ 动态数据与内页适配 ===== */
|
|
|
|
|
+.brand-logo-image{display:block;width:auto;max-width:540px;height:74px;object-fit:contain}
|
|
|
|
|
+.brand-text-fallback{display:flex;flex-direction:column;gap:2px}
|
|
|
|
|
+.brand-text-fallback .s1{font-size:23px;font-weight:700;letter-spacing:2px;line-height:1.25}
|
|
|
|
|
+.brand-text-fallback .s2{font-size:11px;letter-spacing:.9px;color:#BBD2EE}
|
|
|
|
|
+.search button{border:0;background:none;padding:0}
|
|
|
|
|
+.search .btn{width:34px;height:30px;border-radius:2px;background:var(--brand-d);display:flex;align-items:center;justify-content:center;cursor:pointer}
|
|
|
|
|
+.nav .xg-nav-panel{position:absolute;top:100%;left:50%;z-index:120;display:none;width:220px;margin:0;padding:9px 0;transform:translateX(-50%);background:#fff;box-shadow:0 14px 30px rgba(0,50,120,.18);list-style:none;border-radius:0 0 6px 6px}
|
|
|
|
|
+.nav .xg-nav-panel li{display:block}
|
|
|
|
|
+.nav .xg-nav-panel a{display:block;padding:10px 18px;color:var(--ink);font-size:13.5px;letter-spacing:.4px;white-space:nowrap}
|
|
|
|
|
+.nav .xg-nav-panel a:hover{color:var(--brand);background:var(--brand-l)}
|
|
|
|
|
+.nav li.has-children:hover>.xg-nav-panel,.nav li.has-children:focus-within>.xg-nav-panel{display:block}
|
|
|
|
|
+.nav li.has-children>a::after{content:"▼";margin-left:5px;font-size:9px;opacity:.72}
|
|
|
|
|
+.newsrow{grid-template-columns:minmax(0,480px) minmax(0,1fr)}
|
|
|
|
|
+.newscard{min-width:0}
|
|
|
|
|
+.newscard .pic{background:#eaf1fa center/cover no-repeat}
|
|
|
|
|
+.newscard .pic img{display:block;width:100%;height:100%;object-fit:cover}
|
|
|
|
|
+.newsrow>.list{min-width:0}
|
|
|
|
|
+.newsrow>.list li>a{display:flex;min-width:0;width:100%;gap:16px;align-items:center;color:inherit}
|
|
|
|
|
+.newsrow>.list li .tx{flex:1;min-width:0}
|
|
|
|
|
+.newsrow>.list li .tt,.newsrow>.list li .ds{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.tabbox .tabbar button{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:4px;padding:7px 14px;color:var(--ink-2);font-size:13px;cursor:pointer;transition:.18s}
|
|
|
|
|
+.tabbox .tabbar button svg{stroke:var(--ink-3);transition:.18s}
|
|
|
|
|
+.tabbox .tabbar button:hover,.tabbox .tabbar button.is-active{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 2px 6px rgba(0,72,174,.22)}
|
|
|
|
|
+.tabbox .tabbar button:hover svg,.tabbox .tabbar button.is-active svg{stroke:#fff}
|
|
|
|
|
+.tabbox .pane{display:none;padding-top:6px}
|
|
|
|
|
+.tabbox .pane.is-active{display:block}
|
|
|
|
|
+.tabbox .pane ul li a{display:flex;align-items:center;gap:10px;min-width:0;width:100%}
|
|
|
|
|
+.tabbox .pane ul li .tt{flex:1;min-width:0}
|
|
|
|
|
+.feature{min-width:0}
|
|
|
|
|
+.feature .go{text-decoration:none}
|
|
|
|
|
+.majors .major{min-width:0;display:block;color:inherit;text-decoration:none}
|
|
|
|
|
+.major .top img{display:block;width:42px;height:42px;object-fit:contain}
|
|
|
|
|
+.major .top svg{display:block;width:34px;height:34px}
|
|
|
|
|
+.g-left .g-ph{display:block;color:#fff;text-decoration:none}
|
|
|
|
|
+.g-left .g-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
|
|
|
|
|
+.g-left .g-ph span{display:-webkit-box;padding:8px 10px;background:linear-gradient(transparent,rgba(0,0,0,.72));position:absolute;left:0;right:0;bottom:0;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
|
|
|
+.g-right ul li a{display:flex;min-width:0;width:100%}
|
|
|
|
|
+.footer .info .footer-logo-image{display:block;width:360px;max-width:100%;height:auto;object-fit:contain;object-position:left center;margin-bottom:12px}
|
|
|
|
|
+.footer .qr img{display:block;width:68px;height:68px;object-fit:contain}
|
|
|
|
|
+.footer .links a{text-decoration:none}
|
|
|
|
|
+.empty-state{padding:24px 16px;color:var(--ink-3);text-align:center;background:var(--bg);border:1px dashed var(--line);border-radius:6px}
|
|
|
|
|
+
|
|
|
|
|
+/* 二级栏目页、目录页、正文页、搜索页 */
|
|
|
|
|
+.inner-page{min-height:420px}
|
|
|
|
|
+.inner-hero{background:linear-gradient(115deg,var(--brand-d),var(--brand));color:#fff;padding:42px 0 36px;margin-bottom:26px}
|
|
|
|
|
+.inner-hero-inner{display:flex;flex-direction:column;gap:9px}
|
|
|
|
|
+.inner-hero h1{margin:0;font-size:34px;font-weight:700;letter-spacing:2px;line-height:1.3}
|
|
|
|
|
+.inner-hero p,.inner-hero .hero-desc{margin:0;color:#dce9fb;font-size:14px;line-height:1.75}
|
|
|
|
|
+.crumb-links{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#dce9fb;font-size:12px}
|
|
|
|
|
+.crumb-links a{color:#fff;text-decoration:none}
|
|
|
|
|
+.crumb-links a:hover{color:#FFE49A}
|
|
|
|
|
+.inner-content{padding-bottom:48px}
|
|
|
|
|
+.inner-list-layout,.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:28px;align-items:start}
|
|
|
|
|
+.inner-list-panel,.article-panel,.inner-side-panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:6px}
|
|
|
|
|
+.inner-list-panel,.article-panel{padding:24px 28px 30px}
|
|
|
|
|
+.inner-side-panel{padding:0 20px 22px;position:sticky;top:16px}
|
|
|
|
|
+.inner-side-panel .section-title{border-bottom:1px solid var(--line);margin:0 -20px 12px;padding:0 20px}
|
|
|
|
|
+.inner-side-panel .section-title h2{font-size:17px}
|
|
|
|
|
+.inner-side-panel .section-title em{font-size:10px}
|
|
|
|
|
+.inner-side-links{display:grid;gap:2px}
|
|
|
|
|
+.inner-side-links a{display:block;padding:10px 12px;border-radius:4px;color:var(--ink-2);font-size:13.5px;text-decoration:none}
|
|
|
|
|
+.inner-side-links a:hover,.inner-side-links a.is-active{color:var(--brand);background:var(--brand-l)}
|
|
|
|
|
+.inner-side-card{margin-top:18px;padding:16px;background:var(--brand-l);border-radius:6px;color:var(--ink-2);font-size:12.5px;line-height:1.75}
|
|
|
|
|
+.inner-side-card strong{display:block;margin-bottom:4px;color:var(--brand);font-size:14px}
|
|
|
|
|
+.inner-news-list,.article-list,.catalog-list{list-style:none;margin:0;padding:0}
|
|
|
|
|
+.inner-news-list>li{border-bottom:1px dashed var(--line)}
|
|
|
|
|
+.inner-news-list>li:last-child{border-bottom:0}
|
|
|
|
|
+.inner-news-list>li>a{display:flex;align-items:center;gap:18px;min-width:0;padding:16px 0;color:inherit;text-decoration:none}
|
|
|
|
|
+.inner-news-list>li>a:hover strong,.inner-news-list>li>a:hover .article-graphic-title{color:var(--brand)}
|
|
|
|
|
+.inner-news-list time{flex:0 0 84px;color:var(--ink-3);font-size:12px;text-align:right;white-space:nowrap}
|
|
|
|
|
+.inner-news-list .article-copy{flex:1;min-width:0}
|
|
|
|
|
+.inner-news-list strong{display:block;overflow:hidden;color:var(--ink);font-size:15px;font-weight:600;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.inner-news-list p{margin:4px 0 0;overflow:hidden;color:var(--ink-3);font-size:12.5px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.inner-news-list .article-list-thumb{flex:0 0 150px;display:block;aspect-ratio:16/9;background:var(--brand-l);overflow:hidden;border-radius:4px}
|
|
|
|
|
+.inner-news-list .article-list-thumb img{display:block;width:100%;height:100%;object-fit:cover}
|
|
|
|
|
+.inner-news-list .article-graphic-copy{flex:1;min-width:0}
|
|
|
|
|
+.inner-news-list .article-graphic-head{display:flex;gap:14px;align-items:flex-start}
|
|
|
|
|
+.inner-news-list .article-graphic-title{flex:1;min-width:0;display:block;overflow:hidden;font-size:15px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
+.inner-news-list .article-graphic-time{flex:0 0 84px;text-align:right}
|
|
|
|
|
+.article-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
|
|
|
|
|
+.article-media-grid a{display:block;color:inherit;text-decoration:none}
|
|
|
|
|
+.article-media-thumb{display:block;aspect-ratio:16/9;background:var(--brand-l);overflow:hidden;border-radius:4px}
|
|
|
|
|
+.article-media-thumb img{display:block;width:100%;height:100%;object-fit:cover}
|
|
|
|
|
+.article-media-grid strong{display:-webkit-box;margin-top:9px;overflow:hidden;font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
|
|
|
|
|
+.inner-pagination{display:flex;justify-content:center;gap:8px;margin-top:24px}
|
|
|
|
|
+.inner-pagination a,.inner-pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:4px;color:var(--ink-2);font-size:13px;text-decoration:none}
|
|
|
|
|
+.inner-pagination a:hover,.inner-pagination .active{color:#fff;background:var(--brand);border-color:var(--brand)}
|
|
|
|
|
+.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
|
|
|
|
|
+.catalog-grid a{display:block;height:100%;padding:20px;border:1px solid var(--line);border-radius:6px;color:inherit;text-decoration:none;background:#fff;transition:.2s}
|
|
|
|
|
+.catalog-grid a:hover{border-color:var(--brand-2);box-shadow:0 8px 18px rgba(0,72,174,.1);transform:translateY(-2px)}
|
|
|
|
|
+.catalog-grid strong{display:block;color:var(--brand);font-size:16px;margin-bottom:7px}
|
|
|
|
|
+.catalog-grid p{margin:0;color:var(--ink-3);font-size:12.5px;line-height:1.7}
|
|
|
|
|
+.article-crumb{padding:18px 0;background:var(--brand-l)}
|
|
|
|
|
+.article-layout{grid-template-columns:minmax(0,1fr) 276px}
|
|
|
|
|
+.article-header{padding-bottom:20px;border-bottom:1px solid var(--line)}
|
|
|
|
|
+.article-header>span{display:inline-block;padding:2px 8px;color:var(--brand);background:var(--brand-l);border-radius:3px;font-size:11px}
|
|
|
|
|
+.article-header h1{margin:13px 0 10px;font-size:30px;line-height:1.45;color:var(--ink)}
|
|
|
|
|
+.article-header p{display:flex;flex-wrap:wrap;gap:16px;margin:0;color:var(--ink-3);font-size:12px;font-style:normal}
|
|
|
|
|
+.article-header em{font-style:normal}
|
|
|
|
|
+.article-body{padding-top:24px;color:#333;font-size:15px;line-height:1.9;overflow-wrap:anywhere}
|
|
|
|
|
+.article-body img{max-width:100%;height:auto}
|
|
|
|
|
+.article-body table{max-width:100%;border-collapse:collapse}
|
|
|
|
|
+.article-body a{color:var(--brand)}
|
|
|
|
|
+.article-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px;padding-top:16px;border-top:1px solid var(--line)}
|
|
|
|
|
+.article-tags span{padding:3px 10px;background:var(--brand-l);color:var(--brand);border-radius:3px;font-size:11px}
|
|
|
|
|
+.search-result-meta{margin:0 0 14px;color:var(--ink-3);font-size:12.5px}
|
|
|
|
|
+.search-result-source{display:block;margin-top:5px;color:var(--brand);font-size:11px}
|
|
|
|
|
+.search-empty-panel{padding:36px 20px;text-align:center;background:var(--bg);border-radius:6px}
|
|
|
|
|
+.search-empty-panel strong{display:block;margin-bottom:6px;color:var(--brand);font-size:17px}
|
|
|
|
|
+.search-empty-panel p{margin:0;color:var(--ink-3);font-size:13px}
|
|
|
|
|
+.xg-tab-pane[hidden]{display:none!important}
|
|
|
|
|
+
|
|
|
|
|
+@media (max-width:980px){
|
|
|
|
|
+ .newsrow{grid-template-columns:minmax(0,1fr)}
|
|
|
|
|
+ .majors{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
|
|
|
+ .gallery,.two-col{grid-template-columns:minmax(0,1fr)}
|
|
|
|
|
+ .inner-list-layout,.article-layout{grid-template-columns:minmax(0,1fr)}
|
|
|
|
|
+ .inner-side-panel{position:static;order:2}
|
|
|
|
|
+ .footer .wrap{grid-template-columns:minmax(0,1fr)}
|
|
|
|
|
+ .search{width:100%}
|
|
|
|
|
+ .brand-logo-image{max-width:100%;height:64px}
|
|
|
|
|
+}
|
|
|
|
|
+@media (max-width:640px){
|
|
|
|
|
+ .wrap{padding:0 14px}
|
|
|
|
|
+ .header{padding:14px 0}
|
|
|
|
|
+ .header .wrap{gap:12px}
|
|
|
|
|
+ .brand-logo-image{height:52px;width:auto;max-width:100%}
|
|
|
|
|
+ .nav ul{gap:0;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
|
|
|
|
|
+ .nav ul::-webkit-scrollbar{display:none}
|
|
|
|
|
+ .nav li>a{padding:12px 9px;font-size:13px}
|
|
|
|
|
+ .nav .xg-nav-panel{display:none!important}
|
|
|
|
|
+ .sec{padding:20px 0 4px}
|
|
|
|
|
+ .sec-title h2{font-size:17px}
|
|
|
|
|
+ .newsrow{gap:18px}
|
|
|
|
|
+ .newscard .pic{aspect-ratio:16/9}
|
|
|
|
|
+ .newsrow>.list li>a{gap:10px;align-items:flex-start}
|
|
|
|
|
+ .newsrow>.list li .date-pill{flex:0 0 72px}
|
|
|
|
|
+ .tabbox .tabbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
|
|
|
|
|
+ .tabbox .tabbar::-webkit-scrollbar{display:none}
|
|
|
|
|
+ .tabbox .tabbar button{flex:0 0 auto;padding:7px 11px;font-size:12px}
|
|
|
|
|
+ .tabbox .pane ul li{padding:9px 0;gap:8px}
|
|
|
|
|
+ .tabbox .pane ul li .date-pill{flex:0 0 72px;font-size:10.5px}
|
|
|
|
|
+ .feature{align-items:flex-start;padding:18px;gap:14px}
|
|
|
|
|
+ .feature .ic{width:42px;height:42px;flex-basis:42px}
|
|
|
|
|
+ .feature .tx h3{font-size:15px}
|
|
|
|
|
+ .feature .tx p{font-size:12px}
|
|
|
|
|
+ .feature .go{display:none}
|
|
|
|
|
+ .majors{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
|
|
|
|
|
+ .major .top{height:62px}
|
|
|
|
|
+ .major .bt{padding:9px 6px 10px}
|
|
|
|
|
+ .major .bt .nm{font-size:12px}
|
|
|
|
|
+ .g-left{gap:8px}
|
|
|
|
|
+ .g-left .g-ph span{font-size:10.5px}
|
|
|
|
|
+ .inner-hero{padding:30px 0 26px;margin-bottom:18px}
|
|
|
|
|
+ .inner-hero h1{font-size:26px}
|
|
|
|
|
+ .inner-list-panel,.article-panel{padding:18px 16px 22px}
|
|
|
|
|
+ .inner-news-list>li>a{align-items:flex-start;gap:10px;padding:13px 0}
|
|
|
|
|
+ .inner-news-list .article-list-thumb{flex-basis:108px}
|
|
|
|
|
+ .inner-news-list time,.inner-news-list .article-graphic-time{flex-basis:72px;font-size:10.5px}
|
|
|
|
|
+ .inner-news-list strong{font-size:14px}
|
|
|
|
|
+ .inner-news-list p{font-size:11.5px}
|
|
|
|
|
+ .article-header h1{font-size:23px}
|
|
|
|
|
+ .article-body{font-size:14px;line-height:1.85}
|
|
|
|
|
+ .article-media-grid,.catalog-grid{grid-template-columns:minmax(0,1fr)}
|
|
|
|
|
+ .footer .qr{justify-content:flex-start}
|
|
|
|
|
+}
|