Center post titles and word counters.
This commit is contained in:
parent
68fb78e765
commit
b19e8713e0
|
@ -181,18 +181,22 @@ ul.post-list {
|
|||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a.post-title {
|
||||
border-bottom: none;
|
||||
font-size: 1.3rem;
|
||||
font-weight: bold;
|
||||
font-family: $font-heading;
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
margin-top: 0.2rem;
|
||||
|
||||
p.post-wordcount {
|
||||
text-align: center;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<li>
|
||||
<a href="{{ .Permalink }}" class="post-title">{{ .Title }}</a>
|
||||
<p>{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
|
||||
<p>{{ .Summary }} . . .</p>
|
||||
<p class="post-wordcount">{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
|
||||
<p class="post-preview">{{ .Summary }} . . .</p>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user