Skip to content

Commit

Permalink
Add <div class="articleComments"> and add line above comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Dec 1, 2020
1 parent 1d831ce commit 0b63125
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/insipid_sphinx_theme/insipid/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,11 @@


{% block footer %}
{% if self.comments()|trim %}
<div class="articleComments">
{% block comments %}{% endblock %}
</div>
{% endif%}
{{ sidebar() }}
{% include 'footer.html' %}
{%- if render_sidebar %}
Expand Down
6 changes: 5 additions & 1 deletion src/insipid_sphinx_theme/insipid/static/insipid.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -617,12 +617,16 @@ nav.crumbs a:visited {

footer {
padding: 9px 0 9px 0;
border-top: #eee solid 1px;
text-align: center;
font-size: 75%;
color: #333;
}

footer, div.articleComments {
border-top: #eee solid 1px;
background-color: #fff;
}

/* -- sidebar --------------------------------------------------------------- */

div.sphinxsidebar {
Expand Down

0 comments on commit 0b63125

Please sign in to comment.