2022-06-09 19:30:56 +00:00
|
|
|
:root {
|
|
|
|
--sans-font: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
|
|
|
|
--serif-font: palatino, "Palatino Linotype", "Palatino LT STD", "URW Palladio L", "TeX Gyre Pagella", serif;
|
|
|
|
}
|
2018-09-24 15:45:39 +00:00
|
|
|
body {
|
2022-06-09 19:30:56 +00:00
|
|
|
font-family: var(--serif-font);
|
2019-07-14 02:20:22 +00:00
|
|
|
box-sizing: border-box;
|
2019-08-18 21:08:55 +00:00
|
|
|
line-height: 1.414;
|
2018-09-24 15:45:39 +00:00
|
|
|
}
|
|
|
|
@media screen {
|
|
|
|
body { padding-top: 2rem; max-width: 40em; margin: auto; font-size: 120%; }
|
|
|
|
hr { display: none; }
|
|
|
|
}
|
|
|
|
@media print {
|
2018-09-24 18:12:29 +00:00
|
|
|
@page { size: letter; margin: 4rem 0rem 4.333rem 0rem; }
|
2019-10-08 13:45:58 +00:00
|
|
|
body { margin-left: 4.5rem; margin-right: 4.5rem; font-size: 10.5pt; }
|
2018-09-24 15:45:39 +00:00
|
|
|
h1, h2 { page-break-before: always; margin-top: 0; }
|
|
|
|
hr+* { page-break-before: always; margin-top: 0; }
|
|
|
|
hr { display: none; }
|
|
|
|
}
|
2018-09-24 18:54:23 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 { color: #4f81bd; }
|
2018-09-24 15:45:39 +00:00
|
|
|
h2 { border-bottom: solid #4f81bd 1px; }
|
2019-10-08 13:45:58 +00:00
|
|
|
h3, h4 { margin: 0; padding: 0; }
|
2018-09-24 15:45:39 +00:00
|
|
|
pre, code { background-color: #eee; font-family: "DejaVu Sans Mono", monospace; }
|
|
|
|
code { font-size: 75%; }
|
2019-10-08 17:43:38 +00:00
|
|
|
pre { padding: 0.33rem; line-height: 1; overflow-x: auto; }
|
2018-09-24 15:45:39 +00:00
|
|
|
|
2020-05-13 10:55:55 +00:00
|
|
|
p, ul, table {
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
2018-09-24 15:45:39 +00:00
|
|
|
body {
|
2020-12-28 20:52:47 +00:00
|
|
|
counter-set: section 0 subsection 0 appendix 0;
|
2018-09-24 15:45:39 +00:00
|
|
|
}
|
2019-10-08 17:43:38 +00:00
|
|
|
h2:before, h3:before {
|
|
|
|
font-size: 75%;
|
|
|
|
}
|
2018-09-24 17:11:34 +00:00
|
|
|
h2:before, h3:before {
|
2018-09-24 15:45:39 +00:00
|
|
|
text-align: right;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
right: 2.33em;
|
|
|
|
text-align: right;
|
|
|
|
width: 2em;
|
|
|
|
margin-right: -2em;
|
|
|
|
height: 0;
|
|
|
|
}
|
2019-10-08 17:43:38 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 53.33em) {
|
|
|
|
body {
|
|
|
|
margin-left: 2.33em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2018-09-24 17:11:34 +00:00
|
|
|
h2:before {
|
2018-09-24 15:45:39 +00:00
|
|
|
counter-increment: section;
|
|
|
|
content: counter(section) ". ";
|
|
|
|
}
|
2018-09-24 17:11:19 +00:00
|
|
|
h2 {
|
|
|
|
counter-reset: subsection 0;
|
|
|
|
}
|
2018-09-24 17:11:34 +00:00
|
|
|
h3:before {
|
2018-09-24 15:45:39 +00:00
|
|
|
counter-increment: subsection;
|
|
|
|
content: counter(section) "." counter(subsection) ". ";
|
|
|
|
}
|
2018-09-24 18:12:29 +00:00
|
|
|
|
|
|
|
h2[id^="appendix-"]:before {
|
|
|
|
counter-increment: appendix;
|
|
|
|
content: counter(appendix,upper-latin) ". ";
|
|
|
|
}
|
|
|
|
h2[id^="appendix-"] ~ h3:before {
|
|
|
|
counter-increment: subsection;
|
|
|
|
content: counter(appendix,upper-latin) "." counter(subsection) ". ";
|
|
|
|
}
|
|
|
|
|
|
|
|
h2#notes:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-09-24 18:54:23 +00:00
|
|
|
|
|
|
|
.footnotes > ol { padding: 0; font-size: 90%; }
|
2019-07-14 02:20:22 +00:00
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
thead tr {
|
|
|
|
border-bottom: solid black 1px;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: left;
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
padding-bottom: 0.3rem;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
}
|
2019-08-18 15:39:53 +00:00
|
|
|
|
2022-06-09 12:59:53 +00:00
|
|
|
blockquote {
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border-left: solid #4f81bd 2px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-06-10 14:05:35 +00:00
|
|
|
blockquote :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
blockquote :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2022-06-09 12:59:53 +00:00
|
|
|
|
|
|
|
.rationale {
|
|
|
|
background-color: #e9f0f9;
|
|
|
|
}
|
|
|
|
|
2022-06-09 19:30:56 +00:00
|
|
|
blockquote.pseudocode {
|
|
|
|
border-left: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.pseudocode strong, strong.pseudocode {
|
|
|
|
font-family: var(--sans-font);
|
|
|
|
font-weight: inherit;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
.pseudocode pre, .pseudocode code { background-color: inherit; }
|
|
|
|
.pseudocode p {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
.pseudocode em > code, .pseudocode strong > code {
|
|
|
|
vertical-align: sub;
|
|
|
|
font-size: 75%;
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
.pseudocode code {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
2019-08-18 15:39:53 +00:00
|
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
/* Rouge syntax classes */
|
|
|
|
|
|
|
|
pre.highlight span.dl { color: #888; }
|
|
|
|
pre.highlight span.k { color: #4f81bd; }
|
|
|
|
pre.highlight span.kc { color: #4f81bd; }
|
|
|
|
pre.highlight span.kd { color: #4f81bd; }
|
|
|
|
pre.highlight span.nb { color: #4f81bd; }
|
|
|
|
pre.highlight span.nl { color: #4f81bd; }
|
|
|
|
pre.highlight span.nx { color: #4f81bd; }
|
|
|
|
pre.highlight span.o { color: #4f81bd; }
|
|
|
|
pre.highlight span.p { color: #888; }
|
|
|
|
pre.highlight span.s2 { color: #ff8844; }
|