feat(score): Added a scoring system to log 10 last victories

This commit is contained in:
gauvainboiche
2026-04-02 23:11:41 +02:00
parent bfdc836275
commit b11446cf56
7 changed files with 190 additions and 4 deletions
+71
View File
@@ -1397,4 +1397,75 @@ canvas {
z-index: 20;
user-select: none;
white-space: nowrap;
}
/* ── Round history table ──────────────────────────────────────────────────── */
.roundHistoryWrap {
padding: 6px 0 4px;
}
.roundHistoryTable {
width: 100%;
border-collapse: collapse;
font-size: 12px;
table-layout: fixed;
}
.roundHistoryTable thead th {
padding: 4px 8px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
border-bottom: 1px solid rgba(255,255,255,0.1);
text-align: center;
}
.roundHistoryTable thead th:first-child {
text-align: left;
width: 36%;
}
.roundHistoryTh--blue { color: rgba(90, 200, 255, 0.9); }
.roundHistoryTh--red { color: rgba(220, 75, 85, 0.9); }
.roundHistoryTable tbody tr {
border-bottom: 1px solid rgba(255,255,255,0.04);
}
.roundHistoryTable td {
padding: 5px 8px;
text-align: center;
color: rgba(255,255,255,0.7);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.roundHistoryTable td:first-child {
text-align: left;
font-size: 10px;
color: rgba(255,255,255,0.4);
}
.roundHistoryCell--winner-blue {
background: rgba(90, 200, 255, 0.18);
color: rgba(90, 200, 255, 1);
font-weight: 700;
border-radius: 3px;
}
.roundHistoryCell--winner-red {
background: rgba(220, 75, 85, 0.18);
color: rgba(220, 75, 85, 1);
font-weight: 700;
border-radius: 3px;
}
.roundHistoryEmpty {
padding: 10px 8px;
font-size: 12px;
color: rgba(255,255,255,0.35);
font-style: italic;
}