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

88 lines
1.5 KiB
SCSS
Raw Normal View History

2026-01-20 21:12:05 +01:00
// @page {
// @footnote {
// float: bottom;
// footnote-policy: auto;
// }
// }
2026-01-19 22:14:03 +01:00
2026-01-20 21:12:05 +01:00
// .pagedjs_footnote_content{
// padding-top: calc(var(--baseline)*1);
// }
2026-01-19 22:14:03 +01:00
2026-01-20 21:12:05 +01:00
// .inline-note {
// float: footnote;
// footnote-policy: auto;
// font-size: 9px;
// line-height: calc(var(--baseline)*0.8);
// padding-left: var(--indent);
// position: relative;
// // font-weight: 100;
// &::marker{
// display: none;
// content: "";
// }
2026-01-19 22:14:03 +01:00
2026-01-20 21:12:05 +01:00
// }
2026-01-19 22:14:03 +01:00
2026-01-20 21:12:05 +01:00
// [data-counter-note]{
// &::before{
// content: attr(data-counter-note) ".";
// position: absolute;
// left: 0px;
// }
// }
2026-01-19 22:14:03 +01:00
2026-01-20 21:12:05 +01:00
// [data-footnote-call]{
// font-size: 9px;
// }
2026-01-20 13:32:39 +01:00
.footnote-ref{
font-family: var(--font-title);
line-height: 0;
2026-01-20 21:12:05 +01:00
font-size: var(--fs-small);
2026-01-20 13:32:39 +01:00
font-weight: 500;
2026-01-20 21:12:05 +01:00
}
#footnotes{
break-before: right;
.title-part{
font-family: var(--font-title);
font-size: 1.1rem;
font-weight: 500;
line-height: calc(var(--baseline)*1.2);
margin-top: calc(var(--baseline)*2);
padding-bottom: calc(var(--baseline)*1);
padding-right: 2ch;
padding-left: 2ch;
text-align: center;
text-wrap: balance;
&::before{
content: attr(data-part-number) ". "
}
}
li{
font-size: var(--fs-small);
// &::marker{
// font-family: var(--font-title);
// font-weight: 500;
// }
}
.footnote-back{
display: none;
}
}
[data-id="footnotes"][data-split-from] > :first-child {
margin-top: 0;
2026-01-20 13:32:39 +01:00
}