From 399d7ac77fc9850e46aaad716704be41f355d620 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 17 Dec 2010 00:18:29 +0000 Subject: 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. --- example.style.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'example.style.css') 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. */ -- cgit