e30a5e2a9cf7e93663e6c70508e5a48fbc68e114
[librarian.git] / src / librarian / elements / headers / podtytul_rozdzial.py
1 from ..base import WLElement
2
3
4 class PodtytulRozdzial(WLElement):
5     SHOULD_HAVE_ID = True
6
7     TXT_TOP_MARGIN = 2
8     TXT_BOTTOM_MARGIN = 2
9
10     HTML_TAG = "div"
11     HTML_CLASS = "subtitle3"
12
13     EPUB_TAG = "h2"
14     EPUB_CLASS = "h3"
15
16     def _epub_build_inner(self, builder):
17         builder.start_element('small', {})
18         super()._epub_build_inner(builder)
19         builder.end_element()