/**/ /* DACSoft styles */ body { margin-left: 10%; margin-right: 10% } /* General headers */ h1, h3, h4 { text-align: center; /* all headings centered */ clear: both } /* Chapter headers */ h2 { text-align: center; font-weight: bold; line-height: 1.5em } /* 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 */ .p1 { margin-top: 1.5em } .p2 { margin-top: 2em } .p4 { margin-top: 4em } .p6 { margin-top: 6em } .pad4 { margin-top: 4em; margin-bottom: 4em } .padr7 { padding-right: 7em; text-align: right } /* 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% } /* 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 } @media all { /* was @media handheld */ .flright { float: 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.5em; margin-top: 1em; margin-right: 1em; padding: 0; text-align: center; max-width: 50% } @media all { /* was @media handheld */ .figleft { float: left; margin: 0; text-align: center } } /* Poetry */ .poem { margin-left: 10%; margin-right: 10%; text-align: left } .poem br { display: none } .poem .stanza { margin: 1em 0 1em 0 } .poem span.i0 { display: block; margin-left: 0; padding-left: 3em; text-indent: -3em } .poem span.i1 { display: block; margin-left: 0.5em; padding-left: 3em; text-indent: -3em } /* 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. */ .adtitle { font-size: 1.5em; font-weight: bold; clear: both } .adauthor { font-size: 1.25em; clear: both } /* Hanging indent. */ .hang { text-indent: -2em; padding-left: 3em } h2.pg { line-height: 1em } hr.full { width: 100%; margin-top: 3em; margin-bottom: 0; margin-left: auto; margin-right: auto; border-width: 4px 0 0 0; /* remove all borders except the top one */ border-style: solid; border-color: #000; clear: both } /**/