Add main thema field. Move to calver.
[librarian.git] / src / librarian / elements / separators / separator_linia.py
1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
4 from ..base import WLElement
5
6
7 class SeparatorLinia(WLElement):
8     TXT_TOP_MARGIN = 4
9     TXT_BOTTOM_MARGIN = 4
10     TXT_LEGACY_TOP_MARGIN = 2
11     TXT_LEGACY_BOTTOM_MARGIN = 2
12
13     EPUB_TAG = HTML_TAG = "hr"
14     EPUB_CLASS = HTML_CLASS = "spacer-line"
15     
16     def _txt_build_inner(self, builder):
17         builder.push_text('-' * 48)
18
19