feat: improve battle notice system with expanded content, centralized constants, and fixed text wrapping

This commit is contained in:
2026-05-24 22:32:48 +09:00
parent 1668e3c941
commit ddccd01eb6
5 changed files with 41 additions and 18 deletions
+4 -2
View File
@@ -124,11 +124,12 @@
display: flex;
align-items: center;
justify-content: center;
width: min(420px, 72vmin, calc(100vw - 64px));
width: auto;
max-width: min(640px, calc(100vw - 40px));
min-height: 38px;
border: 1px solid rgb(238 185 73 / 0.26);
border-radius: 8px;
padding: 8px 14px;
padding: 8px 18px;
background: rgb(8 10 7 / 0.68);
color: #ffe8b4;
font-size: 0.8rem;
@@ -136,6 +137,7 @@
line-height: 1.35;
text-align: center;
text-shadow: 1px 1px 2px #000;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transform: translate(-50%, -10px);