feat: added next and last post links
This commit is contained in:
parent
bf11f1dd39
commit
0a55d89c7c
3 changed files with 86 additions and 1 deletions
|
|
@ -331,6 +331,53 @@ footer {
|
|||
font-size: var(--font-size-small);
|
||||
}
|
||||
|
||||
/* Post Navigation */
|
||||
nav.post-navigation {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
padding-top: var(--space-element);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.post-nav-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post-nav-link:hover:not(.post-nav-disabled) .post-nav-title {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.post-nav-prev {
|
||||
align-items: flex-start;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.post-nav-next {
|
||||
align-items: flex-end;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.post-nav-label {
|
||||
font-size: var(--font-size-small);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.post-nav-title {
|
||||
color: var(--color-text-link);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.post-nav-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.post-nav-disabled .post-nav-label {
|
||||
color: var(--color-text-link-muted);
|
||||
}
|
||||
|
||||
/* Icon utilities */
|
||||
.icon-invertible {
|
||||
transition: filter 0.2s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue