feat(serie): add info about page's serie

If the page is part of a serie, at least the title is displayed.
If configured, the description and the list of the other articles of the serie can also be displayed.
This commit is contained in:
ZzMzaw 2024-07-26 07:36:29 +02:00
parent 2b013c6581
commit e5c8145918
5 changed files with 83 additions and 0 deletions

View file

@ -238,3 +238,30 @@ details summary {
display: inline-block;
transform: rotate(270deg);
}
.page-serie {
display: inline-block;
position: relative;
width: 100%;
margin-top: 1rem;
margin-bottom: 1rem;
border: 1px solid var(--primary-color);
border-left-width: 0.3rem;
border-radius: 10px;
padding: 1rem;
font-family: var(--serif-font);
summary::marker {
color: var(--primary-color);
font-size: 1.3rem;
font-family: var(--serif-font);
}
ol {
margin-top: 0;
margin-bottom: 0;
}
}