diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-09-25 21:00:11 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-09-25 21:00:11 +0000 |
commit | b0f3ed9cca78e9239ffd779906ffbae89c3dab6a (patch) | |
tree | 4eb8dd50354944ad7a09d6839e546cf0bf802150 | |
parent | 36dd92b1e1e6dcb705ca71cb5ae5fb517c259e4d (diff) | |
parent | ff59f302c48dea4723381fa036ad7bf5e13c128e (diff) | |
download | oslosphinx-b0f3ed9cca78e9239ffd779906ffbae89c3dab6a.tar.gz |
Merge "Titles in table of contents continue into the page"
-rw-r--r-- | oslosphinx/theme/openstack/static/basic.css | 2 | ||||
-rw-r--r-- | oslosphinx/theme/openstack/static/tweaks.css | 15 |
2 files changed, 15 insertions, 2 deletions
diff --git a/oslosphinx/theme/openstack/static/basic.css b/oslosphinx/theme/openstack/static/basic.css index f64795d..5542eea 100644 --- a/oslosphinx/theme/openstack/static/basic.css +++ b/oslosphinx/theme/openstack/static/basic.css @@ -42,7 +42,7 @@ div.sphinxsidebarwrapper { div.sphinxsidebar { float: left; - width: 230px; + width: 260px; margin-left: -100%; font-size: 90%; } diff --git a/oslosphinx/theme/openstack/static/tweaks.css b/oslosphinx/theme/openstack/static/tweaks.css index 9b3a6ce..5bd5ff2 100644 --- a/oslosphinx/theme/openstack/static/tweaks.css +++ b/oslosphinx/theme/openstack/static/tweaks.css @@ -85,7 +85,7 @@ a.headerlink { div.body { margin-top: -25px; - margin-left: 230px; + margin-left: 260px; } div.document { @@ -113,3 +113,16 @@ div.sphinxsidebar ul li ul li { margin-top: 0; font-weight: normal; } + +/** Provide the sidebar to allow long words to go to the next line + making them easier to read.*/ +div.sphinxsidebar a { + display: block; + text-indent: -1em; + margin-left: 1em; + word-wrap: break-word; +} + +div.sphinxsidebar ul { + margin: 10px 10px; +}
\ No newline at end of file |