diff --git a/scores/static/scores/style.css b/scores/static/scores/style.css index e280712..c7f10d2 100644 --- a/scores/static/scores/style.css +++ b/scores/static/scores/style.css @@ -102,8 +102,9 @@ td { .match { /* display: inline-block; */ display:inline-block; - width: 30%; + width: 28%; padding: 0px 20px; + vertical-align: top; /* here */ } @@ -130,7 +131,7 @@ td { .steamname { width: 100%; - font-size: 200%; + font-size: 150%; } .smatch { diff --git a/scores/templates/scores/index.html b/scores/templates/scores/index.html index eaa879d..22cc4e2 100644 --- a/scores/templates/scores/index.html +++ b/scores/templates/scores/index.html @@ -24,26 +24,26 @@
-

{{ match.title }}

+

{{ match.title }}

{% if match.isMatch or match.isBracket %} {% if match.isMatch %}
-

TERRAIN #{{ match.court }}

+

TERRAIN #{{ match.court }}

{% else %}
-

POULE #{{ match.poule|floatformat:0 }}

+

POULE #{{ match.poule|floatformat:0 }}

{% endif %} {% else %} {% if match.isStatistic %}
-

STATISTIQUES

+

STATISTIQUES

{% else %}
-

#{{ match.court }}

+

#{{ match.court }}

{% endif %} @@ -104,10 +104,12 @@ {% endif %} + {% if match.isMatch or match.isBracket %}

{{ match.durationPrefix }}
{{ match.duration }}

+ {% endif %}
{% endfor %} @@ -120,26 +122,26 @@
-

{{ match.title }}

+

{{ match.title }}

{% if match.isMatch or match.isBracket %} {% if match.isMatch %}
-

TERRAIN #{{ match.court }}

+

TERRAIN #{{ match.court }}

{% else %}
-

POULE #{{ match.poule|floatformat:0 }}

+

POULE #{{ match.poule|floatformat:0 }}

{% endif %} {% else %} {% if match.isStatistic %}
-

STATISTIQUES

+

STATISTIQUES

{% else %}
-

#{{ match.court }}

+

#{{ match.court }}

{% endif %} @@ -198,11 +200,12 @@ {% endif %} - + {% if match.isMatch or match.isBracket %}

{{ match.durationPrefix }}
{{ match.duration }}

+ {% endif %}
diff --git a/scores/templates/scores/match.html b/scores/templates/scores/match.html index 1fd9073..1c7261e 100644 --- a/scores/templates/scores/match.html +++ b/scores/templates/scores/match.html @@ -16,6 +16,7 @@
{% autoescape off %} +
{{ match.tournament.name }}
@@ -80,11 +81,12 @@ {% endif %} - + {% if match.isMatch or match.isBracket %}

{{ match.durationPrefix }}
{{ match.duration }}

+ {% endif %}
diff --git a/scores/templates/scores/tournament.html b/scores/templates/scores/tournament.html index 938a185..2fb05c8 100644 --- a/scores/templates/scores/tournament.html +++ b/scores/templates/scores/tournament.html @@ -19,32 +19,32 @@
-
{{ tournament.name }}
+
{{ tournament.name }}
{% for match in live_matches %}
-

{{ match.title }}

+

{{ match.title }}

{% if match.isMatch or match.isBracket %} {% if match.isMatch %} {% else %} {% endif %} {% else %} {% if match.isStatistic %} {% else %} {% endif %} @@ -103,10 +103,13 @@ {% endif %} + {% if match.isMatch or match.isBracket %}

{{ match.durationPrefix }}
{{ match.duration }}

+ {% endif %} +
{% endfor %} @@ -115,26 +118,26 @@
-

{{ match.title }}

+

{{ match.title }}

{% if match.isMatch or match.isBracket %} {% if match.isMatch %} {% else %} {% endif %} {% else %} {% if match.isStatistic %} {% else %} {% endif %} @@ -193,11 +196,12 @@ {% endif %} - + {% if match.isMatch or match.isBracket %}

{{ match.durationPrefix }}
{{ match.duration }}

+ {% endif %}
{% endfor %}