kort/kort7/patch

38 lines
812 B
Plaintext

--- a/kort6.html
+++ b/kort6.html
@@ -41,6 +41,24 @@
.hud .status {
margin-top: 8px;
white-space: pre-line;
}
+
+ .hud .alerts {
+ margin-top: 8px;
+ display: grid;
+ gap: 6px;
+ max-width: 320px;
+ }
+
+ .alert-item {
+ padding: 8px 10px;
+ border-radius: 8px;
+ border: 1px solid #e0b100;
+ background: rgba(255,248,204,0.96);
+ color: #5f4b00;
+ font: 12px/1.35 system-ui,sans-serif;
+ }
+
+ .alert-item strong { display:block; margin-bottom:2px; }
.car {
width: 24px;
height: 24px;
@@ -86,6 +104,7 @@
<button id="resetBtn">Reset</button>
</div>
<div class="status" id="status"></div>
+ <div class="alerts" id="presenceAlerts"></div>
</div>
<script src="data.js"></script>