summaryrefslogtreecommitdiffstats
path: root/example.style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-10-05 21:35:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-10-05 21:35:17 +0000
commite5dd3a864124758be3ede5144cdd2340239b30ee (patch)
treeef299b09ae12118fcb0f9c4fbb090a273b445b3c /example.style.css
parent0576ea2495c06ed8b674a501710158e099efcf3f (diff)
downloadmandoc-e5dd3a864124758be3ede5144cdd2340239b30ee.tar.gz
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.
Diffstat (limited to 'example.style.css')
-rw-r--r--example.style.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/example.style.css b/example.style.css
index 1b1e44dd..ee306309 100644
--- a/example.style.css
+++ b/example.style.css
@@ -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. */