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.

Link preview

Out of the box

A box with the start of the target page.

In this template

It carries a real shadow — one of the five places that genuinely float above the page. An opaque surface, because a translucent preview over body text is unreadable.

The content is capped at 20 rem, and at the cut lies a soft gradient: a truncated preview should look cut, not broken.

What is left out inside it is what only gets in the way in a preview: callouts, tags and code blocks. A preview should answer the question of whether the click is worth it — no more.

Only with a pointer

With @media (hover: none) it is switched off entirely. From that follows a rule for the content: no information may exist only in a preview, because on a smartphone there is none.

Which variables apply here

These 13 variables are read by the section page-popover in pages.scss. They can be changed in QuartzControl under Styles → Variables — without a line of CSS.

VariableValuealso applies to
--darkgray#333333 · dark #DDDDDD18 other components
--light#FCFCFA · dark #16171A14 other components
--tpl-radius-lg14px3 other components
--tpl-rule-controlcolor-mix(in srgb, var(--gray) 70%, var(-…11 other components
--tpl-rule-width1px25 other components
--tpl-shadow0 6px 24px rgba(23, 23, 26, 0.10) · dark 0 6px 24px rgba(0, 0, 0, 0.55)5 other components
--tpl-space-2xs0.25rem16 other components
--tpl-space-lg1.5rem12 other components
--tpl-space-md1rem18 other components
--tpl-space-sm0.75rem10 other components
--tpl-space-xs0.5rem20 other components
--tpl-text-lg1.15remSearch, 6.4 – Variables
--tpl-text-sm0.875rem20 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.