diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-08-02 17:06:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-08-02 17:06:04 +0000 |
commit | 8d504a90deba0fb11f5d27e7dd8d50e91abcff9d (patch) | |
tree | 86fda1f09d9a6af2615209ce265f8b4a56aa5e61 | |
parent | 36812b78562b0d197e82dd9dc3f64755b8b6dded (diff) | |
download | mandoc-8d504a90deba0fb11f5d27e7dd8d50e91abcff9d.tar.gz |
minor sync of the inline stylesheet with mandoc.css:
delete unimportant .Pp rule and shorten overly specific selectors
-rw-r--r-- | html.c | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -203,23 +203,18 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "td.head-vol { text-align: center; }"); print_endline(h); - print_text(h, "div.Pp { margin: 1ex 0ex; }"); + print_text(h, ".Nd, .Bf, .Op { display: inline; }"); print_endline(h); - print_text(h, "div.Nd, div.Bf, div.Op { display: inline; }"); + print_text(h, ".Pa, .Ad { font-style: italic; }"); print_endline(h); - print_text(h, "span.Pa, span.Ad { font-style: italic; }"); + print_text(h, ".Ms { font-weight: bold; }"); print_endline(h); - print_text(h, "span.Ms { font-weight: bold; }"); - print_endline(h); - print_text(h, "dl.Bl-diag "); + print_text(h, ".Bl-diag "); print_byte(h, '>'); print_text(h, " dt { font-weight: bold; }"); print_endline(h); - print_text(h, "code.Nm, code.Fl, code.Cm, code.Ic, " - "code.In, code.Fd, code.Fn,"); - print_endline(h); - print_text(h, "code.Cd { font-weight: bold; " - "font-family: inherit; }"); + print_text(h, "code.Nm, .Fl, .Cm, .Ic, code.In, .Fd, .Fn, .Cd " + "{ font-weight: bold; font-family: inherit; }"); print_tagq(h, t); } |