summaryrefslogtreecommitdiffstats
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
commit7de1dd049549a0054f8e9a11a53c364fa1918355 (patch)
tree37faa97165492ecd64d15efa51761649d4b971ec
parent2a832c8bd9d68c2b1a56152d7dd747233d40bdea (diff)
downloadmandoc-7de1dd049549a0054f8e9a11a53c364fa1918355.tar.gz
Update example.style.css to be a bit more readable by default.
-rw-r--r--example.style.css30
1 files changed, 12 insertions, 18 deletions
diff --git a/example.style.css b/example.style.css
index 866eaefa..2537605a 100644
--- a/example.style.css
+++ b/example.style.css
@@ -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 { }