common module

common.set_page_container_style(max_width: int = 1100, max_width_100_percent: bool = False, padding_top: int = 1, padding_right: int = 10, padding_left: int = 1, padding_bottom: int = 10, color: str = 'black', background_color: str = 'white')

It sets the style of the page container

Parameters
  • max_width (int) – The maximum width of the page. Defaults to 1100

  • max_width_100_percent (bool) – If True, the max-width of the page will be 100%. If False, the max-width will be 1100px.

Defaults to False

padding_top (int): int = 1, padding_right: int = 10, padding_left: int = 1, padding_bottom: int = 10,. Defaults to 1 padding_right (int): int = 10, padding_left: int = 1, padding_bottom: int = 10,. Defaults to 10 padding_left (int): int = 1, padding_right: int = 10, padding_top: int = 1, padding_bottom: int = 10,. Defaults to 1 padding_bottom (int): int = 10,. Defaults to 10 color (str): The color of the text. background_color (str): The background color of the page.