From: Jan Behrens Date: Sat, 2 Feb 2013 16:25:01 +0000 (+0100) Subject: Adding colors for yellow/pink teams; make all team colors consistent (HSV value ... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3d1fcd9dd80e8157ec6953f99f8a73bd27b1c93f;p=xonotic%2Fxonstat.git Adding colors for yellow/pink teams; make all team colors consistent (HSV value = X/100/30) --- 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;