]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Slightly adjust font sizes and positions in badges
authorSeverin Meyer <sev.ch@web.de>
Tue, 11 Oct 2016 14:12:03 +0000 (16:12 +0200)
committerSeverin Meyer <sev.ch@web.de>
Tue, 11 Oct 2016 14:12:03 +0000 (16:12 +0200)
xonstat/batch/badges/gen_badges.py
xonstat/batch/badges/skin.py

index d0d6fb226e5c0b46bb629a2eaf84ac8fc401c9c1..40b81fdf1511b125163fa1e095554cc3c8c6bc15 100644 (file)
@@ -59,7 +59,7 @@ skin_minimal = Skin( "minimal",
         width           = 560,
         height          = 40,
         nick_fontsize   = 16,
-        nick_pos        = (36,16),
+        nick_pos        = (36,17),
         num_gametypes   = 3,
         nick_maxwidth   = 280,
         gametype_pos    = (70,30),
@@ -81,14 +81,14 @@ skin_minimal = Skin( "minimal",
         #nostats_text    = "no stats yet!",
         #nostats_color   = (0.7, 0.4, 0.4),
         kdr_pos         = (392,15),
-        kdr_fontsize    = 10,
+        kdr_fontsize    = 11,
         kdr_colortop    = (0.6, 0.8, 0.6),
         kdr_colormid    = (0.6, 0.6, 0.6),
         kdr_colorbot    = (0.8, 0.6, 0.6),
         kills_pos       = None,
         deaths_pos      = None,
         winp_pos        = (508,15),
-        winp_fontsize   = 10,
+        winp_fontsize   = 11,
         winp_colortop   = (0.6, 0.8, 0.8),
         winp_colormid   = (0.6, 0.6, 0.6),
         winp_colorbot   = (0.8, 0.8, 0.6),
index 3b5b13b3286f491da07b8cc351f4ff56f4c27d25..4a90c4470c67faf87f28d66670966339a6b9eb7d 100644 (file)
@@ -66,8 +66,8 @@ class Skin:
             'font':             "Xolonium",
             'width':            560,
             'height':           70,
-            'nick_fontsize':    20,
-            'nick_pos':         (52,18),
+            'nick_fontsize':    22,
+            'nick_pos':         (53,21),
             'nick_maxwidth':    270,
             'gametype_fontsize':10,
             'gametype_pos':     (101,33),
@@ -99,18 +99,18 @@ class Skin:
             'wintext_color':    (0.8, 0.8, 0.8),
             'wintext_text':     "Win Percentage",
             'wintext_align':    0,
-            'winp_fontsize':    12,
+            'winp_fontsize':    15,
             'winp_pos':         (508,19),
             'winp_colortop':    (0.2, 1.0, 1.0),
             'winp_colormid':    (0.4, 0.8, 0.4),
             'winp_colorbot':    (1.0, 1.0, 0.2),
             'winp_align':       0,
             'wins_fontsize':    8,
-            'wins_pos':         (508,33),
+            'wins_pos':         (508,34),
             'wins_color':       (0.6, 0.8, 0.8),
             'wins_align':       0,
             'loss_fontsize':    8,
-            'loss_pos':         (508,43),
+            'loss_pos':         (508,44),
             'loss_color':       (0.8, 0.8, 0.6),
             'loss_align':       0,
             'kdtext_fontsize':  10,
@@ -120,18 +120,18 @@ class Skin:
             'kdtext_bg':        (0.8, 0.8, 0.8, 0.1),
             'kdtext_text':      "Kill Ratio",
             'kdtext_align':     0,
-            'kdr_fontsize':     12,
+            'kdr_fontsize':     15,
             'kdr_pos':          (392,19),
             'kdr_colortop':     (0.2, 1.0, 0.2),
             'kdr_colormid':     (0.8, 0.8, 0.4),
             'kdr_colorbot':     (1.0, 0.2, 0.2),
             'kdr_align':        0,
             'kills_fontsize':   8,
-            'kills_pos':        (392,33),
+            'kills_pos':        (392,34),
             'kills_color':      (0.6, 0.8, 0.6),
             'kills_align':      0,
             'deaths_fontsize':  8,
-            'deaths_pos':       (392,43),
+            'deaths_pos':       (392,44),
             'deaths_color':     (0.8, 0.6, 0.6),
             'deaths_align':     0,
             'ptime_fontsize':   10,