miao-plugin/resources/stat/role-summary.less

203 lines
3.3 KiB
Plaintext
Raw Normal View History

@import "../common/base.less";
@scale: 1.4;
2024-07-04 18:57:19 +00:00
body,
.container {
width: 970px;
}
.container {
padding: 5px 0 10px 5px;
}
.head-box {
display: flex;
width: 100%;
.title {
font-size: 45px;
padding-bottom: 10px;
width: 70%;
span {
font-size: 30px;
margin-left: 10px;
color: #d3bc8e;
}
}
.uid {
text-align: right;
width: 30%;
padding-top: 25px;
padding-right: 10px;
font-size: 25px;
}
}
2024-07-03 11:39:21 +00:00
.role-stat-cont {
display: flex;
padding: 5px;
}
2024-07-03 11:39:21 +00:00
.role-stat {
display: flex;
.cont {
// position: relative;
margin: 5px 10px 5px 5px;
width: 175px;
height: 90px;
}
.cont.star-display {
width: 230px;
}
strong {
text-shadow: 0 0 3px #000;
}
.stat-title {
position: absolute;
top: 0;
background: rgba(0, 0, 0, 0.5);
padding: 5px 10px;
width: 100%;
text-shadow: 0 0 1px #000;
span {
display: block;
font-weight: normal;
.font-NZBZ;
font-size: 24px;
}
strong {
display: block;
font-size: 30px;
}
}
.stat-msg {
position: absolute;
bottom: 0;
background: rgba(0, 0, 0, 0.55);
backdrop-filter: blur(2px);
padding: 5px 10px;
width: 100%;
text-shadow: 0 0 1px #000;
font-size: 30px;
height: 45px;
display: flex;
2024-07-03 10:52:28 +00:00
justify-content: flex-start;
.stat-star-container {
2024-07-04 18:57:19 +00:00
flex: 0 0 11%;
/* 23% 是为了在有间隙的情况下,四个元素一行 */
margin-bottom: 10px;
2024-07-04 18:57:19 +00:00
.stat-star {
width: 25px;
height: 25px;
background-size: cover;
2024-07-04 18:57:19 +00:00
margin-top: 4px;
}
}
}
}
2024-07-03 11:39:21 +00:00
.role-title {
margin: -3px 0 8px;
display: flex;
align-items: flex-end;
strong {
2024-07-04 18:57:19 +00:00
margin-left: 3px;
color: #d3bc8e;
font-size: 18px;
.font-NZBZ;
font-weight: normal;
margin-right: 10px;
}
2024-07-03 11:39:21 +00:00
.role-star {
2024-07-04 18:57:19 +00:00
width: 20px;
height: 20px;
background-size: cover;
}
}
2024-07-03 11:39:21 +00:00
.role-floor-team {
display: flex;
.line {
width: 1px;
background: rgba(255, 255, 255, .5);
height: 80px;
vertical-align: middle;
margin: 15px 8px 0;
}
}
2024-07-03 11:39:21 +00:00
.role-team {
display: flex;
margin-right: -5px;
margin-left: -5px;
}
.role-buff {
display: flex;
margin-right: -5px;
margin-left: -5px;
flex-direction: column;
width: 50%;
.role-choice-cards-container {
width: 100%;
height: 46%;
background-color: rgb(231, 229, 217);
display: flex;
border-radius: 10px;
overflow: hidden;
flex-direction: column;
.role-choice-cards-header {
width: 100%;
height: 30px;
background-color: rgb(139, 139, 131);
padding: 5px;
font-size: 18px;
}
.role-choice-cards-content {
width: 100%;
padding: 5px;
2024-07-03 09:35:11 +00:00
display: flex;
.role-content-container {
width: 40px;
display: flex;
2024-07-04 18:57:19 +00:00
margin-top: 5px;
margin-left: 5px;
2024-07-03 09:35:11 +00:00
flex-direction: column;
align-items: center;
margin-right: 5px
}
.role-content-icon {
width: 40px;
height: 40px;
background-size: cover;
background-color: black;
border-radius: 50%;
}
}
}
.role-choice-cards-container + .role-choice-cards-container {
2024-07-04 18:57:19 +00:00
margin-top: 4%;
/* 两个子元素之间的间距4% */
}
}