diff options
-rw-r--r-- | html.c | 2 | ||||
-rw-r--r-- | mandoc.css | 3 | ||||
-rw-r--r-- | mdoc_html.c | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -190,6 +190,8 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "div.Nd, div.Bf, div.Op { display: inline; }"); print_endline(h); + print_text(h, "span.Pa { font-style: italic; }"); + print_endline(h); print_text(h, "dl.Bl-diag "); print_byte(h, '>'); print_text(h, " dt { font-weight: bold; }"); @@ -171,7 +171,8 @@ code.Ic { font-style: normal; code.Ev { font-style: normal; font-weight: normal; font-family: monospace; } -i.Pa { font-weight: normal; } +span.Pa { font-style: italic; + font-weight: normal; } /* Semantic markup for function libraries. */ diff --git a/mdoc_html.c b/mdoc_html.c index 3a78913e..9f6e9f14 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -979,7 +979,7 @@ mdoc_bd_pre(MDOC_ARGS) static int mdoc_pa_pre(MDOC_ARGS) { - print_otag(h, TAG_I, "cT", "Pa"); + print_otag(h, TAG_SPAN, "cT", "Pa"); return 1; } |