diff --git a/static/nryg.less b/static/nryg.less index 73303614..1f8af5ec 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -18,6 +18,10 @@ h1, h2, h3, h4, h5, h6 { color: @accent-color; } +h1 .whatsthis { + font-size: large; +} + a { color: @link-color; text-decoration: none; @@ -204,6 +208,26 @@ table { } } +.omnicontainer { + 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; + } +} + .box { .upper-box { margin-top: 4px; @@ -299,23 +323,6 @@ 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; @@ -920,27 +927,6 @@ table { } } -.profile { - 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; - } -} - .mysterystatus i { &.todo { color: rgba(255, 255, 0, 0.2); diff --git a/templates/diario.html b/templates/diario.html index 3499b710..1881632d 100644 --- a/templates/diario.html +++ b/templates/diario.html @@ -10,11 +10,13 @@ {% block body %}

- Diario + Diario Cos'รจ?

-
- {% for entry in entries %} - {% include "components/diarioentry.html" %} - {% endfor %} +
+
+ {% for entry in entries %} + {% include "components/diarioentry.html" %} + {% endfor %} +
{% endblock %} \ No newline at end of file diff --git a/templates/game.html b/templates/game.html index 1e330943..d39acbd0 100644 --- a/templates/game.html +++ b/templates/game.html @@ -13,13 +13,15 @@

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/profile.html b/templates/profile.html index 682e559b..3541b844 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -23,61 +23,63 @@

Profilo di {{ ryg.username }} {% if session.get('user_id', '') == ryg.id %}Modifica{% endif %}

-
- {% if css.bio %} -
-
- Bio -
-
- {{ bio }} +
+
+ {% if css.bio %} +
+
+ Bio +
+
+ {{ bio }} +
+ {% endif %} +
+ {% with record = ryg %} + {% include "minis/ryg.html" %} + {% endwith %} + {% if halloween %} + {% with record = halloween %} + {% include "minis/halloween2018.html" %} + {% endwith %} + {% endif %} + {% if tg %} + {% with record = tg %} + {% include "minis/tg.html" %} + {% endwith %} + {% endif %} + {% if discord %} + {% with record = discord %} + {% include "minis/discord.html" %} + {% endwith %} + {% endif %} + {% if steam %} + {% with record = steam %} + {% include "minis/steam.html" %} + {% endwith %} + {% endif %} + {% if dota %} + {% with record = dota %} + {% include "minis/dota.html" %} + {% endwith %} + {% endif %} + {% if osu %} + {% with record = osu %} + {% include "minis/osu.html" %} + {% endwith %} + {% endif %} + {% if lol %} + {% with record = lol %} + {% include "minis/lol.html" %} + {% endwith %} + {% endif %} + {% if ow %} + {% with record = ow %} + {% include "minis/ow.html" %} + {% endwith %} + {% endif %}
- {% endif %} -
- {% with record = ryg %} - {% include "minis/ryg.html" %} - {% endwith %} - {% if halloween %} - {% with record = halloween %} - {% include "minis/halloween2018.html" %} - {% endwith %} - {% endif %} - {% if tg %} - {% with record = tg %} - {% include "minis/tg.html" %} - {% endwith %} - {% endif %} - {% if discord %} - {% with record = discord %} - {% include "minis/discord.html" %} - {% endwith %} - {% endif %} - {% if steam %} - {% with record = steam %} - {% include "minis/steam.html" %} - {% endwith %} - {% endif %} - {% if dota %} - {% with record = dota %} - {% include "minis/dota.html" %} - {% endwith %} - {% endif %} - {% if osu %} - {% with record = osu %} - {% include "minis/osu.html" %} - {% endwith %} - {% endif %} - {% if lol %} - {% with record = lol %} - {% include "minis/lol.html" %} - {% endwith %} - {% endif %} - {% if ow %} - {% with record = ow %} - {% include "minis/ow.html" %} - {% endwith %} - {% endif %}
{% endblock %} \ No newline at end of file