summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-04-13 10:19:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-04-13 10:19:23 +0000
commit08aca1087c5024cb668b09753c26a65e60a2baf4 (patch)
tree59e975bccafe58836c66258dce862ccdc2a07959
parent901c6325754e268e29f20a46640b7e2095c20089 (diff)
downloadmandoc-08aca1087c5024cb668b09753c26a65e60a2baf4.tar.gz
fix error page indentation:
negative indent for h1 only in div.section issue reported by mikeb@
-rw-r--r--mandoc.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.css b/mandoc.css
index 39e2554a..d5ba3c48 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -24,7 +24,8 @@ body > div.results { font-size: smaller; }
#mancgi input[name=expr] { width: 25%; }
.results td.title { vertical-align: top;
padding-right: 1em; }
-h1 { margin-bottom: 1ex; font-size: 110%; margin-left: -4ex; } /* Section header (Sh, SH). */
+h1 { margin-bottom: 1ex; font-size: 110% }
+div.section > h1 { margin-left: -4ex; } /* Section header (Sh, SH). */
h2 { margin-bottom: 1ex; font-size: 105%; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
table { width: 100%; margin-top: 0ex; margin-bottom: 0ex; } /* All tables. */
td { vertical-align: top; } /* All table cells. */