summaryrefslogtreecommitdiffstats
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-11-26 21:06:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-11-26 21:06:02 +0000
commit30879c2acb6f7f5e4ac3a2bc7bd1bf49a3153aea (patch)
treea8e7c6a22236bec5c24539786b3c35b0d3b77125 /mandoc.css
parent5179a6f85473d6533f50f28255252719ec60009d (diff)
downloadmandoc-30879c2acb6f7f5e4ac3a2bc7bd1bf49a3153aea.tar.gz
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.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/mandoc.css b/mandoc.css
index b275dcf7..9630857e 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -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; }