diff options
-rw-r--r-- | html.c | 6 | ||||
-rw-r--r-- | mandoc.css | 15 |
2 files changed, 8 insertions, 13 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.199 2017/01/19 16:59:30 schwarze Exp $ */ +/* $Id: html.c,v 1.200 2017/01/21 02:29:57 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -177,10 +177,6 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "td.head-vol { text-align: center; }"); print_endline(h); - print_text(h, "table.foot td { width: 50%; }"); - print_endline(h); - print_text(h, "table.head td { width: 33%; }"); - print_endline(h); print_text(h, "div.Pp { margin: 1ex 0ex; }"); print_tagq(h, t); @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.12 2017/01/21 02:09:51 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.13 2017/01/21 02:29:57 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -7,8 +7,7 @@ html { max-width: 100ex; } body { font-family: Helvetica,Arial,sans-serif; } -table { width: 100%; - margin-top: 0em; +table { margin-top: 0em; margin-bottom: 0em; } td { vertical-align: top; } ul, ol, dl { margin-top: 0em; @@ -29,7 +28,8 @@ table.results { margin-top: 1em; /* Header and footer lines. */ -table.head { border-bottom: 1px dotted #808080; +table.head { width: 100%; + border-bottom: 1px dotted #808080; margin-bottom: 1em; font-size: smaller; } td.head-vol { text-align: center; } @@ -37,12 +37,11 @@ td.head-rtitle { text-align: right; } span.Nd { } -table.foot { border-top: 1px dotted #808080; +table.foot { width: 100%; + border-top: 1px dotted #808080; margin-top: 1em; font-size: smaller; } -td.foot-date { width: 50%; } -td.foot-os { width: 50%; - text-align: right; } +td.foot-os { text-align: right; } /* Sections and paragraphs. */ |