tests mise en page
This commit is contained in:
parent
581d60f883
commit
bc350af540
52 changed files with 961 additions and 72 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// -------------- M A R G I N N O T E S S C R I P T -----------------
|
||||
|
||||
let classNotes = "margin-note"; // ← Change the CLASS of the notes here
|
||||
let notesFloat = "left"; // ← Change the POSITION of the notes here
|
||||
let notesFloat = "inside"; // ← Change the POSITION of the notes here
|
||||
|
||||
class marginNotes extends Paged.Handler {
|
||||
constructor(chunker, polisher, caller) {
|
||||
|
|
@ -97,16 +97,9 @@ class marginNotes extends Paged.Handler {
|
|||
counter-increment: callNote_' + toCamelClassNote(classNotes) + ';\
|
||||
}\
|
||||
\
|
||||
.note-call_' + classNotes + '::after {\
|
||||
content: counter(callNote_' + toCamelClassNote(classNotes) + ');\
|
||||
}\
|
||||
\
|
||||
.note-marker_' + classNotes + ' {\
|
||||
counter-increment: markerNote_' + toCamelClassNote(classNotes) + ';\
|
||||
}\
|
||||
.note-marker_' + classNotes + '::before {\
|
||||
content: counter(markerNote_' + toCamelClassNote(classNotes) + ') "";\
|
||||
}\
|
||||
' + notePosition
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue