-
-
Notifications
You must be signed in to change notification settings - Fork 23
TintedGlassTitleCard
This style of title card is based off Reddit user /u/RaceDebriefF1's style of title cards created for Lucky! (2022). Cards in this style have a darkened and blurred rounded rectangle in the area behind the title and episode text.
This card type is used whenever card_type
is specified as tinted glass
, or sherlock
.
Below is a table of all valid series extras parsed by this card. These are described in greater detail below.
Label | Default Value | Description |
---|---|---|
episode_text_color |
SlateGray1 |
Color to utilize for the episode text |
episode_text_position |
center |
Alignment for the episode text |
box_adjustments |
0 0 0 0 |
Pixel spacing adjustments to apply to the bounds of the bounding box |
glass_color |
rgba(25, 25, 25, 0.7) |
Color of the "glass" box |
rounding_radius |
40 |
How round to make the title text glass rectangle |
vertical_adjustment |
0 |
Vertical adjustment for the glass and text |
The color of the episode text (e.g. WHITE COLLAR | S5 E1
) defaults to SlateGray1
, but can be adjusted via a series extra, like so:
extras:
episode_text_color: skyblue
The position of the episode text (e.g. WHITE COLLAR | S5 E1
) defaults to being centered in the middle of the image, but this position can be adjusted via a series extra - the valid options are left
, center
, and `right. These alignments are relative to the bounds of the title textbox, see the examples below.
Example Episode Text Positions
If you'd like to adjust the dimensions of the bounding box to either appear further/closer to your title text (especially when using a custom font), then the box_adjustments
series extra can be used to individually adjust the boundaries of each of the box's faces.
This is specified in clockwise order, like so {top} {right} {bottom} {left}
, with positive values meaning a larger face, and negative ones being smaller - for example:
series:
White Collar (2008):
card_type: tinted glass
extras:
box_adjustments: -20 10 -5 0
This will move the top of the box 20 pixels in (towards the title), the right side 10 pixels out (away from the title), the bottom side in 5 pixels (towards the title), and does not adjust the left side.
The color of the glass which appears behind the title and episode text can be adjusted via the glass_color
extra. It is recommended to specify a value with some transparency (the 0.7
in the default value of rgba(25, 25, 25, 0.7)
meaning 70% opaque, 30% transparent) so the "glass" effect is preserved.