Commit e9cc7b5e authored by Charles Lim's avatar Charles Lim

Fixed stylings of Forum page

parent 64a1e765
......@@ -2,5 +2,13 @@ p {
font-family: Khula;
margin: 10px 0;
font-size: 20px;
}
ul {
margin: 0
}
li {
height: fit-content;
}
.post-author {
font-weight: 600;
}
\ No newline at end of file
......@@ -14,7 +14,7 @@
{% block content %}
<img width=1000 height=200 src="{% static 'forum/default_forumpic.png' %}"/>
<p> by {{object.author.first_name}} {{object.author.last_name}}, {{object.pub_date | date:"d/m/o"}}</p>
<p class="post-author"> by {{object.author.first_name}} {{object.author.last_name}}, {{object.pub_date | date:"d/m/o"}}</p>
<p>{{object.post_body}}</p>
<ul>
{% for reply in replies %}
......@@ -24,7 +24,7 @@
{{reply.author.last_name}},
{{reply.pub_date | date:"d/m/o"}}:
{{reply.reply_body}}
</p> </br>
</p>
</li>
{% endfor %}
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment