All checks were successful
continuous-integration/drone/push Build is passing
- 左侧: 标题 + 三段文案 - 右侧: 联系信息卡片(地址/邮箱/电话) - 去掉 badge,去掉居中窄栏,利用全宽
141 lines
2.2 KiB
CSS
141 lines
2.2 KiB
CSS
/* ============================================
|
|
About 页面 — 左右布局
|
|
============================================ */
|
|
|
|
#about {
|
|
background: #020617;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.about-main {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 100px 0 80px;
|
|
}
|
|
|
|
.about-wrap {
|
|
display: flex;
|
|
gap: 80px;
|
|
max-width: 1200px;
|
|
width: 100%;
|
|
padding: 0 40px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
/* ---- 左侧 ---- */
|
|
.about-left {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.about-title {
|
|
font-size: 40px;
|
|
font-weight: 700;
|
|
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.2;
|
|
}
|
|
|
|
.about-text p {
|
|
font-size: 15px;
|
|
line-height: 1.9;
|
|
color: rgba(148, 163, 184, 0.78);
|
|
margin-bottom: 20px;
|
|
text-indent: 2em;
|
|
}
|
|
|
|
.about-text p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* ---- 右侧 ---- */
|
|
.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: 24px;
|
|
}
|
|
|
|
.contact-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.contact-card {
|
|
display: flex;
|
|
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;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.contact-card:hover {
|
|
border-color: rgba(56, 189, 248, 0.1);
|
|
background: rgba(30, 41, 59, 0.45);
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex-shrink: 0;
|
|
color: #38BDF8;
|
|
opacity: 0.55;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.contact-icon svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.contact-label {
|
|
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;
|
|
}
|
|
|
|
/* ---- 移动端 ---- */
|
|
@media (max-width: 768px) {
|
|
.about-main {
|
|
padding: 70px 0 60px;
|
|
}
|
|
|
|
.about-wrap {
|
|
flex-direction: column;
|
|
gap: 48px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.about-right {
|
|
width: 100%;
|
|
}
|
|
|
|
.about-title {
|
|
font-size: 28px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.about-text p {
|
|
font-size: 14px;
|
|
}
|
|
} |