Layout: simplify CSS layout on most pages
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user