From e581d7196368fad87220afc23ead1fde33afd7d3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 26 Nov 2018 21:05:55 +0000 Subject: 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. --- usr.bin/mandoc/mandoc.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'usr.bin/mandoc/mandoc.css') 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; } -- cgit v1.2.3