diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-14 16:06:44 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-14 16:06:44 +0000 |
commit | 9ab0f1d2fbd0ca6762382443886903e11810663b (patch) | |
tree | 4100e951e358a5de21830f3f5d56dc5678a556bb /mandoc.css | |
parent | ff3d7d9996ea5f017430919b824c15e1bf1a6e31 (diff) | |
download | mandoc-9ab0f1d2fbd0ca6762382443886903e11810663b.tar.gz mandoc-9ab0f1d2fbd0ca6762382443886903e11810663b.tar.zst mandoc-9ab0f1d2fbd0ca6762382443886903e11810663b.zip |
Handle .Bl -compact via CSS rather than writing individual style
attributes into .It blocks; suggested by Steffen Nurpmeso <steffen
at sdaoden dot eu> on <groff at GNU dot org> in April 2017.
Delete margin-bottom and margin-top style names and the 'v' argument
letter from print_otag() because they are no longer used.
Diffstat (limited to 'mandoc.css')
-rw-r--r-- | mandoc.css | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.18 2017/03/13 20:22:18 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.19 2017/07/14 16:06:44 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -79,9 +79,13 @@ li.It-dash:before { ul.Bl-item { list-style-type: none; padding-left: 0em; } li.It-item { } +ul.Bl-compact > li { + margin-top: 0ex; } ol.Bl-enum { padding-left: 2em; } li.It-enum { } +ol.Bl-compact > li { + margin-top: 0ex; } dl.Bl-diag { } dt.It-diag { } @@ -108,10 +112,14 @@ dd.It-tag { width: 100%; margin-left: 0ex; vertical-align: top; overflow: auto; } +dl.Bl-compact > dt { + margin-top: 0ex; } table.Bl-column { } tr.It-column { } td.It-column { margin-top: 1em; } +table.Bl-compact > tbody > tr > td { + margin-top: 0ex; } cite.Rs { font-style: normal; font-weight: normal; } |