From 39c8f929f6c61d9ce4edd4f81642dd1f69e58f7b Mon Sep 17 00:00:00 2001 From: florianAT <25401859+florianAT@users.noreply.github.com> Date: Mon, 20 Apr 2020 20:00:29 +0200 Subject: [PATCH] Color: nearly invisible revealed words Simulate that in the game the agent cards cover up the chosen words. Only the remaining words stay visible. (Click or hover to show them.) --- frontend/game.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/game.css b/frontend/game.css index 1f139f97..870dbd7b 100644 --- a/frontend/game.css +++ b/frontend/game.css @@ -137,6 +137,10 @@ } .board .neutral.revealed { background: #ede2cc; + color:#eed; +} +.board .neutral.revealed:hover, .board .neutral.revealed:active { +  color:#000; } .cell .word { @@ -163,11 +167,15 @@ .board .red.revealed { background: #d13030; - color: #fff; + color: #e33; } .board .blue.revealed { background: #4183cc; - color: #fff; + color: #48e; +} +.board .red.revealed:hover, .board .red.revealed:active, +.board .blue.revealed:hover, .board .blue.revealed:active { +  color:#fff; } .board .black.revealed { background: #000000;