Commit 2b65e7e1 authored by Georg Krause's avatar Georg Krause

Improve blog style

parent bda3ddcf
Pipeline #749 failed with stage
in 31 seconds
...@@ -121,19 +121,18 @@ footer { ...@@ -121,19 +121,18 @@ footer {
font-size: 0.8em; font-size: 0.8em;
} }
header h2 { header h1 {
margin: 0px; margin: 0px;
color: #ff9900; color: #ff9900;
line-height: 1.5em;
} }
article header h2 a { article header h1 a {
color: #ff9900 !important; color: #ff9900 !important;
} }
article { article {
border: 1px solid #7f8c8d; padding: 20px 0px;
padding: 20px;
margin: 20px;
} }
code { code {
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
<div class="content"> <div class="content">
<div class="pure-g"> <div class="pure-g">
<div class="l-box-lrg pure-u-md-1-5"></div> <div class="pure-u-1 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-3-5">
<article> <article>
<header> <header>
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
</header> </header>
<footer> <footer>
Published on Published on
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
<div class="content"> <div class="content">
<div class="pure-g"> <div class="pure-g">
<div class="l-box-lrg pure-u-md-1-5"></div> <div class="pure-u-1 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-3-5">
{% for article in articles_page.object_list %} {% for article in articles_page.object_list %}
<article> <article>
<header> <header>
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
</header> </header>
<footer> <footer>
Published on Published on
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
{{ article.summary }} {{ article.summary }}
</section> </section>
</article> </article>
<hr>
{% endfor %} {% endfor %}
{% if articles_page.has_other_pages() %} {% if articles_page.has_other_pages() %}
{% include 'pagination.html' %} {% include 'pagination.html' %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment