Layout: simplify CSS layout on most pages

This commit is contained in:
James Taylor
2019-08-24 11:35:58 -07:00
parent d9517a3322
commit 400d17e613
8 changed files with 120 additions and 211 deletions

View File

@@ -3,27 +3,18 @@
{% import "comments.html" as comments %}
{% block style %}
main{
display: grid;
grid-template-columns: 3fr 2fr;
}
.left{
display:grid;
grid-template-columns: 1fr 640px;
}
textarea{
width: 460px;
height: 85px;
}
.comment-form{
grid-column:2;
width: 640px;
margin: auto;
justify-content:start;
}
textarea{
width: 460px;
height: 85px;
}
{% endblock style %}
{% block main %}
<div class="left">
{{ comments.comment_posting_box(comment_posting_box_info) }}
</div>
{{ comments.comment_posting_box(comment_posting_box_info) }}
{% endblock %}