Add styling for pagination links.
This commit is contained in:
parent
59a91331cc
commit
fa16a7dd39
@ -85,6 +85,7 @@ body {
|
|||||||
max-width: var(--main-max-width);
|
max-width: var(--main-max-width);
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
|
padding-bottom: 8rem;
|
||||||
|
|
||||||
/* A stand-alone blog post (not in a blog stream). */
|
/* A stand-alone blog post (not in a blog stream). */
|
||||||
.blog_post {
|
.blog_post {
|
||||||
@ -95,6 +96,22 @@ body {
|
|||||||
.stream_divider {
|
.stream_divider {
|
||||||
color: var(--stream-divider-color);
|
color: var(--stream-divider-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stream_nav {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
> a {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0.2rem 0.5rem;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
> .spacer {
|
||||||
|
display: inline-block;
|
||||||
|
flex: 1 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A blog post in a blog stream (for example, the homepage). */
|
/* A blog post in a blog stream (for example, the homepage). */
|
||||||
|
@ -24,8 +24,10 @@
|
|||||||
</div>
|
</div>
|
||||||
{/.children}
|
{/.children}
|
||||||
{#.stream_pagination}
|
{#.stream_pagination}
|
||||||
|
<hr class="stream_divider" />
|
||||||
<div class="stream_nav">
|
<div class="stream_nav">
|
||||||
{?.older_link}<a href="{.older_link}">Older</a>{/.older_link}
|
{?.older_link}<a href="{.older_link}">Older</a>{/.older_link}
|
||||||
|
<div class="spacer"></div>
|
||||||
{?.newer_link}<a href="{.newer_link}">Newer</a>{/.newer_link}
|
{?.newer_link}<a href="{.newer_link}">Newer</a>{/.newer_link}
|
||||||
</div>
|
</div>
|
||||||
{/.stream_pagination}
|
{/.stream_pagination}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user