From: Mike Bayer Date: Thu, 29 May 2014 20:42:11 +0000 (-0400) Subject: - correct the size on side elements X-Git-Tag: rel_1_0_0b1~414^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6adaa66fbe3e8749446023bf7a0c426c54b749a9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - correct the size on side elements --- diff --git a/doc/build/static/docs.css b/doc/build/static/docs.css index 14aa86bab3..b0a9f42128 100644 --- a/doc/build/static/docs.css +++ b/doc/build/static/docs.css @@ -92,10 +92,14 @@ a.headerlink:hover { font-family: Verdana, sans-serif; background-color: #FBFBEE; border: solid 1px #CCC; - padding:10px; font-size:.8em; } +#docs-bottom-navigation, +#index-nav { + padding:10px; +} + #docs-sidebar-popout { font-size:.75em; } @@ -225,28 +229,50 @@ a.headerlink:hover { } #index-nav { + position: relative; margin-top:10px; padding:0 10px; } #index-nav form { - float:right; padding-top:10px; + float:right; } -#docs-sidebar { - padding: 0px 0 0 15px; +#sidebar-paginate { + position: absolute; + bottom: 4.5em; + left: 10px; +} - top: 140px; +#sidebar-topnav { + position: absolute; + bottom: 3em; + left: 10px; +} + +#sidebar-search { + position: absolute; + bottom: 1em; + left: 10px; +} + +#docs-sidebar { + top: 132px; bottom: 0; min-height: 0; overflow-y: auto; - margin-top:10px; + margin-top:5px; + width:212px; + padding-left:10px; } #docs-sidebar-popout { height:120px; max-height: 120px; + width:212px; + padding-left:10px; + padding-top:10px; } @@ -281,7 +307,7 @@ a.headerlink:hover { font-size: 1.1em; font-weight: normal; margin: 10px 0 0 -15px; - padding: 5px 10px 5px 10px; + padding: 5px 10px 5px 15px; text-shadow: 1px 1px 0 white; /*width:210px;*/ } diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index d86ecf0749..db4da83992 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -130,28 +130,37 @@ withsidebar = bool(toc) and current_page_name != 'index'

${docstitle|h}

-

- % if prevtopic: - Prev | - % endif - % if nexttopic: - Next - % endif +

-

- Contents | - Index - % if pdf_url: - | PDF - % endif +

- + +