Compare commits
1 Commits
00e3a1fa4f
...
9b91f9d83a
Author | SHA1 | Date | |
---|---|---|---|
9b91f9d83a |
@ -445,10 +445,6 @@ def get_option_groups():
|
||||
def make_style(name, font=None, size=None, is_bold=None, is_centered=None, is_upper=None, is_hidden=False, indent=None):
|
||||
"""Build a CSS style"""
|
||||
styles = []
|
||||
if name == 'default':
|
||||
styles.append('html, body, * {')
|
||||
else:
|
||||
styles.append('.{name} {{'.format(name=name))
|
||||
if font:
|
||||
styles.append(' font-family: \'{font}\';'.format(font=font))
|
||||
if size:
|
||||
|
Loading…
Reference in New Issue
Block a user