def get_user_stylesheet():
 filename = config.get('ui', 'user-stylesheet')
 if (filename is None):
  css = ''
 else:
  with open(filename, 'r', encoding='utf-8') as f:
   css = f.read()
 if config.get('ui', 'hide-scrollbar'):
  css += '\nhtml > ::-webkit-scrollbar { width: 0px; height: 0px; }'
 return css

def get_user_stylesheet ( ) : filename = config . get ( 'ui' , 'user-stylesheet' ) if ( filename is None ) : css = '' else : with open ( filename , 'r' , encoding = 'utf-8' ) as f : css = f . read ( ) if config . get ( 'ui' , 'hide-scrollbar' ) : css += '\nhtml > ::-webkit-scrollbar { width: 0px; height: 0px; }' return css
get the combined user-stylesheet .