Define style rules for each mode
// regular rule for headings style h1 { fontSize: 20pt } // style rules for contents mode mode toc { style * { display: none } style h1 { fontSize: 10pt; display: block } }