Permalink
Browse files

bug fix - layout

  • Loading branch information...
1 parent d101d74 commit 94088b81a182b2f5e2ba0144856c26511f1bbb00 @jaquesgrobler jaquesgrobler committed Mar 21, 2012
Showing with 9 additions and 8 deletions.
  1. +6 −5 doc/themes/scikit-learn/static/nature.css_t
  2. +3 −3 doc/themes/scikit-learn/static/sidebar.js
@@ -27,9 +27,9 @@ div.header-wrapper {
min-height: 50px;
margin-left: auto;
margin-right: auto;
- border-radius: 0 0 15px 15px;
- -moz-border-radius: 0 15px 0 15px;
- margin-top: 0px;
+ border-radius: 15px;
+ -moz-border-radius: 15px 15px 15px 15px;
+ margin-top: 10px;
}
ul.horizontal, ul.horizontal li {
@@ -129,7 +129,7 @@ div.content-wrapper {
}
div.content {
- margin-left: 200px;
+ margin-left: 210px;
padding-bottom: 10px;
}
@@ -222,7 +222,7 @@ div.sphinxsidebar ul ul ul {
}
div.sphinxsidebar {
- width: 200px;
+ width: 210px;
float: left;
margin-left: 0;
margin-right: 0;
@@ -251,6 +251,7 @@ div.sphinxsidebar {
div.sphinxsidebarwrapper {
padding: 0 0 0 0;
+ width: 199px;
}
{% if theme_collapsiblesidebar|tobool %}
@@ -40,7 +40,7 @@ $(function() {
// margin-left of the bodywrapper and width of the sidebar
// with the sidebar collapsed
var bw_margin_collapsed = '-190px';
- var ssb_width_collapsed = '.8em';
+ var ssb_width_collapsed = '1.0em';
// colors used by the current theme
var dark_color = $('.related').css('background-color');
@@ -75,7 +75,7 @@ $(function() {
sidebar.css('width', ssb_width_expanded);
sidebarwrapper.show();
sidebarbutton.css({
- 'margin-left': ssb_width_expanded-12,
+ 'margin-left': ssb_width_expanded-13,
'height': bodywrapper.height()
});
sidebarbutton.find('span').text('«');
@@ -87,7 +87,7 @@ $(function() {
sidebarwrapper.css({
'float': 'left' ,
'margin-right': '0',
- 'width': ssb_width_expanded - 10
+ 'width': ssb_width_expanded - 13
});
// create the button
sidebar.append(

0 comments on commit 94088b8

Please sign in to comment.