From e017bf9218d720071da2fa6ff379604b540bf98c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 21 Jan 2017 02:09:51 +0000 Subject: Avoid writing constant style attributes over and over again. Move them to the style sheet. --- mandoc.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'mandoc.css') 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 { } -- cgit v1.2.3-56-ge451