-/* documentation section styles */
+body {
+ background-color: #FDFBFC;
+ margin:38px;
+ color:#333333;
+}
body, td {
- font-family: verdana, sans-serif;
- font-size:.9em;
+ font-family: verdana, sans-serif;
+ font-size:.9em;
}
-body {
- background-color: #FDFBFC;
- margin:38px;
- color:#333333;
+h1, h2, h3, h4, h5 {
+ font-family:Tahoma,Geneva,sans-serif;
+ font-weight:normal;
+ font-family:arial,Helvetica, sans-serif;
+ font-weight:bold;
}
+h1 {
+ font-size:20px;
+ line-height:22px;
+ color: #222222;
+ font-family:arial,Helvetica, sans-serif;
+ font-weight:normal;
+ margin: 0;
+ padding: 0;
+}
+h1, #topnav h2 {
+ font-family:Tahoma,Geneva,sans-serif;
+ font-weight:normal;
+}
form {
display:inline;
}
p {
- margin-top:10px;
- margin-bottom:10px;
+ margin-top:10px;
+ margin-bottom:10px;
}
-
a {
- font-weight:normal;
- text-decoration:none;
+ font-weight:normal;
+ text-decoration:none;
}
-a:link {color:#0000FF;}
-a:visited {color:#0000FF;}
-a:active {color:#0000FF;}
-a:hover {color:#700000;}
+a:link, a:visited, a:active {
+ color:#0000FF;
+}
+a:hover {
+ color:#700000;
+}
strong a {
font-weight: bold;
}
+.document {
+ border: solid 1px #ccc;
+}
+
+.document h1, .document h2, .document h3, .document h4, .document h5 {
+ font-size: 1.4em;
+}
+
+.document img {
+ display:block;
+ margin: 0 auto;
+}
+
+.document h1 {
+ display:none;
+}
+
+
+/* standard page elements */
#search {
float:right;
}
padding:20px;
}
-
#navbanner {
}
#pagecontrol li {
font-size:.9em;
list-style-type:none;
+ margin:0px;
+ padding:1px 8px;
}
-.topnav {
- background-color: #fbfbee;
- border: solid 1px #ccc;
- padding:10px;
- margin:10px 0px 10px 0px;
- display:block;
-}
-
-.document {
- border: solid 1px #ccc;
+#topnav {
+ background-color: #fbfbee;
+ border: solid 1px #ccc;
+ padding:10px;
+ margin:10px 0px 10px 0px;
+ display:block;
}
-.topnav .prevnext {
+#topnav .prevnext {
padding: 5px 0px 0px 0px;
/*font-size: 0.8em*/
}
-h1, h2, h3, h4, h5 {
- font-family:arial,helvetica,sans-serif;
- font-weight:bold;
-}
-
-.document h1, .document h2, .document h3, .document h4, .document h5 {
- font-size: 1.4em;
-}
-
-.document img {
- display:block;
- margin: 0 auto;
-}
-
-.document h1 {
- display:none;
-}
-
-h1 {
- font: normal 20px/22px arial,helvetica,sans-serif;
- color: #222;
- padding:0px;
- margin:0px;
-}
-
-.topnav h2 {
+#topnav h2 {
margin:8px 4px 0px 5px;
- font-family:arial,helvetica,sans-serif;
font-size:1.6em;
font-weight:normal;
line-height:1.6em;
}
-.topnav h3 {
+#topnav h3 {
font-weight: bold;
font-size: 1.4em;
margin:0px;
display:inline;
- font-family:verdana,sans-serif;
}
-.topnav li,
+#navbanner li,
li.toctree-l1,
li.toctree-l1 li
{
}
-.topnav li ul,
+#topnav li ul,
li.toctree-l1 ul
{
padding:0px 0px 0px 20px;
}
-.topnav li ul li li,
-li.toctree-l1 ul li li
-{
- /*font-size:.90em;*/
+#topnav li ul li li,
+li.toctree-l1 ul li li {
}
-.sourcelink {
- font-size:.8em;
- text-align:right;
- padding-top:10px;
+.versionheader {
+ margin-top: 0.5em;
+}
+.versionnum {
+ font-weight: bold;
+}
+.prerelease {
+ border: solid #c25757 2px;
+ border-radius: 4px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ background-color: #c21a1a;
+ color: white;
+ padding: 0.05em 0.2em;
}
+.bottomnav {
+ background-color:#FBFBEE;
+ border:1px solid #CCCCCC;
+ float:right;
+ margin: 1em 0 1em 5px;
+ padding:10px;
+}
+
+.totoc {
+
+}
+
+.doc_copyright {
+ font-size:.85em;
+ padding:10px 0px 10px 0px;
+}
+
+/* ReST specific section padding */
+
.section ul {
padding: 0 0 0 25px;
}
margin:0px 0px 0px 20px;
}
+/* special index sections */
+
div#sqlalchemy-documentation {
font-size:.95em;
}
clear:left;
}
-
-th.field-name {
- text-align:right;
-}
-
-
-div.note, div.warning, p.deprecated {
- background-color:#EEFFEF;
-}
-
-
-div.admonition, div.topic, p.deprecated {
- border:1px solid #CCCCCC;
- margin:5px 5px 5px 5px;
- padding:5px 5px 5px 35px;
- font-size:.9em;
-}
-
-div.warning .admonition-title {
- color:#FF0000;
-}
-
-div.admonition .admonition-title {
- font-weight:bold;
-}
-
-.bottomnav {
- background-color:#FBFBEE;
- border:1px solid #CCCCCC;
- float:right;
- margin: 1em 0 1em 5px;
- padding:10px;
-}
-
-.totoc {
-
-}
-
-.doc_copyright {
- font-size:.85em;
- padding:10px 0px 10px 0px;
-}
+/* SQL popup, code styles */
pre {
- background-color: #f0f0f0;
- border: solid 1px #ccc;
- padding:10px;
- margin: 5px 5px 5px 5px;
- overflow:auto;
- line-height:1.3em;
+ background-color: #f0f0f0;
+ border: solid 1px #ccc;
+ padding:10px;
+ margin: 5px 5px 5px 5px;
+ overflow:auto;
+ line-height:1.3em;
}
.popup_sql, .show_sql
.sql_link
{
- font-weight:normal;
- font-family: arial, sans-serif;
+ font-weight:normal;
+ font-family: arial, sans-serif;
text-transform: uppercase;
- font-size: 0.9em;
- color:#666;
- border:1px solid;
- padding:1px 2px 1px 2px;
- margin:0px 10px 0px 15px;
- float:right;
- line-height:1.2em;
+ font-size: 0.9em;
+ color:#666;
+ border:1px solid;
+ padding:1px 2px 1px 2px;
+ margin:0px 10px 0px 15px;
+ float:right;
+ line-height:1.2em;
}
#docs a.sql_link, .sql_link
background-color: #900;
}
-.versionheader {
- margin-top: 0.5em;
+/* other assorted ReST styles */
+
+th.field-name {
+ text-align:right;
}
-.versionnum {
- font-weight: bold;
+
+div.note, div.warning, p.deprecated {
+ background-color:#EEFFEF;
+}
+
+div.admonition, div.topic, p.deprecated {
+ border:1px solid #CCCCCC;
+ margin:5px 5px 5px 5px;
+ padding:5px 5px 5px 35px;
+ font-size:.9em;
+}
+
+div.warning .admonition-title {
+ color:#FF0000;
+}
+
+div.admonition .admonition-title {
+ font-weight:bold;
}
.viewcode-back, .viewcode-link {
float:right;
}
-.prerelease {
- border: solid #c25757 2px;
- border-radius: 4px;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- background-color: #c21a1a;
- color: white;
- padding: 0.05em 0.2em;
-}
dl.function > dt,
dl.attribute > dt,
@media print {
#nav { display: none; }
#pagecontrol { display: none; }
- .topnav .prevnext { display: none; }
+ #topnav .prevnext { display: none; }
.bottomnav { display: none; }
.totoc { display: none; }
- .topnav ul li a { text-decoration: none; color: #000; }
+ #topnav ul li a { text-decoration: none; color: #000; }
}
/* syntax highlighting overrides */
## coding: utf-8
<%inherit file="${context['mako_layout']}"/>
-<%def name="headers()">
+<%block name="headers">
<link rel="stylesheet" href="${pathto('_static/pygments.css', 1)}" type="text/css" />
<link rel="stylesheet" href="${pathto('_static/docs.css', 1)}" type="text/css" />
% if prevtopic:
<link rel="prev" title="${prevtopic['title']|util.striptags}" href="${prevtopic['link']|h}" />
% endif
- ${self.extrahead()}
-</%def>
-<%def name="extrahead()"></%def>
+</%block>
- <h1>${docstitle|h}</h1>
+<h1>${docstitle|h}</h1>
- <div id="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="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 class="versionheader">
- Version: <span class="versionnum">${release}</span> Last Updated: ${last_updated}
- </div>
- <div class="clearboth"></div>
+<div class="versionheader">
+ Version: <span class="versionnum">${release}</span> Last Updated: ${last_updated}
+</div>
+<div class="clearboth"></div>
- <div class="topnav">
- <div id="pagecontrol">
- <ul>
- % if prevtopic:
- <li>Prev:
- <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
- </li>
- % endif
- % if nexttopic:
- <li>Next:
- <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
- </li>
- % endif
+<div id="topnav">
+ <div id="pagecontrol">
+ <ul>
+ % if prevtopic:
+ <li>Prev:
+ <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
+ </li>
+ % endif
+ % if nexttopic:
+ <li>Next:
+ <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
+ </li>
+ % 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>
- </div>
- <div id="navbanner">
- <a class="totoc" href="${pathto('index')}">${docstitle|h}</a>
- % if parents:
- % for parent in parents:
- » <a href="${parent['link']|h}" title="${parent['title']}">${parent['title']}</a>
- % endfor
- % endif
- % if current_page_name != 'index':
- » ${self.show_title()}
- % 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>
+ </div>
+ <div id="navbanner">
+ <a class="totoc" href="${pathto('index')}">${docstitle|h}</a>
+ % if parents:
+ % for parent in parents:
+ » <a href="${parent['link']|h}" title="${parent['title']}">${parent['title']}</a>
+ % endfor
+ % endif
+ % if current_page_name != 'index':
+ » ${self.show_title()}
+ % endif
- <h2>
- ${self.show_title()}
- </h2>
- % if display_toc and \
- not current_page_name.startswith('index') and \
- not current_page_name.startswith('contents'):
- ${toc}
+ <h2>
+ <%block name="show_title">
+ % if title:
+ ${title}
% endif
- </div>
- <div class="clearboth"></div>
- </div>
+ </%block>
+ </h2>
+ % if display_toc and \
+ not current_page_name.startswith('index') and \
+ not current_page_name.startswith('contents'):
+ ${toc}
+ % endif
+ </div>
+ <div class="clearboth"></div>
+</div>
- <div class="document">
- <div class="body">
- ${next.body()}
- </div>
- </div>
+<div class="document">
+ <div class="body">
+ ${next.body()}
+ </div>
+</div>
- <%def name="footer()">
- <div class="bottomnav">
- % if prevtopic:
- Previous:
- <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
- % endif
- % if nexttopic:
- Next:
- <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
- % endif
- <div class="doc_copyright">
- % if hasdoc('copyright'):
- © <a href="${pathto('copyright')}">Copyright</a> ${copyright|h}.
- % else:
- © Copyright ${copyright|h}.
- % endif
- % if show_sphinx:
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> ${sphinx_version|h}.
- % endif
- </div>
- </div>
- </%def>
- ${self.footer()}
+<%block name="footer">
+ <div class="bottomnav">
+ % if prevtopic:
+ Previous:
+ <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
+ % endif
+ % if nexttopic:
+ Next:
+ <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
+ % endif
+ <div class="doc_copyright">
+ % if hasdoc('copyright'):
+ © <a href="${pathto('copyright')}">Copyright</a> ${copyright|h}.
+ % else:
+ © Copyright ${copyright|h}.
+ % endif
+ % if show_sphinx:
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> ${sphinx_version|h}.
+ % endif
+ </div>
+ </div>
+</%block>
-<%def name="show_title()">
-% if title:
- ${title}
-% endif
-</%def>