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

541 lines
14 KiB
CSS
Raw Normal View History

2023-03-04 14:30:13 +08:00
@font-face {
font-family: "tttgbnumber";
src: url("../../font/tttgbnumber.ttf");
2023-03-04 14:30:13 +08:00
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 {
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
}
.head_box .id_text{
font-size: 24px;
}
.head_box .day_text{
font-size: 20px;
}
.head_box .genshin_logo {
position: absolute;
top: 1px;
right: 15px;
width: 97px;
}
.base_info {
position: relative;
padding-left: 10px;
}
.uid:before {
content: " ";
position: absolute;
width: 5px;
height: 24px;
border-radius: 1px;
left: 0;
top: 0;
background: #d3bc8d;
}
.uid {
font-family: tttgbnumber;
}
.data_box {
border-radius: 15px;
margin-top: 20px;
margin-bottom: 20px;
padding: 20px 15px 5px 15px;
background: #f5f5f5;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
position: relative;
}
.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;
}
.data_line {
display: flex;
justify-content: space-around;
margin-bottom: 14px;
}
.data_line_item {
width: 100px;
text-align: center;
/*margin: 0 20px;*/
}
.num {
font-family: tttgbnumber;
font-size: 24px;
}
.data_box .lable {
font-size: 14px;
color: #7f858a;
line-height: 1;
margin-top: 3px;
}
.avatars_box {
display: flex;
flex-wrap: wrap;
border-radius: 15px;
margin-top: 15px;
margin-bottom: 15px;
padding: 25px 5px 0px 2px;
background: #f5f5f5;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
position: relative;
}
.avatars_box .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;
}
.avatars_box .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%);*/
}
.avatars_box .bg105 {
background-image: url(../../img/other/bg105.png);
width: 100%;
height: 95px;
background-size: 100%;
background-repeat: no-repeat;
}
.avatars_box .bg5 {
background-image: url(../../img/other/bg5.png);
width: 100%;
height: 95px;
/*filter: brightness(1.1);*/
background-size: 100%;
background-repeat: no-repeat;
}
.avatars_box .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: 4px;
}
.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: 4px;
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%;
}
.abyss_box {
width: 435px;
background-image: url(../../img/abyss/bg.png);
background-size: 100%;
background-repeat: no-repeat;
padding: 7px 0 0 0;
font-family: "tttgbnumber";
color: #fff;
margin: 10px auto;
border-radius: 15px;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
overflow: hidden;
}
.row {
width: 100%;
background: rgba(56, 74, 91, 0.59);
padding: 0px 0px 0px 50px;
display: flex;
font-size: 14px;
}
.abyss_box .row {
padding-bottom: 5px;
}
.abyss_box .row .item {
flex: 1;
position: relative;
}
.abyss_box .row .item div {
padding-top: 4px;
}
.abyss_box .role {
margin-top: 5px;
}
.abyss_box .title {
padding-left: 20px;
font-weight: 500;
color: #d3bc8d;
}
.abyss_box .role .list {
display: flex;
justify-content: center;
margin-top: 7px;
}
.abyss_box .role .list .item {
overflow: hidden;
width: 58px;
height: 70px;
border-radius: 5px;
position: relative;
/*border: 2px solid #d3bc8d;*/
/*background: #e9e5dc;*/
box-shadow: 0 2px 6px 0 rgb(132 93 90 / 30%);
margin: 0 13px;
}
.abyss_box .role .list .item .role_img {
width: 100%;
overflow: hidden;
background-size: 100%;
background-repeat: no-repeat;
}
.abyss_box .role .list .item .desc {
font-weight: 500;
text-align: center;
line-height: 16px;
position: absolute;
bottom: 0;
background: #e9e5dc;
width: 100%;
height: 16px;
color: #1e1f20;
font-size: 14px;
}
.abyss_box .role .list .item .fill_img {
position: absolute;
width: 14px;
right: 0;
bottom: 14px;
}
.abyss_box .bg5 {
background-image: url(../../img/other/bg5.png);
background-size: 100%;
background-repeat: no-repeat;
}
.abyss_box .bg4 {
background-image: url(../../img/other/bg4.png);
background-size: 100%;
background-repeat: no-repeat;
}
.abyss_box .bg105 {
background-image: url(../../img/other/bg105.png);
background-size: 100%;
background-repeat: no-repeat;
}
.detail {
margin-top: 7px;
padding-bottom: 5px;
}
.detail .title {
margin-bottom: 5px;
}
.detail .row {
width: 100%;
background: rgba(56, 74, 91, 0.59);
padding: 4px 0px 4px 50px;
margin-top: 0px;
display: flex;
font-size: 14px;
}
.detail .row .item {
padding-top: 0px;
}
.detail .two {
background: none;
}
.line-icon {
width: 30px;
position: absolute;
top: -12px;
right: 36px;
}
.two_img {
right: 56px;
}
.abyss_box .item .life {
position: absolute;
top: 0px;
right: 0px;
z-index: 9;
font-size: 12px;
text-align: center;
color: #fff;
border-radius: 2px;
padding: 0px 3px;
border-radius: 3px;
font-family: "tttgbnumber";
}
.tab-avatar-item {
height: 30px;
display: flex;
position: relative;
margin: 10px auto;
margin-top: 0;
margin-bottom: 20px;
cursor: pointer;
min-width: 100px;
width: 170px;
text-align: center;
}
.tab-avatar-item-left {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH8AAABACAMAAAAET1hZAAAA4VBMVEUAAADt5+Dt6OHr5d7s5t/r5d7r5d7r5d7s5t/r5d7s5t/r5d7s5t/r5d7r5d7s5t/t5+Ds5t/v6ePr5d7x7OXr5d7u6eLw6+Tu6OHs5t/t6OHu6OLs5+Dt5+Dr5d7s5t/r5d7r5d7v6uPr5d7x7Obr5d7t5+Ds5t/u6eLv6uPr5d7u6eLr5d7v6uTr5d7x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wIuTIP00bNRuZaF/AE4T6P/yFG2sa+je7tnwyDJ2+PEPM6lv9uFCFuwNwOnhv/9l2QXP0Nm6zSuAWn0OPv99wixcfdmUcs4CAghB2IHnfzjqwuNCDT013wqiI/jeBEzZQ/kLI7jc7nfOtQDaWUCAPc7+o/F5oZROALUW6AkEZX7uyH7DMOCn0rsC+CUQ9ie2ZaldNTmRxPEXc89wqfRqsgl86xRLiPo49v67OLbKZsvd3CLkm59mj+GHU8zBXOndS57sg2ju6OMvjxWz3OLCe7qlIkQTvOv9z6hgHrpcX3HUliTZ9988WkN48F/wqEj2/d84wxS8ft/Rq3tjnn/Q0OcfxfRxAV6Et14dfkXwLzMswvqhhnd1aHs1PiFOEwQliHb8pPvNLGbL8Kh9/Rfuw09JSL+0R/HDwMKqYfza1VNuT7U7h7+JnH8Wb3BqQFvs6nd3XlRFOOj5LxQyWC3D5TdNLwO41jtGZcEqhJKT6D8DwG6AMWbr8Pqw0TPOffZ+TPqEEFwiVih5bD8ULbQKAL9vHb0I2H2qNfdgv3/AIIvp1BDeOq31lOOCq4OfgwA65lMarbwB5u9/n5HroMQeCwn5JcUzxEpuBNDo/rr/ukgS8MTIVRCbqWsDPgozf4qI1mReqMMHUUzdoU3zB0kOCKQ/n5zeIJLk+A/ZGBfLTAmknQAAAABJRU5ErkJggg==);
background-size: 70px 40px;
height: 40px;
width: 70px;
z-index: 1;
position: absolute;
left: 0;
top: 0;
}
.tab-avatar-item-middle {
z-index: 0;
height: 40px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAABAAgMAAABNSE7QAAAACVBMVEUAAADx7Obv6eNXnHu8AAAAAXRSTlMAQObYZgAAABVJREFUCNdjWACEQAAkA+gJoXYuAAAl+xRROZX4mgAAAABJRU5ErkJggg==);
background-repeat: repeat-x;
background-size: contain;
position: absolute;
left: 20px;
right: 20px;
width: auto;
}
.tab-avatar-item-right {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH8AAAB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oqzpKMfzp20sXrBV/8n66OP4Gdppx4fTAy38DxVVJ/Urs/0C/1IkovuYZ66i6Z3/X+RiOAr2cyR6T+zKr28SmRP2nhqR/QnYjS19LGJWKmkKj875pE6x3/4kPaKKPE7mzw69upI0Tqvz2b1Uuck53txc9i9Gc3d6/1LAbkm9bO/a50KQSlH5tQTiFxVNj1/Xd5tF5yf927e8oE9tau2z+jXh/1OHTfhIKNHkNr1/3f5dF6ogJdrwlc7XD8oxkoUh8qyDPMEI+s3Y7/zBEiRs84fw/4WoA8tmCTXycB80SOiqDxWB4FjKB5pDf/R0egNX+cnvNwO7gFs63rj8zAXEF2ZcwP9OEx8EsPCB2//+TLGO3FOJ48yr6ipwA/wTAMLT/hEMJfBMSuRGlIogC3MJsUdZ//1QSJV4Fi9YbUTMvuF3XXP5oZ/LqnyZACjGGC51r3X1sfbMXQgExXapaZw+le17/0sKHORrwJDcwZe13/Czd6OnyENxsbSfc/3C32P6jvhfiRhjJeGFr7P0n9tAUWGUC0oH2SKYLi19qAirMHhXecj25BBaqnWAfFr5cgwi5Z2QJ9VwaAEVh5zJt72P9c2wLmXJ5w1wP8MowS2uld7v+S3F1/ClsPIK7BGGK/uO3+t+NKSL3Yf2ehn831SoDvt2CVMNWGVT7x7kEs4BL54QRy9RmQc7Y8+5iGah777V29/wjm4tgnUBEEuJ8BvNhoF0HDr7/wkYgw/mBUu7HgrZzBfBp27ad7jhKugl/+zkwwGjZmnkzQ8m/Pt4dfzR6ANckhXhThIBiFchYx1zDg/1Ntjwc2Ip5PzQO8f85l0eN0VDzU++/++WDchTj+Ace+yEEyeEjrAAAAAElFTkSuQmCC);
background-size: 70px 40px;
height: 40px;
width: 70px;
z-index: 1;
position: absolute;
right: 0;
top: 0;
}
.tab-avatar-item-text {
z-index: 2;
font-size: 20px;
font-weight: 600;
line-height: 40px;
height: 40px;
position: relative;
margin: 0 auto;
}
.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;
}
.basicInfo{
padding: 5px 5px 10px;
background: #f5f5f5;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
border-radius: 15px;
position: relative;
margin-bottom: 12px;
}
.basicInfo_header{
display: flex;
}
.basicInfo_icon {
display: inline-block;
position: relative;
}
.basicInfo_icon{
background-image: url(../../img/icon/七圣召唤.png);
background-size: 70px 70px;
background-repeat: no-repeat;
width: 67px;
color: #fff;
text-align: center;
font-size: 35px;
line-height: 70px;
margin: 10px 10px 0;
}
.basicInfo_right{
display: inline-block;
width:calc(78% - 15px);
padding: 10px 0px;
margin-left: 7px;
}
.basicInfo_right .item{
width: 100%;
padding: 5px 10px 0;
height: 29px;
color: #877254;
font-size: 13px;
border:1px solid #ebeadc;
margin: 5px 0;
background-color: #f5eee4;
display: flex;
}
.basicInfo_right .item div:first-child {
width: 50%;
}
.basicInfo_right .item div:nth-child(2) {
width: 50%;
text-align: right;
}
.basicInfo_covers{
display: flex;
width: 100%;
}
.basicInfo_covers div{
padding: 5px;
}
.basicInfo_covers img{
width: 100%;
height: 100%;
border: 2px solid #c3b6aa;
border-radius: 5px;
}