commit cdceda38d98d26975f1115a2ebfce49449fd649f parent 91874444c01b5faa20f79fd7d54bcd74546f6850 Author: n0tr1v <n0tr1v@protonmail.com> Date: Fri, 8 Nov 2024 22:38:24 -0800 improve css Diffstat:
| M | pkg/web/handlers/interceptors/chess.go | | | 14 | ++++++++------ |
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -467,12 +467,14 @@ func (g *ChessGame) drawPlayerCard(moveIdx int, key string, isBlack, isSpectator .outcome { color: white; border-radius: 10px; - width: 20px; - height: 20px; -} -.winner { background-color: green; } -.loser { background-color: red; } -.draw { background-color: gray; } + width: 18px; + height: 15px; + padding-top: 5px; + padding-left: 2px; +} +.winner { background-color: green; border: 1px solid darkgreen; } +.loser { background-color: red; border: 1px solid darkred; } +.draw { background-color: gray; border: 1px solid #222; } </style> <table style="width: 100%; height: 100%;"> <tr>