X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/cc2378d55111b3745a8f980f34b1f7b1126f37b1..92476edc57b23a42c640f55f3a00b69bbee809b5:/src/lib.rs diff --git a/src/lib.rs b/src/lib.rs index c2da4c9..2e9bfcc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,5 @@ use std::collections::{HashMap, HashSet}; +use std::fmt::Write; use std::io::BufRead; use std::iter::Iterator; @@ -17,7 +18,7 @@ const HEADER: &str = " tr.key > th > div > div { width: 5em; transform-origin: bottom left; transform: translateX(1em) rotate(-65deg) } td { border: thin solid gray; } td.numeric { text-align: right; } - td.yes { border: thin solid gray; background-color: gray; } + td.yes { border: thin solid gray; background-color: #ddd; } td.spacer { border: none; } /* h/t https://stackoverflow.com/questions/5687035/css-bolding-some-text-without-changing-its-containers-size/46452396#46452396 */ .highlight { text-shadow: -0.06ex 0 black, 0.06ex 0 black; } @@ -32,16 +33,37 @@ const HEADER: &str = "