From 3d1fcd9dd80e8157ec6953f99f8a73bd27b1c93f Mon Sep 17 00:00:00 2001 From: Jan Behrens Date: Sat, 2 Feb 2013 17:25:01 +0100 Subject: [PATCH] Adding colors for yellow/pink teams; make all team colors consistent (HSV value = X/100/30) --- xonstat/models.py | 2 -- xonstat/static/css/style.css | 10 ++++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/xonstat/models.py b/xonstat/models.py index e316dc1..4e3bb63 100644 --- a/xonstat/models.py +++ b/xonstat/models.py @@ -149,10 +149,8 @@ class PlayerGameStat(object): return html_colors(self.nick) def team_html_color(self): - # blue if self.team == 5: return "red" - # red if self.team == 14: return "blue" if self.team == 13: diff --git a/xonstat/static/css/style.css b/xonstat/static/css/style.css index a270f64..441de51 100755 --- a/xonstat/static/css/style.css +++ b/xonstat/static/css/style.css @@ -3466,10 +3466,16 @@ header h2 { display:none; } background-color: #000; } .game tr.red { - background-color: #571612; + background-color: #4d0000; } .game tr.blue { - background-color: #000F4C; + background-color: #00004d; +} +.game tr.yellow { + background-color: #4d4d00; +} +.game tr.pink { + background-color: #4d004d; } .game tr:hover { background-color: #222; -- 2.39.2