HTML/CSS: comment style changes
This commit is contained in:
parent
ff2e9dc0d6
commit
55dbaa9b77
@ -356,16 +356,21 @@ textarea#description, textarea#bio {
|
||||
/* comments */
|
||||
|
||||
.comment_author {
|
||||
margin-bottom: 40px;
|
||||
padding-top: 4px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.comment_content {
|
||||
margin-bottom: 30px;
|
||||
margin-left: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.comment_content p {
|
||||
.comment_wrapper {
|
||||
margin-top: 14px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.comment_wrapper p {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
|
@ -143,10 +143,7 @@
|
||||
{% else %}
|
||||
<div class="comment_wrapper" id="comment-{{ comment._id }}">
|
||||
{% endif %}
|
||||
<div class="comment_content">
|
||||
{% autoescape False %}
|
||||
{{ comment.content_html }}
|
||||
{% endautoescape %}
|
||||
<div class="comment_author">
|
||||
<img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
|
||||
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
||||
user = comment_author.username) }}">
|
||||
@ -158,7 +155,12 @@
|
||||
user = media.get_uploader.username,
|
||||
media = media.slug_or_id) }}#comment">
|
||||
{{ comment.created.strftime("%I:%M%p %Y-%m-%d") }}
|
||||
</a>
|
||||
</a>:
|
||||
</div>
|
||||
<div class="comment_content">
|
||||
{% autoescape False %}
|
||||
{{ comment.content_html }}
|
||||
{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user