218 lines
3.1 KiB
CSS
218 lines
3.1 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: 18px;
|
||
|
color: #1e1f20;
|
||
|
font-family: PingFangSC-Medium, PingFang SC, sans-serif;
|
||
|
transform: scale(2);
|
||
|
transform-origin: 0 0;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
width: 465px;
|
||
|
padding: 20px 15px 10px 15px;
|
||
|
background-color: #ececec;
|
||
|
}
|
||
|
|
||
|
.head_box {
|
||
|
border-radius: 15px;
|
||
|
font-family: tttgbnumber;
|
||
|
padding: 10px 20px;
|
||
|
position: relative;
|
||
|
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
||
|
}
|
||
|
|
||
|
.head_box .id_text {
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
|
||
|
.head_box .role-name {
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
|
||
|
.head_box .genshin_logo {
|
||
|
position: absolute;
|
||
|
top: 1px;
|
||
|
right: 15px;
|
||
|
width: 97px;
|
||
|
}
|
||
|
|
||
|
.basicInfo {
|
||
|
padding: 10px 5px 15px;
|
||
|
background: #f5f5f5;
|
||
|
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
||
|
border-radius: 15px;
|
||
|
position: relative;
|
||
|
margin-bottom: 12px;
|
||
|
}
|
||
|
|
||
|
.avatar_covers {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.avatar_covers div {
|
||
|
flex: 0 0 33%;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.avatar_covers img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border: 2px solid #c3b6aa;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.action_covers {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.action_covers div {
|
||
|
flex: 0 0 25%;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
|
||
|
.action_covers img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border: 2px solid #c3b6aa;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.card-wrapper {
|
||
|
position: relative;
|
||
|
width: 25%;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
|
||
|
.card-wrapper img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border: 2px solid #c3b6aa;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.hp-container {
|
||
|
position: absolute;
|
||
|
top: 9%;
|
||
|
left: 12%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
}
|
||
|
|
||
|
.hp-container img {
|
||
|
position: absolute;
|
||
|
border: none;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 25px;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.rq-container img {
|
||
|
position: absolute;
|
||
|
border: none;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 40px;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.cost-wrapper {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
}
|
||
|
|
||
|
.va-container {
|
||
|
position: relative;
|
||
|
top: -11px;
|
||
|
left: -2px;
|
||
|
}
|
||
|
|
||
|
.va-container img {
|
||
|
position: relative;
|
||
|
border: none;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 20px;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.ty-container {
|
||
|
position: relative;
|
||
|
top: -6px;
|
||
|
left: -7px;
|
||
|
}
|
||
|
|
||
|
.ty-container img {
|
||
|
position: relative;
|
||
|
border: none;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 30px;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.overlay {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.logo {
|
||
|
font-size: 12px;
|
||
|
font-family: "tttgbnumber";
|
||
|
text-align: center;
|
||
|
color: #7994a7;
|
||
|
}
|
||
|
|
||
|
.bottom-msg {
|
||
|
font-size: 12px;
|
||
|
font-family: "tttgbnumber";
|
||
|
text-align: center;
|
||
|
color: #7994a7;
|
||
|
margin-bottom: 5px;
|
||
|
margin-top: -5px;
|
||
|
}
|
||
|
|
||
|
.tab_lable {
|
||
|
position: absolute;
|
||
|
top: -10px;
|
||
|
left: -8px;
|
||
|
background: #d4b98c;
|
||
|
color: #fff;
|
||
|
font-size: 14px;
|
||
|
padding: 3px 10px;
|
||
|
border-radius: 15px 0px 15px 15px;
|
||
|
z-index: 20;
|
||
|
}
|
||
|
|
||
|
.num_lable {
|
||
|
position: absolute;
|
||
|
bottom: 0px;
|
||
|
right: 5px;
|
||
|
background: #8ca4d4;
|
||
|
color: #fff;
|
||
|
font-size: 14px;
|
||
|
padding: 3px 10px;
|
||
|
border-radius: 10px 10px 10px 10px;
|
||
|
z-index: 20;
|
||
|
}
|