1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Update some pages

This commit is contained in:
Steffo 2019-01-03 14:56:04 +01:00
parent f81c67167a
commit d364731f07
6 changed files with 34 additions and 9 deletions

View file

@ -299,6 +299,23 @@ table {
//Dirtiest hack ever //Dirtiest hack ever
.game-panels { .game-panels {
font-size: 0; 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 { .game-panel {
font-size: medium; font-size: medium;
@ -576,6 +593,7 @@ table {
width: 124px; width: 124px;
border-radius: 4px; border-radius: 4px;
display: inline-block; display: inline-block;
background-color: rgba(0, 0, 0, 10%);
} }
} }
@ -916,6 +934,11 @@ table {
{ {
width: 1164px; width: 1164px;
} }
@media (min-width: 1568px)
{
width: 1552px;
}
} }
.mysterystatus i { .mysterystatus i {

View file

@ -13,6 +13,7 @@
<h1> <h1>
Royal Games su {{ game_name }} Royal Games su {{ game_name }}
</h1> </h1>
<div class="game-page">
<div class="game-panels"> <div class="game-panels">
{% for mini in minis %} {% for mini in minis %}
{% with record = mini %} {% with record = mini %}
@ -20,4 +21,5 @@
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
</div> </div>
</div>
{% endblock %} {% endblock %}

View file

@ -81,7 +81,7 @@
<div class="lower-box"> <div class="lower-box">
<ul> <ul>
<li><a href="{{ url_for("page_game", name="ryg") }}">Royal Games</a></li> <li><a href="{{ url_for("page_game", name="ryg") }}">Royal Games</a></li>
<li><a href="{{ url_for("page_game", name="halloween") }}">Halloween 2018</a></li> <li><a href="{{ url_for("page_game", name="halloween2018") }}">Halloween 2018</a></li>
<li><a href="{{ url_for("page_game", name="tg") }}">Telegram</a></li> <li><a href="{{ url_for("page_game", name="tg") }}">Telegram</a></li>
<li><a href="{{ url_for("page_game", name="discord") }}">Discord</a></li> <li><a href="{{ url_for("page_game", name="discord") }}">Discord</a></li>
<li><a href="{{ url_for("page_game", name="steam") }}">Steam</a></li> <li><a href="{{ url_for("page_game", name="steam") }}">Steam</a></li>

View file

@ -25,7 +25,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="game-title soloq"> <div class="game-title soloq">
SOLO/DUO SOLO
</div> </div>
<div class="game-score soloq"> <div class="game-score soloq">
{% if record.solo_division is none %} {% if record.solo_division is none %}

View file

@ -40,7 +40,7 @@
{% endwith %} {% endwith %}
{% if halloween %} {% if halloween %}
{% with record = halloween %} {% with record = halloween %}
{% include "minis/halloween.html" %} {% include "minis/halloween2018.html" %}
{% endwith %} {% endwith %}
{% endif %} {% endif %}
{% if tg %} {% if tg %}