/**/ /* DACSoft styles */ body { margin-left: 10%; margin-right: 10% } /* General headers */ h1 { text-align: center; /* all headings centered */ clear: both } /* Chapter headers */ h2 { text-align: center; font-weight: bold; line-height: 1.5em } .nobreak { page-break-before: avoid } /* 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 } /* Drop caps */ p.cap { text-indent: 0 } p.cap:first-letter { font-size: 250%; line-height: 83% } /* Non-standard paragraph margins */ .p2 { margin-top: 2em } .p6 { margin-top: 6em } .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% } hr.r15 { width: 15%; margin-left: 42.5%; margin-right: 42.5%; margin-top: 1em; margin-bottom: 1em } /* Lists */ ol { list-style-position: inside } ul { list-style-type: none } li { margin-top: 1em; text-indent: 0; padding-left: 0 } li.bookso { margin-top: 0; margin-left: -2em; text-align: left; text-indent: -4em; padding-left: 4em } li.booksu { margin-top: 0.5em; margin-left: -2em; text-align: left; text-indent: -2em; padding-left: 2em } li.booksc { margin-top: 1em; margin-left: -2em; text-align: center; text-indent: 0 } /* 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 } /* Physical book page and line numbers */ .pagenum { /* uncomment the next line for invisible page numbers */ /* visibility: hidden; */ /* left: 92%; */ font-size: x-small; text-align: right; color: gray } /* page numbers */ /* Blockquotes */ .blockquot { margin-top: 1em; margin-left: 10%; margin-right: 10%; margin-bottom: 1em } /* Alignment */ .right { text-align: right } /* Text appearance */ .smcap { 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; max-width: 100%; /* div no wider than screen, even when screen is narrow */ } .figleft { clear: left; margin-left: 0; margin-bottom: 0; margin-top: 1em; margin-right: 1em; padding: 0; text-align: center; max-width: 50% } .figright { clear: right; margin-left: 1em; margin-bottom: 0; margin-top: 0; margin-right: 0; padding: 0; text-align: center; max-width: 50% } .figright1 { clear: right; margin-left: 1em; margin-bottom: 0; margin-top: 1em; margin-right: 0; padding: 0; text-align: center; max-width: 50% } @media all { /* was @media handheld */ .figleft { float: left; margin: 0; text-align: center } .figright { float: right; margin: 0; text-align: center } .figright1 { float: right; margin: 0; text-align: center } } /* 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; clear: left } .halftitle { font-size: 1.75em; clear: both } .subtitle { font-size: 1.5em; clear: both } .author { font-size: 1.25em; clear: both } /* Advertisement formatting. */ .adbox { border: 2px solid black; text-align: center; padding-left: 1em; padding-right: 1em; margin: auto; width: 20em } @media all { /* was @media handheld */ .adbox { border: 2px solid black; padding: 1em; margin: auto; max-width: 100% } } .adtitle { font-size: 1.5em; font-weight: bold; clear: left } .adtitle2 { font-size: 1.5em; clear: both } .adtitle3 { font-size: 3.5em; font-weight: bold; clear: left } .adauthor { font-size: 1.25em; clear: both } /* Hanging indent. */ .hang { text-indent: -2em; padding-left: 2em } /**/