style: About 页面改左右布局,去掉 ABOUT US badge
All checks were successful
continuous-integration/drone/push Build is passing

- 左侧: 标题 + 三段文案
- 右侧: 联系信息卡片(地址/邮箱/电话)
- 去掉 badge,去掉居中窄栏,利用全宽
This commit is contained in:
yiqiu
2026-03-18 19:52:39 +08:00
parent b6a0dc9b9a
commit fe26f5d817
2 changed files with 71 additions and 76 deletions

View File

@@ -1,5 +1,5 @@
/* ============================================
About 页面 — 极简
About 页面 — 左右布局
============================================ */
#about {
@@ -13,40 +13,30 @@
padding: 100px 0 80px;
}
.about-container {
max-width: 680px;
margin: 0 auto;
padding: 0 24px;
.about-wrap {
display: flex;
gap: 80px;
max-width: 1200px;
width: 100%;
padding: 0 40px;
align-items: flex-start;
}
/* Badge */
.about-badge {
display: inline-block;
padding: 4px 16px;
font-size: 11px;
font-weight: 600;
letter-spacing: 3px;
color: rgba(56, 189, 248, 0.7);
border: 1px solid rgba(56, 189, 248, 0.18);
border-radius: 20px;
margin-bottom: 28px;
/* ---- 左侧 ---- */
.about-left {
flex: 1;
min-width: 0;
}
/* 标题 */
.about-title {
font-size: 48px;
font-size: 40px;
font-weight: 700;
margin-bottom: 48px;
margin-bottom: 40px;
background: linear-gradient(135deg, #fff 20%, #38BDF8 80%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
line-height: 1.15;
}
/* ---- 文案 ---- */
.about-text {
margin-bottom: 56px;
line-height: 1.2;
}
.about-text p {
@@ -61,34 +51,31 @@
margin-bottom: 0;
}
/* 分隔线 */
.about-divider {
width: 48px;
height: 2px;
background: linear-gradient(90deg, #38BDF8, rgba(99, 102, 241, 0.5));
border-radius: 2px;
margin-bottom: 48px;
/* ---- 右侧 ---- */
.about-right {
width: 340px;
flex-shrink: 0;
padding-top: 8px;
}
/* ---- 联系我们 ---- */
.about-contact-title {
font-size: 18px;
font-weight: 600;
color: rgba(226, 232, 240, 0.85);
margin-bottom: 28px;
margin-bottom: 24px;
}
.about-contact-grid {
.contact-list {
display: flex;
flex-direction: column;
gap: 16px;
gap: 14px;
}
.contact-card {
display: flex;
align-items: center;
gap: 16px;
padding: 20px 24px;
align-items: flex-start;
gap: 14px;
padding: 18px 20px;
background: rgba(30, 41, 59, 0.3);
border: 1px solid rgba(148, 163, 184, 0.05);
border-radius: 12px;
@@ -101,11 +88,12 @@
}
.contact-icon {
width: 20px;
height: 20px;
width: 18px;
height: 18px;
flex-shrink: 0;
color: #38BDF8;
opacity: 0.6;
opacity: 0.55;
margin-top: 2px;
}
.contact-icon svg {
@@ -114,15 +102,16 @@
}
.contact-label {
font-size: 13px;
color: rgba(148, 163, 184, 0.5);
min-width: 64px;
flex-shrink: 0;
font-size: 12px;
color: rgba(148, 163, 184, 0.45);
margin-bottom: 4px;
letter-spacing: 0.3px;
}
.contact-value {
font-size: 14px;
color: rgba(226, 232, 240, 0.8);
line-height: 1.4;
}
/* ---- 移动端 ---- */
@@ -131,22 +120,22 @@
padding: 70px 0 60px;
}
.about-wrap {
flex-direction: column;
gap: 48px;
padding: 0 20px;
}
.about-right {
width: 100%;
}
.about-title {
font-size: 32px;
margin-bottom: 32px;
font-size: 28px;
margin-bottom: 28px;
}
.about-text p {
font-size: 14px;
}
.contact-card {
flex-wrap: wrap;
gap: 8px;
padding: 16px 18px;
}
.contact-label {
min-width: auto;
}
}