aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-11-24 23:03:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-11-24 23:03:18 +0000
commit34102cbac76cbfcf5c22ad5d53cdd5364a1726df (patch)
treeb55a40051541fc3c8f6021ab726e35de18aa0b93 /mandoc.css
parent24fe7406bbfb6590bc86873c1ddd6507258c41d8 (diff)
downloadmandoc-34102cbac76cbfcf5c22ad5d53cdd5364a1726df.tar.gz
mandoc-34102cbac76cbfcf5c22ad5d53cdd5364a1726df.tar.zst
mandoc-34102cbac76cbfcf5c22ad5d53cdd5364a1726df.zip
Implement horizontal and vertical alignment of tbl(7) cell content
in -T html output. This does not handle spanned cells yet. Missing feature reported by Pali dot Rohar at gmail dot com.
Diffstat (limited to 'mandoc.css')
-rw-r--r--mandoc.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.css b/mandoc.css
index a8f50769..a32d92e2 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.37 2018/08/27 23:13:44 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.38 2018/11/24 23:03:18 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*/
@@ -9,7 +9,7 @@ html { max-width: 65em; }
body { font-family: Helvetica,Arial,sans-serif; }
table { margin-top: 0em;
margin-bottom: 0em; }
-td { vertical-align: top; }
+td { vertical-align: middle; }
ul, ol, dl { margin-top: 0em;
margin-bottom: 0em; }
li, dt { margin-top: 1em; }