miao-plugin/resources/stat/abyss-summary.less
yoimiya-kokomi 7939de8291 #上传深渊使用图片渲染深渊结果,同时可被#喵喵深渊触发
* 可展示本期深渊的全部角色信息,包括组队、天赋及圣遗物
* 数据会上传至胡桃Api进行伤害排名,并展示在页面内
* 可在`#喵喵设置`中启用`#喵喵深渊`作为默认深渊功能,默认关闭
2022-08-03 03:12:07 +08:00

283 lines
4.2 KiB
Plaintext

body, .container {
width: 690px;
}
.container {
padding: 5px 0 10px 5px;
}
.head-box {
margin-top: 0;
padding-top: 0;
.title {
span {
font-size: 20px;
margin-left: 5px;
}
}
}
.abyss-stat-cont {
display: flex;
padding: 25px 5px 5px;
}
.abyss-stat {
display: flex;
.cont {
margin: 5px;
}
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-family: NZBZ, sans-serif;
font-size: 24px;
}
strong {
display: block;
font-size: 30px;
}
}
.stat-msg {
position: absolute;
bottom: 0;
background: rgba(0, 0, 0, 0.65);
padding: 5px 10px;
width: 100%;
text-shadow: 0 0 1px #000;
font-size: 12px;
.msg {
display: block;
line-height: 22px;
strong {
font-size: 16px;
padding: 0 2px;
font-weight: normal;
color: #d3bc8e;
}
}
}
}
.avatar-banner {
margin-top: -20px;
height: 270px;
width: 175px;
background-repeat: no-repeat;
background-size: 100% auto;
background-position: top center;
}
.abyss-data {
display: flex;
padding: 0 6px;
.abyss-item {
color: #fff;
margin: 5px;
.info {
text-align: center;
text-shadow: 0 0 1px #000, 1px 1px 3px #000;
strong {
display: block;
font-weight: normal;
font-family: NZBZ, YS2, sans-serif;
}
span {
font-size: 24px;
display: block;
&:after {
content: "次";
font-size: 15px;
margin-left: 2px;
}
}
}
}
}
.abyss-title {
margin: -3px 0 8px;
strong {
color: #d3bc8e;
font-size: 18px;
font-family: Number, NZBZ, YS2, sans-serif;
font-weight: normal;
margin-right: 10px;
}
.abyss-star {
font-size: 15px;
color: #fff;
&:before {
content: "";
vertical-align: bottom;
display: inline-block;
width: 20px;
height: 20px;
background: url("./imgs/star.png") center no-repeat;
background-size: contain;
margin-right: 5px;
}
}
}
.abyss-floor-team {
display: flex;
.line {
width: 1px;
background: rgba(255, 255, 255, .5);
height: 80px;
vertical-align: middle;
margin: 15px 10px 0;
}
}
.abyss-team {
display: flex;
}
.abyss-detail {
display: flex;
width: calc(100% + 40px);
margin: 10px -15px -10px;
}
.abyss-level {
padding: 5px 10px 7px;
width: 33%;
box-shadow: 0 0 1px 0 #fff;
&:nth-child(even) {
background: rgba(255, 255, 255, .1)
}
.info {
margin-bottom: 5px;
display: flex;
}
.title {
white-space: nowrap;
font-weight: bold;
}
.star {
height: 15px;
display: inline-block;
background: url(./imgs/star.png);
background-size: 15px 15px;
margin-left: 5px;
&.star1 {
width: 15px;
margin-right: 30px;
}
&.star2 {
width: 30px;
margin-right: 15px;
}
&.star3 {
width: 45px;
margin-right: 0;
}
}
.time {
text-align: right;
width: 60%;
color: #aaa;
}
.avatars {
display: flex;
width: 100%;
.avatar-list {
display: flex;
position: relative;
&.up {
padding-right: 10px;
}
&.up:after {
content: "";
display: block;
position: absolute;
width: 1px;
height: 16px;
background: rgba(255, 255, 255, .3);
right: 5px;
top: 50%;
margin-top: -8px;
}
}
.avatar-icon {
width: 23px;
height: 23px;
border-radius: 50%;
margin-right: 1px;
.img {
background-size: auto 100%;
background-position: center;
width: 20px;
height: 20px;
margin: 2px;
}
}
}
}
.avatar-banner {
&.avatar-枫原万叶 {
background-position: 0 60px;
}
&.avatar-九条裟罗 {
background-position: 0 30px;
}
&.avatar-香菱 {
background-position: 0 80px;
}
&.avatar-行秋 {
background-position: 0 70px;
}
}