summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-08-02 17:04:55 +0000
committerschwarze <schwarze@openbsd.org>2019-08-02 17:04:55 +0000
commit90849764a2d8266bac9afa972410fc14acccdbda (patch)
tree12aee078890e6409a1afc26cc56071961247b9cf
parentpass -Dchecksum around so that checksum is exercised. (diff)
downloadwireguard-openbsd-90849764a2d8266bac9afa972410fc14acccdbda.tar.xz
wireguard-openbsd-90849764a2d8266bac9afa972410fc14acccdbda.zip
minor sync of the inline stylesheet with mandoc.css:
delete unimportant .Pp rule and shorten overly specific selectors
-rw-r--r--usr.bin/mandoc/html.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/usr.bin/mandoc/html.c b/usr.bin/mandoc/html.c
index b6c1ce12587..d9de15c2b13 100644
--- a/usr.bin/mandoc/html.c
+++ b/usr.bin/mandoc/html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.c,v 1.125 2019/04/30 15:52:42 schwarze Exp $ */
+/* $OpenBSD: html.c,v 1.126 2019/08/02 17:04:55 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -201,23 +201,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);
}