diff options
author | Georg Brandl <georg@python.org> | 2011-01-15 13:33:45 +0300 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-15 13:33:45 +0300 |
commit | f27950b78d22a04d8f69fccf1da0641b12346aa8 (patch) | |
tree | 1121e8937c79d789766508770d17feb51fe6ccd0 /sphinx/themes/default | |
parent | ce4822af29c1d5ba35f064b9226f0d124ae02a06 (diff) |
#554: Add theme option ``sidebarwidth`` to the basic theme.
Diffstat (limited to 'sphinx/themes/default')
-rw-r--r-- | sphinx/themes/default/static/default.css_t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/themes/default/static/default.css_t b/sphinx/themes/default/static/default.css_t index ba20dca75..85c9436a9 100644 --- a/sphinx/themes/default/static/default.css_t +++ b/sphinx/themes/default/static/default.css_t @@ -32,7 +32,7 @@ div.documentwrapper { } div.bodywrapper { - margin: 0 0 0 230px; + margin: 0 0 0 {{ theme_sidebarwidth|toint }}px; } div.body { @@ -43,7 +43,7 @@ div.body { {%- if theme_rightsidebar|tobool %} div.bodywrapper { - margin: 0 230px 0 0; + margin: 0 {{ theme_sidebarwidth|toint }}px 0 0; } {%- endif %} |