/**/ /* DACSoft styles */ body { margin-left: 10%; margin-right: 10% } /* General headers */ h1 { text-align: center; /* all headings centered */ page-break-before: always; clear: both } /* Chapter headers */ h2 { text-align: center; font-weight: bold; line-height: 1.5em } div.chapter { page-break-before: always } h2.nobreak { page-break-before: avoid } h3 { text-align: center; clear: both } /* Indented paragraph */ p { margin-top: 0.51em; margin-bottom: 0.49em; text-align: justify; text-indent: 1em } /* Unindented paragraph */ .noi { text-indent: 0 } /* Centered unindented paragraph */ .noic { text-indent: 0; text-align: center } /* Non-standard paragraph margins */ .p2 { margin-top: 2em } .p4 { margin-top: 4em } .pad4 { margin-top: 4em; margin-bottom: 4em } /* Horizontal rules */ hr { width: 33%; margin-top: 2em; margin-bottom: 2em; margin-left: 33.5%; margin-right: 33.5%; clear: both } hr.tb { width: 35%; margin-left: 32.5%; margin-right: 32.5% } hr.chap { width: 65%; margin-left: 17.5%; margin-right: 17.5% } @media all { /* was @media handheld */ hr.chap { visibility: hidden; display: none } } /* Chapter hr visible in handhelds */ hr.chapv { width: 65%; margin-left: 17.5%; margin-right: 17.5% } /* Tables */ table { margin-left: auto; margin-right: auto } /* Table cell alignments */ .tdl { text-align: left } .tdrb { text-align: right; vertical-align: bottom } .tdrt { text-align: right; vertical-align: top } th { font-weight: normal } .pr { padding-right: 0.5em } .pt { padding-top: 0.5em } /* Physical book page and line numbers */ .pagenum { /* uncomment the next line for invisible page numbers */ /* visibility: hidden; */ /* left: 92%; */ font-size: x-small; font-style: normal; font-weight: normal; font-variant: normal; text-align: right; color: gray } /* page numbers */ /* Alignment */ .right { text-align: right } @media all { /* was @media handheld */ .flright { float: right } } /* Text appearance */ .smcap { font-variant: small-caps } .allsmcap { text-transform: lowercase; font-variant: small-caps } /* Small fonts and lowercase small-caps */ .smfont { font-size: 0.8em } .smfontr { font-size: 0.75em; text-align: right } /* Illustration caption */ .caption { font-size: 0.75em; font-weight: bold } /* Images */ img { max-width: 100%; /* no image to be wider than screen or containing div */ height: auto; /* keep height in proportion to width */ } .figcenter { margin: auto; text-align: center; page-break-inside: avoid; max-width: 90%; /* div no wider than screen, even when screen is narrow */ } .logocenter { margin: 1em auto; width: 6em; max-width: 100% } /* Footnotes and sidenotes */ .footnote { margin-left: 10%; margin-right: 10%; font-size: 0.9em } .footnote .label { text-align: right } .fnanchor { vertical-align: top; font-size: 0.65em; text-decoration: none; white-space: nowrap } /* Poetry */ .poetry { display: block; margin-left: 10%; margin-right: 10% } /* uncomment the next lines for centered poetry (on longest line) */ /* .poetry {display: inline-block; text-align: left;} */ .poetry .stanza { margin: 1em auto } .poetry .verse { padding-left: 3em; text-indent: -3em } /* Poetry indents */ .poetry .indent0 { padding-left: 3em } .poetry .indent1 { padding-left: 3.5em } .poetry .indent2 { padding-left: 4em } .poetry .indent3 { padding-left: 4.5em } .poetry .indent5 { padding-left: 5.5em } /* Transcriber's notes */ .tnote { background-color: #E6E6FA; margin-left: 10%; margin-right: 10%; padding-bottom: 0.5em; padding-top: 0.5em; padding-left: 0.5em; padding-right: 0.5em } .tntitle { font-size: 1.25em; font-weight: bold; text-align: center; clear: both } /* Title page borders and content. */ .title { font-size: 1.75em; font-weight: bold; text-align: center; clear: both } .author { font-size: 1.25em; text-align: center; clear: both } .works { font-size: 0.75em; text-align: center; clear: both } /* Advertisement formatting. */ .adauthor { font-size: 1.25em; text-align: center; clear: both } /* Hanging indent. */ .hang { text-indent: -1.5em; padding-left: 1.5em } /**/