...
 
Commits (2)
......@@ -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 {
......@@ -236,4 +235,20 @@ li.translations {
.custom-wrapper.open {
height: auto;
}
.iframe-container iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.iframe-container {
overflow: hidden;
/* Calculated from the aspect ration of the content (in case of 16:9 it is 9/16= 0.5625) */
padding-top: 56.25%;
position: relative;
}
\ No newline at end of file
......@@ -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' %}
......