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 | 5bc2c395e0649c505c7343f2e520585eae301173 (patch) | |
tree | 71efa4785dde081abd7aabc9408137ca899180f0 /html.c | |
parent | ebba60294ee59384a7f1a84adc128bde10c09126 (diff) | |
download | mandoc-5bc2c395e0649c505c7343f2e520585eae301173.tar.gz mandoc-5bc2c395e0649c505c7343f2e520585eae301173.tar.zst mandoc-5bc2c395e0649c505c7343f2e520585eae301173.zip |
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.c | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.255 2019/04/30 15:53:00 schwarze Exp $ */ +/* $Id: html.c,v 1.256 2019/08/02 17:06:04 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org> @@ -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); } |