miao-plugin/resources/character/profile-list.css

123 lines
2.2 KiB
CSS
Raw Normal View History

body,
.container {
width: 650px;
}
.container > .cont {
margin-left: 15px;
}
.head-box {
margin-top: 10px;
}
.head-box .label {
font-size: 14px;
}
.char-list {
display: flex;
flex-wrap: wrap;
padding: 10px;
}
.char-item {
margin: 5px 0;
2022-11-07 20:08:24 +00:00
position: relative;
}
.char-item .name {
margin-top: 5px;
display: block;
font-size: 14px;
color: #fff;
text-align: center;
text-shadow: 0 0 1px #000;
}
.char-item .name .cons {
padding: 1px 4px;
font-size: 12px;
transform: scale(0.8);
margin: -2px 0 0 1px;
vertical-align: middle;
opacity: 0.9;
}
.char-item.new-char .name:before {
content: "";
display: inline-block;
width: 8px;
height: 8px;
background: #90e800;
border-radius: 50%;
margin-right: 3px;
}
2022-11-07 20:08:24 +00:00
.char-item .group-rank {
position: absolute;
background: url('./imgs/rank-bg.png') left top no-repeat;
background-size: auto 100%;
left: 0;
top: 0;
margin-top: -5px;
width: 74px;
height: 74px;
}
.char-item .group-rank span {
position: absolute;
font-size: 12px;
width: 16px;
height: 16px;
bottom: 0;
left: 50%;
margin-left: -7px;
text-align: center;
transform: scale(0.8);
display: none;
text-shadow: 0 0 2px #b26f08;
}
.char-item .group-rank.rank-1 {
background-position: 25% 0;
}
.char-item .group-rank.rank-2 {
background-position: 50% 0;
}
.char-item .group-rank.rank-3 {
background-position: 75% 0;
}
.char-item .group-rank.rank-4 {
background-position: 100% 0;
}
.char-item .group-rank.rank-4 span {
display: block;
}
.char-icon {
width: 64px;
height: 64px;
border-radius: 50%;
border: 2px solid #fff;
box-shadow: 1px 1px 3px 0 #000;
overflow: visible;
margin: 0 5px 0 6px;
}
.char-icon .img {
background-size: auto 100%;
background-position: top center;
overflow: hidden;
border-radius: 50%;
}
.cont-footer {
display: flex;
background: rgba(0, 0, 0, 0.4);
}
.cont-footer span {
width: 50%;
}
.cont-footer .serv {
text-align: right;
}
.cont-footer .new-tip:before {
content: "";
display: inline-block;
width: 8px;
height: 8px;
background: #90e800;
border-radius: 50%;
margin-right: 3px;
}
2022-11-07 20:08:24 +00:00
.no-rank .group-rank {
display: none;
}
/*# sourceMappingURL=profile-list.css.map */