159 lines
2.1 KiB
CSS
159 lines
2.1 KiB
CSS
.panel {
|
|
width: 1100px;
|
|
margin: auto;
|
|
background: #ffffff;
|
|
border-radius: 12px;
|
|
padding: 22px;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
/* ===== 头部 ===== */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid #ddd;
|
|
padding-bottom: 14px;
|
|
}
|
|
|
|
.role-name {
|
|
font-size: 40px;
|
|
font-weight: bold;
|
|
color: #1f1f1f;
|
|
}
|
|
|
|
.sub-info {
|
|
margin-top: 6px;
|
|
font-size: 22px;
|
|
color: #666;
|
|
}
|
|
|
|
/* ===== 头像 + 核心数据 ===== */
|
|
.stats-wrap {
|
|
display: flex;
|
|
gap: 24px;
|
|
margin: 26px 0;
|
|
align-items: stretch;
|
|
}
|
|
|
|
/* 头像区域 */
|
|
.avatar-box {
|
|
width: 280px;
|
|
height: 360px;
|
|
background: #e9ebf1;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.avatar-box img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
/* 右侧数据 */
|
|
.stats {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-template-rows: repeat(2, 1fr);
|
|
gap: 14px;
|
|
}
|
|
|
|
/* 单个数据块 */
|
|
.stat-box {
|
|
background: #f5f6fa;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-title {
|
|
font-size: 26px;
|
|
color: #777;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 36px;
|
|
margin-top: 8px;
|
|
font-weight: bold;
|
|
color: #222;
|
|
}
|
|
|
|
.winrate {
|
|
color: #2fbf71;
|
|
}
|
|
|
|
.mmr {
|
|
color: #f5a623;
|
|
}
|
|
|
|
/* ===== 表格 ===== */table {
|
|
margin-top: 20px;
|
|
font-size: 18px;
|
|
table-layout: fixed;
|
|
}th, td {
|
|
text-align: center;
|
|
}
|
|
|
|
th {
|
|
color: #666;
|
|
font-weight: normal;
|
|
}
|
|
|
|
tbody tr:nth-child(odd) {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.win {
|
|
color: #2fbf71;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.lose {
|
|
color: #e65050;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mmr-up {
|
|
color: #2fbf71;
|
|
}
|
|
|
|
.mmr-down {
|
|
color: #e65050;
|
|
}
|
|
|
|
.mvp {
|
|
color: #f5a623;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.time-col {
|
|
width: 170px;
|
|
font-size: 16px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.duration-col {
|
|
width: 92px;
|
|
}
|
|
|
|
.kungfu-col {
|
|
width: 150px;
|
|
}
|
|
|
|
.result-col {
|
|
width: 64px;
|
|
}
|
|
|
|
.score-col {
|
|
width: 104px;
|
|
}
|
|
|
|
.grade-col {
|
|
width: 96px;
|
|
}
|
|
|
|
.mvp-col {
|
|
width: 58px;
|
|
}
|