from IPython.display import display, HTML
s = ''' <style> .rendered_html h1 { margin: 0.25em, 0em 0.5em; color: #015c9c; text-align: center; } </style> '''
HTML(s)