Miao-Yunzai/plugins/genshin/resources/html/avatar/weapon.less

290 lines
4.4 KiB
Plaintext

@font-face {
font-family: "tttgbnumber";
src: url("../../font/tttgbnumber.ttf");
font-weight: normal;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
body {
font-size: 12px;
color: #1e1f20;
max-width: 580px;
font-family: PingFangSC-Medium, PingFang SC, sans-serif;
transform: scale(1.5);
transform-origin: 0 0;
}
.list8 {
max-width: 342px;
}
.container {
float: left;
min-width: 210px;
padding-right: 15px;
/*border: 1px solid #333;*/
padding: 10px;
background-color: #ececec;
}
.main_box {
border-radius: 15px;
padding: 10px 10px 6px 0;
background: #fff;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
}
.base_info {
/*width: 200px;*/
margin: 0 0 15px 10px;
font-size: 16px;
position: relative;
}
.uid {
font-family: tttgbnumber;
margin-left: 17px;
}
.uid:before {
content: " ";
position: absolute;
width: 5px;
height: 24px;
border-radius: 1px;
left: 0;
top: -1px;
background: #d3bc8d;
}
.lab {
display: flex;
margin-top: 12px;
flex-wrap: wrap;
}
.lab-item {
font-size: 14px;
font-family: tttgbnumber;
margin-right: 6px;
margin-bottom: 8px;
background: #F6F7F8;
/* color: #61666D; */
padding: 0px 10px 2px 6px;
border-radius: 12px;
border: solid 1px #939393;
display: flex;
align-items: center;
}
.lab-item-5 {
background: #d59258;
width: 6px;
height: 6px;
border-radius: 100%;
margin-right: 4px;
}
.lab-item-4 {
background: #9073ba;
width: 6px;
height: 6px;
border-radius: 100%;
margin-right: 4px;
}
.lab-item-3 {
background: #4c99b9;
width: 6px;
height: 6px;
border-radius: 100%;
margin-right: 4px;
}
.lab-item-weapon {
width: 16px;
height: 16px;
background-color: #a18479;
border-radius: 100%;
margin-left: -2px;
margin-right: 4px;
}
.lab-item-weapon img {
width: 100%;
height: 100%;
}
.item_box {
display: flex;
flex-wrap: wrap;
}
.item {
width: 66px;
margin: 0px 0 10px 12px;
position: relative;
}
.role_box {
overflow: hidden;
height: 80px;
border-radius: 5px;
position: relative;
/*border: 2px solid #d3bc8d;*/
background: #e9e5dc;
box-shadow: 0 2px 6px 0 rgb(132 93 90 / 30%);
}
.role_box .role_img {
width: 100%;
overflow: hidden;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
top: 0;
/*filter: contrast(95%);*/
}
.bg5 {
background-image: url(../../img/other/bg5.png);
width: 100%;
height: 70px;
/*filter: brightness(1.1);*/
background-size: 100%;
background-repeat: no-repeat;
}
.bg4 {
width: 100%;
height: 70px;
background-image: url(../../img/other/bg4.png);
background-size: 100%;
background-repeat: no-repeat;
}
.bg3 {
width: 100%;
height: 70px;
background-image: url(../../img/other/bg3.png);
background-size: 100%;
background-repeat: no-repeat;
}
.bg2 {
width: 100%;
height: 70px;
background-image: url(../../img/other/bg3.png);
background-size: 100%;
background-repeat: no-repeat;
}
.bg1 {
width: 100%;
height: 70px;
background-image: url(../../img/other/bg3.png);
background-size: 100%;
background-repeat: no-repeat;
}
.role_box .fill_img {
position: absolute;
width: 15px;
right: 0;
bottom: 17px;
}
.role_box .desc {
font-weight: 500;
text-align: center;
line-height: 18px;
position: absolute;
bottom: 0;
background: #e9e5dc;
width: 100%;
height: 18px;
font-size: 14px;
font-family: "tttgbnumber";
}
.role_name {
overflow: hidden;
white-space: nowrap;
margin-top: 5px;
font-weight: 500;
text-align: center;
font-size: 14px;
/*margin-top: 5px;*/
}
.role_box .life {
position: absolute;
top: 0px;
left: 0px;
z-index: 9;
font-size: 13px;
text-align: center;
color: #fff;
border-radius: 2px;
padding: 1px 4px;
border-radius: 3px;
font-family: "tttgbnumber";
}
.life1 {
background-color: #62a8ea;
}
.life2 {
background-color: #62a8ea;
}
.life3 {
background-color: #62a8ea;
}
.life4 {
background-color: #ff5722;
}
.life5 {
background-color: #ff5722;
}
.user {
position: absolute;
top: -5px;
right: -5px;
z-index: 9;
font-size: 12px;
text-align: center;
color: #fff;
padding: 1px 3px;
border-radius: 100%;
border: 1px solid #fff;
width: 24px;
height: 24px;
background-color: #4e5362;
background-size: auto 100%;
}
.user_img {
width: 32px;
position: absolute;
top: -12px;
right: -5px;
}
.tips {
margin: 0px 0px 6px 12px;
font-size: 12px;
color: #7f858a;
}