summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-15 11:33:45 +0100
committerGeorg Brandl <georg@python.org>2011-01-15 11:33:45 +0100
commit6bed0fa7aeb4d2b9bfe6a6596619c42023466242 (patch)
tree1121e8937c79d789766508770d17feb51fe6ccd0 /sphinx/themes/basic
parent482f9b6d663d083256e58ddd054a2081cf6a7338 (diff)
downloadsphinx-6bed0fa7aeb4d2b9bfe6a6596619c42023466242.tar.gz
#554: Add theme option ``sidebarwidth`` to the basic theme.
Diffstat (limited to 'sphinx/themes/basic')
-rw-r--r--sphinx/themes/basic/static/basic.css_t (renamed from sphinx/themes/basic/static/basic.css)2
-rw-r--r--sphinx/themes/basic/theme.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/themes/basic/static/basic.css b/sphinx/themes/basic/static/basic.css_t
index 6882a583..cd514962 100644
--- a/sphinx/themes/basic/static/basic.css
+++ b/sphinx/themes/basic/static/basic.css_t
@@ -49,7 +49,7 @@ div.sphinxsidebarwrapper {
div.sphinxsidebar {
float: left;
- width: 230px;
+ width: {{ theme_sidebarwidth|toint }}px;
margin-left: -100%;
font-size: 90%;
}
diff --git a/sphinx/themes/basic/theme.conf b/sphinx/themes/basic/theme.conf
index d1fe6d1f..f7283730 100644
--- a/sphinx/themes/basic/theme.conf
+++ b/sphinx/themes/basic/theme.conf
@@ -5,3 +5,4 @@ pygments_style = none
[options]
nosidebar = false
+sidebarwidth = 230 \ No newline at end of file