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,10 +227,6 @@ footer p {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width:361px) {
|
|
||||||
padding: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blog-abstract > * {
|
.blog-abstract > * {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
@ -238,3 +234,19 @@ footer p {
|
||||||
article {
|
article {
|
||||||
margin: 10px 0px;
|
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>
|
<hr></hr>
|
||||||
<h2 class="text-center intro-text">
|
<h2 class="text-center intro-text">
|
||||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
||||||
{{ post.title }}
|
<b>{{ post.title }}</b>
|
||||||
</a>
|
</a>
|
||||||
<small>
|
<small>
|
||||||
{{ post.date_created }}
|
{{ post.date_created }}
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
{# include "glarus_blog/includes/blog_meta.html" #}
|
{# include "glarus_blog/includes/blog_meta.html" #}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</header>
|
</header>
|
||||||
<div class="blog-lead text-center blog-abstract">
|
<div class="blog-lead text-center blog-abstract center-block">
|
||||||
<p>
|
<p>
|
||||||
{{ post.abstract| safe }}
|
{{ post.abstract| safe }}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<hr></hr>
|
<hr></hr>
|
||||||
<h2 class="text-center intro-text">
|
<h2 class="text-center intro-text">
|
||||||
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
<a href="{% url 'digitalglarus:blog-detail' post.slug %}" class="post-title center-block">
|
||||||
{{ post.title }}
|
<b>{{ post.title }}</b>
|
||||||
</a>
|
</a>
|
||||||
<small>
|
<small>
|
||||||
{{ post.date_created }}
|
{{ post.date_created }}
|
||||||
|
|
Loading…
Reference in a new issue