aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitf383f7b17706b2186a0194c0227f7b6c80542b3c (patch)
tree19bdfb3b295d620477835b8071ded71fc4295691 /example.style.css
parent4bc55ae9552362c7707a31de6c34b7d27ff3dbba (diff)
downloadmandoc-f383f7b17706b2186a0194c0227f7b6c80542b3c.tar.gz
mandoc-f383f7b17706b2186a0194c0227f7b6c80542b3c.tar.zst
mandoc-f383f7b17706b2186a0194c0227f7b6c80542b3c.zip
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.css8
1 files changed, 5 insertions, 3 deletions
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. */