From f14ea82a6c7a6fc491a1c3aaf056e286de8507cd Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 5 Nov 2003 15:15:59 +0000 Subject: [haddock @ 2003-11-05 15:15:59 by simonmar] Index overhaul: - no more separate type/class and variable/function indices - the index now makes a distinction between different entities with the same name. One example is a type constructor with the same name as a data constructor, but another example is simply a function with the same name exported by two different modules. For example, the index entry for 'catch' now looks like this: catch 1 (Function) Control.Exception 2 (Function) GHC.Exception, Prelude, System.IO, System.IO.Error making it clear that there are two different 'catch'es, but one of them is exported by several modules. - Each index page now has the index contents (A B C ...) at the top. Please let me know if you really hate any of this. --- html/haddock.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'html') diff --git a/html/haddock.css b/html/haddock.css index 1d52a9b2..67ef28d2 100644 --- a/html/haddock.css +++ b/html/haddock.css @@ -76,6 +76,21 @@ TD.body { padding-left: 10px } +TD.indexentry { + vertical-align: top; + padding-right: 10px + } + +TD.indexannot { + vertical-align: top; + padding-left: 20px; + white-space: nowrap + } + +TD.indexlinks { + width: 100% + } + /* ------- Section Headings ------- */ TD.section1 { -- cgit v1.2.3