mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #7297: html theme: `bizstyle
does not support
sidebarwidth
`
This commit is contained in:
parent
8f45bee2a1
commit
6919c06898
1
CHANGES
1
CHANGES
@ -102,6 +102,7 @@ Bugs fixed
|
|||||||
* #7139: ``code-block:: guess`` does not work
|
* #7139: ``code-block:: guess`` does not work
|
||||||
* #7278: html search: Fix use of ``html_file_suffix`` instead of
|
* #7278: html search: Fix use of ``html_file_suffix`` instead of
|
||||||
``html_link_suffix`` in search results
|
``html_link_suffix`` in search results
|
||||||
|
* #7297: html theme: ``bizstyle`` does not support ``sidebarwidth``
|
||||||
* #7179: std domain: Fix whitespaces are suppressed on referring GenericObject
|
* #7179: std domain: Fix whitespaces are suppressed on referring GenericObject
|
||||||
* #7289: console: use bright colors instead of bold
|
* #7289: console: use bright colors instead of bold
|
||||||
|
|
||||||
|
@ -51,9 +51,13 @@ div.body {
|
|||||||
|
|
||||||
{%- if theme_rightsidebar|tobool %}
|
{%- if theme_rightsidebar|tobool %}
|
||||||
div.bodywrapper {
|
div.bodywrapper {
|
||||||
margin: 0 240px 0 0;
|
margin: 0 calc({{ theme_sidebarwidth|todim }} + 30px) 0 0;
|
||||||
border-right: 1px solid #ccc;
|
border-right: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
{%- else %}
|
||||||
|
div.bodywrapper {
|
||||||
|
margin: 0 0 0 calc({{ theme_sidebarwidth|todim }} + 30px);
|
||||||
|
}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
div.related {
|
div.related {
|
||||||
@ -103,7 +107,7 @@ div.sphinxsidebarwrapper {
|
|||||||
div.sphinxsidebar {
|
div.sphinxsidebar {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.5em 12px 12px 12px;
|
padding: 0.5em 12px 12px 12px;
|
||||||
width: 210px;
|
width: {{ theme_sidebarwidth|todim }};
|
||||||
{%- if theme_rightsidebar|tobool %}
|
{%- if theme_rightsidebar|tobool %}
|
||||||
float: right;
|
float: right;
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -5,5 +5,6 @@ pygments_style = friendly
|
|||||||
|
|
||||||
[options]
|
[options]
|
||||||
rightsidebar = false
|
rightsidebar = false
|
||||||
|
sidebarwidth = 210
|
||||||
|
|
||||||
maincolor = #336699
|
maincolor = #336699
|
||||||
|
Loading…
Reference in New Issue
Block a user