-
-
Notifications
You must be signed in to change notification settings - Fork 26
BannerTitleCard
Cards of this style feature a solid-color banner at the bottom of the image, with all text directly on top of or within the banner. The banner and text can be recolored and resized.
This card type is used whenever card_type is specified as banner.
Below is a table of all valid series extras parsed by this card. These are described in greater detail below.
| Label | Default Value | Description |
|---|---|---|
alternate_color |
black |
Color of the text that appears in the banner |
banner_color |
Matches font color | Color of the banner |
banner_height |
185 |
How many pixels high the banner is |
episode_text_font_size |
1.0 |
Scalar of the size of the episode text |
hide_banner |
false |
Whether to hide the banner completely |
x_offset |
50 |
How far from the edge the text should appear |
The color of the the text that appears on top of the banner can be adjusted with
the alternate_color extra. This defaults to black.
Example
The following example showcases an alternate color of crimson.
series:
The Wire (2002):
card_type: banner
extras:
alternate_color: crimsonWhich produces Cards like:
The color of the banner itself can be adjusted with the banner_color extra. By
default this matches the font.
The height of the banner can be adjusted with the banner_height extra. By
default this is 185 pixels.
The size of the episode text can be adjusted via the episode_text_font_size extra. Values larger than 1.0 will increase the size of the text, and values smaller than 1.0 will decrease it.
Whether to hide the banner completely. Default value is false.
The distance at which text is offset from the side of the card. By default, this
is 50 pixels.