291 lines
5.2 KiB
CSS
291 lines
5.2 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: 16px;
|
|
color: #1e1f20;
|
|
font-family: "tttgbnumber";
|
|
transform: scale(1.3);
|
|
transform-origin: 0 0;
|
|
}
|
|
.container {
|
|
width: 840px;
|
|
height: 470px;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
.info-box {
|
|
width: 400px;
|
|
padding: 10px 10px 10px 20px;
|
|
}
|
|
.list-box {
|
|
width: 450px;
|
|
}
|
|
.list-box .list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
padding: 0px 0px 10px 0px;
|
|
margin: 4px 10px 0px 0px;
|
|
}
|
|
.list-box .list .item {
|
|
width: 90px;
|
|
height: 180px;
|
|
margin: 20px 7px 15px 7px;
|
|
}
|
|
.item .item-bg {
|
|
background-color: #fff;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 6px 0 8px 0;
|
|
border-radius: 8px;
|
|
position: relative;
|
|
filter: drop-shadow(3px 9px 2px #0000004d);
|
|
}
|
|
.item .item-bg .role-box {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
border-bottom-left-radius: 5px;
|
|
/* border: 0px; */
|
|
}
|
|
.item .item-bg .role {
|
|
width: 100%;
|
|
position: absolute;
|
|
top: -40px;
|
|
}
|
|
|
|
.item .item-bg .role-lv {
|
|
width: 58px;
|
|
background-color: #fff;
|
|
padding-left: 6px;
|
|
position: relative;
|
|
border-bottom-left-radius: 5px;
|
|
font-weight: 600;
|
|
color: #1e1f20;
|
|
border-bottom-right-radius: 2px;
|
|
font-size: 18px;
|
|
}
|
|
.item .item-bg .role-lv .text {
|
|
position: relative;
|
|
z-index: 2;
|
|
height: 23px;
|
|
}
|
|
.item .item-bg .role-lv .text-bg {
|
|
width: 40px;
|
|
height: 23px;
|
|
top: 0px;
|
|
background-color: #fff;
|
|
position: absolute;
|
|
right: -6px;
|
|
transform: skewX(341deg);
|
|
z-index: 1;
|
|
border-radius: 4px;
|
|
}
|
|
.item .item-bg .role-life {
|
|
width: 34px;
|
|
/* background-color: #ff5722; */
|
|
color: #fff;
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 14px;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
padding: 1px 0 1px 4px;
|
|
border-bottom-right-radius: 2px;
|
|
}
|
|
.item .item-bg .role-life::after {
|
|
display: block;
|
|
content: " ";
|
|
width: 28px;
|
|
height: 20px;
|
|
top: 0px;
|
|
/* background-color: #ff5722; */
|
|
position: absolute;
|
|
right: -6px;
|
|
transform: skewX(341deg);
|
|
z-index: -1;
|
|
border-top-right-radius: 8px;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
.冰 {
|
|
background-color: #b2d9e7;
|
|
background-image: linear-gradient(180deg, #b2d9e7 0%, #b2d9e7 100%);
|
|
}
|
|
.风 {
|
|
background-color: #cfe1e2;
|
|
background-image: linear-gradient(180deg, #cfe1e2 0%, #70b2b4 100%);
|
|
}
|
|
.火 {
|
|
background-color: #fdbfc2;
|
|
background-image: linear-gradient(180deg, #fdbfc2 0%, #d96469 100%);
|
|
}
|
|
.水 {
|
|
background-color: #d1e8f0;
|
|
background-image: linear-gradient(180deg, #d1e8f0 0%, #73a9c6 100%);
|
|
}
|
|
.雷 {
|
|
background-color: #e1ddef;
|
|
background-image: linear-gradient(180deg, #e1ddef 0%, #7a6da7 100%);
|
|
}
|
|
.岩 {
|
|
background-color: #f4e3cb;
|
|
background-image: linear-gradient(180deg, #f4e3cb 0%, #d8b37f 100%);
|
|
}
|
|
.life1 {
|
|
background-color: #62a8ea;
|
|
}
|
|
.life1::after {
|
|
background-color: #62a8ea;
|
|
}
|
|
.life2 {
|
|
background-color: #62a8ea;
|
|
}
|
|
.life2::after {
|
|
background-color: #62a8ea;
|
|
}
|
|
.life3 {
|
|
background-color: #45b97c;
|
|
}
|
|
.life3::after {
|
|
background-color: #45b97c;
|
|
}
|
|
.life4 {
|
|
background-color: #45b97c;
|
|
}
|
|
.life4::after {
|
|
background-color: #45b97c;
|
|
}
|
|
.life5 {
|
|
background-color: #ff5722;
|
|
}
|
|
.life5::after {
|
|
background-color: #ff5722;
|
|
}
|
|
.life6 {
|
|
background-color: #ff5722;
|
|
}
|
|
.life6::after {
|
|
background-color: #ff5722;
|
|
}
|
|
.head-box {
|
|
position: relative;
|
|
height: 184px;
|
|
}
|
|
.head-box .name-card {
|
|
width: 378px;
|
|
position: absolute;
|
|
top: -2px;
|
|
left: -1px;
|
|
}
|
|
.head-box .name-card img {
|
|
width: 100%;
|
|
border-radius: 5px;
|
|
}
|
|
.head-box .genshin {
|
|
z-index: 3;
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 2px;
|
|
width: 60px;
|
|
}
|
|
.head-box .genshin-img {
|
|
width: 100%;
|
|
}
|
|
.head-box .avatar {
|
|
width: 90px;
|
|
height: 90px;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 16px;
|
|
bottom: 0;
|
|
margin: 0 auto;
|
|
padding: 3px;
|
|
border: 1px solid #e6d9be;
|
|
border-radius: 50%;
|
|
background-color: #f8f1e1;
|
|
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
|
}
|
|
.head-box .avatar img {
|
|
width: 100%;
|
|
border-radius: 50%;
|
|
border: 1px solid #e6d9be;
|
|
background-color: #ffb285;
|
|
}
|
|
.head-box .name {
|
|
color: #fff;
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
padding-top: 120px;
|
|
font-size: 20px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
.head-box .uid {
|
|
color: #fff;
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: 8px;
|
|
font-size: 20px;
|
|
}
|
|
.data-box {
|
|
width: 365px;
|
|
color: #fff;
|
|
margin: 10px 5px 0px 5px;
|
|
padding-top: 20px;
|
|
border-radius: 10px;
|
|
border: 1px solid #ffffff;
|
|
}
|
|
.data-line {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
margin-bottom: 14px;
|
|
}
|
|
.data-line-item {
|
|
width: 100px;
|
|
text-align: center;
|
|
/*margin: 0 20px;*/
|
|
}
|
|
.data-line-item .num {
|
|
font-size: 22px;
|
|
}
|
|
.data-line-item .lable {
|
|
font-size: 12px;
|
|
color: #f1f2f3;
|
|
line-height: 1;
|
|
margin-top: 3px;
|
|
}
|
|
.tab {
|
|
position: absolute;
|
|
top: 198px;
|
|
left: 10px;
|
|
background: #d4b98c;
|
|
color: rgb(255, 255, 255);
|
|
font-size: 14px;
|
|
padding: 3px 10px;
|
|
border-radius: 15px 0px 15px 15px;
|
|
z-index: 20;
|
|
}
|
|
.logo{
|
|
position: absolute;
|
|
z-index: 1;
|
|
font-size: 12px;
|
|
right: 22px;
|
|
bottom: 8px;
|
|
color: #ffffff;
|
|
}
|