1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* flm.html.style.page */
/* The page's own typography and the width of its content. This is the
only stylesheet of the HTML backend with rules whose selectors do not
begin with a class of the HTML contract (the classes and attributes that
the backend promises to write), apart from the :root rule that declares
the custom properties: it sets the text size on the page's root element
and styles the page's body, which a document does not have. No element
requires it: the backend adds it to the style and
script definitions of every page that it renders (the definitions table
flm.html.definitions). A host that places the HTML output in a page of
its own leaves this stylesheet out through the HTML backend's render
option definitions (DefinitionOverride::ProvidedByHost, or an empty list
of parts). */
@ }
/* The page's text size, set on the page's root element rather than on its
body: the rem unit is the root element's size, and the stylesheets give
in rem the lengths that follow the page's text rather than the text
around them (the width of the content, a note beside the text, the
document's title). */
}
/* The page itself. Apart from the :root rules, this is the only rule of
the backend's stylesheets that does not begin with a class of the HTML
contract. With the rule above, it styles the page, which is why a host
that places the HTML output in a page of its own leaves this stylesheet
out (see the top of this stylesheet). */
}
/* The element that holds the document's content. When the window is wide
enough for a column of notes to the right of the text (see
flm.html.style.core, --flm-margin-note-width and --flm-margin-note-gap),
this element leaves room for that column: its maximum width and its
right padding both grow by the column and the gap, so the text keeps
the width it has without the column; and it turns on the switch
--flm-margin-note-column of flm.html.style.core, so that the notes
inside it are placed in the column. 52rem is the content's width with
the column (42rem + 8rem + 1rem) plus a little room; it is written as a
number because a media condition cannot read a custom property, and a
rem in a media condition is the browser's text size, not the page's, so
a page that widens the text or the column, or sets a text size other
than the browser's, writes its own condition. */
}
{
}
}
}