/* Default paragraph formatting */ p { margin: 0rem 0rem 0rem 0rem; text-indent: 1.5rem; } /* Styles */ /* Direct formatting styles */ .ps1 { margin-left: 0rem; text-indent: 0rem; text-align: center; line-height: 1.5em; } .ps2 { margin-left: 0rem; text-indent: 0rem; text-align: center; line-height: 1.5em; font-size: 2rem; } .ps3 { margin-left: 0rem; text-indent: 0rem; text-align: center; line-height: 1.2em; } .ps4 { margin-left: 0rem; text-indent: 0rem; text-align: center; line-height: 1.15em; font-size: 0.75rem; } .ps5 { margin-left: 0rem; text-indent: 0rem; } .ps6 { margin-left: 0rem; text-indent: 0rem; line-height: 1.3em; } .ps7 { margin-left: 0rem; text-indent: 0rem; text-align: center; line-height: 1.2em; font-size: 1.17rem; } .ps8 { margin-left: 0rem; text-indent: 0rem; line-height: 1.2em; } .ps9 { margin-left: 0rem; text-indent: 0rem; text-align: center; } .ps10 { margin-left: 0rem; text-indent: 0rem; text-align: center; line-height: 1.3em; } .ps11 { margin-left: 0rem; text-indent: 0rem; text-align: center; font-size: 1.17rem; } .ps12 { margin-left: 0rem; text-indent: 0rem; text-align: center; font-size: 0.92rem; } /* Separators */ .separator { } /* Tables */ /* Reset all potential built-in rendering assumptions so we have full control. */ table, table * { border: none; padding: 0em 0em 0em 0em; margin: 0em 0em 0em 0em; } table { /* Will centre tables on iBooks and others, but annoyingly, not ADE-based devices, which ignore auto margins. */ margin: 1em auto 1em auto; border-spacing: 0em; border: solid #000; border-width: 0pt 0pt 1pt 1pt; } table caption { margin-top: 0.25em; caption-side: bottom; text-align: center; } /* Insert a little padding within cells, mainly horizontal, to keep tables from being cramped to the content width of each cell. */ th, td { padding: 0.25em 0.35em; border: solid #000; border-width: 1pt 1pt 0pt 0pt; } /* Avoid text indents in paragraphs inside cells. */ td p { margin: 0rem 0rem 0rem 0rem; text-indent: 0rem; } /* Images */ img { display: block; margin: 1rem auto 1rem auto; } img + figcaption { margin-top: -0.75rem; } /* Numbered lists */ /* 1. a. i. ... */ /* Level Two */ ol ol { list-style-type: lower-alpha; } /* Level Three */ ol ol ol { list-style-type: lower-roman; } /* Level Four */ ol ol ol ol { list-style-type: decimal; } /* Level Five */ ol ol ol ol ol { list-style-type: lower-alpha; } /* Level Six */ ol ol ol ol ol ol { list-style-type: lower-roman; } /* Level Seven */ ol ol ol ol ol ol ol { list-style-type: decimal; } /* Bullets */ /* Bullets, and then it's Dashes all the way down. */ ul ul { list-style: none; display: block; text-indent: -0.6em; } ul ul li:before { content: '⁃ '; } /* Table of contents navigation */ nav#toc ol { list-style: none; line-height: 1.5em; margin-top: 0.5rem; margin-bottom: 0.5rem; } nav#toc ol li:before { content: none; }