From 6b21ebaff4af30f3415bd32d79d72952f3e89fab 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 | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'example.style.css') diff --git a/example.style.css b/example.style.css index 8fbfa1e7..5545c554 100644 --- a/example.style.css +++ b/example.style.css @@ -1,18 +1,14 @@ -/* $Id: example.style.css,v 1.27 2010/12/16 23:23:34 kristaps Exp $ */ +/* $Id: example.style.css,v 1.28 2010/12/17 00:18:29 kristaps Exp $ */ 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 v1.2.3-56-ge451