fix: 资源重复2

This commit is contained in:
bietiaop 2024-07-12 23:29:18 +08:00
parent 89c4ab29a7
commit 35bde529af
15 changed files with 44 additions and 40 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View file

@ -139,30 +139,11 @@
top: 0.2em; top: 0.2em;
right: 0.1em; right: 0.1em;
width: 1.6em; width: 1.6em;
aspect-ratio: 1;
background-color: #000; background-color: #000;
border-radius: 50%; border-radius: 50%;
border: solid 0.1em #000; border: solid 0.1em #000;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
color: white; color: white;
z-index: 2; z-index: 2;
} }
.card .list .item .property.fire {
background-image: url("./images/IconFire.png");
}
.card .list .item .property.ice {
background-image: url("./images/IconIce.png");
}
.card .list .item .property.physdmg {
background-image: url("./images/IconPhysDmg.png");
}
.card .list .item .property.thunder {
background-image: url("./images/IconThunder.png");
}
.card .list .item .property.dungeon {
background-image: url("./images/IconDungeonBuffEther.png");
}
/*# sourceMappingURL=index.css.map */ /*# sourceMappingURL=index.css.map */

View file

@ -151,30 +151,11 @@
top: 0.2em; top: 0.2em;
right: 0.1em; right: 0.1em;
width: 1.6em; width: 1.6em;
aspect-ratio: 1;
background-color: #000; background-color: #000;
border-radius: 50%; border-radius: 50%;
border: solid 0.1em #000; border: solid 0.1em #000;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
color: white; color: white;
z-index: 2; z-index: 2;
&.fire {
background-image: url('./images/IconFire.png');
}
&.ice {
background-image: url('./images/IconIce.png');
}
&.physdmg {
background-image: url('./images/IconPhysDmg.png');
}
&.thunder {
background-image: url('./images/IconThunder.png');
}
&.dungeon {
background-image: url('./images/IconDungeonBuffEther.png');
}
} }
} }
} }

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View file

@ -19,7 +19,6 @@
} }
.rank-icon { .rank-icon {
width: 1.5em;
aspect-ratio: 1; aspect-ratio: 1;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
@ -35,4 +34,26 @@
background-image: url("../images/RANK_B.png"); background-image: url("../images/RANK_B.png");
} }
.property {
aspect-ratio: 1;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.property.fire {
background-image: url("../images/IconFire.png");
}
.property.ice {
background-image: url("../images/IconIce.png");
}
.property.physdmg {
background-image: url("../images/IconPhysDmg.png");
}
.property.thunder {
background-image: url("../images/IconThunder.png");
}
.property.dungeon {
background-image: url("../images/IconDungeonBuffEther.png");
}
/*# sourceMappingURL=index.css.map */ /*# sourceMappingURL=index.css.map */

View file

@ -41,7 +41,6 @@
} }
.rank-icon { .rank-icon {
width: 1.5em;
aspect-ratio: 1; aspect-ratio: 1;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
@ -59,3 +58,25 @@
background-image: url('../images/RANK_B.png'); background-image: url('../images/RANK_B.png');
} }
} }
.property {
aspect-ratio: 1;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
&.fire {
background-image: url('../images/IconFire.png');
}
&.ice {
background-image: url('../images/IconIce.png');
}
&.physdmg {
background-image: url('../images/IconPhysDmg.png');
}
&.thunder {
background-image: url('../images/IconThunder.png');
}
&.dungeon {
background-image: url('../images/IconDungeonBuffEther.png');
}
}