/* Which face the documents are set in, and how big it has to be set to put the
   same amount of letter on the line.

   Apart from magdox.css because the book reads this file as well: main/book.py
   sets data-font on <html> exactly as the picker does, and parses the keys back
   out of here to know which faces there are. So a face is still a rule and a
   row — it is just that the rule now also reaches the PDF.
 The size travels with the face rather than standing on its own,
   because it is a property of the drawing and not a preference: a small
   x-height needs the extra point, and a face drawn for screens already has the
   letter and would only come out shouting. The measure does not follow, being
   in rem — the column stays where it is and the line comes out a few characters
   shorter or longer, which is a direction a measure can afford to move in.

   The default is the one the site was built around; the rest are what the
   sidebar's picker sets on <html>, and each is written once, here. */
:root {
  --doc-font: "STIX Two Text", serif;
  --doc-size: 17px;
}
:root[data-font="source"] { --doc-font: "Source Serif 4", serif; --doc-size: 17px; }
:root[data-font="charis"] { --doc-font: "Charis SIL", serif; --doc-size: 16px; }
:root[data-font="plex"] { --doc-font: "IBM Plex Serif", serif; --doc-size: 16px; }
:root[data-font="roboto"] { --doc-font: "Roboto Serif", serif; --doc-size: 16px; }
:root[data-font="literata"] { --doc-font: "Literata", serif; --doc-size: 16px; }
The two that are already on the machine. They carry the whole stack rather
   than a family with the generic appended, which is what the vendored five do
   and what the sans could not: falling back from a sans to a serif would answer
   the one choice that asked for neither. */
:root[data-font="system-serif"] { --doc-font: serif; --doc-size: 16px; }
:root[data-font="system-sans"] { --doc-font: var(--sans); --doc-size: 16px; }
