dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit e47ac00ab7d695875b87f29716f5511da897a92b
parent 92f59a9b42d8364eba7a3b488bd12b9066fcff6f
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri,  8 Nov 2024 23:28:38 -0800

remove border

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -474,14 +474,14 @@ func (g *ChessGame) drawPlayerCard(moveIdx int, key string, isBlack, isSpectator font-family: Helvetica; margin: 1px 0 0 1px; } -.winner { background-color: green; border: 1px solid darkgreen; } -.loser { background-color: red; border: 1px solid darkred; } -.draw { background-color: #666; border: 1px solid #222; } +.winner { background-color: green; } +.loser { background-color: red; } +.draw { background-color: #666; } @keyframes winner_anim { - 0% { border-radius: 0px; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0.5; margin: 0; } - 75% { border-radius: 0px; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0.5; margin: 0; } - 100% { border-radius: 10px; width: 18px; height: 15px; padding: 5px 0 0 2px; border: 1px; opacity: 1; margin: 1px 0 0 1px; } + 0% { border-radius: 0px; width: 100%; height: 100%; padding: 0; opacity: 0.5; margin: 0; } + 75% { border-radius: 0px; width: 100%; height: 100%; padding: 0; opacity: 0.5; margin: 0; } + 100% { border-radius: 10px; width: 18px; height: 15px; padding: 5px 0 0 2px; opacity: 1; margin: 1px 0 0 1px; } } </style> <table style="width: 100%; height: 100%;">