Change default cover.
[librarian.git] / src / librarian / elements / headers / podtytul_podrozdzial.py
1 from ..base import WLElement
2
3
4 class PodtytulPodrozdzial(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 = "subtitle4"
12
13     EPUB_TAG = "h2"
14     EPUB_CLASS = "h4"
15
16     def _epub_build_inner(self, builder):
17         builder.start_element('small', {})
18         super()._epub_build_inner(builder)
19         builder.end_element()