Skip to main content

stylesheet

Function stylesheet 

Source
pub fn stylesheet() -> StyleDef
Expand description

The style definition STYLE on the html backend: one cascade layer that sets the title large and bold, and the authors and the date indented under the title, the authors one below the other, an author’s affiliations, email address and notes smaller than the name; the sizes, the indentation and the spaces are custom properties it declares (--flm-metadata-title-size, --flm-metadata-line-indent, --flm-metadata-author-detail-size, …). It selects on the blocks and spans the general rules stage (their role and the kind token KIND_METADATA), so it applies whatever compose template places the pieces. It sets no rule between the pieces and the content: that belongs to the page that places them.