/* v14 */ /* css MVS Fachbuch, XML First */ /* Monika Reinhardt, Konrad Seidel */ /* überarbeitet von Björn Gallinge */ /* history: */ /* 14-05-20: p + p wie Ratgeber (kein linker Einzug mehr, stattdessen Abstand zwischen Absätzen) */ /* 14-05-23: Farben und Graustufen geändert */ /* 14-05-23: in p text-align: left !important eingefügt */ /* 14-05-23: media query amzn-mobi für p eingefügt mit text-indent: 0 und margin-top: 1em (wie Ratgeber) */ /* 14-05-23: im body text-indent:0 eingesetzt und alle identischen Einzelformatierungen gelöscht */ /* 14-05-23: p.trailer + p.trailer Einzug entfernt und stattdessen margin-top: 1em gesetzt */ /* 14-05-23: bei body.adresses p.appendix margin-left: -1em; gelöscht, da Text links aus Bildschirm rausläuft */ /* 14-05-26: h6 font-family auf serif korrigiert */ /* 14-05-26: h1 bis h6 font-weight: bold; ergänzt */ /* 14-05-26: .special formatiert wie in Ratgeber, dazu font-style: italic; ergänzt */ /* 14-05-26: margin-top für p.withtitle entfernt, da p diese Einstellung immer hat */ /* 14-05-27: media query amzn-mobi für p.trailer eingefügt mit font-style: italic; */ /* 14-06-04: p.quote entfernt, stattdessen div.quote mit p und p.origin definiert */ /* 14-06-04: media query amzn-mobi für div.profile, div.cution, div.pitfall eingefügt mit margin-left: 30px; */ /* 14-06-04: Schriftangabe für Absätze p in Box-Containern gelöscht, dafür */ /* 14-06-04: in Box-Containern Schriftangabe ergänzt: */ /* 14-06-04: in "ex h1 + ex h3" */ /* 14-06-04: in "ex h4" für .caution + .pitfall */ /* 14-06-04: in "ex h5" für .profile */ /* 14-06-04: .div.casestudy korrigiert in div.casestudy */ /* 14-06-05: p.petit definiert */ /* 14-06-05: table > caption mit margin-top:1.0em; definiert wegen Darstellung auf ADE und Tolino */ /* 14-06-05: Frage-Antwort-Modul: Textergänzungen als Pseudoselektoren eingefügt */ /* 14-06-05: Frage-Antwort-Modul: Abstand davor auf 1.5em und danach auf 3em gesetzt */ /* 14-06-05: p.footnote entfernt, da nicht mehr verwendet */ /* 14-06-05: stattdessen div.footnotes p definiert mit margin-bottom:1em; */ /* 14-06-11: div.address p mit margin-top:0em definiert */ /* 14-06-11: div.recipe p mit margin-top:0em definiert */ /* 14-06-11: div.note p mit margin-top:0em definiert */ /* 14-06-13: dt und dd mit text-align:left !important auf linksbündig gesetzt */ /* 14-06-24: Textausrichtung in Tabellen linksbündig gesetzt: td mit text-align:left !important; definiert */ /* 14-06-24: Textausrichtung der Listenpunkte linksbündig gesetzt: li mit text-align:left !important; definiert */ /* 14-06-24: in p.tabbody und p.tabhead Einstellung für linksbündig gelöscht, da für p generell vorgenommen */ /* 14-06-27: Frage-Antwort-Modul: p.qtitle definiert */ /* 14-06-27: sämtliche Pseudoselektoren (wieder) entfernt, wird ab sofort in der Konvertierung umgesetzt: */ /* 14-06-27: bei Dreieck vor Tabellenlegende: table > caption:before entfernt */ /* 14-06-27: bei Frage-Antwort-Modul: p.answer:before / p.response:before / p.comment:before / p.qnumber:before entfernt */ /* 14-06-27: Tabellenlegende wie Bildlegende formatiert */ /* 14-06-27: bei caption und p.legend width: 100% entfernt */ /* 14-06-27: p.withtitle entfernt, dafür b.withtitle eingeführt */ /* 14-06-30: in p.tabbody Einstellung vertical-align:top; entfernt */ /* 14-06-30: Testlauf: p.withtitle und p.quote laufen parallel zu neuen Einstellungen */ /* 14-07-02: body.footnotes ergänzt und Farbe für Überschrift definiert */ /* 14-07-07: bei div.quote p den text-indent:-0.9em; (hängender Einzug) wieder entfernt */ /* 14-07-07: p.withtitle1 und p.withtitle2 definiert, Unterscheidung durch Farbe */ /* 14-07-07: b.withtitle1 und b.withtitle2 definiert, Unterscheidung durch Farbe */ /* 14-07-16: p.h7 + p mit margin-top:0.3em; definiert */ /* 14-07-16: bei p.author margin-bottom:0em; gelöscht */ /* 14-07-16: p.author + p.author margin-top:0em; gesetzt */ /* font integration */ @font-face{ font-family:DejaVuSerif; font-style:normal; font-weight:normal; src:url("../Fonts/DejaVuSerif.ttf"); } @font-face{ font-family:DejaVuSerif-Bold; font-weight:bold; src:url("../Fonts/DejaVuSerif-Bold.ttf"); } @font-face{ font-family:DejaVuSerif-Italic; font-style:italic; src:url("../Fonts/DejaVuSerif-Italic.ttf"); } @font-face{ font-family:DejaVuSans; font-style:normal; font-weight:normal; src:url("../Fonts/DejaVuSansCondensed.ttf"); } @font-face{ font-family:DejaVuSans-Oblique; font-style:italic; src:url("../Fonts/DejaVuSansCondensed-Oblique.ttf"); } @font-face{ font-family:DejaVuSans-Bold; font-weight:bold; src:url("../Fonts/DejaVuSansCondensed-Bold.ttf"); } /* standard text */ body{ font-family:"DejaVuSerif", serif; text-indent:0; } /* title page */ body.innertitle > p.mainheader{ font-family:"DejaVuSans-Bold", sans-serif; color:#808040; border-bottom-style:none; font-size:2em; margin-top:1em; } body.innertitle p, body.innertitle p.appendix{ font-family:"DejaVuSans", sans-serif; font-size:1em; margin-left:0em; } p.logo{ text-align:left; margin-top:5em; } p.logo > img{ max-width:200px; } /* special sections */ body.preface > h1{ color:#808040; border-bottom-color:#808040; } body.dedication > h1{ color:#808040; border-bottom-color:#808040; } body.glossary > h1{ color:#808040; border-bottom-color:#808040; } body.index > h1{ color:#808040; border-bottom-color:#808040; } body.abbreviations > h1{ color:#808040; border-bottom-color:#808040; } body.genReg > h1{ color:#808040; border-bottom-color:#808040; } body.literature > h1{ color:#808040; border-bottom-color:#808040; } body.authors > h1{ color:#808040; border-bottom-color:#808040; } body.addresses > h1{ color:#808040; border-bottom-color:#808040; } body.imprint > h1{ color:#808040; border-bottom-color:#808040; } body.footnotes > h1{ color:#808040; border-bottom-color:#808040; } /* Links */ a:link{ color:#0000CD; text-decoration:underline; font-family:"DejaVuSans", sans-serif; } a:visited{ color:#A1A1A1; text-decoration:underline; } a:hover{ color:#A1A1A1; text-decoration:underline; } /* paragraphs and listings */ p{ font-size:0.9em; line-height:1.5em; text-align:left !important; orphans:2; widows:2; margin-top:0em; margin-bottom:0; padding-top:0; padding-bottom:0; } /* some para cases */ p + p{ margin-top:1em; } p.literature{ margin-bottom:1em; } div.footnotes p{ margin-bottom:1em; } div.address p{ margin-top:0em; } div.note p{ margin-top:0em; } p.index{ margin-bottom:0.5em; } p.quote { margin-left: 1em; font-family: "DejaVuSans-Oblique", sans-serif; font-style: italic; } .special{ font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; font-style:italic; font-size:1em; color:#0000CD; } body.glossary p{ margin-bottom:0.5em } div.address{ margin-bottom:1em; } body.imprint > div.note{ margin-bottom:1em; } body.imprint > div.collaborators{ margin-bottom:1em; } p.author{ font-family:"DejaVuSans", sans-serif; } p.author + p.author { margin-top:0em; } p.petit{ font-size: 0.7em; } p.withtitle b:first-child { font-family: "DejaVuSans-Bold", sans-serif; font-weight: bold; color:#0000CD; } p.withtitle1 b:first-child { font-family: "DejaVuSans-Bold", sans-serif; font-weight: bold; color:#0000CD; } p.withtitle2 b:first-child { font-family: "DejaVuSans-Bold", sans-serif; font-weight: bold; } b.withtitle1{ font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; color:#0000CD; } b.withtitle2{ font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; } /* container and para cases for quotes */ div.quote{ font-size:1.1em; margin-top:1.25em; margin-bottom:1.25em; margin-left:2em; } div.quote p{ color:#808040; font-family:"DejaVuSans", sans-serif; } div.quote p.origin{ margin-top:0.5em; color:#808040; font-family:"DejaVuSerif-Italic", serif; font-style:italic; font-size:0.9em; text-indent:0em; } /* listings */ ul{ margin-top:0.0em; margin-bottom:1.0em; list-style-position:outside; list-style-type:disc; line-height:1.5em; } li > ul{ list-style-type:circle; margin-bottom:0.0em; } li > ol{ margin-top:0.0em; margin-bottom:0.0em; } li{ margin-bottom:0.0em; margin-top:0.0em; padding-bottom:0.0em; padding-top:0.0em; text-align: left !important; } /* ordered list with letters */ ol{ margin-top:0.0em; list-style-position:outside; line-height:1.4; } ol.alpha{ margin-top:0.0em; list-style-type:lower-alpha; list-style-position:outside; line-height:1.4; } ol.upper-alpha{ margin-top:0.0em; list-style-type:upper-alpha; list-style-position:outside; line-height:1.4; } /* headlines */ h1, h2, h3, h4, h5, h6, p.h7{ text-align:left; page-break-after:avoid; page-break-inside:avoid; padding:0; } p.h7 + p { margin-top:0.3em; } /* .mainhader = h1 nocount */ h1, p.mainheader{ font-size:1.6em; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; color:#0000CD; margin-bottom:1.25em; border-bottom-color:#0000CD; border-bottom-style:solid; border-bottom-width:2px; page-break-after:avoid; page-break-inside:avoid; } h2{ font-size:1.4em; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; color:#0000CD; margin-top:1.5em; margin-bottom:0.5em; page-break-after:avoid; page-break-inside:avoid; } h3{ font-size:1.2em; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; text-align:left; margin-top:1.0em; margin-bottom:0.4em; page-break-after:avoid; page-break-inside:avoid; } h4{ font-size:1.1em; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; margin-bottom:0.3em; margin-top:1.2em; color:#0000CD; } h5{ font-size:1.0em; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; margin-top:1.1em; margin-bottom:0.2em; } h6{ font-size:0.9em; font-family:"DejaVuSerif-Bold", serif; font-weight:bold; color:#0000CD; margin-top:1.0em; margin-bottom:0.1em; } h6.h7{ font-size:0.9em; font-family:"DejaVuSerif", serif; font-weight:bold; margin-bottom:0.1em; margin-top:1.0em; color:#000000; } h1 + h2 h2 + h3 h4 + h5 h6 + h6.h7{ margin-top:0.8em; } /* heading at the beginning of a paragraph (in german: Spitzmarke) */ .subtitle{ font-weight:bold; font-family:"DejaVuSans-Bold", sans-serif; color:#0000CD; } /* trailer */ p.trailer{ font-family:"DejaVuSans", sans-serif; color:#0000CD; } .trailer + p{ margin-top:1.5em; } p.trailer + p.trailer{ margin-top:1em; margin-bottom:1.5em; } /* images */ div.image{ margin-top:1.5em; margin-bottom:2em; max-height:800px; } div.graphic{ margin-top:1.5em; margin-bottom:2em; max-height:800px; } div.graphic img{ border-style:solid; padding:0.5em; border-width:1px; } p.legend{ font-size:0.9em; font-family:"DejaVuSans", sans-serif; margin-top:8px; } p.legend + p.legend{ margin-top:0em; } /* boxes and containers */ /* ex h1 + ex h3 */ div.remember, div.definition, div.summary, div.addition, div.casestudy, div.technique, div.guideline, div.exam, div.practical, div.therapy, div.symptome, div.other{ margin-top:1.25em; margin-bottom:1.25em; color:#0000CD; margin-left:30px; font-family:"DejaVuSans", sans-serif; } div.remember div.boxinhalt{ font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; } div.remember > div.boxtitle p{ font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; font-size:1em; } /* ex h4 */ .caution, .pitfall{ color:#dc143c; margin-top:1.25em; margin-bottom:1.25em; padding:0.75em 0.75em 0.75em 0.75em; border-style:solid; border-width:2px; font-family:"DejaVuSans", sans-serif; } div.caution > div.boxtitle p, div.pitfall > div.boxtitle p{ font-size:1em; margin-bottom:0.3em; page-break-after:avoid; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; color:#dc143c; } /* ex h5 */ .profile{ color:#0000CD; margin-top:1.25em; margin-bottom:1.25em; padding:0.75em; background-color:#90B1f8; font-family:"DejaVuSans", sans-serif; } div.profile ul, div.exam ul, div.practical ul, div.therapy ul, div.symptome ul, div.other ul{ margin-bottom:0.5em; } div.definition li, div.summary li, div.addition li, div.casestudy li, div.technique li, div.guideline li, div.remember li, div.caution li, div.pitfall li, div.profile li, div.exam li, div.practical li, div.therapy li, div.symptome li, div.other li { font-family:"DejaVuSans", sans-serif; } div.boxtitle p{ font-size:1.2em; margin-bottom:0.3em; page-break-after:avoid; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; color:#0000CD; } p.header1{ margin-bottom:0em; margin-top:0.5em; page-break-after:avoid; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; font-size:1.0em; } p.header2{ margin-bottom:0em; margin-top:0.5em; page-break-after:avoid; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; font-size:0.8em; } p.header3{ margin-bottom:0em; margin-top:0.5em; page-break-after:avoid; font-family:"DejaVuSans-Oblique", sans-serif; font-style:italic; font-size:0.8em; } /* tables */ table{ margin-top:1.5em; margin-bottom:1.5em; width:100%; table-layout:auto; border-collapse:collapse; } td{ background-color:#B9B9B9; padding:5px 7px 5pt 8px; border-bottom-style:solid; border-bottom-color:#000000; border-bottom-width:1px; vertical-align:top; font-size:1em; font-family:"DejaVuSans", sans-serif; text-align:left !important; } p.tabbody{ font-family:"DejaVuSans", sans-serif; padding:5px 7px 5pt 8px; font-size:0.8em; } thead > tr > td{ background-color:#6495ED; border-bottom-width:4px; border-bottom-style:solid; border-bottom-color:#ffffff; } p.tabhead{ vertical-align:top; font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; padding:5px 7px 5pt 8px; font-size:0.8em; } td.tfoot{ background-color:#ffffff; border-bottom:none; } table > caption{ text-align:left; font-size:0.9em; margin-bottom:0.2em; margin-top:1em; font-family:"DejaVuSans", sans-serif; } table li{ font-size:1.0em; } dt{ font-size:1em; text-align:left !important; } dd{ font-size:1em; text-align:left !important; } /* Frage-Antwort-Modul */ div.qblock{ margin-top:1.5em; margin-bottom:3em } div.qblock p + p{ margin-top:0.5em; } p.qnumber, p.qtitle{ font-family:"DejaVuSans-Bold", sans-serif; font-weight:bold; font-size:1.1em; } p.question{ font-family:"DejaVuSerif-Bold", serif; font-weight:bold; } /* Nummer kommt aus Meta-Daten */ /* Rezepte im Fachbuch */ div.recipe{ margin-top:2em; border-width:2px; border-style:solid; border-color:#0000CD; padding:0.5em; } p.recipeTitle{ font-size:1.2em; font-family:"DejaVuSans-Bold", sans-serif; margin-bottom:0.4em; page-break-after:avoid; page-break-inside:avoid; } div.recipe p{ margin-top:0em; } div.recipe p.trailer{ font-size:0.9em; font-family:"DejaVuSans-Bold", sans-serif; color:#787878; margin-bottom:0.8em; } p.rating{ font-size:0.9em; font-family:"DejaVuSans-Bold", sans-serif; margin-bottom:0.8em; margin-top:0.8em; } p.quantity, p.feature, p.preptime{ font-size:0.9em; font-family:"DejaVuSans-Bold", sans-serif; color:#787878; } div.ingredients{ margin-top:0.8em; } p.ingredTitle{ font-size:0.9em; font-family:"DejaVuSans-Bold", sans-serif; } p.ingredient{ font-size:0.8em; } div.todo{ margin-top:0.8em; } /* media querys */ @media amzn-mobi{ p{ margin-top:1em; text-indent:0; } } @media amzn-mobi{ p.trailer{ font-style:italic; } } @media amzn-mobi{ div.profile, div.caution, div.pitfall{ margin-left:30px; } }