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

Create .omnicontainer and .whatsthis

This commit is contained in:
Steffo 2019-01-04 02:15:44 +01:00
parent 5e98ca76d8
commit ec0009a2e5
4 changed files with 95 additions and 103 deletions

View file

@ -18,6 +18,10 @@ h1, h2, h3, h4, h5, h6 {
color: @accent-color; color: @accent-color;
} }
h1 .whatsthis {
font-size: large;
}
a { a {
color: @link-color; color: @link-color;
text-decoration: none; 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 { .box {
.upper-box { .upper-box {
margin-top: 4px; margin-top: 4px;
@ -299,23 +323,6 @@ 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;
@ -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 { .mysterystatus i {
&.todo { &.todo {
color: rgba(255, 255, 0, 0.2); color: rgba(255, 255, 0, 0.2);

View file

@ -10,11 +10,13 @@
{% block body %} {% block body %}
<h1> <h1>
Diario Diario <a href="{{ url_for("page_wiki", key="Diario") }}" class="whatsthis">Cos'è?</a>
</h1> </h1>
<div class="omnicontainer">
<div class="diario"> <div class="diario">
{% for entry in entries %} {% for entry in entries %}
{% include "components/diarioentry.html" %} {% include "components/diarioentry.html" %}
{% endfor %} {% endfor %}
</div> </div>
</div>
{% endblock %} {% endblock %}

View file

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

View file

@ -23,6 +23,7 @@
<h1> <h1>
Profilo di {{ ryg.username }} {% if session.get('user_id', '') == ryg.id %}<a href="{{ url_for('page_editprofile') }}" id="edit-css">Modifica</a>{% endif %} Profilo di {{ ryg.username }} {% if session.get('user_id', '') == ryg.id %}<a href="{{ url_for('page_editprofile') }}" id="edit-css">Modifica</a>{% endif %}
</h1> </h1>
<div class="omnicontainer">
<div class="profile"> <div class="profile">
{% if css.bio %} {% if css.bio %}
<div class="box bio"> <div class="box bio">
@ -80,4 +81,5 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
</div>
{% endblock %} {% endblock %}