/* ------DIVERSION BOOKS - SEPTEMBER 2015 -------- */ /* ----------------- GENERAL STYLES -------------- */ body { margin: 1em; text-align: justify; } p { hyphens: auto; margin-bottom: 0.000em; margin-top: 0.000em; text-indent: 1.500em; orphans: 2; widows: 2; font-size: 1.000em; line-height: 1.500; font-family: serif; } p.first { text-indent: 0.00em; } p.sectiontop { margin-top: 3.000em; text-indent: 0.00em; } p.hanging { margin-left: 3.000em; text-indent: -1.500em; } p.single { margin-bottom: 1em; } p.double { margin-bottom: 2em; } p.triple { margin-bottom: 3em; } blockquote { margin-top: 1em; margin-right: 2em; margin-bottom: 1em; margin-left: 2em; font-family: serif; } span.underline {text-decoration: underline;} span.strike {text-decoration: line-through;} small { font-size: 85%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } /* ----------------- HEADINGS -------------- */ h1, h2, h3, h4, h5, h6 { font-weight: normal; page-break-after: avoid; text-align: center; font-family: serif; } h1 { margin-top: 1.125em; font-size: 2em; line-height: 1.5; } h2 { margin-top: 1.125em; font-size: 1.813em; line-height: 1.5; } h3 { margin-top: 2em; font-size: 1.5em; line-height: 1.5; } h4 { margin-top: 2em; margin-bottom: .5em; font-size: 1.313em; line-height: 1.5; text-align: left; } h5 { margin-top: 2em; margin-bottom: .5em; font-size: 1.125em; line-height: 1.5; text-align: left; } h6 { margin-top: 2em; margin-bottom: .5em; font-size: 1em; font-weight: bold; line-height: 1.5; text-transform: uppercase; text-align: left; } /* ----------------- IMAGES -------------- */ img { max-width: 100%; margin-top: 1em; margin-bottom: .5em; } div.figure { page-break-inside: avoid; text-align: center; } div.figcaption { margin-bottom: 2em; text-align: justify; font-size: 0.85em; line-height: 1.250; font-family: serif; } /* ----------------- LISTS -------------- */ ul, ol { margin-top: 1em; margin-bottom: 1em; padding-left: 3em; font-family: serif; } ul { list-style: disc; } ol { list-style: decimal; } ul.disc { list-style-type: disc; } ul.circle { list-style-type: circle; } ul.square { list-style-type: square; } ol.decimal { list-style-type: decimal; } ol.upper-roman { list-style-type: upper-roman; } ol.lower-roman { list-style-type: lower-roman; } ol.upper-alpha { list-style-type: upper-alpha; } ol.lower-alpha { list-style-type: lower-alpha; } /* -------------- Tables -------------- */ table { border-collapse: collapse; margin: 1em; margin-left: 2em; margin-right: 2em; } td, th { padding: 3px 5px; } table.grid { border: 1px solid black; } table.grid td, table.grid th { border: 1px solid black; } /* ----------------- MISC -------------- */ a { color: #00e; } a:visited { color: #551a8b; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }