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.

Reader mode

Reader mode hides the sidebars for as long as you stay on the page.

Out of the box

A button that toggles the mode. The only feedback is that the page looks different.

In this template

The button shows its state: with reader mode on, its border, surface and symbol change to the accent colour. Anyone who hit it by accident can see what is going on — otherwise the only feedback is that half the page has suddenly gone.

Measurements as with its neighbours: 44 × 44 px, the same border.

What reader mode is not

It changes nothing about the content and nothing about the print. For printing this template removes the bars anyway — see Accessibility.

Which variables apply here

These 10 variables are read by the section nav-reader-mode in components-header.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
--secondary#1463A3 · dark #699DC319 other components
--tpl-icon1.1rem3 other components
--tpl-motion150ms ease13 other components
--tpl-radius-md8px17 other components
--tpl-rule-controlcolor-mix(in srgb, var(--gray) 70%, var(-…11 other components
--tpl-rule-width1px25 other components
--tpl-surface-tintvar(--highlight) = rgba(42, 78, 108, 0.10)14 other components
--tpl-target44px12 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.