miao-plugin/resources/character/avatar-list.less

276 lines
4.3 KiB
Plaintext
Raw Normal View History

2023-02-10 14:01:18 +00:00
.container {
width: 740px;
2023-02-10 14:01:18 +00:00
background-size: cover;
}
.head-box {
margin-top: 0;
}
.user-banner {
height: 90px;
background-size: auto 100%;
background-position: right center;
background-repeat: no-repeat;
background-color: #f0ece4;
border-radius: 50px;
padding: 1px;
margin: 5px 0;
display: flex;
white-space: nowrap;
position: relative;
.face {
width: 70px;
height: 70px;
margin: 10px;
border-radius: 50%;
box-shadow: 0 0 1px #000, 0 0 5px rgba(0, 0, 0, .5);
border: 3px solid #fff;
overflow: hidden;
background: url('../common/item/bg5.png');
background-size: cover;
span {
display: block;
width: 64px;
height: 64px;
background-size: auto 100%;
background-repeat: no-repeat;
}
}
.user-info {
padding: 15px 5px;
color: #414e64;
2023-02-12 15:39:46 +00:00
text-shadow: 0 0 2px #f0ece4, 0 0 5px #f0ece4;
.name {
height: 34px;
line-height: 34px;
strong {
font-size: 24px;
}
span {
padding-left: 5px;
}
}
.uid {
height: 22px;
line-height: 22px;
font-size: 16px;
}
}
.stat {
position: absolute;
right: 0;
top: 0;
display: flex;
margin: 16px;
border-radius: 29px;
height: 58px;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .4);
2023-02-11 13:37:33 +00:00
overflow: hidden;
}
.stat-li {
@width: 70px;
@padding: 10px;
padding: 7px;
width: @width;
height: 58px;
text-align: center;
position: relative;
2023-02-12 15:39:46 +00:00
text-shadow: 0 0 1px #fff;
2023-02-11 13:37:33 +00:00
&:nth-child(odd) {
background: rgba(255, 255, 255, .65);
}
&:nth-child(even) {
2023-02-11 13:37:33 +00:00
background: rgba(220, 220, 220, .5);
}
&:first-child {
width: @width+@padding;
padding-left: 7px+@padding;
}
&:last-child {
width: @width+@padding;
padding-right: 7px+@padding;
}
strong {
font-size: 22px;
display: block;
}
span {
display: block;
font-size: 14px;
color: #414e64;
}
}
}
2023-02-10 14:01:18 +00:00
.exploration {
display: flex;
flex-wrap: wrap;
margin: 10px 0;
justify-content: center;
.item {
width: 93px;
height: 93*1.25px;
background: url('./imgs/exploration.webp') no-repeat;
background-size: auto 100%;
border-radius: 4px;
margin: 3px;
text-align: center;
color: #fff;
align-items: center;
strong {
2023-02-11 13:37:33 +00:00
font-size: 22px;
display: block;
height: 30px;
line-height: 30px;
text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, .5);
2023-02-11 13:37:33 +00:00
font-weight: normal;
}
span {
margin-top: 58px;
font-size: 14px;
height: 20px;
line-height: 20px;
display: block;
text-shadow: 0 0 1px rgba(0, 0, 0, .5);
}
}
}
.chest-list {
margin: 10px 0;
overflow: hidden;
background: rgba(0, 0, 0, .6);
padding: 0 15px;
display: flex;
justify-content: center;
.chest {
width: 20%;
display: flex;
padding: 15px 0;
&:nth-child(even) {
background: rgba(50, 50, 50, .5);
}
.value {
font-size: 24px;
line-height: 40px;
height: 40px;
padding-right: 8px;
text-align: right;
width: 70px;
text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, .5);
}
.detail {
width: 60px;
height: 40px;
font-size: 14px;
}
.info {
display: flex;
height: 20px;
line-height: 20px;
}
.icon {
display: inline-block;
width: 18px;
height: 18px;
margin: 1px;
background: url('./imgs/chest.webp') no-repeat;
background-size: auto 100%;
vertical-align: center;
}
.max {
padding-left: 3px;
color: #aaa;
}
.title {
height: 20px;
display: flex;
color: #d3bc8e;
}
}
}
2023-02-10 14:01:18 +00:00
.cont-title {
padding: 8px 15px;
}
.avatar-cont-main {
overflow: hidden;
}
2023-02-10 14:01:18 +00:00
.avatar-cont {
background: rgba(0, 0, 0, .5);
padding: 0;
margin: 10px 0;
2023-02-10 14:01:18 +00:00
}
.avatar-list {
display: flex;
flex-wrap: wrap;
padding: 8px;
border-radius: 10px;
.avatar-card {
margin: 5px;
}
}
.cont-notice {
text-align: right;
strong {
color: #d3bc8e;
}
2023-02-10 14:01:18 +00:00
span {
padding: 0 3px;
color: #aaa;
}
}
.ck-notice {
text-align: center;
color: rgba(255, 255, 255, .9);
font-size: 13px;
strong {
color: #d3bc8e;
padding: 0 2px;
font-weight: normal;
2023-02-10 14:01:18 +00:00
}
}