From e02e828cbe85cec91dfa17b7603422bbc0a53e75 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 10 May 2009 20:56:50 +0200 Subject: [PATCH] #150: Fix display of the "sphinxdoc" theme on Internet Explorer versions 6 and 7. --- CHANGES | 3 +++ sphinx/themes/basic/static/basic.css | 9 --------- sphinx/themes/default/static/default.css_t | 9 +++++++++ sphinx/themes/sphinxdoc/static/sphinxdoc.css | 4 ---- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/CHANGES b/CHANGES index c34603a6f..392ea6b7c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ Release 0.6.2 (in development) ============================== +* #150: Fix display of the "sphinxdoc" theme on Internet Explorer + versions 6 and 7. + * #146: Don't fail to generate LaTeX when the user has an active ``.docutils`` configuration. diff --git a/sphinx/themes/basic/static/basic.css b/sphinx/themes/basic/static/basic.css index ed737d3ba..68cae4fc6 100644 --- a/sphinx/themes/basic/static/basic.css +++ b/sphinx/themes/basic/static/basic.css @@ -5,15 +5,6 @@ /* -- main layout ----------------------------------------------------------- */ -div.documentwrapper { - float: left; - width: 100%; -} - -div.bodywrapper { - margin: 0 0 0 230px; -} - div.clearer { clear: both; } diff --git a/sphinx/themes/default/static/default.css_t b/sphinx/themes/default/static/default.css_t index ab2aeb0c1..a363167a8 100644 --- a/sphinx/themes/default/static/default.css_t +++ b/sphinx/themes/default/static/default.css_t @@ -20,6 +20,15 @@ div.document { background-color: {{ theme_sidebarbgcolor }}; } +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 230px; +} + div.body { background-color: {{ theme_bgcolor }}; color: {{ theme_textcolor }}; diff --git a/sphinx/themes/sphinxdoc/static/sphinxdoc.css b/sphinx/themes/sphinxdoc/static/sphinxdoc.css index 1d11e8b9a..75b2ae0f9 100644 --- a/sphinx/themes/sphinxdoc/static/sphinxdoc.css +++ b/sphinx/themes/sphinxdoc/static/sphinxdoc.css @@ -25,10 +25,6 @@ body { min-width: 740px; } -div.documentwrapper { - float: none; -} - div.document { background-color: white; text-align: left;