diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-21 02:09:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-21 02:09:51 +0000 |
commit | e017bf9218d720071da2fa6ff379604b540bf98c (patch) | |
tree | 807747bda7b03e5caab19130db11ad22bd041c15 /mandoc.css | |
parent | 46475ae69cd0362524d880fbc82985ec1661d3f4 (diff) | |
download | mandoc-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.css | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 { } |