-
-
Notifications
You must be signed in to change notification settings - Fork 22
MarvelTitleCard
These cards feature a white rectangular frame on the top and sides of the card (similar to the White Border card, and a black frame on the bottom - where all text is displayed.
These are styled after RedHeadJedi's Marvel Cinematic Universe poster set (hence the name).
This card type is used whenever card_type
is specified as marvel
.
Below is a table of all valid series extras parsed by this card. These are described in greater detail below.
Label | Default Value | Description |
---|---|---|
border_color |
white |
Color of the top and side borders |
border_size |
55 |
Size of the top and size borders (in pixels) |
episode_text_color |
#C9C9C9 |
Color to utilize for the episode text |
episode_text_location |
fixed |
Where to position the episode text relative to the title text |
fit_text |
true |
Whether to dynamically adjust the size of text to fit in the bottom box |
hide_border |
false |
Whether to hide the top and side borders |
text_box_color |
black |
Color of the bottom text box |
text_box_height |
200 |
Height of the bottom text box (in pixels). |
The top and side edges of the card are referred to as the "border" and their color, size, and presence can all be adjusted via extras.
The color of the border can be adjusted via border_color
. The default value is white
.
The size (from the edge of the image) can be adjusted via border_size
. This is in pixels, and the default is 55
.
If the episode text location is set to fixed
, then the position of that text is shifted in so the left/right bounds align with this border - meaning increasing the size of the border will effectively shrink the text.
The border can be completely hidden by setting hide_border
to true
.
Episode text can be re-positioned and colored via extras.
There are two options for the positioning of episode text via the episode_text_location
extra: compact
and fixed
.
fixed
(the default) will always place the season and episode text in the same location for each image - directly aligned with the edges of the left/right borders.
compact
will position the season and episode text compactly with the title text, for example:
The color of the border can be adjusted via episode_text_color
. The default value is #C9C9C9
.
Because this card displays one line of title text, particularly long titles can extend beyond the bounds of the image. In order to prevent this, the card will automatically shrink all the text down to fit the text. For example:
If you would like to disable this feature, then set fit_text
to false
. However, this will cause very long titles to be clipped off the card.
The bottom of the card, where all text is displayed, is referred to as the "text box" and can be re-colored and sized via extras.
The color of the text box can be adjusted via text_box_color
. The default value is black
.
The height of the text box can be adjusted via text_box_height
. This is in pixels, and the default is 200
.