From f383f7b17706b2186a0194c0227f7b6c80542b3c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 5 Oct 2011 21:35:17 +0000 Subject: Add the -Ofragment option to -T[]x]html. This accomodates for embedding manual output in existing HTML or XHTML documents, e.g., when invoking mandoc from an SSI or CGI. --- example.style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'example.style.css') diff --git a/example.style.css b/example.style.css index 9131ff20..7bd13fc1 100644 --- a/example.style.css +++ b/example.style.css @@ -1,4 +1,4 @@ -/* $Id: example.style.css,v 1.46 2011/08/26 09:03:17 kristaps Exp $ */ +/* $Id: example.style.css,v 1.47 2011/10/05 21:35:17 kristaps Exp $ */ /* * This is an example style-sheet provided for mandoc(1) and the -Thtml @@ -9,8 +9,10 @@ * See mdoc(7) and man(7) for macro explanations. */ -html { min-width: 580px; width: 580px; } -body { font-family: monospace; } +div.mandoc { min-width: 78ex; + width: 78ex; + font-family: monospace; } /* This is the outer node of all mandoc -T[x]html documents. */ + h1 { margin-bottom: 0ex; font-size: inherit; margin-left: -4ex; } /* Section header (Sh, SH). */ h2 { margin-bottom: 0ex; font-size: inherit; margin-left: -2ex; } /* Sub-section header (Ss, SS). */ table { width: 100%; margin-top: 0ex; margin-bottom: 0ex; } /* All tables. */ -- cgit v1.2.3-56-ge451