Miao-Yunzai/plugins/genshin/resources/html/roleBag/roleBag.css

243 lines
4.3 KiB
CSS

@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: 660px;
font-family: PingFangSC-Medium, PingFang SC, sans-serif;
transform: scale(1.5);
transform-origin: 0 0;
}
.list8{
max-width: 450px;
}
.container {
float: left;
min-width: 210px;
padding: 10px;
background-color: #ececec;
}
.main_box {
border-radius: 15px;
padding: 10px 10px 0 0;
background: #f5f5f5;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
}
.base_info {
/*width: 200px;*/
margin: 0 0 10px 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: 0px;
top: 0px;
background: #d3bc8d;
}
.item_box {
display: flex;
flex-wrap: wrap;
}
.item {
margin: 0px 0 10px 10px;
border-radius: 7px;
overflow: hidden;
box-shadow: 0 2px 6px 0 rgb(132 93 90 / 30%);
width: 95px;
background: #e9e5dc;
}
.role_box {
overflow: hidden;
height: 95px;
width: 95px;
position: relative;
background: #e9e5dc;
}
.role_box .role_img {
width: 100%;
overflow: hidden;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
top: 0;
/*filter: contrast(95%);*/
}
.bg105 {
background-image: url(../../img/other/bg105.png);
width: 100%;
height: 95px;
background-size: 100%;
background-repeat: no-repeat;
}
.bg5 {
background-image: url(../../img/other/bg5.png);
width: 100%;
height: 95px;
/*filter: brightness(1.1);*/
background-size: 100%;
background-repeat: no-repeat;
}
.bg4 {
width: 100%;
height: 95px;
background-image: url(../../img/other/bg4.png);
background-size: 100%;
background-repeat: no-repeat;
}
.item .text_box{
font-size: 12px;
background: #e9e5dc;
padding: 5px 0px 4px 0px;
font-family: tttgbnumber;
display: flex;
align-items: flex-start;
}
.item .text_box .weapon_box{
flex: 0 0 34px;
width: 34px;
height: 34px;
padding: 2px;
border-radius: 5px;
background: rgba(0,0,0,.6);
overflow: hidden;
margin-left: 3px;
}
.item .text_box .weapon_boder{
border: 1px solid #d3bc8d;
border-radius: 5px;
width: 30px;
height: 30px;
overflow: hidden;
}
.item .text_box .weapon_img{
width: 100%;
transform: scale(1.2, 1.2);
}
.item .text_box .weapon_name_box{
margin-left: 3px;
white-space: nowrap;
}
.item .text_box .weapon_name_box .weapon_level{
margin-top: 2px;
}
.item .text_box .weapon_affix{
border-radius: 2px;
background-color: #ff5722;
padding: 2px 3px;
color:#fff;
display: inline-block;
transform: scale(0.8);
transform-origin: 12px 7px;
}
.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; */
background: rgba(0,0,0,.6);
color: #ececec;
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;
right: 0px;
z-index: 9;
font-size: 16px;
text-align: center;
color: #fff;
border-radius: 2px;
padding: 1px 3px;
border-radius: 3px;
font-family: "tttgbnumber";
}
.life1 {
background-color: #62a8ea;
}
.life2 {
background-color: #62a8ea;
}
.life3 {
background-color: #45b97c;
}
.life4 {
background-color: #45b97c;
}
.life5 {
background-color: #ff5722;
}
.life6 {
background-color: #ff5722;
}
.base_info span {
margin-left: 5px;
}
.avatar {
height: 24px;
width: 24px;
background-color: #ffb285;
vertical-align: -5px;
margin-left: 2px;
margin-right: 3px;
border: 1px solid #ffb285;
border-radius: 100%;
}
.heart {
background-image: url(./心形.png);
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
z-index: 10;
color: #fff;
font-family: tttgbnumber;
text-align: center;
font-size: 12px;
margin-left: 5px;
display: inline-block;
width: 15px;
}
.fetter {
display: inline-block;
transform: scale(0.8);
}