All checks were successful
continuous-integration/drone/push Build is passing
- 一屏搞定:大标题 + 两行简介 + 4 格数据 - 去掉时间轴、优势列表、CTA - 荣誉资质条件渲染(有数据才显示) - 居中单栏 720px 布局
196 lines
3.4 KiB
CSS
196 lines
3.4 KiB
CSS
/* ============================================
|
|
About 页面 — 极简风格
|
|
============================================ */
|
|
|
|
#about {
|
|
background: #020617;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.about-main {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: calc(100vh - 72px);
|
|
padding: 80px 0 60px;
|
|
}
|
|
|
|
.about-container {
|
|
max-width: 720px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Badge */
|
|
.about-badge {
|
|
display: inline-block;
|
|
padding: 4px 16px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 3px;
|
|
color: rgba(56, 189, 248, 0.8);
|
|
border: 1px solid rgba(56, 189, 248, 0.2);
|
|
border-radius: 20px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
/* 标题 */
|
|
.about-title {
|
|
font-size: 56px;
|
|
font-weight: 700;
|
|
margin-bottom: 24px;
|
|
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-desc {
|
|
font-size: 16px;
|
|
line-height: 1.8;
|
|
color: rgba(148, 163, 184, 0.75);
|
|
margin-bottom: 64px;
|
|
max-width: 560px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
/* ---- 数据统计 ---- */
|
|
.about-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin-bottom: 80px;
|
|
}
|
|
|
|
.about-stat {
|
|
padding: 28px 12px;
|
|
background: rgba(30, 41, 59, 0.35);
|
|
border: 1px solid rgba(148, 163, 184, 0.06);
|
|
border-radius: 14px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.about-stat:hover {
|
|
border-color: rgba(56, 189, 248, 0.12);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.about-stat-num {
|
|
font-size: 34px;
|
|
font-weight: 700;
|
|
color: #F1F5F9;
|
|
line-height: 1.1;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.about-stat-num span {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
color: #38BDF8;
|
|
}
|
|
|
|
.about-stat-label {
|
|
font-size: 12px;
|
|
color: rgba(148, 163, 184, 0.5);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* ---- 荣誉资质 ---- */
|
|
.about-honors-section {
|
|
border-top: 1px solid rgba(148, 163, 184, 0.06);
|
|
padding-top: 48px;
|
|
}
|
|
|
|
.about-section-title {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: rgba(226, 232, 240, 0.6);
|
|
margin-bottom: 28px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.about-honors {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.about-honor-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 16px 14px;
|
|
min-width: 100px;
|
|
max-width: 140px;
|
|
background: rgba(30, 41, 59, 0.25);
|
|
border: 1px solid rgba(148, 163, 184, 0.04);
|
|
border-radius: 10px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.about-honor-item:hover {
|
|
border-color: rgba(56, 189, 248, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.about-honor-item img {
|
|
width: 80px;
|
|
height: auto;
|
|
border-radius: 4px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.about-honor-item span {
|
|
font-size: 11px;
|
|
color: rgba(148, 163, 184, 0.5);
|
|
text-align: center;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* ---- 移动端 ---- */
|
|
@media (max-width: 768px) {
|
|
.about-main {
|
|
padding: 60px 0 40px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.about-title {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.about-desc {
|
|
font-size: 14px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.about-stats {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.about-stat-num {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.about-honor-item {
|
|
min-width: 80px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.about-title {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.about-stats {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
} |