English
About this handbook

This handbook belongs to the template Example for QuartzControl. It explains the template and, at the same time, shows everything it can do.

The text here comes from a Markdown file, not from the configuration.

Search results

Out of the box

Cards with a title, a path and an excerpt.

In this template

  • Not cards but rows, with hairlines between them. A list of ten framed boxes is restless.
  • The keyboard cursor and the pointer hover look the same: a tinted surface plus a bar on the left. The arrow keys move through the list, and the highlighted row is the only signal of where you are — it must not look different from what the pointer shows.
  • The excerpt is truncated after two lines.
  • The match in the text is marked with the same colour as ==highlight== in the body text. “This is what you were looking for” means the same thing across the whole site.
  • The path is set in the code typeface, muted and small — it is origin, not content.

Which variables apply here

These 17 variables are read by the section page-search-results in components-header.scss. They can be changed in QuartzControl under Styles → Variables — without a line of CSS.

VariableValuealso applies to
--codeFont"Noto Sans Mono", ui-monospace, SFMono-Re…4 other components
--dark#17171A · dark #FCFCFA13 other components
--darkgray#333333 · dark #DDDDDD18 other components
--gray#5F5F5F · dark #A1A1A122 other components
--secondary#1463A3 · dark #699DC319 other components
--textHighlightrgba(226, 189, 92, 0.55) · dark rgba(140, 184, 218, 0.30)Body text
--tpl-accent-bar3px6 other components
--tpl-radius-sm4px10 other components
--tpl-rulevar(--lightgray) = #DDDDDD19 other components
--tpl-rule-width1px25 other components
--tpl-space-3xs0.125rem6 other components
--tpl-space-md1rem18 other components
--tpl-space-sm0.75rem10 other components
--tpl-surface-tintvar(--highlight) = rgba(42, 78, 108, 0.10)14 other components
--tpl-text-base1rem4 other components
--tpl-text-sm0.875rem20 other components
--tpl-text-xs0.78rem10 other components

This table is generated: it is read out of the stylesheets rather than kept by hand.

Read on

This page belongs to Example — the example template for QuartzControl. An overview of every area is on the English home page.

On a narrow screen the navigation is collapsed at the top.