cards have only a bottom padding of 25px
This commit is contained in:
parent
a6e8d0fcd9
commit
c3af040dc9
|
@ -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;
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue