summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-08-02 17:06:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-08-02 17:06:04 +0000
commit8d504a90deba0fb11f5d27e7dd8d50e91abcff9d (patch)
tree86fda1f09d9a6af2615209ce265f8b4a56aa5e61 /html.c
parent36812b78562b0d197e82dd9dc3f64755b8b6dded (diff)
downloadmandoc-8d504a90deba0fb11f5d27e7dd8d50e91abcff9d.tar.gz
minor sync of the inline stylesheet with mandoc.css:
delete unimportant .Pp rule and shorten overly specific selectors
Diffstat (limited to 'html.c')
-rw-r--r--html.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/html.c b/html.c
index 98f8b31e..836a0c07 100644
--- a/html.c
+++ b/html.c
@@ -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);
}