From 796d3acf9b85d1d86387e841a3871c81748f9a42 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 25 Apr 2007 13:45:31 +0000 Subject: [PATCH] some formatting/indentation stuff --- doc/build/templates/formatting.html | 5 +++-- doc/docs.css | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/doc/build/templates/formatting.html b/doc/build/templates/formatting.html index e0983983e3..563732d8ed 100644 --- a/doc/build/templates/formatting.html +++ b/doc/build/templates/formatting.html @@ -22,10 +22,11 @@ item = toc.get_by_path(path) subsection = item.depth > 1 + level = min(item.depth, 4) %> -
+
% if (subsection):

${description or item.description}

@@ -33,7 +34,7 @@ ${content} - % if (subsection and item.next and item.next.depth >= item.depth) or not subsection: + % if len(item.children) == 0: % if paged: back to section top % else: diff --git a/doc/docs.css b/doc/docs.css index 59f0ef4d7b..497c52f8b2 100644 --- a/doc/docs.css +++ b/doc/docs.css @@ -65,17 +65,27 @@ h3 { margin:26px 4px 0px 5px; } -.section { +.sectionL1 { line-height: 1.5em; padding:8px 10px 20px 10px; margin:10px 0px 0px; } -.subsection { +.sectionL2 { margin:0px 0px 0px 20px; line-height: 1.5em; } +.sectionL3 { + margin:0px 0px 0px 40px; + line-height: 1.5em; +} + +.sectionL4 { + margin:0px 0px 0px 40px; + line-height: 1.5em; +} + .topnav li { font-size:12px; -- 2.47.2