aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-21 02:09:51 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-21 02:09:51 +0000
commite017bf9218d720071da2fa6ff379604b540bf98c (patch)
tree807747bda7b03e5caab19130db11ad22bd041c15 /mandoc.css
parent46475ae69cd0362524d880fbc82985ec1661d3f4 (diff)
downloadmandoc-e017bf9218d720071da2fa6ff379604b540bf98c.tar.gz
mandoc-e017bf9218d720071da2fa6ff379604b540bf98c.tar.zst
mandoc-e017bf9218d720071da2fa6ff379604b540bf98c.zip
Avoid writing constant style attributes over and over again.
Move them to the style sheet.
Diffstat (limited to 'mandoc.css')
-rw-r--r--mandoc.css11
1 files changed, 7 insertions, 4 deletions
diff --git a/mandoc.css b/mandoc.css
index 7e55118b..000886d2 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.11 2017/01/21 01:20:32 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.12 2017/01/21 02:09:51 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*/
@@ -8,9 +8,12 @@
html { max-width: 100ex; }
body { font-family: Helvetica,Arial,sans-serif; }
table { width: 100%;
- margin-top: 0ex;
- margin-bottom: 0ex; }
+ margin-top: 0em;
+ margin-bottom: 0em; }
td { vertical-align: top; }
+ul, ol, dl { margin-top: 0em;
+ margin-bottom: 0em; }
+li, dt { margin-top: 1em; }
/* Search form and search results. */
@@ -95,7 +98,7 @@ dd.It-tag { }
table.Bl-column { }
tr.It-column { }
-td.It-column { }
+td.It-column { margin-top: 1em; }
span.Rs { }
span.RsA { }