From d364731f075dd16b4b8bff8c8a7a611bd5771207 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 3 Jan 2019 14:56:04 +0100 Subject: [PATCH] Update some pages --- static/nryg.less | 23 +++++++++++++++++++ templates/game.html | 14 ++++++----- templates/main.html | 2 +- .../{halloween.html => halloween2018.html} | 0 templates/minis/lol.html | 2 +- templates/profile.html | 2 +- 6 files changed, 34 insertions(+), 9 deletions(-) rename templates/minis/{halloween.html => halloween2018.html} (100%) diff --git a/static/nryg.less b/static/nryg.less index 69adba05..73303614 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -299,6 +299,23 @@ table { //Dirtiest hack ever .game-panels { font-size: 0; + width: 380px; + margin-left: auto; + margin-right: auto; + + @media (min-width: 792px) + { + width: 776px; + } + + @media (min-width: 1180px) + { + width: 1164px; + } + + @media (min-width: 1568px) { + width: 1552px; + } .game-panel { font-size: medium; @@ -576,6 +593,7 @@ table { width: 124px; border-radius: 4px; display: inline-block; + background-color: rgba(0, 0, 0, 10%); } } @@ -916,6 +934,11 @@ table { { width: 1164px; } + + @media (min-width: 1568px) + { + width: 1552px; + } } .mysterystatus i { diff --git a/templates/game.html b/templates/game.html index 35aeb415..1e330943 100644 --- a/templates/game.html +++ b/templates/game.html @@ -13,11 +13,13 @@

Royal Games su {{ game_name }}

-
- {% for mini in minis %} - {% with record = mini %} - {% include "minis/" + game_short_name + ".html" %} - {% endwith %} - {% endfor %} +
+
+ {% for mini in minis %} + {% with record = mini %} + {% include "minis/" + game_short_name + ".html" %} + {% endwith %} + {% endfor %} +
{% endblock %} \ No newline at end of file diff --git a/templates/main.html b/templates/main.html index a5b66d2b..7fb0c36d 100644 --- a/templates/main.html +++ b/templates/main.html @@ -81,7 +81,7 @@
  • Royal Games
  • -
  • Halloween 2018
  • +
  • Halloween 2018
  • Telegram
  • Discord
  • Steam
  • diff --git a/templates/minis/halloween.html b/templates/minis/halloween2018.html similarity index 100% rename from templates/minis/halloween.html rename to templates/minis/halloween2018.html diff --git a/templates/minis/lol.html b/templates/minis/lol.html index d35639d4..2770e870 100644 --- a/templates/minis/lol.html +++ b/templates/minis/lol.html @@ -25,7 +25,7 @@ {% endif %}
- SOLO/DUO + SOLO
{% if record.solo_division is none %} diff --git a/templates/profile.html b/templates/profile.html index ffd65c20..682e559b 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -40,7 +40,7 @@ {% endwith %} {% if halloween %} {% with record = halloween %} - {% include "minis/halloween.html" %} + {% include "minis/halloween2018.html" %} {% endwith %} {% endif %} {% if tg %}