Fix a bit the style of the footer and best posts

This commit is contained in:
Alexis Tacnet
2017-02-26 00:03:00 +01:00
parent f52e02f88d
commit 6d97f25db2
2 changed files with 2 additions and 5 deletions

View File

@@ -27,7 +27,7 @@
{{ end }}
</div>
<div class="posts">
<div class="best-posts">
{{ $nbPosts := len (where .Data.Pages "Params.best" true) }}
{{ if gt $nbPosts 0 }}
<div class="page-heading">Best posts</div>

View File

@@ -370,9 +370,6 @@ section.header nav ul li:hover {
color: #333333;
}
}
section.footer {
margin-top: -2em;
}
section.footer .container {
-webkit-align-items: center;
-moz-align-items: center;
@@ -421,7 +418,6 @@ section.footer .container .icons {
}
@media (min-width: 600px) {
section.footer {
margin-top: -1em;
background-color: transparent;
}
section.footer .container {
@@ -631,6 +627,7 @@ section.main .container .content .post-item {
padding-bottom: 60px;
}
section.footer {
padding-top: 30px;
padding-bottom: 60px;
}
section.main {