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