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
.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 {

View file

@ -13,11 +13,13 @@
<h1>
Royal Games su {{ game_name }}
</h1>
<div class="game-panels">
{% for mini in minis %}
{% with record = mini %}
{% include "minis/" + game_short_name + ".html" %}
{% endwith %}
{% endfor %}
<div class="game-page">
<div class="game-panels">
{% for mini in minis %}
{% with record = mini %}
{% include "minis/" + game_short_name + ".html" %}
{% endwith %}
{% endfor %}
</div>
</div>
{% endblock %}

View file

@ -81,7 +81,7 @@
<div class="lower-box">
<ul>
<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="discord") }}">Discord</a></li>
<li><a href="{{ url_for("page_game", name="steam") }}">Steam</a></li>

View file

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

View file

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