diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-10-13 05:54:10 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-10-14 08:26:33 +0300 |
commit | a950df190895d46bce42c47c53e6bb16640cd82d (patch) | |
tree | 6ff03fdba3e6e68e272d72ac777745b9ae6b5650 /sphinx/themes/agogo/static/agogo.css_t | |
parent | b060ec99e969057a78a00f38948e59fb9c864dd0 (diff) |
Close #6729: HTML theme: agogo theme now supports rightsidebar option
Diffstat (limited to 'sphinx/themes/agogo/static/agogo.css_t')
-rw-r--r-- | sphinx/themes/agogo/static/agogo.css_t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sphinx/themes/agogo/static/agogo.css_t b/sphinx/themes/agogo/static/agogo.css_t index f8951421e..f7b257719 100644 --- a/sphinx/themes/agogo/static/agogo.css_t +++ b/sphinx/themes/agogo/static/agogo.css_t @@ -175,7 +175,11 @@ div.document { } div.body { + {%- if theme_rightsidebar|tobool %} padding-right: 2em; + {%- else %} + padding-left: 2em; + {% endif %} text-align: {{ theme_textalign }}; } @@ -270,7 +274,11 @@ div.document ol { div.sidebar { width: {{ theme_sidebarwidth|todim }}; + {%- if theme_rightsidebar|tobool %} float: right; + {%- else %} + float: left; + {%- endif %} font-size: .9em; } |