diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-12-04 06:11:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-12-04 06:11:45 +0000 |
commit | 8e3fac22e2db0857c6d60a7946ff314d685bdfb8 (patch) | |
tree | f72269a624789c4f9ec59f363f9b9c89458f24d0 | |
parent | 5a7a58ab41e10a1775b630f8b3235cab49eb93d1 (diff) |
Restrict "vertical-align: middle;" to <td> descendants of class="tbl"
elements, we don't want that for other tables.
-rw-r--r-- | usr.bin/mandoc/mandoc.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mandoc.css b/usr.bin/mandoc/mandoc.css index 90b11db9ce0..c3bbcccbb21 100644 --- a/usr.bin/mandoc/mandoc.css +++ b/usr.bin/mandoc/mandoc.css @@ -1,4 +1,4 @@ -/* $OpenBSD: mandoc.css,v 1.28 2018/12/04 05:20:14 schwarze Exp $ */ +/* $OpenBSD: mandoc.css,v 1.29 2018/12/04 06:11:44 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). * @@ -19,7 +19,7 @@ table { margin-top: 0em; * but not for table, resulting in inconsistent border styling. */ tbody { border-color: inherit; } tr { border-color: inherit; } -td { vertical-align: middle; +td { vertical-align: top; padding-left: 0.2em; padding-right: 0.2em; border-color: inherit; } @@ -164,7 +164,7 @@ td.foot-os { text-align: right; } .RsV { } .eqn { } -.tbl { } +.tbl td { vertical-align: middle; } .HP { margin-left: 3.8em; text-indent: -3.8em; } |