aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 01:02:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 01:02:00 +0000
commite475285cd277f9da6cc63e7cdf31e74385a3ccc1 (patch)
tree227f33a65fcb4fcd94f0cbc2c3d9c402cbbfad87 /example.style.css
parent6b21ebaff4af30f3415bd32d79d72952f3e89fab (diff)
downloadmandoc-e475285cd277f9da6cc63e7cdf31e74385a3ccc1.tar.gz
mandoc-e475285cd277f9da6cc63e7cdf31e74385a3ccc1.tar.zst
mandoc-e475285cd277f9da6cc63e7cdf31e74385a3ccc1.zip
Make SYNOPSIS `Nm' use a TABLE in -T[x]html mode. Also fix `Nd' using
desc-body instead of desc as its CSS key.
Diffstat (limited to 'example.style.css')
-rw-r--r--example.style.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/example.style.css b/example.style.css
index 5545c554..38890bfc 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,14 +1,21 @@
-/* $Id: example.style.css,v 1.28 2010/12/17 00:18:29 kristaps Exp $ */
+/* $Id: example.style.css,v 1.29 2010/12/17 01:02:00 kristaps Exp $ */
html { min-width: 580px; width: 580px; }
body { font-family: monospace; }
+/* Preamble structure. */
+
+table.footer { } /* Document footer. */
+table.header { } /* Document header. */
+
/* Sections. */
h1 { font-size: medium; margin-left: -4ex; } /* Section header (Sh, SH). */
h2 { font-size: medium; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
div.section { margin-bottom: 3ex; margin-left: 4ex; } /* Sections (Sh, SH). */
div.subsection { } /* Sub-sections (Ss, SS). */
+table.synopsis { } /* SYNOPSIS section table. */
+table.synopsis td { vertical-align: top; } /* SYNOPSIS section table. */
/* Vertical spacing. */
@@ -72,9 +79,6 @@ a.link-man { } /* Manual links (Xr). */
a.link-ref { } /* Reference section links (%Q). */
a.link-sec { } /* Section links (Sx). */
-table.footer { } /* Document footer. */
-table.header { } /* Document header. */
-
/* Formatting for lists. */
dl.list-diag { }