mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix css
This commit is contained in:
parent
7b47eaee65
commit
905e11bda3
2 changed files with 36 additions and 31 deletions
|
@ -141,12 +141,6 @@ nav {
|
|||
}
|
||||
|
||||
.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 {
|
||||
margin-top: 4px;
|
||||
border-radius: 4px 4px 0 0;
|
||||
|
@ -154,11 +148,18 @@ nav {
|
|||
color: @accent-color;
|
||||
font-size: small;
|
||||
font-weight: bold;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.lower-box {
|
||||
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
|
||||
margin-bottom: 4px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
border-radius: 0 0 4px 4px;
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div class="left">
|
||||
<div class="box">
|
||||
<div class="upper-box">
|
||||
Prossimi eventi
|
||||
Prossimi eventi
|
||||
</div>
|
||||
<div class="lower-box">
|
||||
{% for event in next_events %}
|
||||
|
@ -44,31 +44,35 @@
|
|||
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="box upper-box">
|
||||
Membri
|
||||
<div class="box">
|
||||
<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 class="box lower-box">
|
||||
<ul>
|
||||
{% for royal in royals %}
|
||||
<li><a href="/profile/{{ royal.username }}">{{ royal.username }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box upper-box">
|
||||
Resoconti
|
||||
</div>
|
||||
<div class="box lower-box">
|
||||
<ul>
|
||||
<li><a href="/game/ryg">Royal Games</a></li>
|
||||
<li><a href="/game/tg">Telegram</a></li>
|
||||
<li><a href="/game/discord">Discord</a></li>
|
||||
<li><a href="/game/steam">Steam</a></li>
|
||||
<li><a href="/game/dota">Dota 2</a></li>
|
||||
<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 class="box">
|
||||
<div class="upper-box">
|
||||
Resoconti
|
||||
</div>
|
||||
<div class="lower-box">
|
||||
<ul>
|
||||
<li><a href="/game/ryg">Royal Games</a></li>
|
||||
<li><a href="/game/tg">Telegram</a></li>
|
||||
<li><a href="/game/discord">Discord</a></li>
|
||||
<li><a href="/game/steam">Steam</a></li>
|
||||
<li><a href="/game/dota">Dota 2</a></li>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue