summaryrefslogtreecommitdiffstats
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-04 06:11:49 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-04 06:11:49 +0000
commit4d272ac9cfe2194029e9a2869ae951d40a91e8f4 (patch)
treec44d699a4cc2ccb55bdfe7423ce8a9ca101fa75f /mandoc.css
parent786b27255775280eeeea257cf76d1bcd02bd0ba9 (diff)
downloadmandoc-4d272ac9cfe2194029e9a2869ae951d40a91e8f4.tar.gz
Restrict "vertical-align: middle;" to <td> descendants of class="tbl"
elements, we don't want that for other tables.
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 cc383404..b2cdf878 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -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; }