sidenotes slightly better buuuut

master
Stephen Kerr 2 months ago
parent 9cdbee9322
commit ffc7e611d7

@ -72,7 +72,6 @@ a{
font-size: 7pt; font-size: 7pt;
line-height: 3mm; line-height: 3mm;
text-align: left; text-align: left;
width: 35mm;
display: inline-block; display: inline-block;
text-align-last: initial; text-align-last: initial;
box-sizing: border-box; box-sizing: border-box;
@ -80,13 +79,18 @@ a{
margin: 5mm 5mm 5mm -15mm; margin: 5mm 5mm 5mm -15mm;
color: var(--spot-color-1); color: var(--spot-color-1);
} }
@page:right{ body .pagedjs_left_page .margin-note{
.margin-note{ width: 35mm;
}
body .pagedjs_right_page .margin-note{
width: 35mm;
float:right; float:right;
margin: 5mm -15mm 5mm 5mm; margin: 5mm -15mm 5mm 5mm;
}
} }
body .margin-note{ body .margin-note{
/* This is overriding position absolute in the plugin,
it breaks side notes that are too close to the bottom
of the page which is sad */
position: static; position: static;
} }
.code pre{ .code pre{

Loading…
Cancel
Save