digitalglarus: blog, small changes on blog style

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-09-27 20:51:00 -06:00
parent 45c386f247
commit 6ca9d50306
3 changed files with 20 additions and 8 deletions

View file

@ -227,14 +227,26 @@ footer p {
display: block;
}
@media screen and (min-width:361px) {
padding: auto;
}
.blog-abstract > * {
text-align: center;
}
article {
margin: 10px 0px;
}
}
.blog-abstract {
padding:
}
@media screen and (min-width:361px) {
padding: 10px;
}
.center-block {
float: none !important;
}
.blog-abstract {
max-width: 700px;
}

View file

@ -11,7 +11,7 @@
<hr></hr>
<h2 class="text-center intro-text">
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
{{ post.title }}
<b>{{ post.title }}</b>
</a>
<small>
{{ post.date_created }}
@ -22,7 +22,7 @@
{# include "glarus_blog/includes/blog_meta.html" #}
{% endblock %}
</header>
<div class="blog-lead text-center blog-abstract">
<div class="blog-lead text-center blog-abstract center-block">
<p>
{{ post.abstract| safe }}
</p>

View file

@ -18,7 +18,7 @@
<hr></hr>
<h2 class="text-center intro-text">
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
{{ post.title }}
<b>{{ post.title }}</b>
</a>
<small>
{{ post.date_created }}