sidenotes slightly better buuuut

master
Stephen Kerr 6 months ago
parent 9cdbee9322
commit ffc7e611d7

@ -72,7 +72,6 @@ a{
font-size: 7pt;
line-height: 3mm;
text-align: left;
width: 35mm;
display: inline-block;
text-align-last: initial;
box-sizing: border-box;
@ -80,13 +79,18 @@ a{
margin: 5mm 5mm 5mm -15mm;
color: var(--spot-color-1);
}
@page:right{
.margin-note{
body .pagedjs_left_page .margin-note{
width: 35mm;
}
body .pagedjs_right_page .margin-note{
width: 35mm;
float:right;
margin: 5mm -15mm 5mm 5mm;
}
}
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;
}
.code pre{

Loading…
Cancel
Save