Minor EPUB/MOBI fixes.
[librarian.git] / src / librarian / elements / headers / naglowek_rozdzial.py
1 from ..base import WLElement
2
3
4 class NaglowekRozdzial(WLElement):
5     SECTION_PRECEDENCE = 2
6     
7     TXT_TOP_MARGIN = 4
8     TXT_BOTTOM_MARGIN = 2
9     TXT_LEGACY_TOP_MARGIN = 4
10     TXT_LEGACY_BOTTOM_MARGIN = 0
11
12     HTML_TAG = 'h3'
13
14     EPUB_TAG = 'h2'
15     EPUB_CLASS = 'h3'
16     EPUB_START_CHUNK = True