1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
This commit is contained in:
Steffo 2018-08-09 19:12:59 +02:00
parent 7b47eaee65
commit 905e11bda3
2 changed files with 36 additions and 31 deletions

View file

@ -141,12 +141,6 @@ nav {
} }
.box { .box {
border-radius: 4px;
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
padding: 8px;
margin-left: 4px;
margin-right: 4px;
.upper-box { .upper-box {
margin-top: 4px; margin-top: 4px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
@ -154,11 +148,18 @@ nav {
color: @accent-color; color: @accent-color;
font-size: small; font-size: small;
font-weight: bold; font-weight: bold;
margin-left: 4px;
margin-right: 4px;
padding: 8px;
} }
.lower-box { .lower-box {
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
margin-bottom: 4px; margin-bottom: 4px;
margin-left: 4px;
margin-right: 4px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
padding: 8px;
} }
} }

View file

@ -12,7 +12,7 @@
<div class="left"> <div class="left">
<div class="box"> <div class="box">
<div class="upper-box"> <div class="upper-box">
Prossimi eventi Prossimi eventi
</div> </div>
<div class="lower-box"> <div class="lower-box">
{% for event in next_events %} {% for event in next_events %}
@ -44,31 +44,35 @@
</div> </div>
<div class="right"> <div class="right">
<div class="box upper-box"> <div class="box">
Membri <div class="upper-box">
Membri
</div>
<div class="lower-box">
<ul>
{% for royal in royals %}
<li><a href="/profile/{{ royal.username }}">{{ royal.username }}</a></li>
{% endfor %}
</ul>
</div>
</div> </div>
<div class="box lower-box"> <div class="box">
<ul> <div class="upper-box">
{% for royal in royals %} Resoconti
<li><a href="/profile/{{ royal.username }}">{{ royal.username }}</a></li> </div>
{% endfor %} <div class="lower-box">
</ul> <ul>
</div> <li><a href="/game/ryg">Royal Games</a></li>
<div class="box upper-box"> <li><a href="/game/tg">Telegram</a></li>
Resoconti <li><a href="/game/discord">Discord</a></li>
</div> <li><a href="/game/steam">Steam</a></li>
<div class="box lower-box"> <li><a href="/game/dota">Dota 2</a></li>
<ul> <li><a href="/game/rl">Rocket League</a></li>
<li><a href="/game/ryg">Royal Games</a></li> <li><a href="/game/lol">League of Legends</a></li>
<li><a href="/game/tg">Telegram</a></li> <li><a href="/game/ow">Overwatch</a></li>
<li><a href="/game/discord">Discord</a></li> <li><a href="/game/osu">osu!</a></li>
<li><a href="/game/steam">Steam</a></li> </ul>
<li><a href="/game/dota">Dota 2</a></li> </div>
<li><a href="/game/rl">Rocket League</a></li>
<li><a href="/game/lol">League of Legends</a></li>
<li><a href="/game/ow">Overwatch</a></li>
<li><a href="/game/osu">osu!</a></li>
</ul>
</div> </div>
</div> </div>
</div> </div>