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

204 lines
3.1 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;
}
#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;
.name {
height: 34px;
line-height: 34px;
strong {
font-size: 26px;
}
span {
padding-left: 5px;
}
}
.uid {
height: 22px;
line-height: 22px;
font-size: 16px;
}
}
.stat {
position: absolute;
right: 0;
top: 0;
display: flex;
background: rgba(255, 255, 255, .5);
margin: 16px;
border-radius: 29px;
height: 58px;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .4);
}
.stat-li {
@width: 70px;
@padding: 8px;
padding: 7px;
width: @width;
height: 58px;
text-align: center;
position: relative;
&:nth-child(even) {
background: rgba(225, 225, 225, .8);
}
&: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;
}
}
}
#avatar-list {
2023-02-10 14:01:18 +00:00
width: calc(100% + 30px);
margin: 0 -15px -5px;
overflow: hidden;
}
.exploration {
display: flex;
flex-wrap: wrap;
padding: 16px;
.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;
strong {
font-size: 24px;
display: block;
height: 30px;
line-height: 30px;
text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, .5);
}
span {
margin-top: 58px;
font-size: 14px;
height: 20px;
line-height: 20px;
display: block;
text-shadow: 0 0 1px rgba(0, 0, 0, .5);
}
}
}
2023-02-10 14:01:18 +00:00
.cont-title {
padding: 8px 15px;
}
.avatar-cont {
background: rgba(0, 0, 0, .5);
padding: 0;
}
.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
}
}