summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-11-26 21:05:55 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-11-26 21:05:55 +0000
commite581d7196368fad87220afc23ead1fde33afd7d3 (patch)
treed4884f3f2966f1571832555190a1140e6c7a48c2 /usr.bin/mandoc/mandoc.css
parent566544af034122e6317c9f9d8f09fc178ebd8bec (diff)
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 'usr.bin/mandoc/mandoc.css')
-rw-r--r--usr.bin/mandoc/mandoc.css9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mandoc.css b/usr.bin/mandoc/mandoc.css
index bc92234f5d9..089d4bc4bf7 100644
--- a/usr.bin/mandoc/mandoc.css
+++ b/usr.bin/mandoc/mandoc.css
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.css,v 1.26 2018/11/26 15:01:38 schwarze Exp $ */
+/* $OpenBSD: mandoc.css,v 1.27 2018/11/26 21:05:54 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; }