... |
Arguments passed on to base_style
weightThe font weight to use. Can either be a number (0, 100,
200, 300, 400, 500, 600, 700, 800, or 900) or a strings
("undefined", "thin", "ultralight", "light", "normal", "medium",
"semibold", "bold", "ultrabold", or "heavy")
italicShould the font be slanted
widthThe font width to use. Can either be a number (“0, 1', '2',
'3', '4', '5', '6', '7', '8', or '9') or strings ('"undefined"',
'"ultracondensed"', '"extracondensed"', '"condensed"', '"semicondensed"',
'"normal"', '"semiexpanded"', '"expanded"', '"extraexpanded"', or
'"ultraexpanded"')
featuresA font_feature object specifying
any OpenType font features to apply to the font
colorIs the color of the font
lineheightThe spacing between subsequent lines relative to the font
size. Can be relative() in which case it is based on the parent lineheight.
alignThe alignment within the text. One of "left", "center",
"right", "justified-left", "justified-center", "justified-right", or
"distributed"
trackingAdditional character spacing measured in 1/1000em. Can be
relative() in which case it is based on the parent tracking.
indentThe indentation of the first line in a paragraph measured in
points. Can be relative() in which case it is based on the parent indent,
em() in which case it is based on the font size in this style, or rem()
in which case it is based on the font size of the body element.
hangingThe indentation of all but the first line in a paragraph
measured in points. Can be relative() in which case it is based on the
parent hanging, em() in which case it is based on the font size in this
style, or rem() in which case it is based on the font size of the body
element.
marginThe margin around the element, given as a call to trbl()
paddingThe padding around the element, given as a call to trbl()
backgroundThe color of the background fill. The background includes
the padding but not the margin. Can be a solid color or a gradient or pattern
made with grid::linearGradient()/grid::radialGradient()/grid::pattern()
borderThe color of the background stroke. The background includes
the padding but not the margin
border_sizeThe line width of the background stroke, given as a call
to trbl()
border_radiusThe corner radius of the background, given in points
bulletsA vector of strings to use for bullets in unordered lists.
marquee_bullets provides a selection
underlineShould text be underlined
strikethroughShould text be strikethrough
baselineThe baseline shift to apply to the text
img_aspThe default aspect ratio for block level images if not
provided by the image itself
|