/* * * Klett-Cotta Standart Stylesheet * Letzte Änderung: 06.12.2012 * */ /* * * FONTS * */ @font-face { font-family: sans-serif; font-style: normal; font-weight: normal; src:url(fonts/DejaVuSans.otf); } @font-face { font-family: sans-serif; font-style: normal; font-weight: bold; src:url(fonts/DejaVuSans-Bold.otf); } @font-face { font-family: sans-serif; font-style: italic; font-weight: normal; src:url(fonts/DejaVuSans-Oblique.otf); } @font-face { font-family: sans-serif; font-style: italic; font-weight: bold; src:url(fonts/DejaVuSans-BoldOblique.otf); } @font-face { font-family: serif; font-style: normal; font-weight: normal; src:url(fonts/DejaVuSerif.otf); } @font-face { font-family: serif; font-style: normal; font-weight: bold; src:url(fonts/DejaVuSerif-Bold.otf); } @font-face { font-family: serif; font-style: italic; font-weight: normal; src:url(fonts/DejaVuSerif-Italic.otf); } @font-face { font-family: serif; font-style: italic; font-weight: bold; src:url(fonts/DejaVuSerif-BoldItalic.otf); } /* * * GENERELL * */ body { font-family:serif; line-height:1.3em; background-color:#fff; padding:0; margin-left:5%; margin-right:5%; } p { margin:0; font-size:0.8em; line-height:1.3em; font-family:serif; text-indent:1em; } li { font-size:0.8em; line-height:1.3em; text-indent:0em; } a { text-decoration:none; color:black; } sup { font-size:0.75em; line-height:0.5em; } /* * * TITELEI * */ div.title { margin-top:2em; } div.ttop { height:auto; min-height:60%; text-align:center; } div.tbottom { height:auto; margin-top:2em; text-align:center; } p.author { text-indent:0; text-align:center; font-size:1em; } p.title { text-indent:0; text-align:center; font-size:2em; font-weight:normal; line-height:1.2em; margin-top:1.5em; } p.subtitle { text-indent:0; text-align:center; font-size:1.2em; font-style:normal; margin-top:2em; } p.genre { text-indent:0; text-align:center; font-size:1.2em; font-style:italic; margin-top:1em; } p.translation { text-indent:0; text-align:center; font-size:1em; font-style:normal; margin-top:2em; } /* * * IMPRESSUM * */ p.impress { text-indent:0; text-align:left; } p.impress-top { text-indent:0; text-align:left; margin-top:1em; } /* * * INHALTSVERZEICHNIS * */ p.toc-h1 { text-indent:0; text-align:left; margin-top:1em; margin-bottom:0; } p.toc-h1-notop { text-indent:0; text-align:left; margin-top:0; margin-bottom:0; } p.toc-h1-first { text-indent:0; text-align:left; margin-top:2em; margin-bottom:0; } p.toc-h1-bold { text-indent:0; text-align:left; font-weight:bold; margin-top:2em; margin-bottom:1em; } p.toc-h2 { text-indent:0; text-align:left; margin-top:0em; margin-bottom:0em; padding-left:2em; clear:left; } span.toc-anchor { float:left; width:2em; margin-left:-2em; } /* * * FRONTMATTER * */ div.quote { margin-top:5em; } div.dedication { margin-top:5em; } /* * * ÜBERSCHRIFTEN * */ h1 { text-align:left; font-size:1.5em; font-weight:normal; margin-top:1em; margin-bottom:0em; line-height:130%; } h1.h2 { text-align:left; font-size:1.2em; font-weight:normal; margin-top:2em; margin-bottom:0; } h1.frontmatter { text-align:left; font-size:1.5em; font-style:normal; font-weight:normal; margin-top:1em; margin-bottom:2em; line-height:130%; } /* Frontmatter Überschriften */ h1.blind { margin:0; padding:0; } h2 { text-align:left; font-size:1.2em; font-weight:normal; margin-top:2em; margin-bottom:0; } h2.after-h1 { text-align:left; font-size:1.2em; font-weight:normal; margin-top:3em; margin-bottom:0; } h2.backmatter { text-align:left; font-size:1.5em; font-weight:normal; margin-top:1em; margin-bottom:2em; line-height:130%; } h2.blind-avoid { margin:0; padding:0; } h3 { text-align:center; font-size:1.2em; font-weight:normal; margin-top:1em; margin-bottom:0; } h2.h3-left { text-align:left; font-size:1.2em; font-weight:normal; margin-top:2em; margin-bottom:0; } h4 { text-align:left; font-size:1em; font-weight:normal; margin-top:2em; margin-bottom:0; } /* * * TEXTFORMATIERUNG * */ p.noindent { text-indent:0em; } p.noindent-top { text-indent:0em; margin-top:1em; } p.noindent-top2 { text-indent:0em; margin-top:2em; } p.noindent-top3 { text-indent:0em; margin-top:3em; } p.noindent-top4 { text-indent:0em; margin-top:4em; } p.noindent-h1 { text-indent:0em; margin-top:3em; } p.noindent-h2 { text-indent:0em; margin-top:2em; } p.noindent-hX { text-indent:0em; margin-top:1em; } p.top { margin-top:1em; } p.top2 { margin-top:2em; } p.center { text-indent:0; text-align:center; } p.center-top { text-indent:0; text-align:center; margin-top:1em; } p.center-top2 { text-indent:0; text-align:center; margin-top:2em; } p.right { text-indent:0; text-align:right; } p.right-top { text-indent:0; text-align:right; margin-top:1em; } p.star { text-indent:0; text-align:center; margin-top:1em; margin-bottom:1em; } p.h1-subtitle {text-indent:0em; text-align:left; font-size:1.2em; font-weight:normal; margin-top:2em; margin-bottom:0; } p.h1-subtitle-2 {text-indent:0em; text-align:left; font-size:1.2em; font-weight:normal; margin-top:1em; margin-bottom:0; } p.h2-subtitle {text-indent:0em; text-align:left; font-size:1em; font-weight:normal; margin-top:1em; margin-bottom:0; } p.-noindent-h3-left { text-indent:0em; text-align:left; font-size:1.2em; font-weight:normal; margin-top:2em; margin-bottom:0; } p.indent-4em-top2 { text-indent:4em; margin-top:2em; } p.indent-4em { text-indent:4em; } p.indent-6em { text-indent:6em; } span.grey { color:#5a595a; } span.initial { font-size:2.5em; font-style:normal; line-height:0.8em; } /* Für rechtsverschobenen Text (z.B. Gedichte) */ p.marged { text-indent:0; margin-left:1em; } p.marged-indent { text-indent:1em; margin-left:1em; } /* Für (meist) grau hinterlegte Boxen) */ div.box { background-color:lightgrey; padding-left:1em; padding-right:1em; margin-top:1em; margin-bottom:0; } hr.top { margin-top:0; border:1px solid lightgrey; } hr.bottom { margin-bottom:0; border:1px solid lightgrey; } /* * * ABSTANDSFORMATIERUNG * */ div.top { margin-top:1em; } div.top2 { margin-top:2em; } div.top3 { margin-top:3em; } div.bottom { margin-bottom:1em; } div.margin { margin-top:1em; margin-bottom:1em; } div.margin2 { margin-top:2em; margin-bottom:2em; } div.margin3 { margin-top:2em; margin-bottom:3em; } /* * * BILDER * */ div.image { margin-top:1em; margin-bottom:1em; page-break-inside:avoid; text-align:center; } /* Für normale Bilder */ div.image-backend { margin-top:1em; margin-bottom:1em; page-break-before:always; page-break-inside:avoid; text-align:center; } /* Für Bilder im Bildteil (nicht für das erste Bild im Backend nutzen, da sonst eine Vakatseite entsteht!) */ div.foto { float:left; margin:0 1em 1em 0; } /* Ausschließlich für Autorenfoto am Ende des Dokuments */ div.clear { clear:left; } img { max-width:100%; } p.caption { text-indent:0; text-align:left; font-style:normal; margin-top:1em; } /* * * LISTEN * */ ul { list-style-type:square; margin-top:1em; margin-bottom:1em; } ol.decimal { list-style-type:decimal; margin-top:1em; margin-bottom:1em; } /* Betrifft nur das epub Format */ ul ul li { font-size:100%; } ol ol li { font-size:100%; } ol ul li { font-size:100%; } ul ol li { font-size:100%; } /* * * TABELLEN * */ table { width:100%; } /* * * FUßNOTEN/REGISTER * */ p.footnote { text-indent:0em; text-align:left; margin-top:1em; font-size:0.7em; } hr.footnote { border:1px solid grey; margin-top:1em; } /* Für Fussnoten, die nicht in den Anmerkungen gesammelt werden, sondern direkt unter dem Text liegen */ span.register-anchor { float:left; width:3em; margin-left:-3em; } p.register-float { text-indent:0em; text-align:left; clear:left; margin-bottom:0.25em; padding-left:3em; } p.register { text-indent:-1em; text-align:left; padding-left:1em; } p.register-top { text-indent:-1em; text-align:left; padding-left:1em; margin-top:1em; } p.glossar { text-indent:-1em; text-align:left; padding-left:1em; margin-bottom:0.5em; }