digitalglarus: blog, small changes on blog style
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
45c386f247
commit
6ca9d50306
3 changed files with 20 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue