Commit 71160a1e authored by julientaq's avatar julientaq

example for element + string + counter

parent a3112bc6
node_modules
\ No newline at end of file
node_modules
dist
......@@ -11,33 +11,33 @@
@page :right {
@top-right {
content: counter(page);
content: element(chapterTitleRun) " " counter(page);
padding-top: 2.6em;
font-variant: oldstyle-nums;
text-align: right;
}
@top-center {
/* @top-center {
margin-top: 1.15em;
content: element(chapterTitleRun);
margin-right: -2em;
text-align: right;
}
} */
}
@page :left {
@top-left {
content: counter(page);
content: counter(page) " " element(chapterTitleRun);
padding-top: 2.6em;
font-size: 9pt;
line-height: 17px;
font-variant: oldstyle-nums;
}
@top-center {
/* @top-center {
margin-top: 1.15em;
content: element(chapterTitleRun);
margin-left: -2em;
text-align: left;
}
} */
}
@page :blank {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment