# If true, the reST sources are included in the HTML build as _sources/<name>.
#html_copy_source = True
+html_copy_source = False
# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True
+html_show_sourcelink = False
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
body {
background-color: #FDFBFC;
- margin:38px;
+ margin:0 38px;
color:#333333;
}
#docs-container {
max-width:1000px;
+ margin: 0 auto;
}
font-family:Verdana,sans-serif;
font-size:.9em;
-
+ position: relative;
}
#docs-top-navigation,
#docs-top-navigation {
margin:10px 0px;
line-height:1.2em;
+ position: relative;
}
+#docs-version-header {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+}
.docs-navigation-links {
font-family:Verdana,sans-serif;
font-size:1.6em;
}
-#docs-search {
- float:right;
-}
-
#docs-top-page-control {
- float:right;
- width:350px;
+ position: absolute;
+ right: 20px;
+ bottom: 14px;
}
#docs-top-page-control ul {
$("#docs-top-navigation-container").css("width", $("#docs-container").width());
}
- $(window).scroll(function() {
+ function setScroll() {
var scrolltop = $(window).scrollTop();
if (scrolltop >= automatedBreakpoint - 10) {
setNavSize();
$("#docs-top-navigation-container").addClass("automated");
$("#docs-sidebar").addClass("automated");
$("#docs-sidebar").css("top", $("#docs-top-navigation-container").height());
- $("#docs-top-navigation").addClass("automated");
- $("#docs-body").css("padding-top", "100px");
+ $("#docs-body").css("margin-top", $("#docs-top-navigation-container").height());
}
else {
$("#docs-top-navigation-container.automated").css("width", "");
$("#docs-sidebar.automated").scrollTop(0);
$("#docs-top-navigation-container").removeClass("automated");
$("#docs-sidebar").removeClass("automated");
- $("#docs-top-navigation").removeClass("automated");
- $("#docs-body").css("padding-top", "");
+ $("#docs-body").css("margin-top", "");
}
-
- })
+ }
+ $(window).scroll(setScroll)
$(window).resize(setNavSize());
+ setScroll();
}
</%block>
-<div id="docs-header">
- <h1>${docstitle|h}</h1>
-
- <div id="docs-search">
- Search:
- <form class="search" action="${pathto('search')}" method="get">
- <input type="text" name="q" size="18" /> <input type="submit" value="${_('Search')}" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
+<div id="docs-top-navigation-container">
+<div id="docs-header">
<div id="docs-version-header">
Release: <span class="version-num">${release}</span> | Release Date: ${release_date}
- % if pdf_url:
- | <a href="${pdf_url}">Download PDF</a>
- % endif
</div>
-</div>
+ <h1>${docstitle|h}</h1>
-<div id="docs-top-navigation-container">
+
+
+</div>
<div id="docs-top-navigation">
<div id="docs-top-page-control" class="docs-navigation-links">
- <ul>
% if prevtopic:
- <li>Prev:
- <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
- </li>
+ <a href="${prevtopic['link']|h}" title="${prevtopic['title']}">Prev</a> |
% endif
% if nexttopic:
- <li>Next:
- <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
- </li>
+ <a href="${nexttopic['link']|h}" title="${nexttopic['title']}">Next</a> |
+ % endif
+
+ <a href="${pathto('index')}">Contents</a> |
+ <a href="${pathto('genindex')}">Index</a>
+ % if pdf_url:
+ | <a href="${pdf_url}">PDF</a>
% endif
- <li>
- <a href="${pathto('contents')}">Table of Contents</a> |
- <a href="${pathto('genindex')}">Index</a>
- % if sourcename:
- | <a href="${pathto('_sources/' + sourcename, True)|h}">${_('view source')}
- % endif
- </li>
- </ul>
+ | <form class="search" action="${pathto('search')}" method="get">
+ <input type="text" name="q" size="12" /> <input type="submit" value="${_('Search')}" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+
</div>
<div id="docs-navigation-banner">
% if withsidebar:
<div id="docs-sidebar">
- <h4>Quick Search</h4>
- <p>
- <form class="search" action="${pathto('search')}" method="get">
- <input type="text" name="q" size="18" /> <input type="submit" value="${_('Search')}" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </p>
-
<h3><a href="${pathto('index')}">Table of Contents</a></h3>
${toc}
</script>
</%block>
-<div id="searchform">
-<h3>Enter Search Terms:</h3>
-<form class="search" action="${pathto('search')}" method="get">
- <input type="text" name="q" size="18" /> <input type="submit" value="${_('Search')}" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
-</form>
-</div>
-
<div id="search-results"></div>
<%block name="footer">