11
This commit is contained in:
@@ -0,0 +1,213 @@
|
||||
.meta {
|
||||
margin-bottom: 26px;
|
||||
color: #7a7f99;
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
}table {
|
||||
table-layout: fixed;
|
||||
}th,
|
||||
td {
|
||||
height: 66px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
th {
|
||||
height: 52px;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/*
|
||||
* 列宽分配
|
||||
*/
|
||||
.rank-width {
|
||||
width: 8%;
|
||||
}
|
||||
|
||||
.avatar-width {
|
||||
width: 9%;
|
||||
}
|
||||
|
||||
.force-width {
|
||||
width: 19%;
|
||||
}
|
||||
|
||||
.role-width {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.server-width {
|
||||
width: 23%;
|
||||
}
|
||||
|
||||
.score-width {
|
||||
width: 16%;
|
||||
}
|
||||
|
||||
/*
|
||||
* 排名列
|
||||
*/
|
||||
.rank-col {
|
||||
color: #d93939;
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/*
|
||||
* 头像列
|
||||
*/
|
||||
.avatar-col {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
display: block;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
margin: 0 auto;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
background: #eef2f8;
|
||||
}
|
||||
|
||||
/*
|
||||
* 职业列
|
||||
*/
|
||||
.force-col {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.force {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 9px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
color: #333;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.force-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
object-fit: contain;
|
||||
flex: 0 0 auto;
|
||||
background: #eef2f8;
|
||||
}
|
||||
|
||||
.force-name {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/*
|
||||
* 角色列
|
||||
*/
|
||||
.role-name-col {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
color: #333;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/*
|
||||
* 服务器列
|
||||
*/
|
||||
.server-col {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
color: #333;
|
||||
font-size: 17px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/*
|
||||
* 资历列
|
||||
*/
|
||||
.score-col {
|
||||
padding-left: 6px;
|
||||
padding-right: 10px;
|
||||
color: #d93939;
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
/*
|
||||
* 小尺寸页面适配
|
||||
*/
|
||||
@media screen and (max-width: 760px) {
|
||||
body {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.meta {
|
||||
margin-bottom: 18px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
height: 58px;
|
||||
padding: 8px 5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
th {
|
||||
height: 46px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.force-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.force {
|
||||
gap: 6px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.rank-col,
|
||||
.role-name-col,
|
||||
.server-col {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.score-col {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user