Improve blog style
parent
bda3ddcf8a
commit
2b65e7e1ba
|
@ -121,19 +121,18 @@ footer {
|
|||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
header h2 {
|
||||
header h1 {
|
||||
margin: 0px;
|
||||
color: #ff9900;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
article header h2 a {
|
||||
article header h1 a {
|
||||
color: #ff9900 !important;
|
||||
}
|
||||
|
||||
article {
|
||||
border: 1px solid #7f8c8d;
|
||||
padding: 20px;
|
||||
margin: 20px;
|
||||
padding: 20px 0px;
|
||||
}
|
||||
|
||||
code {
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
<div class="content">
|
||||
<div class="pure-g">
|
||||
<div class="l-box-lrg pure-u-md-1-5"></div>
|
||||
<div class="l-box-lrg pure-u-1 pure-u-md-3-5">
|
||||
<div class="pure-u-1 pure-u-md-1-5"></div>
|
||||
<div class="pure-u-1 pure-u-md-3-5">
|
||||
<article>
|
||||
<header>
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
|
||||
</header>
|
||||
<footer>
|
||||
Published on
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
<div class="content">
|
||||
<div class="pure-g">
|
||||
<div class="l-box-lrg pure-u-md-1-5"></div>
|
||||
<div class="l-box-lrg pure-u-1 pure-u-md-3-5">
|
||||
<div class="pure-u-1 pure-u-md-1-5"></div>
|
||||
<div class="pure-u-1 pure-u-md-3-5">
|
||||
{% for article in articles_page.object_list %}
|
||||
<article>
|
||||
<header>
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
|
||||
</header>
|
||||
<footer>
|
||||
Published on
|
||||
|
@ -25,6 +25,7 @@
|
|||
{{ article.summary }}
|
||||
</section>
|
||||
</article>
|
||||
<hr>
|
||||
{% endfor %}
|
||||
{% if articles_page.has_other_pages() %}
|
||||
{% include 'pagination.html' %}
|
||||
|
|
Loading…
Reference in New Issue