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/basic | |
| parent | 482f9b6d663d083256e58ddd054a2081cf6a7338 (diff) | |
| download | sphinx-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.conf | 1 |
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 |
