/*************************************************************************************** * Piper EPUB-CSS für Produktion von EPUB-Dateien mit Abavo Vlow **************************************************************************************** * @project Piper-EPUB-CSS * @version 1.2 * @date 2020-10-30 * @author Fabian Kern (digital publishing competence) * @lastEditor Fabian Kern (digital publishing competence) * @copyright Piper Verlag, digital publishing competence * @lastchanges - Vertikale Abstände für Aufteilung von Gedicht in Strophen durch AUD_wanted_empty_para hinterlegt * - Box-Elemente ohne Rahmen/Raster bekommen padding-top/-bottom: 0; * - AUD_wanted_empty_para_2 jetzt ohne height, dafür mit margin-top/bottom, falls sich * darin Zier-Elemente befinden sollten * - AUD_aux_char_14 bis 18 für Inline-Abstände 10% bis 50% integriert * - AUD_aux_para_25 bis 29 für eingerückte Absätze 10% bis 50% nun konsistent * - div.content-image-width-25-align-center-nofloat hat nun korrekten margin-left/right * - AUD_parttitle hat nun font-size: 2em; * - Grautöne für Textauszeichnung durch dunkleres Grau #575757 (kleine Schrift) bzw. * #737373 (große Schrift) ersetzt: Vorbereitung auf Accessibilty-Anforderungen für Farbkontraste * - Neue Formatierung für Register-Umsetzung: Abstände, Einrückung der Register-Ebenen, Link-Styles *****************************************************************************************/ /*************************************************************************************** * Verwendete Farben: *************************************************************************************** * Link-Farbe: #1e3991; * Fussnoten-Farbe: #1e3991; * Zeichen-Farbe 1: #575757; (AUD_aux_para_04, AUD_aux_char_12) * Zeichen-Farbe 2: #1e3991; (AUD_aux_para_05, AUD_aux_char_13) * Zeichen-Farbe 3: #5e5e5e; (AUD_tf_box_05, AUD_tf_box_06) * Hintergrundfarbe für Box/Tabellenkopf hellgrau: #f0f0f0; * Hintergrundfarbe für Box farbig / hellblau: #aabaee; * Textfarbe Bildunterschrift: #575757; * Textfarbe Parttitle-Ebenen: #737373; ****************************************************************************************/ /*************************************************************************************** * Verwendete Schrift-Definitionen: **************************************************************************************** * Serif: font-family: PiperSerif, "Times New Roman", serif; * Sans Serif: font-family: PiperSans, Helvetica, sans-serif; ****************************************************************************************/ /***************************************/ /* Font-Einbettung */ /***************************************/ @font-face { font-family: "Noto Serif"; font-style: normal; font-weight: normal; src: url(../Fonts/NotoSerif-Regular.otf); } @font-face { font-family: "Noto Serif"; font-style: italic; font-weight: normal; src: url(../Fonts/NotoSerif-Italic.otf); } @font-face { font-family: "Noto Serif"; font-style: normal; font-weight: bold; src: url(../Fonts/NotoSerif-Bold.otf); } @font-face { font-family: "Noto Serif"; font-style: italic; font-weight: bold; src: url(../Fonts/NotoSerif-BoldItalic.otf); } @font-face { font-family: "Noto Sans"; font-style: normal; font-weight: normal; src: url(../Fonts/NotoSans-Regular.otf); } @font-face { font-family: "Noto Sans"; font-style: italic; font-weight: normal; src: url(../Fonts/NotoSans-Italic.otf); } /***************************************/ /* Grundstellungen */ /***************************************/ /*** CSS-Resets ***/ body, div, ol, li, h1, h2, p { margin: 0; padding: 0; border-width: 0; } /*** Grundschrift-Einstellungen und Body-Formatierung ***/ body { font-family: "Noto Serif", "Times New Roman", serif; font-size: 1em; line-height: 165%; widows: 2; orphans: 2; padding-right: 0.5em; } /*** Bodytext-Stile ***/ .AUD_bodytext_indent { text-indent: 1em; } .AUD_bodytext_centre { text-align: center; } .AUD_bodytext_right { text-align: right; } /**************************************/ /* Überschriften */ /**************************************/ .AUD_h1, .AUD_h1_before_h2, .AUD_h1_before_h2, .AUD_h2, .AUD_h2_sub { font-family: "Noto Serif", "Times New Roman", serif; text-align: left; line-height: 165%; page-break-inside: avoid; page-break-after: avoid; } h1, .AUD_h1 { font-size: 1.8em; font-weight: bold; margin-top: 2em; margin-bottom: 1em; } .AUD_h1_before_h2 { margin-bottom: 0; } h2, .AUD_h2 { font-size: 1.6em; font-weight: bold; margin-top: 2em; margin-bottom: 1em; } .AUD_h2_sub { font-size: 1em; font-weight: bold; font-style: italic; margin-top: 1em; margin-bottom: 1em; } /**************************************/ /* Absatz-Styles */ /**************************************/ /* Motto */ .AUD_aux_para_01 { margin-top: 1em; margin-bottom: 1em; } /* Gedicht */ /* Grundformatierung: Abstand vor dem Gedicht */ /* Gedichtabsätze: erhalten KEINEN Abstand vorher/nachher */ /* Wenn ein p.AUD_wanted_empty_para für Strophen-Einteilung verwendet wird, dann werden hier vorher/nachher */ /* keine zusätzlichen Abstände erzeugt. */ /* Grundformatierung: Abstand nach dem Gedicht wird durch den nächsten Absatz erreicht, der KEIN Gedicht-Absatz ist */ /* Grundschrift-Variante */ /* Hilfs-Stil 1 */ /* Hilfs-Stil 2 */ /* Widmung */ /*** Für eingerückte Zeilen im Grundtext ***/ /* Hilfsstil kein Einzug (auch nicht in der ersten Zeile), nicht in docmplus2019 */ .AUD_aux_para_24 { margin-left: 0%; } /* Hilfsstil nicht in docmplus2019 */ /* Hilfsstil nicht in docmplus2019 */ /* Hilfsstil nicht in docmplus2019 */ /* Hilfsstil nicht in docmplus2019 */ /* Hilfsstil nicht in docmplus2019 */ /**************************************/ /* LISTEN */ /**************************************/ /* Einzüge */ ol { margin-left: 1em; /* Basis-Einzug für alle Listen */ /* Listenpunkte erhalten je nach Listentyp individuelle Einzüge */ } ol li { padding-left: 0; } /* Liste mit Punkt als Führungszeichen */ /* Liste mit Kasten als Führungszeichen */ /* Nummerische Listen */ /* Alphabetische Listen */ /* Alphabetische Listen groß*/ /* Römische Listen */ /* Listen ohne Zähler*/ /**************************************/ /* Textstile / Inline-Styles */ /**************************************/ .AUD_emph_regular { font-weight: normal; font-style: normal; text-decoration: none; } .AUD_emph_italic { font-style: italic; } /* HOCH - TIEF */ /* GROßBUCHSTABEN */ .AUD_emph_caps, .AUD_emph_caps_italic { text-transform: uppercase; } .AUD_emph_caps_italic { font-style: italic; } /* AUX-Styles */ /* Hilfsstil 1: Graue Hinterlegung */ /* Hilfsstil 2: Graue Textfarbe */ /* Hilfsstil 3: Blaue Textfarbe */ /* Hilfsstile für Inline-Abstände von 10% bis 50% */ /* Hide epub: im epub ausblenden */ /**************************************/ /* LINKS */ /**************************************/ a[href] { text-decoration: none; color: #1e3991; -webkit-text-fill-color: #1e3991; border-bottom: 1px dotted #575757; padding-left: 0.3em; padding-right: 0.3em; } @media amzn-kf8 { a[href] { font-weight: normal; color: #1e3991; border-bottom: 0; padding-left: 0.3em; padding-right: 0.3em; } } @media amzn-mobi { a[href] { font-weight: normal; color: #1e3991; border-bottom: 0; padding-left: 0.3em; padding-right: 0.3em; } } /**************************************/ /* FUSSNOTEN/ENDNOTEN */ /**************************************/ /**************************************/ /* CROSSREFS */ /**************************************/ /**************************************/ /* WEB */ /**************************************/ .AUD_web_url, .AUD_web_email { text-decoration: none; } /**************************************/ /* BOXES */ /**************************************/ .AUD_box { margin-top: 1em; margin-bottom: 1em; padding: 5%; width: 90%; page-break-inside: avoid; } .AUD_box_title { font-size: 1.1em; font-weight: bold; margin-bottom: 1em; page-break-after: avoid; } .AUD_box_designelement { display: none; } /* BOX 1 */ /* BOX 2 */ .AUD_tf_box_02 { font-family: "Noto Sans", Helvetica, sans-serif; font-style: italic; padding-top: 0; padding-bottom: 0; padding-left: 5%; padding-right: 5%; } /* BOX 3 */ /* BOX 4 */ /* BOX 5 */ /* BOX 6 */ /* BOX 7 */ /* BOX 8 */ /* BOX 9 */ /* BOX 10 */ /* BOX 24 - Impressum PRINT */ /**************************************/ /* Tabelle */ /**************************************/ /**************************************/ /* ABBILDUNGEN */ /**************************************/ /* Grundeinstellungen für alle Bilder */ img { width: 100%; max-width: 100%; max-height: 100%; } /* Grundeinstellungen für alle Bild-Container */ /* Varianten für Größen, Ausrichtungen und Umfluss von Bildern */ /* Schmuckbilder */ /* Weitere Kind-Elemente und Gestaltungsregeln für Bilder: Bildzähler, Bildunterschriften etc. */ /**************************************/ /* FORMEL */ /**************************************/ /**************************************/ /* KOMMENTARE */ /**************************************/ /**************************************/ /* ZITATE */ /**************************************/ .AUD_quotation_01 { font-style: italic; margin-top: 1em; margin-bottom: 0.5em; /* Die _quotation-Klassen erhalten zunächst margin-top: 1em, dies sollte aber nur auf den jeweils ersten Absatz wirken, damit das ganze wie ein Box-div wirkt, obwohl es keiner ist. Für aufeinander folgende _quotation-p-Elemente wird das ganze in der nächsten Deklaration überschrieben */ } .AUD_quotation_01 + .AUD_quotation_01 { font-style: italic; margin-top: 0.5em; margin-bottom: 0.5em; /* Für alle _quotation-p-Elemente, die auf andere _quotation-p-Elemente folgen, wird margin-top heruntergesetzt. So sollte oben und unten am Zitat 1em Abstand sein, und darin jeweils 0.5em. */ } .AUD_quotation_01_author { page-break-before: avoid; margin-bottom: 1em; color: #575757; /* nach dem Autor kommt derselbe Abstand wie nach einer Textbox */ } /**************************************/ /* CODE */ /**************************************/ /**************************************/ /* SEITENUMBRUCH */ /**************************************/ /**************************************/ /* WANTED EMPTY PARA */ /**************************************/ .AUD_wanted_empty_para { text-align: center; display: block; } .AUD_wanted_empty_para_2 { display: block; text-align: center; margin-top: 1.5em; margin-bottom: 1.5em; } .AUD_wanted_empty_para_after_word_table { display: block; } /**************************************/ /* Frontmatter */ /**************************************/ /*** Cover-Seite und Eigenanzeigen-Seite ***/ .part000 { margin: 0; padding: 0; } /*** Frontmatter-Styles ***/ /**************************************/ /* Backmatter */ /**************************************/ /* Index/Stichwort-Verzeichnis */