mirror of
https://github.com/welpo/tabi.git
synced 2026-04-26 09:57:20 +02:00
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:
parent
2b013c6581
commit
e5c8145918
5 changed files with 83 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue