提交正式官网
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
/* ===== UMedGlobal 官网全局样式 =====
|
||||
设计令牌取自原型:
|
||||
主蓝 #48a4fc,青绿 #0CBDA0
|
||||
正文深色 #1E1E1E,次级灰 #666,边框 #ccc
|
||||
*/
|
||||
:root {
|
||||
--blue: #48a4fc;
|
||||
--blue-light: #48a4fc;
|
||||
/** Patient Guide / 内容页蓝色横条与纯色 Hero 背景 */
|
||||
--section-bar: #48a4fc;
|
||||
--teal: #0cbda0;
|
||||
--ink: #1e1e1e;
|
||||
--muted: #666666;
|
||||
--border: #cccccc;
|
||||
--bg-soft: #f6f9fc;
|
||||
--maxw: 1200px;
|
||||
--maxw-header: 1640px;
|
||||
--header-h: 92px;
|
||||
/** 页脚 Logo 展示尺寸(原图 2:1) */
|
||||
--logo-w: 168px;
|
||||
--logo-h: 56px;
|
||||
--logo-en-scale: 1.0526;
|
||||
--logo-footer-w: 150px;
|
||||
--logo-footer-h: 120px;
|
||||
--radius: 14px;
|
||||
--shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
|
||||
--shadow-lg: 0 18px 50px rgba(20, 40, 80, 0.12);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Segoe UI', 'Microsoft YaHei', Arial, 'Helvetica Neue', sans-serif;
|
||||
color: var(--ink);
|
||||
background: #ffffff;
|
||||
line-height: 1.6;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: var(--maxw);
|
||||
margin: 0 auto;
|
||||
padding: 0 32px;
|
||||
}
|
||||
|
||||
/* 通用按钮:原型中蓝色胶囊按钮 */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
height: 48px;
|
||||
padding: 0 28px;
|
||||
border-radius: 150px;
|
||||
background: var(--blue);
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.btn:hover {
|
||||
background: #2d8ee8;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 24px rgba(72, 164, 252, .35);
|
||||
}
|
||||
.btn--ghost {
|
||||
background: #fff;
|
||||
color: var(--blue);
|
||||
border: 1.5px solid var(--blue);
|
||||
}
|
||||
.btn--ghost:hover {
|
||||
background: var(--blue);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* 区块标题 */
|
||||
.section {
|
||||
padding: 72px 0;
|
||||
border-bottom: 1px solid #eef2f6;
|
||||
}
|
||||
.section--soft {
|
||||
background: var(--bg-soft);
|
||||
}
|
||||
.section__eyebrow {
|
||||
color: var(--blue);
|
||||
font-weight: 700;
|
||||
letter-spacing: .06em;
|
||||
text-transform: uppercase;
|
||||
font-size: 13px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.section__title {
|
||||
font-size: clamp(24px, 3vw, 34px);
|
||||
font-weight: 800;
|
||||
line-height: 1.25;
|
||||
color: #0f2740;
|
||||
max-width: 1000px;
|
||||
}
|
||||
.section__desc {
|
||||
margin-top: 14px;
|
||||
color: var(--muted);
|
||||
font-size: 16px;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.text-teal { color: var(--teal); }
|
||||
.text-blue { color: var(--blue); }
|
||||
|
||||
/* 合成长图统一框:白底卡片 + 居中 + 不超过图片原生宽度(避免放大模糊) */
|
||||
.figure {
|
||||
margin: 40px auto 0;
|
||||
background: #fff;
|
||||
border: 1px solid #e6edf4;
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow);
|
||||
padding: 28px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.figure img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.container { padding: 0 18px; }
|
||||
.section { padding: 48px 0; }
|
||||
}
|
||||
Reference in New Issue
Block a user