miao-plugin/resources/common/tpl.css

356 lines
7.4 KiB
CSS

.item-card {
width: 66px;
margin: 4px;
position: relative;
border-radius: 5px;
}
.item-card .badge {
overflow: hidden;
border-radius: 50%;
display: block;
width: 26px;
height: 26px;
position: absolute;
right: -4px;
top: -4px;
background: #e9e5dc;
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.8), 2px 2px 2px rgba(50, 50, 50, 0.5);
z-index: 10;
}
.item-card .badge img {
width: 140%;
left: -27%;
top: -45%;
overflow: hidden;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
}
.item-card .item-bg {
width: 100%;
padding: 100% 0 0;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin: 0;
}
.item-card .bg1 {
background-image: url("./item/bg1.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg-1 {
background-image: url("./item/bg1.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg2 {
background-image: url("./item/bg2.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg-2 {
background-image: url("./item/bg2.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg3 {
background-image: url("./item/bg3.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg-3 {
background-image: url("./item/bg3.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg4 {
background-image: url("./item/bg4.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg-4 {
background-image: url("./item/bg4.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg5 {
background-image: url("./item/bg5.png");
border-radius: 5px 5px 15px 0;
}
.item-card .bg-5 {
background-image: url("./item/bg5.png");
border-radius: 5px 5px 15px 0;
}
.item-card .box {
border-radius: 5px;
overflow: hidden;
background: #e9e5dc;
}
.item-card .box .item-desc {
display: block;
font-weight: 500;
text-align: center;
bottom: 0;
background: #e9e5dc;
width: 100%;
font-size: 12px;
line-height: 16px;
white-space: nowrap;
overflow: hidden;
padding: 0 3px;
}
.item-card .box .item-desc:last-child {
padding-bottom: 2px;
}
.item-card .box .name {
overflow: hidden;
white-space: nowrap;
margin-top: 5px;
font-weight: 500;
text-align: center;
font-size: 14px;
}
.item-card .box .item-img {
width: 100%;
overflow: hidden;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
top: 0;
}
.item-card .item-life {
position: absolute;
top: 0;
left: 0;
z-index: 9;
font-size: 13px;
text-align: center;
color: #fff;
padding: 1px 4px;
border-radius: 3px;
}
.item-card .life1 {
background-color: #62a8ea;
}
.item-card .life2 {
background-color: #62a8ea;
}
.item-card .life3 {
background-color: #62a8ea;
}
.item-card .life4 {
background-color: #ff5722;
}
.item-card .life5 {
background-color: #ff5722;
}
.avatar-card {
margin: 4.5px;
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
font-size: 19.5px;
border-radius: 10.5px;
}
.avatar-card .card {
border-radius: 10.5px;
box-shadow: 0 2px 9px 0 rgba(132, 93, 90, 0.3);
position: relative;
overflow: hidden;
background: #e7e5d9;
width: 105px;
}
.avatar-card .avatar-face {
width: 105px;
height: 105px;
border-radius: 10.5px 10.5px 22.5px 0;
background-size: 100% 100%;
background-repeat: no-repeat;
position: relative;
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}
.avatar-card .avatar-face .img {
background-position: center bottom;
}
.avatar-card .avatar-face .avatar-level {
position: absolute;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
left: 0;
padding: 3px 7.5px 3px 4.5px;
border-radius: 0 6px 0 0;
color: #fff;
font-size: 16px;
text-shadow: 0 0 1px #000;
}
.avatar-card .avatar-face .avatar-level span {
font-size: 12px;
}
.avatar-card .cons {
border-radius: 0 0 0 7.5px;
padding: 3px 7.5px;
position: absolute;
right: 0;
top: 0;
font-size: 16px;
text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.avatar-card .cons.cons-0 {
display: none;
}
.avatar-card .avatar-talent {
height: 30px;
padding: 4.5px 7.5px 3px;
font-size: 18px;
width: 100%;
color: #222;
text-align: center;
display: flex;
}
.avatar-card .avatar-talent .talent-item {
width: 30px;
height: 24px;
line-height: 25.5px;
margin: 0 3px;
text-align: center;
display: block;
background-size: contain;
opacity: 0.8;
position: relative;
border-radius: 4.5px;
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
.avatar-card .avatar-talent .talent-item.talent-plus {
font-weight: bold;
color: #0284b9;
}
.avatar-card .avatar-talent .talent-item.talent-crown {
background: #d3bc8e;
color: #3a2702;
box-shadow: 0 0 3px 0 #000;
}
.avatar-card .avatar-talent.no-talent {
font-size: 18px;
color: rgba(100, 100, 100, 0.5);
text-align: center;
padding: 4.5px 0 3px;
}
.avatar-card .avatar-talent.no-talent span {
transform: scale(0.75);
white-space: nowrap;
margin-left: -1px;
}
.avatar-card.card-mini .wide,
.avatar-card.card-mini .line {
display: none;
}
.avatar-card .avatar-name {
padding: 12px 0 0 7.5px;
color: #333;
}
.avatar-card .avatar-name strong {
font-size: 30px;
display: block;
height: 34.5px;
line-height: 30px;
}
.avatar-card .avatar-name .cons {
position: initial;
border-radius: 4px;
padding: 1.5px 4.5px;
vertical-align: baseline;
}
.avatar-card.card-wide .mini {
display: none;
}
.avatar-card.card-wide .card {
width: 219px;
display: flex;
}
.avatar-card.card-wide .avatar-face {
height: 189px;
width: 114px;
border-radius: 10.5px 0 0 10.5px;
}
.avatar-card.card-wide .avatar-face .img {
background-size: 100% auto;
background-position: 0 10%;
height: 202.5px;
margin-top: -13.5px;
}
.avatar-card.card-wide .avatar-info {
width: 105px;
}
.avatar-card.card-wide .avatar-info strong {
display: block;
height: 45px;
line-height: 45px;
}
.avatar-card.card-wide .avatar-info .lv-info {
height: 30px;
}
.avatar-card.card-wide .line {
display: block;
height: 1px;
width: 100%;
margin: 5px 0;
background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(100, 100, 100, 0.5) 20%, rgba(100, 100, 100, 0.5) 80%, rgba(0, 0, 0, 0));
transform: scale(0.8);
}
.avatar-card.wide2 .card {
width: 447px;
}
.avatar-card.wide2 .avatar-face {
width: 219px;
}
.avatar-card.wide2 .avatar-face .img {
margin-top: -75px;
height: 264px;
}
.avatar-card.wide2 .avatar-info {
width: 219px;
padding-left: 7.5px;
}
.avatar-card .avatar-detail {
display: flex;
padding: 0 1.5px 3px 3px;
}
.avatar-card .avatar-detail .item {
width: 46.5px;
height: 46.5px;
border-radius: 4.5px;
margin: 1.5px;
overflow: hidden;
}
.avatar-card .avatar-weapon .icon {
border-radius: 4px;
}
.avatar-card .avatar-weapon .cons {
top: initial;
bottom: 0;
padding: 1.5px 4.5px;
border-radius: 4.5px 0 0 0;
}
.avatar-card .avatar-artis {
position: relative;
}
.avatar-card .avatar-artis.artis0 .item-icon {
background: url('./item/artifact-icon.webp') rgba(0, 0, 0, 0.3) center no-repeat;
background-size: auto 80%;
}
.avatar-card .avatar-artis .artis {
background: rgba(0, 0, 0, 0.4);
}
.avatar-card .avatar-artis.artis2 .img {
position: absolute;
transform: scale(0.7);
width: 92%;
height: 92%;
margin: 4%;
}
.avatar-card .avatar-artis.artis2 .img:first-child {
transform-origin: left top;
}
.avatar-card .avatar-artis.artis2 .img:last-child {
transform-origin: right bottom;
}
.item-list {
display: flex;
flex-wrap: wrap;
transform-origin: 0 0;
}
.item-list .item {
width: 65px;
}
/*# sourceMappingURL=tpl.css.map */