mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
106 lines
1.9 KiB
CSS
106 lines
1.9 KiB
CSS
.card {
|
|
margin: 0 1em;
|
|
}
|
|
.card .user-info {
|
|
margin: 0 1em;
|
|
}
|
|
.card .status {
|
|
display: flex;
|
|
align-items: center;
|
|
background: url("./images/status.png") no-repeat center center;
|
|
background-size: 110% 160%;
|
|
aspect-ratio: 2.4;
|
|
overflow: hidden;
|
|
margin: 0 1em;
|
|
margin-bottom: 1.5em;
|
|
padding-top: 4em;
|
|
padding-left: 3em;
|
|
padding-right: 3em;
|
|
padding-bottom: 3.5em;
|
|
justify-content: space-around;
|
|
}
|
|
.card .status .item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.card .status .item .value {
|
|
font-size: 1.8em;
|
|
}
|
|
.card .status .item .label {
|
|
font-size: 0.95em;
|
|
color: #e2e2e2;
|
|
}
|
|
.card .list {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1em;
|
|
padding: 0.5em 3em;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
.card .list .item {
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
.card .list .item * {
|
|
position: inherit;
|
|
z-index: 1;
|
|
}
|
|
.card .list .item::after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 0.2em;
|
|
left: -0.2em;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgb(138, 51, 183);
|
|
z-index: 0;
|
|
}
|
|
.card .list .item .rank {
|
|
position: absolute;
|
|
top: 0.2em;
|
|
left: 0.1em;
|
|
width: 1.5em;
|
|
color: white;
|
|
z-index: 2;
|
|
}
|
|
.card .list .item.rankS::after {
|
|
background: rgb(230, 119, 51);
|
|
}
|
|
.card .list .item.rankB::after {
|
|
background: rgb(93, 183, 249);
|
|
}
|
|
.card .list .item .image {
|
|
width: 100%;
|
|
aspect-ratio: 0.8;
|
|
background-color: #e2e2e2;
|
|
}
|
|
.card .list .item .image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
.card .list .item .level {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: rgb(0, 0, 0);
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
.card .list .item .property {
|
|
position: absolute;
|
|
top: 0.2em;
|
|
right: 0.1em;
|
|
width: 1.6em;
|
|
background-color: #000;
|
|
border-radius: 50%;
|
|
border: solid 0.1em #000;
|
|
color: white;
|
|
z-index: 2;
|
|
}
|
|
|
|
/*# sourceMappingURL=index.css.map */
|