/* headings */
.pagebreak-heading {
border-bottom: 1px solid #ccc;
}
body {
counter-reset: heading0 heading1 heading2 heading3 heading4;
}
.pagebreak-level1 {
text-indent: 1.0em;
}
.pagebreak-level2 {
text-indent: 1.5em;
}
.pagebreak-level3 {
text-indent: 2.0em;
}
.pagebreak-level3 {
text-indent: 2.5em;
}
.pagebreak-level0:before {
content: counter(heading0) " ";
counter-increment: heading0;
}
.pagebreak-level1:before {
content: counter(heading0) "." counter(heading1) " ";
counter-increment: heading1;
margin-left: -1.0em;
}
.pagebreak-level2:before {
content: counter(heading0) "." counter(heading1) "." counter(heading2) " ";
counter-increment: heading2;
margin-left: -1.5em;
}
.pagebreak-level3:before {
content: counter(heading0) "." counter(heading1) "." counter(heading2) "." counter(heading3) " ";
counter-increment: heading3;
margin-left: -2.0em;
}
.pagebreak-level4:before {
content: counter(heading0) "." counter(heading1) "." counter(heading2) "." counter(heading3) "." counter(heading4) " ";
counter-increment: heading4;
margin-left: -2.5em;
}
/* article index */
.contenttoc {
text-align: left;
position: relative;
border: 1px dotted silver;
background: #F5F5F5;
padding: 5px;
margin: 0 0 10px 10px;
float: right;
}
.contenttoc-clear {
border: none 0;
clear: both;
float: none;
font-size: 1px;
height: 0;
line-height: 1px;
margin: 0;
padding: 0;
visibility: hidden;
overflow: hidden;
}
.contenttoc .pagination {
text-align: center;
}
.contenttoc ol {
position: relative;
padding: 0 5px 5px 2.0em;
margin: 0;
font-size: 110%;
vertical-align: top;
counter-reset: item;
}
.contenttoc ol ol {
padding: 0 0 0 2.0em;
font-size: 100%;
}
.contenttoc ol li {
display: list-item;
list-style-type: decimal;
list-style-position: outside;
padding: 0;
margin: 0;
line-height: 1.2;
}
/* following selectors are invisible to IE upto 8 */
.contenttoc[class] ol>/**/li {
display: block;
margin-left: -2.0em;
}
.contenttoc ol li:before {
content: counters(item, ".") " ";
counter-increment: item;
}