Files
gsfdc/portal/app/assets/home.css
T

397 lines
16 KiB
CSS

.data {
--logo: url("site-assets/基础数据/logo/logo.jpg");
--slide1: url("site-assets/基础数据/首页轮播/58612080.jpg");
--slide2: url("site-assets/基础数据/首页轮播/50933127.jpg");
--slide3: url("site-assets/基础数据/首页轮播/49922210.jpg");
--dash: url("site-assets/基础数据/新闻动态/文章/10837751/images/173933407.png");
--honor1: url("site-assets/images/8488214.jpg");
--honor2: url("site-assets/images/8488215.jpg");
font-family: "Source Han Sans SC", "PingFang SC", "Noto Sans SC", sans-serif;
color: var(--text);
background: var(--bg);
}
.data a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list time { flex: none; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.list a:hover { color: var(--c); }
.vscroll { overflow: hidden; }
.vtrack { animation: rise linear infinite; }
.vscroll:hover .vtrack,
.vscroll:focus-within .vtrack { animation-play-state: paused; }
@keyframes rise { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
.vtrack { animation: none; }
}
.section-title { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.with-mark { display: flex; align-items: center; gap: 8px; }
.title-mark { width: 22px; height: 22px; flex: none; }
.panel { background: var(--surface); border: 1px solid var(--line); }
.marquee { overflow: hidden; margin-top: 16px; background: var(--surface); border: 1px solid var(--line); }
.track { display: flex; gap: 16px; width: max-content; animation: slide 32s linear infinite; padding: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }
.member {
width: 220px; display: flex; align-items: center; gap: 10px;
padding: 10px 12px; background: var(--chip); border: 1px solid var(--line); font-size: 13px;
}
.member i {
width: 36px; height: 36px; flex: none; border-radius: 4px;
background: var(--c) center/cover no-repeat; opacity: .85;
}
.honor {
width: 140px; height: 72px; background: center/cover no-repeat var(--honor1);
border: 1px solid var(--line); position: relative;
}
.honor.b { background-image: var(--honor2); }
.honor span {
position: absolute; inset: auto 0 0; padding: 4px 6px;
background: rgba(0,0,0,.45); color: #fff; font-size: 11px;
}
footer.site { margin-top: 28px; padding: 28px 0 28px; background: var(--foot); color: var(--foot-fg); font-size: 13px; }
footer.site h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .08em; }
footer.site a { display: block; padding: 3px 0; opacity: .92; }
footer.site a:hover { opacity: 1; }
.foot { display: grid; grid-template-columns: 1.15fr 1.35fr .85fr; gap: 24px; }
.map {
margin-top: 10px; height: 110px; display: grid; place-items: center;
background: linear-gradient(135deg, rgba(255,255,255,.08), transparent), var(--map);
border: 1px solid rgba(255,255,255,.12); font-size: 12px;
}
.icp { margin-top: 16px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; opacity: .8; }
/* ---------- 科技蓝 ---------- */
#tech {
--c: #1677ff;
--c2: #00c2ff;
--bg: #f0f5ff;
--surface: #ffffff;
--text: #0b1f3a;
--muted: #5b6b85;
--line: #d6e4ff;
--chip: #f7faff;
--foot: #041833;
--foot-fg: #d9e8ff;
--map: #0a2a55;
}
#tech .glow {
background:
radial-gradient(900px 280px at 12% -10%, rgba(22,119,255,.22), transparent 60%),
radial-gradient(700px 240px at 90% 0%, rgba(0,194,255,.16), transparent 55%),
var(--bg);
}
#tech header.mast {
background: rgba(255,255,255,.86);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--line);
position: sticky; top: 0; z-index: 5;
}
#tech .mast-row {
display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0 8px;
}
#tech .brand { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
#tech .brand h1 { overflow-wrap: anywhere; }
#tech .slogan {
text-align: right; flex: 0 0 auto;
padding-left: 22px; margin-left: 8px; border-left: 3px solid #0b3a66;
font-family: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
}
#tech .slogan h2 {
margin: 0; font-size: 26px; font-weight: 700; letter-spacing: .06em;
color: #0b2a4a; line-height: 1.3; white-space: nowrap;
}
#tech .slogan p {
margin: 6px 0 0; color: #0b3a66; font-size: 15px; font-weight: 600; letter-spacing: .16em;
white-space: nowrap;
}
#tech .mark {
width: 52px; height: 52px; border-radius: 14px;
background: var(--logo) center/cover no-repeat;
box-shadow: 0 0 0 1px rgba(22,119,255,.25), 0 8px 20px rgba(22,119,255,.18);
}
#tech .brand h1 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: .04em; }
#tech .brand .en {
margin: 4px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .06em;
overflow-wrap: anywhere; text-transform: uppercase;
}
#tech nav.menu {
display: flex; flex-wrap: nowrap; gap: 4px; padding-bottom: 0;
overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
scrollbar-width: thin;
}
#tech nav.menu a {
flex: none; white-space: nowrap;
padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px;
}
#tech nav.menu a[aria-current="page"] { color: var(--c); border-color: var(--c); font-weight: 600; }
#tech a.hero,
#brand a.hero {
display: block;
color: inherit;
text-decoration: none;
cursor: pointer;
}
#tech .hero,
#brand .hero { background-image: none; }
#tech .hero {
margin-top: 18px;
position: relative; height: 360px; border-radius: 18px; overflow: hidden;
background: var(--slide1) center/cover no-repeat;
box-shadow: 0 18px 40px rgba(10,40,100,.18);
}
#tech .hero::after {
content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
background: linear-gradient(transparent, rgba(4,24,51,.55));
}
#tech .hero .cap {
position: absolute; z-index: 1; left: 28px; bottom: 28px; right: 28px; color: #fff;
}
#tech .hero h3 { margin: 0; font-size: 28px; font-weight: 650; }
#tech .hero span {
display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px;
background: rgba(0,194,255,.2); border: 1px solid rgba(0,194,255,.45); font-size: 12px;
}
#tech .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
#tech .col { padding: 16px; border-radius: 14px; min-height: 250px; }
#tech .col h3 { color: var(--c); }
#tech .service-row {
margin-top: 14px;
display: grid;
grid-template-columns: minmax(0, 1.55fr) minmax(300px, .95fr);
gap: 12px;
align-items: stretch;
}
#tech .side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#tech .cats { display: flex; flex-direction: column; gap: 8px; flex: 1; }
#tech .cat {
background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px;
}
#tech .cat h3 {
margin: 0 0 6px; font-size: 14px; letter-spacing: .12em; color: var(--c);
}
#tech .cat a {
display: block; padding: 4px 0; font-size: 13px; color: var(--text); border-bottom: 1px dashed #e6eeff;
}
#tech .cat a:last-child { border-bottom: 0; }
#tech .cat a:hover { color: var(--c); }
#tech .hot {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
#tech .hot a {
display: grid; place-items: center; text-align: center;
min-height: 40px; padding: 8px 6px; border-radius: 8px;
font-size: 14px; letter-spacing: .04em;
color: #fff; background: linear-gradient(160deg, #1677ff, #0a4fd6);
}
#tech .board {
padding: 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 100%;
}
#tech .board-art {
min-height: 180px; border-radius: 12px;
background: var(--dash) center/cover no-repeat; position: relative; overflow: hidden;
}
#tech .board-art::after {
content: ""; position: absolute; inset: 0;
background: linear-gradient(transparent 30%, rgba(4,24,51,.72));
}
#tech .board-art strong {
position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px;
color: #fff; font-size: 15px; font-weight: 600;
}
#tech .board .list li { border-color: #e8efff; }
/* ---------- LOGO 蓝 ---------- */
#brand {
--c: #0858a3;
--c2: #064a86;
--bg: #ffffff;
--surface: #ffffff;
--text: #1c2430;
--muted: #6d645b;
--line: #e6e8eb;
--chip: #ffffff;
--r: 12px;
--foot: #06243f;
--foot-fg: #efe7da;
--map: #0a3a66;
--brass: #b08948;
font-family: "Source Han Sans SC", "PingFang SC", "Noto Sans SC", sans-serif;
}
#brand header.mast { background: var(--surface); color: var(--text); }
#brand .brand-head {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
column-gap: 28px;
width: min(1140px, calc(100% - 32px));
margin: 0 auto;
padding: 28px 0 22px;
}
#brand .brand-head::before { content: ""; grid-column: 1; }
#brand .brand-head > .wrap {
grid-column: 2;
width: auto;
max-width: 100%;
margin: 0;
min-width: 0;
}
#brand .mast-row { padding: 0; text-align: center; }
#brand .crest {
width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%;
background: #fff var(--logo) center/78% no-repeat;
box-shadow: 0 0 0 1px #e3d9cc, 0 0 0 6px #fff, 0 0 0 7px var(--brass);
}
#brand header.mast h1 {
margin: 0;
font-family: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
font-size: 30px; font-weight: 600; letter-spacing: .16em; color: #12304f;
}
#brand header.mast h1::after {
content: ""; display: block; width: 64px; height: 2px; margin: 14px auto 0;
background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
#brand header.mast .en {
margin: 10px 0 0; letter-spacing: .06em; font-size: 11px; color: var(--muted);
overflow-wrap: anywhere; text-transform: uppercase;
}
#brand .slogan {
grid-column: 3;
justify-self: end;
align-self: center;
width: max-content;
max-width: 100%;
min-width: 0;
margin: 0;
text-align: right;
padding-left: 16px;
border-left: 3px solid var(--brass);
font-family: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
}
#brand .slogan h2,
#brand .slogan p { display: block; text-align: right; white-space: normal; }
#brand .slogan h2 {
margin: 0; font-size: 17px; font-weight: 600; letter-spacing: 0;
color: #12304f; line-height: 1.35;
}
#brand .slogan p {
margin: 8px 0 0; font-size: 15px; letter-spacing: .06em; color: var(--c);
}
#brand nav.menu {
display: flex; justify-content: center; flex-wrap: nowrap; gap: 8px 36px;
background: var(--c); color: #f7f3eb;
overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
scrollbar-width: thin;
}
#brand nav.menu a {
flex: none; white-space: nowrap;
padding: 14px 4px; letter-spacing: .18em; font-size: 15px;
}
#brand nav.menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 #e4c98a; }
#brand .hero {
margin-top: 22px; height: 340px; background: var(--slide2) center/cover no-repeat;
position: relative; border: 1px solid var(--line);
border-radius: var(--r); overflow: hidden;
}
#brand .hero .cap {
position: absolute; left: 0; right: 0; bottom: 0;
padding: 12px 16px; background: rgba(6, 36, 63, .82); color: #fff;
}
#brand .hero h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: .04em; line-height: 1.45; }
#brand .sheet {
margin-top: 16px;
display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
#brand .cell {
background: var(--surface); border: 1px solid var(--line);
border-radius: var(--r); padding: 14px 14px 4px; min-width: 0;
}
#brand .cell h3 {
margin: 0 0 10px;
font-family: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
font-size: 17px; font-weight: 600; letter-spacing: .16em; color: #12304f;
}
#brand .cover {
display: block; height: 176px; position: relative; overflow: hidden;
border-radius: 10px; background: #12304f center/cover no-repeat;
}
#brand .cover strong {
position: absolute; left: 0; right: 0; bottom: 0;
padding: 10px 12px; background: rgba(6, 36, 63, .82);
color: #fff; font-size: 14px; font-weight: 500; line-height: 1.45;
}
#brand .gate { margin-top: 22px; }
#brand .band {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
#brand .band a {
text-align: center; padding: 14px 8px;
font-size: 15px; letter-spacing: .18em; font-weight: 600;
color: #fff; background: var(--c); border-radius: 10px;
}
#brand .band a:hover { background: #064a86; }
#brand .rows {
margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff;
}
#brand .rows .cat {
background: transparent; border: 0; border-radius: 0; box-shadow: none;
padding: 18px 22px 14px;
}
#brand .rows .cat + .cat { border-left: 1px solid var(--line); }
#brand .rows h3 {
margin: 0 0 12px; padding: 0 0 10px;
font-family: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
font-size: 17px; font-weight: 600; letter-spacing: .18em;
color: #12304f; background: transparent; border: 0;
border-bottom: 2px solid var(--c);
}
#brand .rows a {
display: block; margin: 0; padding: 8px 0;
border: 0; font-size: 14px; color: #334155; line-height: 1.5;
}
#brand .rows a:hover { color: var(--c); }
#brand .rail {
margin: 22px 0 0;
font-family: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
font-size: 18px; font-weight: 600; letter-spacing: .16em; color: #12304f;
}
#brand .marquee { background: var(--surface); border-radius: var(--r); }
#brand .honor { border-radius: 8px; overflow: hidden; }
#brand .member { border-radius: 10px; }
#brand .map { border-radius: 10px; }
#brand .honor span { background: rgba(6,36,63,.62); letter-spacing: .08em; }
@media (max-width: 860px) {
#tech .cols, #tech .service-row, #tech .foot,
#brand .sheet, #brand .foot, #brand .rows { grid-template-columns: 1fr; }
#brand .hero { height: 220px; }
#tech .hero { height: 220px; border-radius: 12px; }
#tech .mast-row { flex-direction: column; align-items: flex-start; }
#tech .slogan { text-align: left; max-width: none; padding-left: 0; border-left: 0; border-top: 3px solid #0b3a66; padding-top: 10px; }
#tech .slogan h2 { font-size: 22px; letter-spacing: .08em; }
#tech .brand h1 { font-size: 17px; }
#brand .brand-head {
display: flex;
flex-direction: column;
align-items: center;
width: min(1140px, calc(100% - 32px));
}
#brand .brand-head::before { content: none; }
#brand .brand-head > .wrap { width: 100%; }
#brand header.mast h1 { font-size: 20px; letter-spacing: .08em; }
#brand .slogan {
width: auto;
max-width: 100%;
margin-top: 16px;
text-align: center;
border-left: 0;
padding-left: 0;
border-top: 3px solid var(--brass);
padding-top: 12px;
}
#brand .slogan h2, #brand .slogan p { text-align: center; }
#brand nav.menu { justify-content: flex-start; padding: 0 16px; gap: 8px 24px; }
#brand .band { grid-template-columns: 1fr; }
#brand .rows .cat + .cat { border-left: 0; border-top: 1px solid var(--line); }
}