| 1 | /* How `make pdf` prints the report: pandoc makes HTML of doc/raz.md |
| 2 | with this sheet, and Chromium prints it to build/raz.pdf. */ |
| 3 | @page { size: A4; margin: 22mm 20mm; @bottom-center { content: counter(page); } } |
| 4 | body { font: 10.5pt/1.45 Charter, "Bitstream Charter", Georgia, serif; color: #111; max-width: none; } |
| 5 | /* pandoc makes the report's # its title and moves the rest up one */ |
| 6 | h1.title { font-size: 24pt; margin: 30mm 0 12mm; } |
| 7 | h1 { font-size: 14pt; margin-top: 1.6em; break-after: avoid; } |
| 8 | h2 { font-size: 11.5pt; break-after: avoid; } |
| 9 | pre, code { font-family: "DejaVu Sans Mono", monospace; font-size: 8.8pt; } |
| 10 | /* a block of code or grammar is never split across pages */ |
| 11 | pre { background: #f6f6f3; padding: 6px 9px; border-left: 2px solid #bbb; break-inside: avoid; white-space: pre-wrap; } |
| 12 | /* and stays on the page of the paragraph that leads to it */ |
| 13 | p:has(+ div.sourceCode, + pre) { break-after: avoid; } |
| 14 | table { border-collapse: collapse; font-size: 9.5pt; } |
| 15 | td, th { border-bottom: 1px solid #ddd; padding: 2px 8px; text-align: left; } |
| 16 | nav#TOC { break-after: page; } |
| 17 | nav#TOC ul { list-style: none; padding-left: 1em; } |
| 18 | a { color: inherit; text-decoration: none; } |