| 1 |
/* Styling for the error reports shown on this page. The colors are the ones |
| 2 |
the utilities actually emit, so the examples read here the way they do in a |
| 3 |
terminal; they match the palette used on uutils.org. */ |
| 4 |
|
| 5 |
pre.diag { |
| 6 |
margin: 1rem 0; |
| 7 |
padding: 0.9rem 1.1rem; |
| 8 |
border-radius: 0.6em; |
| 9 |
background: #1e1e2e; |
| 10 |
color: #cdd6f4; |
| 11 |
line-height: 1.5; |
| 12 |
overflow-x: auto; |
| 13 |
white-space: pre; |
| 14 |
} |
| 15 |
|
| 16 |
/* The prompt of the command being run. */ |
| 17 |
pre.diag .a-p { |
| 18 |
color: #89b4fa; |
| 19 |
} |
| 20 |
|
| 21 |
/* ANSI colors as emitted by the utilities: frame, source line, gutter, |
| 22 |
the span at fault, and the Help: label. */ |
| 23 |
pre.diag .a-d { |
| 24 |
color: #9399b2; |
| 25 |
} |
| 26 |
|
| 27 |
pre.diag .a-s { |
| 28 |
color: #cdd6f4; |
| 29 |
} |
| 30 |
|
| 31 |
pre.diag .a-f { |
| 32 |
color: #7f849c; |
| 33 |
} |
| 34 |
|
| 35 |
pre.diag .a-e { |
| 36 |
color: #f38ba8; |
| 37 |
} |
| 38 |
|
| 39 |
pre.diag .a-h { |
| 40 |
color: #a6e3a1; |
| 41 |
} |