walter-boente_book-collection/css/modules/_footnotes.scss

52 lines
805 B
SCSS
Raw Normal View History

2026-01-20 22:37:15 +01:00
@page {
@footnote {
float: bottom;
footnote-policy: auto;
}
}
2026-01-20 21:12:05 +01:00
2026-01-20 22:37:15 +01:00
.pagedjs_footnote_content{
padding-top: calc(var(--baseline)*1);
}
2026-01-19 22:14:03 +01:00
2026-01-20 22:37:15 +01:00
.inline-note {
float: footnote;
footnote-policy: auto;
2026-01-20 21:12:05 +01:00
font-size: var(--fs-small);
2026-01-20 22:37:15 +01:00
line-height: calc(var(--baseline)*0.8);
padding-left: var(--indent);
position: relative;
font-weight: 600;
&::marker{
display: none;
content: "";
}
2026-01-20 21:12:05 +01:00
}
2026-01-20 22:37:15 +01:00
[data-counter-note]{
&::before{
content: attr(data-counter-note) ".";
position: absolute;
left: 0px;
}
}
2026-01-20 21:12:05 +01:00
2026-01-20 22:37:15 +01:00
.inline-note::after{
font-family: var(--font);
font-size: var(--fs-small);
line-height: 0;
position: relative;
top: -3px;
font-variant-position: normal!important;
2026-01-20 21:12:05 +01:00
2026-01-20 22:37:15 +01:00
}
2026-01-20 21:12:05 +01:00
2026-01-20 22:37:15 +01:00
blockquote .inline-note{
font-variant-position: normal!important;
2026-01-20 21:12:05 +01:00
}
2026-01-20 22:37:15 +01:00