diff options
author | Georg Brandl <georg@python.org> | 2011-01-15 11:33:45 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-15 11:33:45 +0100 |
commit | 6bed0fa7aeb4d2b9bfe6a6596619c42023466242 (patch) | |
tree | 1121e8937c79d789766508770d17feb51fe6ccd0 /sphinx/themes/default | |
parent | 482f9b6d663d083256e58ddd054a2081cf6a7338 (diff) | |
download | sphinx-6bed0fa7aeb4d2b9bfe6a6596619c42023466242.tar.gz |
#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 ba20dca7..85c9436a 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 %} |