aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit203605bb2ccc85891ec1f26a8aa7d2b64bbbbb73 (patch)
treeb4ef09b4a4b83fde827b5db4d2533337e8ff2a2d
parent3d44d6fdfb85a4640e85a14ab6192d13c8ab320b (diff)
downloadmandoc-203605bb2ccc85891ec1f26a8aa7d2b64bbbbb73.tar.gz
mandoc-203605bb2ccc85891ec1f26a8aa7d2b64bbbbb73.tar.zst
mandoc-203605bb2ccc85891ec1f26a8aa7d2b64bbbbb73.zip
fix error page indentation:
negative indent for h1 only in div.section issue reported by mikeb@
-rw-r--r--mandoc.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/mandoc.css b/mandoc.css
index 38c5c58b..90085061 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.1 2015/11/05 17:47:51 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.2 2016/04/13 10:19:23 schwarze Exp $ */
/*
* This is an example style-sheet provided for mandoc(1) and the -Thtml
@@ -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. */