removed row (post detail)
This commit is contained in:
@@ -96,6 +96,7 @@ nav {
|
|||||||
}
|
}
|
||||||
/* --- Buttons & UI --- */
|
/* --- Buttons & UI --- */
|
||||||
.btn-read-more {
|
.btn-read-more {
|
||||||
|
margin-top: 20px;
|
||||||
float: right;
|
float: right;
|
||||||
background: #f8f9fa;
|
background: #f8f9fa;
|
||||||
border: 1px solid #e1e4e8;
|
border: 1px solid #e1e4e8;
|
||||||
@@ -113,7 +114,7 @@ nav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-read-more:hover {
|
.btn-read-more:hover {
|
||||||
background-color: #e1e4e8;
|
background-color: #666;
|
||||||
color: #ffffff; /* Invert colors on hover */
|
color: #ffffff; /* Invert colors on hover */
|
||||||
transform: translateY(-1px);
|
transform: translateY(-1px);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,24 +3,22 @@ Template{% endblock %} {% block content %} {% from
|
|||||||
"components/post_renderer.html" import render_post %} {% from
|
"components/post_renderer.html" import render_post %} {% from
|
||||||
"components/comment_renderer.html" import render_comment %}
|
"components/comment_renderer.html" import render_comment %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="col-lg-12">
|
||||||
<div class="col-lg-12">
|
<h1 class="post-title">{{ post.title }}</h1>
|
||||||
<h1 class="post-title">{{ post.title }}</h1>
|
<p class="lead">{{ post.subtitle }}</p>
|
||||||
<p class="lead">{{ post.subtitle }}</p>
|
<p>
|
||||||
<p>
|
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
|
||||||
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
|
</p>
|
||||||
</p>
|
{{ render_post(post) }}
|
||||||
{{ render_post(post) }}
|
|
||||||
|
|
||||||
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
|
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
|
||||||
>← Back to Posts</a
|
>← Back to Posts</a
|
||||||
>
|
>
|
||||||
|
|
||||||
<hr style="margin-top: 75px; margin-bottom: 40px" />
|
<hr style="margin-top: 75px; margin-bottom: 40px" />
|
||||||
{% include 'leave_comment.html' %}
|
{% include 'leave_comment.html' %}
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
{{render_comment(comments)}}
|
{{render_comment(comments)}}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user