diff --git a/src/chordpro/renderers/html.py b/src/chordpro/renderers/html.py index 6c44b20..7ff6d52 100644 --- a/src/chordpro/renderers/html.py +++ b/src/chordpro/renderers/html.py @@ -414,6 +414,10 @@ def get_option_groups(): def make_style(name, font=None, size=None, is_bold=None, is_centered=None, is_upper=None, 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: