cards have only a bottom padding of 25px

This commit is contained in:
Gabriele Musco 2021-04-12 23:07:16 +02:00
parent a6e8d0fcd9
commit c3af040dc9
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
2 changed files with 3 additions and 7 deletions

View File

@ -239,13 +239,7 @@ h1, h2, h3, h4, h5, h6 {
}
.card {
margin: 50px 0;
&:first-child {
margin-top: 0;
}
hr {
margin: 50px 0;
}
padding-bottom: 25px;
&.discrete {
background: $highlight_bg_color;

View File

@ -5,6 +5,7 @@
{{ $postsList := where .Site.RegularPages "Section" "in" $postsDir }}
{{/* pagination */}}
<div class="postlist">
{{ range (.Paginate $postsList).Pages }}
<article class="card postlistitem {{ if .Site.Params.discreteCards }}discrete{{ end }}">
<div>
@ -35,6 +36,7 @@
<hr />
</article>
{{ end }}
</div>
{{- partial "paginator.html" . -}}
{{ end }}