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 {
|
.card {
|
||||||
margin: 50px 0;
|
padding-bottom: 25px;
|
||||||
&:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
hr {
|
|
||||||
margin: 50px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.discrete {
|
&.discrete {
|
||||||
background: $highlight_bg_color;
|
background: $highlight_bg_color;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
{{ $postsList := where .Site.RegularPages "Section" "in" $postsDir }}
|
{{ $postsList := where .Site.RegularPages "Section" "in" $postsDir }}
|
||||||
|
|
||||||
{{/* pagination */}}
|
{{/* pagination */}}
|
||||||
|
<div class="postlist">
|
||||||
{{ range (.Paginate $postsList).Pages }}
|
{{ range (.Paginate $postsList).Pages }}
|
||||||
<article class="card postlistitem {{ if .Site.Params.discreteCards }}discrete{{ end }}">
|
<article class="card postlistitem {{ if .Site.Params.discreteCards }}discrete{{ end }}">
|
||||||
<div>
|
<div>
|
||||||
|
@ -35,6 +36,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
{{- partial "paginator.html" . -}}
|
{{- partial "paginator.html" . -}}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue