fix: 资源重复

This commit is contained in:
bietiaop 2024-07-12 23:23:08 +08:00
parent e988948770
commit 89c4ab29a7
12 changed files with 42 additions and 45 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -18,4 +18,21 @@
font-family: "Source Han Serif", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.rank-icon {
width: 1.5em;
aspect-ratio: 1;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.rank-icon.s, .rank-icon.S {
background-image: url("../images/RANK_S.png");
}
.rank-icon.a, .rank-icon.A {
background-image: url("../images/RANK_A.png");
}
.rank-icon.b, .rank-icon.B {
background-image: url("../images/RANK_B.png");
}
/*# sourceMappingURL=index.css.map */

View file

@ -39,3 +39,23 @@
'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
sans-serif;
}
.rank-icon {
width: 1.5em;
aspect-ratio: 1;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
&.s,
&.S {
background-image: url('../images/RANK_S.png');
}
&.a,
&.A {
background-image: url('../images/RANK_A.png');
}
&.b,
&.B {
background-image: url('../images/RANK_B.png');
}
}