diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-17 00:18:29 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-17 00:18:29 +0000 |
commit | 399d7ac77fc9850e46aaad716704be41f355d620 (patch) | |
tree | 50ed3f14e1a18d9ca4e75c0b6bddde7c8e741005 /example.style.css | |
parent | 7ae486d54de6a3c8af11d503246eee057b2b8f88 (diff) | |
download | mandoc-399d7ac77fc9850e46aaad716704be41f355d620.tar.gz |
Significantly clean up Sh, Ss, SH, and SS handling in -Thtml. Now a
top-level DIV is used with only an H1 or H2 as the section header. This
makes manuals much more readable in lynx, less complicated, and
relegates left-margin widths to example.style.css.
Diffstat (limited to 'example.style.css')
-rw-r--r-- | example.style.css | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/example.style.css b/example.style.css index 22fabb02..089495c1 100644 --- a/example.style.css +++ b/example.style.css @@ -1,18 +1,14 @@ /* $Id$ */ html { min-width: 580px; width: 580px; } - body { font-family: monospace; } /* Sections. */ -div.sec-head { font-style: normal; font-weight: bold; } /* Sections (Sh). */ -div.sec-body { } -div.sec-block { } - -div.ssec-head { font-style: normal; font-weight: bold; } /* Sub-sections (Ss). */ -div.ssec-body { } -div.ssec-block { } +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). */ /* Vertical spacing. */ |