Skip to content

Commit 6453fb1

Browse files
author
Abhiraj Pundir
committed
Change styling
1 parent fc78de4 commit 6453fb1

File tree

123 files changed

+28
-26175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+28
-26175
lines changed

blog/templates/blog/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@
2626
<!-- Nav bar ends -->
2727

2828
<div class="row">
29-
<div class="col xl3 l3 m3 s12">
29+
<div class="col xl3 l3 m12 s12">
3030
<h5 class="center flow-text">Total Post {% total_tags %}</h5>
3131
{% show_latest_post %}
3232
</div>
3333

3434

35-
<div class="col xl6 l6 m6 s12">
35+
<div class="col xl6 l6 m12 s12">
3636
{% block content %}
3737
{% endblock %}
3838
</div>
3939

4040

4141

42-
<div class="col xl3 l3 m3 s12">
42+
<div class="col xl3 l3 m12 s12">
4343
<h5 class="center flow-text">Most Commented Post</h5>
4444
<div class="collection">
4545
{% get_most_commented_posts as most_commented_posts %}

blog/templates/blog/post/detail.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,17 @@ <h5>Add a new Comment</h5>
4141

4242
<!-- Post Detail -->
4343
<h4>{{ post.title }}</h4>
44-
<p class="date">
45-
Published {{ post.publish }} by {{ post.author }}
46-
</p>
47-
{{ post.body|markdown }}
44+
<p class="grey-text">
45+
<i class="material-icons">person</i>
46+
{{ post.author }}
47+
<i class="material-icons">publish</i>
48+
{{ post.publish }}
49+
<i class="material-icons">comment</i>
50+
{{ post.comments.count }}
51+
</p>
52+
<hr />
53+
<p>
54+
{{ post.body|markdown|safe }}
4855
<p>
4956
<a href="{% url 'blog:post_share' post.id %}" class="btn-large right waves-effect waves-light waves-light z-depth-5">
5057
<i class="material-icons right">screen_share</i>Share</a>

blog/templates/blog/post/list_snippet.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ <h5>Tags <i class="material-icons">loyalty</i></h5>
4646
</a>
4747
</div>
4848
{% endfor %}
49-
<h6>
50-
<i class="material-icons">publish</i>
51-
{{ post.publish }}
52-
</h6>
53-
<h6>
49+
<p class="grey-text">
5450
<i class="material-icons">person</i>
55-
{{ post.author }}
56-
</h6>
51+
{{ post.author }}
52+
<i class="material-icons">publish</i>
53+
{{ post.publish }}
54+
<i class="material-icons">comment</i>
55+
{{ post.comments.count }}
56+
</p>
5757
<hr />
58-
<p>{{ post.body|markdown|truncatewords_html:100 }}</p>
58+
<p>{{ post.body|markdown|safe|truncatewords_html:100 }}</p>
5959
</div>
6060
<!-- Card reaveal ends -->
6161
<!-- Card action -->

media/static_root/css/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nav.white {
2+
margin: 32px 0px;
3+
}

static/admin/css/autocomplete.css

Lines changed: 0 additions & 260 deletions
This file was deleted.

0 commit comments

Comments
 (0)