/*************************************************************************************** * Piper EPUB-CSS für Produktion von EPUB-Dateien mit abavo AUD xhub **************************************************************************************** * @project Piper-EPUB-CSS * @version 0.2 * @date 2018-02-01 * @author Fabian Kern (digital publishing competence) * @lastEditor Fabian Kern (digital publishing competence) * @copyright Piper Verlag, digital publishing competence * *****************************************************************************************/ /*************************************************************************************** * Verwendete Farben: * Link-Farbe: #1e3991; * Fussnoten-Farbe: #1e3991; * Zeichen-Farbe 1: grey; (AUD_aux_para_04, AUD_aux_char_12) * Zeichen-Farbe 2: #1e3991; (AUD_aux_para_05, AUD_aux_char_13) * Hintergrundfarbe für Box/Tabellenkopf: #cccccc; * Textfarbe Bildunterschrift und _parttitle: #808080; *****************************************************************************************/ /*************************************************************************************** * 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 : "PiperSerif"; font-style : normal; font-weight : normal; src : url(../Fonts/NotoSerif-Regular.otf); } @font-face { font-family : "PiperSerif"; font-style : italic; font-weight : normal; src : url(../Fonts/NotoSerif-Italic.otf); } @font-face { font-family : "PiperSerif"; font-style : normal; font-weight : bold; src : url(../Fonts/NotoSerif-Bold.otf); } @font-face { font-family : "PiperSerif"; font-style : italic; font-weight : bold; src : url(../Fonts/NotoSerif-BoldItalic.otf); } @font-face { font-family : "PiperSans"; font-style : normal; font-weight : normal; src : url(../Fonts/NotoSans-Regular.otf); } @font-face { font-family : "PiperSans"; font-style : italic; font-weight : normal; src : url(../Fonts/NotoSans-Italic.otf); } @font-face { font-family : "PiperSans"; font-style : normal; font-weight : bold; src : url(../Fonts/NotoSans-Bold.otf); } @font-face { font-family : "PiperSans"; font-style : italic; font-weight : bold; src : url(../Fonts/NotoSans-BoldItalic.otf); } /**************************************/ /* Allgemeines */ /***************************************/ /*** CSS-Resets ***/ nav ol li a:link, nav ol li a:visited, nav ol li a:hover, nav ol li a:active { -webkit-text-fill-color: #181716; } nav ol li ol li { margin-left: 2em; margin-top: 0.3em; } nav ol li { margin-top: 0.8em; } body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote { margin: 0; padding: 0; border-width: 0; } div { margin-left: 0em !important; } ul li { display: list-item !important; } /*** Grundschrift-Einstellungen und Body-Formatierung ***/ body{ font-family: PiperSerif, "Times New Roman", serif; font-size: 1em; line-height: 165%; text-align : left; padding-right: 5%; /* padding-right gesetzt für ADE-basierte Reader mit Seitenzahlen in der rechten Marginalie, insb. Kobo-Devices */ widows: 2; orphans: 2; -epub-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; } /*** Bodytext-Stile ***/ .AUD_bodytext { } .AUD_bodytext_indent { text-indent: 1em; } .AUD_bodytext_centre { text-align: center; } .AUD_bodytext_right{ text-align: right; } /**************************************/ /* Überschriften */ /**************************************/ .AUD_parttitle, .AUD_parttitle_sub, .AUD_parttitle_sub_sub { font-family: PiperSerif, "Times New Roman", serif; -epub-hyphens: none; -webkit-hyphens: none; hyphens: none; line-height: 165%; page-break-inside: avoid; page-break-after: avoid; } .AUD_parttitle { font-size: 1.6em; font-weight: bold; margin-top: 2em; color: #808080; } .AUD_parttitle_sub { font-size: 1.5em; font-weight: bold; margin-top: 1em; color: #808080; } .AUD_parttitle_sub_sub { font-size: 1.3em; font-weight: normal; margin-top: 1em; } .AUD_authors { margin-bottom: 1em; } .AUD_h1, .AUD_h1_before_h2, .AUD_h1_before_h2, .AUD_h1_before_h3, .AUD_h1_before_h4, .AUD_h1_before_h5, .AUD_h1_before_h6, .AUD_h1_sub, .AUD_h2, .AUD_h2_before_h3, .AUD_h2_before_h4, .AUD_h2_before_h5, .AUD_h2_before_h6, .AUD_h2_sub, .AUD_h3, .AUD_h3_before_h4, .AUD_h3_before_h5, .AUD_h3_before_h6, .AUD_h4, .AUD_h4_before_h5, .AUD_h4_before_h6, .AUD_h5, .AUD_h5_before_h6, .AUD_h6 { font-family: PiperSans, "Arial", sans-serif; text-align: center; line-height: 165%; -epub-hyphens: none; -webkit-hyphens: none; hyphens: none; page-break-inside: avoid; page-break-after: avoid; } h1, .AUD_h1 { font-size: 1.5em; font-weight: bold; margin-top: 3em; margin-bottom: 1.8em; letter-spacing: 0.03em; } .AUD_h1_before_h2, .AUD_h1_before_h3, .AUD_h1_before_h4, .AUD_h1_before_h5, .AUD_h1_before_h6 { margin-bottom: 0; } .AUD_h1_sub { font-size: 1em; font-style: italic; margin-top: 1em; margin-bottom: 1em; } h2, .AUD_h2 { font-size: 1.6em; font-weight: bold; margin-top: 2em; margin-bottom: 1em; } .AUD_h2_before_h3, .AUD_h2_before_h4, .AUD_h2_before_h5, .AUD_h2_before_h6 { margin-bottom: 0; } .AUD_h2_sub { font-size: 1em; font-weight: bold; font-style: italic; margin-top: 1em; margin-bottom: 1em; } h3, .AUD_h3 { font-size: 1.4em; font-weight: bold; margin-top: 1.5em; margin-bottom: 1em; } .AUD_h3_before_h4, .AUD_h3_before_h5, .AUD_h3_before_h6 { margin-bottom: 0; } h4, .AUD_h4 { font-size: 1.2em; font-weight: bold; font-style: italic; margin-top: 1.5em; margin-bottom: 1em; } .AUD_h4_before_h5, .AUD_h4_before_h6 { margin-bottom: 0; } h5, .AUD_h5 { font-size: 1.1em; font-weight: bold; font-style: italic; margin-top: 1em; margin-bottom: 1em; } .AUD_h5_before_h6 { margin-bottom: 0; } .AUD_h6 { font-size: 1em; font-weight: bold; margin-top: 1em; margin-bottom: 0.5em; } .AUD_subhead { font-size: 1em; font-weight: bold; margin-top: 1em; margin-bottom: 0; } .AUD_parahead { font-weight: bold; } /**************************************/ /* Absatz-Styles */ /**************************************/ /* Motto */ .AUD_aux_para_01 { margin-top: 1em; margin-bottom: 1em; } /* Gedicht */ .AUD_aux_para_02 { font-style: italic; margin-top: 1em; } .AUD_aux_para_02 + .AUD_aux_para_02 { margin-top: 0; margin-bottom: 0; } .AUD_aux_para_02 + * { margin-top: 1em; } /* Grundschrift-Variante */ .AUD_aux_para_03 { font-family: PiperSans, Helvetica, sans-serif; } /* Hilfs-Stil 1 */ .AUD_aux_para_04 { color: grey; margin-top: 1em; margin-bottom: 1em; } /* Hilfs-Stil 2 */ .AUD_aux_para_05 { color: #1e3991; margin-top: 1em; margin-bottom: 1em; } /* Widmung */ .AUD_aux_para_06 { font-family: PiperSerif, "Times New Roman", serif; font-style: italic; margin-top: 1em; margin-bottom: 1em; } /**************************************/ /* LISTEN */ /**************************************/ /* Einzüge */ ul, ol { margin-left: 5%; } ul.AUD_list_01_symbol > li, ol.AUD_list_01_numeric > li, ol.AUD_list_01_character > li, ol.AUD_list_01_character_capital > li, ol.AUD_list_01_roman > li, ul.AUD_list_01_blank > li { margin-left: 5%; } ul.AUD_list_02_symbol > li, ol.AUD_list_02_numeric > li, ol.AUD_list_02_character > li, ol.AUD_list_02_character_capital > li, ol.AUD_list_02_roman > li, ul.AUD_list_02_blank > li { margin-left: 10%; } ul.AUD_list_03_symbol > li, ol.AUD_list_03_numeric > li, ol.AUD_list_03_character > li, ol.AUD_list_03_character_capital > li, ol.AUD_list_03_roman > li, ul.AUD_list_03_blank > li { margin-left: 15%; } /* Liste mit Strich als Führungszeichen */ .AUD_list_01_symbol { list-style-type: none; } .AUD_list_01_symbol > li::before { content: "– "; } /* Liste mit Punkt als Führungszeichen */ .AUD_list_02_symbol, .AUD_list_03_symbol { list-style-type: disc; } /* Nummerische Listen */ .AUD_list_01_numeric, .AUD_list_02_numeric, .AUD_list_03_numeric { list-style-type: decimal; } /* Alphabetische Listen */ .AUD_list_01_character, .AUD_list_02_character, .AUD_list_03_character { list-style-type: lower-alpha; } /* Alphabetische Listen groß*/ .AUD_list_01_character_capital, .AUD_list_02_character_capital, .AUD_list_03_character_capital { list-style-type: upper-alpha; } /* Römische Listen */ .AUD_list_01_roman, .AUD_list_02_roman, .AUD_list_03_roman { list-style-type: upper-roman; } /* Listen ohne Zähler*/ .AUD_list_01_blank, .AUD_list_02_blank, .AUD_list_03_blank { list-style-type: none; } /**************************************/ /* Textstile / Inline-Styles */ /**************************************/ .AUD_emph_regular { font-weight: normal; font-style: normal; text-decoration: none; } .AUD_emph_bold { font-weight: bold; } .AUD_emph_italic { font-style: italic; } .AUD_emph_bolditalic { font-weight: bold; font-style: italic; } .AUD_emph_underline { text-decoration: underline; } .AUD_emph_underline_bold { font-weight: bold; text-decoration: underline; } .AUD_emph_underline_bolditalic { font-weight: bold; text-decoration: underline; font-style: italic; } .AUD_emph_underline_italic { text-decoration: underline; font-style: italic; } /* HOCH - TIEF */ .AUD_sub, .AUD_emph_bold_sub, .AUD_emph_italic_sub, .AUD_emph_bolditalic_sub, .AUD_sup, .AUD_emph_bold_sup, .AUD_emph_italic_sup, .AUD_emph_bolditalic_sup { font-size: 0.7em; line-height: 1.3em; } .AUD_sub, .AUD_emph_bold_sub, .AUD_emph_italic_sub, .AUD_emph_bolditalic_sub { vertical-align: sub; } .AUD_emph_bold_sub { font-weight: bold; } .AUD_emph_italic_sub { font-style: italic; } .AUD_emph_bolditalic_sub { font-weight: bold; font-style: italic; } .AUD_subsub, .AUD_emph_bold_subsub, .AUD_emph_italic_subsub, .AUD_emph_bolditalic_subsub { vertical-align: sub; font-size: 0.5em; line-height: 1em; } .AUD_emph_bold_subsub { font-weight: bold; } .AUD_emph_italic_subsub { font-style: italic; } .AUD_emph_bolditalic_subsub { font-weight: bold; font-style: italic; } .AUD_sup, .AUD_emph_bold_sup, .AUD_emph_italic_sup, .AUD_emph_bolditalic_sup { vertical-align: super; } .AUD_emph_bold_sup { font-weight: bold; } .AUD_emph_italic_sup { font-style: italic; } .AUD_emph_bolditalic_sup { font-weight: bold; font-style: italic; } .AUD_subsup { vertical-align: super; } .AUD_supsup, .AUD_emph_bold_supsup, .AUD_emph_italic_supsup, .AUD_emph_bolditalic_supsup { vertical-align: super; font-size: 0.5em; line-height: 1em; } .AUD_emph_bold_supsup { font-weight: bold; } .AUD_emph_italic_supsup { font-style: italic; } .AUD_emph_bolditalic_supsup { font-weight: bold; font-style: italic; } .AUD_supsub { vertical-align: sub; } /* GROßBUCHSTABEN */ .AUD_emph_caps, .AUD_emph_caps_bold, .AUD_emph_caps_italic, .AUD_emph_caps_bolditalic { text-transform: uppercase; } .AUD_emph_caps_bold { font-weight: bold; } .AUD_emph_caps_italic { font-style: italic; } .AUD_emph_caps_bolditalic { font-weight: bold; font-style: italic; } /* AUX-Styles */ /* Hilfsstil 1: Graue Hinterlegung */ .AUD_aux_char_11 { background-color: silver; padding: 0.2em; } /* Hilfsstil 2: Graue Textfarbe */ .AUD_aux_char_12 { color: grey; } /* Hilfsstil 3: Blaue Textfarbe */ .AUD_aux_char_13 { color: #1e3991; } /**************************************/ /* LINKS */ /**************************************/ a[href] { text-decoration: none; color: #181716; -webkit-text-fill-color: #181716; 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 */ /**************************************/ .endnotes { page-break-before: always; } .AUD_bibref_bodytext { margin-left: 2em; text-indent: -2em; margin-bottom: 1em; } .AUD_bibref_head { font-weight: bold; margin-top: 1em; margin-bottom: 1em; color: #1e3991; } .footnotes { page-break-before: always; } .AUD_footnote, .AUD_footnote_first, .AUD_endnote, .AUD_endnote_first { display: block; margin-left: 2em; text-indent: -1.3em; margin-bottom: 1em; } a.AUD_footnote_label, a.AUD_endnote_label { width: 1em; font-weight: bold; padding-left: 0.4em; padding-right: 0.4em; padding-bottom: 0.1em; font-size: 85%; border: 0; } .AUD_bibref_bodytext .AUD_endnote_label, .footnotes .AUD_footnote_label { padding-right: 0.4em; font-size: 85%; } /**************************************/ /* CROSSREFS */ /**************************************/ .AUD_crossref_general { color: #1e3991 !important; } /**************************************/ /* WEB */ /**************************************/ .AUD_web_url, .AUD_web_email { text-decoration: none !important; } /**************************************/ /* BOXES */ /**************************************/ .AUD_box { margin-top: 0.3em; margin-bottom: 1em; padding: 2%; width: 90%; page-break-inside: avoid !important; } .AUD_box_title { font-size: 1.1em; font-weight: bold; margin-bottom: 1em; page-break-after: avoid; } .AUD_box_h1 { font-weight: bold; margin-top: 0.5em; margin-bottom: 0.5em; page-break-after: avoid; } .AUD_box_h2 { font-weight: bold; font-style: italic; margin-top: 0.5em; margin-bottom: 0.5em; page-break-after: avoid; } .AUD_box_designelement { display: none; } /* BOX 1 */ .AUD_tf_box_01 { font-family: Monospace, Helvetica, sans-serif; } /* BOX 2 */ .AUD_tf_box_02 { font-family: PiperSans, Helvetica, sans-serif; font-style: italic; } /* BOX 3 */ .AUD_tf_box_03 { font-family: PiperSans, Helvetica, sans-serif; font-weight: bold; } /* BOX 4 */ .AUD_tf_box_04 { font-family: PiperSans, Helvetica, sans-serif; } /* BOX 5 */ .AUD_tf_box_05 { background-color: #cccccc; color: #666666; } /* BOX 6 */ .AUD_tf_box_06 { border-top: 2px solid #666666; border-bottom: 2px solid #666666; color: #666666; } /* BOX 7 */ .AUD_tf_box_07 { border: 2px solid #666666; color: #666666; } /* BOX 8 */ .AUD_tf_box_08 { background-color: #aabaee; color: #1e3991; } /* BOX 9 */ .AUD_tf_box_09 { border-top: 2px solid #1e3991; border-bottom: 2px solid #1e3991; color: #1e3991; } /* BOX 10 */ .AUD_tf_box_10 { border: 2px solid #1e3991; color: #1e3991; } /**************************************/ /* Tabelle */ /**************************************/ .AUD_tf_table_container { margin-top: 1em; margin-bottom: 1em; page-break-inside: avoid; } table { width: 100%; text-indent: 0; border-collapse: collapse; border-spacing: 0; border-width: 0; } td, th { border-style: solid; border-width: 1px; text-align: left; vertical-align: top; padding: 5px; } thead td, thead th, th, thead { font-weight: bold; } .AUD_tf_table { margin-top: 1em; margin-bottom: 1em; } .AUD_tf_table tr td { border: 1px solid black; font-size: 0.9em; line-height: 1.3em; } .AUD_tf_table tr td.AUD_table_caption { border: 0; } p.AUD_table_caption { font-family: PiperSans, Helvetica, sans-serif; color: #808080; } td.AUD_table_head_01, td.AUD_table_head_02, td.AUD_table_head_03 { background-color: silver !important; } .AUD_table_footnote { font-size: 0.8em; line-height: 1.3em; } .AUD_tf_table tr td.AUD_table_footnote { border: 0; } .AUD_tf_columntext { margin: 1em 0em; } .AUD_tf_columntext td { padding: 0em 1em 0em 1em; border: 0; } /**************************************/ /* ABBILDUNGEN */ /**************************************/ img { width: auto; max-width: 100% !important; max-height: 100% !important; } div.AUD_tf_figure_container { page-break-inside: avoid; } .AUD_figure_id { page-break-before: avoid; } p.AUD_figure_id img { margin-top: 1em; } .AUD_figure_caption { font-family: PiperSans, Helvetica, sans-serif; color: #808080; margin-top: 0.5em; page-break-before: avoid; } .AUD_figure_id + .AUD_figure_caption { page-break-before: avoid; page-break-inside: avoid; } .AUD_figure_caption_addtext { font-family: PiperSans, Helvetica, sans-serif; color: #808080; } .AUD_figure_inline { padding: 0em 0.5em; } .AUD_emph_caption { font-weight: bold; color: #808080; } /**************************************/ /* FORMEL */ /**************************************/ .AUD_tf_equation { margin-top: 1em; padding: 1em } .AUD_equation { padding: 1em 0em; } .AUD_tf_equation tr td { display: table-cell; text-align: center !important; vertical-align: middle; padding: 5px; border: 0; } .AUD_equation_text { text-align: center; margin: 1em 0em; } .AUD_equation_caption { font-family: sans-serif; color: #808080; font-size: 0.9em; } .AUD_equation + .AUD_equation_caption { page-break-before: avoid; } /**************************************/ /* KOMMENTARE */ /**************************************/ .AUD_comment_01 { display: none; } .AUD_comment_02 { display: none; } .AUD_comment_a { display: none; } .AUD_comment_b { display: none; } .AUD_comment_char_01 { display: none; } .AUD_comment_char_02 { display: none; } .AUD_comment_para_01 { display: none; } .AUD_comment_para_02 { display: none; } /**************************************/ /* ZITATE */ /**************************************/ .AUD_quotation_01, .AUD_quotation_02 { font-style: italic; margin-top: 1em; margin-bottom: 0.5em; } .AUD_quotation_01_author, .AUD_quotation_02_author { margin-bottom: 0.5em; } .AUD_quotation_inline { font-style: italic; } .AUD_quotation_inline_author { font-style: italic; } /**************************************/ /* CODE */ /**************************************/ .AUD_code_caption { background-color: #e6ece7 !important; font-family: sans-serif; font-size: 1em; padding: 3px 4px 0px 0.7em; border-bottom: 2px solid #fff; margin-top: 1em; } .AUD_code_display { text-indent: 2em; background-color: #cddacf; } /**************************************/ /* SEITENUMBRUCH */ /**************************************/ .AUD_pagebreak { page-break-after: always !important; height: 0em; display: inline-block; } /**************************************/ /* WANTED EMPTY PARA */ /**************************************/ .AUD_wanted_empty_para { height: 1em; display: block; } .AUD_wanted_empty_para_2 { height: 3em; display: block; } .AUD_wanted_empty_para_after_word_table { height: 1em; display: block; } /**************************************/ /* Frontmatter */ /**************************************/ /*** Cover-Seite und Eigenanzeigen-Seite ***/ .part000, .partEigen { margin: 0px; padding: 0px; } .AUD_fm_ht_authors, .AUD_fm_ht_title, .AUD_fm_ht_title_sub, .AUD_fm_ht_title_sub_sub { } /*** Frontmatter-Styles ***/ .AUD_fm_ht_authors { } .AUD_fm_ht_title { } .AUD_fm_ht_title_sub { } .AUD_fm_ht_title_sub_sub { } .AUD_fm_dedication, .AUD_fm_dedication_author { } .AUD_fm_dedication_author { } .AUD_fm_imprint_head, .AUD_fm_imprint_bodytext, .AUD_fm_mt_bodytext { } .AUD_fm_mt_authors { } .AUD_fm_mt_title, .AUD_fm_mt_title_sub, .AUD_fm_mt_title_sub_sub { } .AUD_fm_mt_title { } .AUD_fm_mt_title_sub { } .AUD_fm_mt_publisher { }