diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-11-26 21:06:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-11-26 21:06:02 +0000 |
commit | e31fef12798bce6b648540d1dddf7e9765e289e1 (patch) | |
tree | e74e039f5364bad482cfbe8a06c1ba5a17a5cc6e /mandoc.css | |
parent | de2f386bd8f978f415e5e800fcbd3fce8cd8b1cc (diff) | |
download | mandoc-e31fef12798bce6b648540d1dddf7e9765e289e1.tar.gz mandoc-e31fef12798bce6b648540d1dddf7e9765e289e1.tar.zst mandoc-e31fef12798bce6b648540d1dddf7e9765e289e1.zip |
Implement tbl(7) lines in -T html output,
as far as they are on the edges of table cells
rather than going through the middle of cells:
* the box, doublebox, and allbox options;
* the | and || layout modifiers;
* and the _ and = data lines;
- but not yet _ and = in individual layout and data cells.
Missing feature reported by Pali dot Rohar at gmail dot com.
Diffstat (limited to 'mandoc.css')
-rw-r--r-- | mandoc.css | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.39 2018/11/26 15:02:38 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.40 2018/11/26 21:06:02 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). * @@ -13,8 +13,11 @@ html { max-width: 65em; } body { font-family: Helvetica,Arial,sans-serif; } table { margin-top: 0em; - margin-bottom: 0em; } -td { vertical-align: middle; } + margin-bottom: 0em; + border-collapse: collapse; } +td { vertical-align: middle; + padding-left: 0.2em; + padding-right: 0.2em; } ul, ol, dl { margin-top: 0em; margin-bottom: 0em; } li, dt { margin-top: 1em; } |