aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-11 22:58:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-11 22:58:28 +0000
commitd20b37a87816b17ebc7fd9fb3b4d6ec214477261 (patch)
tree557e7424699520e37d31dcec6f14d6c51af693bf /example.style.css
parentd7adb17ff55daf24faa02dac0f9a6c1198d4a5e1 (diff)
downloadmandoc-d20b37a87816b17ebc7fd9fb3b4d6ec214477261.tar.gz
mandoc-d20b37a87816b17ebc7fd9fb3b4d6ec214477261.tar.zst
mandoc-d20b37a87816b17ebc7fd9fb3b4d6ec214477261.zip
Update example.style.css to be a bit more readable by default.
Diffstat (limited to 'example.style.css')
-rw-r--r--example.style.css32
1 files changed, 13 insertions, 19 deletions
diff --git a/example.style.css b/example.style.css
index c7cc484f..39075460 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,4 +1,4 @@
-/* $Id: example.style.css,v 1.42 2011/02/09 09:52:47 kristaps Exp $ */
+/* $Id: example.style.css,v 1.43 2011/04/11 22:58:28 kristaps Exp $ */
/*
* This is an example style-sheet provided for mandoc(1) and the -Thtml
@@ -11,32 +11,26 @@
html { min-width: 580px; width: 580px; }
body { font-family: monospace; }
+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. */
+td { vertical-align: top; } /* All table cells. */
+p { } /* Paragraph: Pp, Lp. */
+blockquote { margin-top: 0ex; margin-bottom: 0ex; } /* D1. */
+div.section { margin-bottom: 2ex; margin-left: 5ex; } /* Sections (Sh, SH). */
+div.subsection { } /* Sub-sections (Ss, SS). */
+table.synopsis { } /* SYNOPSIS section table. */
/* Preamble structure. */
-table.foot { width: 100%; } /* Document footer. */
+table.foot { } /* Document footer. */
td.foot-date { width: 50%; } /* Document footer: date. */
td.foot-os { width: 50%; text-align: right; } /* Document footer: OS/source. */
-table.head { width: 100%; } /* Document header. */
+table.head { } /* Document header. */
td.head-ltitle { width: 10%; } /* Document header: left-title. */
td.head-vol { width: 80%; text-align: center; } /* Document header: volume. */
td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-title. */
-/* Sections. */
-
-h1 { margin-bottom: 0px; font-size: medium; margin-left: -4ex; } /* Section header (Sh, SH). */
-h2 { margin-bottom: 0px; font-size: medium; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
-div.section { margin-bottom: 2ex; margin-left: 4ex; } /* Sections (Sh, SH). */
-div.subsection { } /* Sub-sections (Ss, SS). */
-table.synopsis { } /* SYNOPSIS section table. */
-
-/* Vertical spacing. */
-
-p { } /* Paragraph: Pp, Lp. */
-blockquote { margin-top: 0px; margin-bottom: 0px; }
-table { margin-top: 0px; margin-bottom: 0px; }
-td { vertical-align: top; }
-
/* General font modes. */
i { } /* Italic: BI, IB, I, (implicit). */
@@ -116,7 +110,7 @@ dd.list-inset { }
dl.list-ohang { }
dt.list-ohang { }
-dd.list-ohang { margin-left: 0em; }
+dd.list-ohang { margin-left: 0ex; }
dl.list-tag { }
dt.list-tag { }