feat: add previous/next article navigation (#246)

This commit is contained in:
Óscar
2024-01-04 19:05:06 +01:00
committed by GitHub
parent 0aef23b370
commit dac6bfc024
12 changed files with 90 additions and 0 deletions

View File

@@ -167,3 +167,28 @@ hr {
details summary {
cursor: pointer;
}
.article-navigation {
display: flex;
margin-top: 2rem;
border-top: var(--divider-color) solid 0.5px;
padding-top: 2rem;
div:first-child {
flex: 1;
text-align: left;
}
div:last-child {
flex: 1;
text-align: right;
}
@media (max-width: 600px) {
flex-direction: column;
div {
text-align: center !important;
}
}
}