1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Cosmetic fixes

This commit is contained in:
Steffo 2018-07-31 18:47:57 +02:00
parent 765085d316
commit 0df85a1e61
2 changed files with 5 additions and 6 deletions

View file

@ -135,7 +135,7 @@ nav {
.box { .box {
border-radius: 4px; border-radius: 4px;
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1); background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
padding: 4px; padding: 8px;
margin-left: 4px; margin-left: 4px;
margin-right: 4px; margin-right: 4px;
@ -728,25 +728,26 @@ nav {
.event { .event {
display: grid; display: grid;
grid-template-columns: 25% 55% 20%;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
grid-template-columns: 28% 50% 22%;
.time { .time {
grid-column: 1; grid-column: 1;
grid-row: 1; grid-row: 1;
font-weight: bold;
} }
.name { .name {
grid-column: 2; grid-column: 2;
grid-row: 1; grid-row: 1;
font-weight: bold; font-weight: bold;
color: @accent-color;
} }
.author { .author {
grid-column: 3; grid-column: 3;
grid-row: 1; grid-row: 1;
text-align: right;
} }
.description { .description {

View file

@ -15,8 +15,6 @@
di <a href="/profile/{{ event.author.username }}">{{ event.author.username }}</a> di <a href="/profile/{{ event.author.username }}">{{ event.author.username }}</a>
</div> </div>
<div class="description"> <div class="description">
{% autoescape false %} {{ (escape(event.description)).replace("\n", "<br>"|safe) }}
{{ escape(event.description).replace('\n', '<br>') }}
{% endautoescape %}
</div> </div>
</div> </div>