Typography¶
The opening paragraph of a page introduces it, so it is drawn a little larger. Everything after it
is body text at a comfortable measure, with strong text, emphasis, inline code,
Ctrl+Shift+P, Save as, , a
link to daisyUI, a reference to Admonitions, a cross-reference to
textwrap.dedent(), an abbreviation WCAG,
subscript H2O and superscript E = mc2.
A second paragraph shows how body text reads at length. Documentation is read in short bursts by people who arrived from a search or a link, so the first sentence of each paragraph should carry its point, and the rest should support it. Line length, line height and the space between paragraphs matter more than the typeface.
Second-level heading¶
Text under a second-level heading.
Third-level heading¶
Text under a third-level heading.
Fourth-level heading¶
Text under a fourth-level heading.
Fifth-level heading¶
Text under a fifth-level heading.
Quotes¶
Simple things should be simple, complex things should be possible.
— Alan Kay
An epigraph opens a section with somebody else’s words.
— An attribution
A pull quote repeats a line from the text to draw the eye.
Line blocks¶
Rubrics and topics¶
A rubric labels a short run of text.
Text beside the sidebar. It wraps around it on a wide screen and sits under it on a narrow one. Enough words are needed here to show the wrap, so this paragraph keeps going for a few more lines to give the float something to sit beside.
Glossary¶
- Theme¶
A named set of colours, radii and borders in daisyUI.
- Token¶
A CSS variable a theme sets, such as
--color-primary.
The word Theme links to its definition.
Version notes¶
Added in version 0.1: Search as you type.
Changed in version 0.1: The navbar holds the brand instead of the sidebar.
Deprecated since version 0.1: top_of_page_button, singular. Use top_of_page_buttons.
Footnotes and citations¶
A claim with a footnote [1] and another [2], and a citation [Bringhurst2004].
Robert Bringhurst, The Elements of Typographic Style, 2004.