Commit 816abce1 authored by julien's avatar julien

Merge branch 'fchasen-string' into 'master'

Updated element() to string() in margins

See merge request !1
parents 71160a1e 36089a9a
......@@ -7,7 +7,8 @@
/* The running-chapter class is the duplicated chapter title for the running headers */
.running-chapter {
position: running(chapterTitleRun);
display: none;
string-set: chapterTitleRun content(text);
font-variant: all-small-caps;
font-size: 9pt;
line-height: 17px;
......@@ -22,4 +23,4 @@
font-size: 9pt;
line-height: 17px;
letter-spacing: 0.05em
}
\ No newline at end of file
}
......@@ -11,7 +11,7 @@
@page :right {
@top-right {
content: element(chapterTitleRun) " " counter(page);
content: string(chapterTitleRun, first) " " counter(page);
padding-top: 2.6em;
font-variant: oldstyle-nums;
text-align: right;
......@@ -26,7 +26,7 @@
@page :left {
@top-left {
content: counter(page) " " element(chapterTitleRun);
content: counter(page) " " string(chapterTitleRun, first);
padding-top: 2.6em;
font-size: 9pt;
line-height: 17px;
......@@ -54,4 +54,4 @@
content: " ";
}
background: white;
}
\ No newline at end of file
}
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