💄 微调样式,增加文本清晰度

This commit is contained in:
BTMuli
2025-07-02 11:28:03 +08:00
parent 544b7a32b1
commit 4e79d56664

View File

@@ -223,6 +223,11 @@ function getTeamBox(avatar: TGApp.Game.Challenge.ChallengeTeam): TItemBoxData {
color: var(--box-text-1);
font-size: 12px;
text-align: left;
text-shadow:
1px 1px 0 var(--box-bg-2),
-1px -1px 0 var(--box-bg-2),
1px -1px 0 var(--box-bg-2),
-1px 1px 0 var(--box-bg-2);
:deep(span) {
font-weight: bold;
@@ -234,9 +239,9 @@ function getTeamBox(avatar: TGApp.Game.Challenge.ChallengeTeam): TItemBoxData {
position: absolute;
z-index: 0;
right: 0;
bottom: 0;
bottom: -20px;
height: 100%;
opacity: 0.5;
opacity: 0.75;
img {
width: 100%;
@@ -244,8 +249,4 @@ function getTeamBox(avatar: TGApp.Game.Challenge.ChallengeTeam): TItemBoxData {
object-fit: contain;
}
}
.dark .monster-icon {
opacity: 0.8;
}
</style>