summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 13:03:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-17 13:03:32 +0000
commit81dca80cea3e87518c1365b7993ea07f5accb3d0 (patch)
treebd6e75f70407531cb9dad1d427e42f6a7bc1e38d
parentf845bdcb2eeb927577ae43d0cfe8bf3241afeeaf (diff)
downloadmandoc-81dca80cea3e87518c1365b7993ea07f5accb3d0.tar.gz
Tweak default styles.
-rw-r--r--example.style.css6
-rw-r--r--style.css8
2 files changed, 7 insertions, 7 deletions
diff --git a/example.style.css b/example.style.css
index 2f8c4212..78d915a8 100644
--- a/example.style.css
+++ b/example.style.css
@@ -15,9 +15,9 @@ td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-titl
/* 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). */
+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. */
table.synopsis td { vertical-align: top; } /* SYNOPSIS section table. */
diff --git a/style.css b/style.css
index 73390caa..0a0a4d0b 100644
--- a/style.css
+++ b/style.css
@@ -10,7 +10,7 @@ body { font-family: monospace;
table.foot { width: 100%;
font-size: 0.8em;
- border-bottom: 1px dotted #dddddd;
+ border-top: 1px dotted #dddddd;
color: #999999; } /* Document footer. */
td.foot-date { width: 50%; } /* Document footer: date. */
td.foot-os { width: 50%; text-align: right; } /* Document footer: OS/source. */
@@ -24,9 +24,9 @@ td.head-rtitle { width: 10%; text-align: right; } /* Document header: right-titl
/* Sections. */
-h1 { color: #000000; font-size: 0.93em; margin-left: -4ex; } /* Section header (Sh, SH). */
-h2 { color: #000000; font-size: 0.93em; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
-div.section { margin-bottom: 3ex; margin-left: 4ex; } /* Sections (Sh, SH). */
+h1 { margin-bottom: 0px; color: #000000; font-size: 0.93em; margin-left: -4ex; } /* Section header (Sh, SH). */
+h2 { margin-bottom: 0px; color: #000000; font-size: 0.93em; 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. */
table.synopsis td { vertical-align: top; } /* SYNOPSIS section table. */