Added a new theme inspired by the jinja / werkzeug theme.
@ -9,3 +9,5 @@ Sphinx.egg-info/
|
||||
doc/_build/
|
||||
TAGS
|
||||
\.ropeproject/
|
||||
^env/
|
||||
\.DS_Store$
|
||||
|
107
sphinx/themes/scrolls/artwork/logo.svg
Normal file
@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="200"
|
||||
height="80"
|
||||
id="svg2766"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
version="1.0"
|
||||
sodipodi:docname="logo.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs2768">
|
||||
<linearGradient
|
||||
id="linearGradient6558">
|
||||
<stop
|
||||
style="stop-color:#575757;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6560" />
|
||||
<stop
|
||||
style="stop-color:#2f2f2f;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6562" />
|
||||
</linearGradient>
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective2774" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient6558"
|
||||
id="radialGradient2797"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.7160081,0,0,0.6767021,-34.98413,-3.3035294e-2)"
|
||||
cx="61.297766"
|
||||
cy="60.910986"
|
||||
fx="61.297766"
|
||||
fy="60.910986"
|
||||
r="44.688254" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="6.1848684"
|
||||
inkscape:cx="95.923838"
|
||||
inkscape:cy="34.518668"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1440"
|
||||
inkscape:window-height="852"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0" />
|
||||
<metadata
|
||||
id="metadata2771">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="opacity:1;fill:url(#radialGradient2797);fill-opacity:1;fill-rule:evenodd;stroke:#323232;stroke-width:0.71600807000000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
|
||||
d="M 72.4375 8.6875 L 3.0625 18.71875 L 20.84375 29.0625 L 20.6875 44.09375 L 7.75 36.1875 L 8.40625 71.75 L 17.125 65.625 L 29.09375 67.5625 L 33.15625 39.90625 L 25.875 43.78125 L 26.1875 33.59375 L 46.875 31.34375 L 47.21875 42.96875 L 39.28125 40.5625 L 42.6875 67.71875 L 52.375 66.75 L 60.3125 71.75 L 62.90625 33.4375 L 53.03125 43.625 L 53.03125 28.25 L 72.4375 8.6875 z M 48.03125 22.125 L 47.0625 26.46875 L 28.46875 28.09375 L 28.46875 25.1875 L 48.03125 22.125 z M 58.375 45.0625 L 57.40625 62.875 L 51.40625 60.59375 L 45.90625 61.71875 L 43 46.21875 L 53.84375 49.9375 L 58.375 45.0625 z M 12.125 46.53125 L 22 49.75 L 26.53125 47.03125 L 25.21875 62.0625 L 16.96875 60.4375 L 12.125 63.65625 L 12.125 46.53125 z "
|
||||
id="path2783" />
|
||||
<path
|
||||
style="opacity:1;fill:#e7eef6;fill-opacity:1;fill-rule:nonzero;stroke:#e1e8f3;stroke-width:0.52748101999999997;stroke-linecap:butt;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
|
||||
d="M 75.632462,22.265877 L 64.489624,64.880679 L 92.7889,40.941187 L 91.373937,61.872575 L 128.87048,23.519253 L 116.84328,58.36312 L 144.25821,44.450641 L 145.49631,65.632704 L 169.02007,38.183758 L 170.78877,60.493861 L 193.07447,18.631085 L 176.09491,36.554369 L 176.44864,19.633786 L 152.0405,44.701316 L 156.81601,27.655396 L 128.87048,44.325304 L 137.00652,14.494942 L 99.863721,44.325304 L 100.74807,27.028707 L 76.163076,45.829355 L 75.632462,22.265877 z"
|
||||
id="path2804" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:12px;font-style:normal;font-weight:normal;opacity:1;fill:#1752b4;fill-opacity:1;fill-rule:nonzero;stroke:#28437f;stroke-width:0.71600807000000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Bitstream Vera Sans"
|
||||
x="68.40242"
|
||||
y="54.03759"
|
||||
id="text2800"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2802"
|
||||
x="68.40242"
|
||||
y="54.03759"
|
||||
style="font-size:36px;fill:#1752b4;fill-opacity:1;fill-rule:nonzero;stroke:#28437f;stroke-width:0.71600807000000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate">Project</tspan></text>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.6 KiB |
36
sphinx/themes/scrolls/genindex.html
Normal file
@ -0,0 +1,36 @@
|
||||
{% extends "layout.html" %}
|
||||
{% set title = 'Index' %}
|
||||
{% block body %}
|
||||
|
||||
<h1 id="index">Index</h1>
|
||||
|
||||
{% for key, dummy in genindexentries -%}
|
||||
<a href="#{{ key }}"><strong>{{ key }}</strong></a> {% if not loop.last %}| {% endif %}
|
||||
{%- endfor %}
|
||||
<hr>
|
||||
|
||||
{% for key, entries in genindexentries %}
|
||||
<h2 id="{{ key }}">{{ key }}</h2>
|
||||
<table class="indextable"><tr>
|
||||
{%- for column in entries|slice(2) if column %}
|
||||
<td><dl>
|
||||
{%- for entryname, (links, subitems) in column %}
|
||||
<dt>{% if links %}<a href="{{ links[0] }}">{{ entryname|e }}</a>
|
||||
{% for link in links[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor %}
|
||||
{%- else %}{{ entryname|e }}{% endif %}</dt>
|
||||
{%- if subitems %}
|
||||
<dd><dl>
|
||||
{%- for subentryname, subentrylinks in subitems %}
|
||||
<dt><a href="{{ subentrylinks[0] }}">{{ subentryname|e }}</a>
|
||||
{%- for link in subentrylinks[1:] %}, <a href="{{ link }}">[Link]</a>{% endfor -%}
|
||||
</dt>
|
||||
{%- endfor %}
|
||||
</dl></dd>
|
||||
{%- endif -%}
|
||||
{%- endfor %}
|
||||
</dl></td>
|
||||
{%- endfor %}
|
||||
</tr></table>
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
96
sphinx/themes/scrolls/layout.html
Normal file
@ -0,0 +1,96 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
{%- if not embedded %}
|
||||
{%- set titlesuffix = " — "|safe + docstitle|e %}
|
||||
{%- else %}
|
||||
{%- set titlesuffix = "" %}
|
||||
{%- endif %}
|
||||
<title>{{ title|striptags }}{{ titlesuffix }}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="{{ pathto('_static/style.css', 1) }}" type="text/css">
|
||||
<link rel="stylesheet" href="{{ pathto('_static/print.css', 1) }}" type="text/css" media="print">
|
||||
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css">
|
||||
{%- if builder != 'htmlhelp' %}
|
||||
<script type="text/javascript">
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
URL_ROOT: '{{ pathto("", 1) }}',
|
||||
VERSION: '{{ release|e }}',
|
||||
COLLAPSE_MODINDEX: false,
|
||||
FILE_SUFFIX: '{{ file_suffix }}',
|
||||
HAS_SOURCE: {{ has_source|lower }}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/jquery.js', 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/interface.js', 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/doctools.js', 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/theme_extras.js', 1) }}"></script>
|
||||
{%- endif %}
|
||||
{%- if use_opensearch and builder != 'htmlhelp' %}
|
||||
<link rel="search" type="application/opensearchdescription+xml"
|
||||
title="Search within {{ docstitle }}"
|
||||
href="{{ pathto('_static/opensearch.xml', 1) }}">
|
||||
{%- endif %}
|
||||
{%- if hasdoc('about') %}
|
||||
<link rel="author" title="About these documents" href="{{ pathto('about') }}">
|
||||
{%- endif %}
|
||||
<link rel="contents" title="Global table of contents" href="{{ pathto('contents') }}">
|
||||
<link rel="index" title="Global index" href="{{ pathto('genindex') }}">
|
||||
<link rel="search" title="Search" href="{{ pathto('search') }}">
|
||||
{%- if hasdoc('copyright') %}
|
||||
<link rel="copyright" title="Copyright" href="{{ pathto('copyright') }}">
|
||||
{%- endif %}
|
||||
<link rel="top" title="{{ docstitle }}" href="{{ pathto('index') }}">
|
||||
{%- if parents %}
|
||||
<link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}">
|
||||
{%- endif %}
|
||||
{%- if next %}
|
||||
<link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}">
|
||||
{%- endif %}
|
||||
{%- if prev %}
|
||||
<link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}">
|
||||
{%- endif %}
|
||||
{% block extrahead %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<div class="header">
|
||||
<h1 class="heading"><a href="{{ pathto('index') }}"
|
||||
title="back to the documentation overview"><span>{{ title|striptags }}</span></a></h1>
|
||||
</div>
|
||||
<div class="relnav">
|
||||
{%- if prev %}
|
||||
<a href="{{ prev.link|e }}">« {{ prev.title }}</a> |
|
||||
{%- endif %}
|
||||
<a href="{{ pathto(current_page_name) if current_page_name else '#' }}">{{ title }}</a>
|
||||
{%- if next %}
|
||||
| <a href="{{ next.link|e }}">{{ next.title }} »</a>
|
||||
{%- endif %}
|
||||
</div>
|
||||
<div id="contentwrapper">
|
||||
{%- if display_toc %}
|
||||
<div id="toc">
|
||||
<h3>Table Of Contents</h3>
|
||||
{{ toc }}
|
||||
</div>
|
||||
{%- endif %}
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
{%- if show_copyright %}
|
||||
{%- if hasdoc('copyright') %}
|
||||
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
|
||||
{%- else %}
|
||||
{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- if last_updated %}
|
||||
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
|
||||
{%- endif %}
|
||||
{%- if show_sphinx %}
|
||||
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
|
||||
{%- endif %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
43
sphinx/themes/scrolls/modindex.html
Normal file
@ -0,0 +1,43 @@
|
||||
{% extends "layout.html" %}
|
||||
{% set title = _('Global Module Index') %}
|
||||
{% block extrahead %}
|
||||
{{ super() }}
|
||||
{% if not embedded and collapse_modindex %}
|
||||
<script type="text/javascript">
|
||||
DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
|
||||
<h1 id="global-module-index">{{ _('Global Module Index') }}</h1>
|
||||
|
||||
<div class="modindex-jumpbox">
|
||||
{%- for letter in letters %}
|
||||
<a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a> {% if not loop.last %}| {% endif %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
||||
<table class="modindextable">
|
||||
{%- for modname, collapse, cgroup, indent, fname, synops, pform, dep, stripped in modindexentries %}
|
||||
{%- if not modname -%}
|
||||
<tr class="pcap"><td></td><td> </td><td></td></tr>
|
||||
<tr class="cap"><td></td><td><a name="cap-{{ fname }}"><strong>{{ fname }}</strong></a></td><td></td></tr>
|
||||
{%- else -%}
|
||||
<tr{% if indent %} class="cg-{{ cgroup }}"{% endif %}>
|
||||
<td>{% if collapse -%}
|
||||
<img src="{{ pathto('_static/minus.png', 1) }}" id="toggle-{{ cgroup }}"
|
||||
class="toggler" style="display: none" alt="-" />
|
||||
{%- endif %}</td>
|
||||
<td>{% if indent %} {% endif %}
|
||||
{% if fname %}<a href="{{ fname }}">{% endif -%}
|
||||
<tt class="xref">{{ stripped|e }}{{ modname|e }}</tt>
|
||||
{%- if fname %}</a>{% endif %}
|
||||
{%- if pform and pform[0] %} <em>({{ pform|join(', ') }})</em>{% endif -%}
|
||||
</td><td>{% if dep %}<strong>{{ _('Deprecated')}}:</strong>{% endif %}
|
||||
<em>{{ synops|e }}</em></td></tr>
|
||||
{%- endif -%}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
9
sphinx/themes/scrolls/opensearch.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>{{ project }}</ShortName>
|
||||
<Description>Search {{ docstitle }}</Description>
|
||||
<InputEncoding>utf-8</InputEncoding>
|
||||
<Url type="text/html" method="get"
|
||||
template="{{ use_opensearch }}/{{ pathto('search') }}?q={searchTerms}&check_keywords=yes&area=default"/>
|
||||
<LongName>{{ docstitle }}</LongName>
|
||||
</OpenSearchDescription>
|
4
sphinx/themes/scrolls/page.html
Normal file
@ -0,0 +1,4 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% block body %}
|
||||
{{ body }}
|
||||
{% endblock %}
|
35
sphinx/themes/scrolls/search.html
Normal file
@ -0,0 +1,35 @@
|
||||
{% extends "layout.html" %}
|
||||
{% set title = 'Search' %}
|
||||
{% block extrahead %}
|
||||
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
<h1 id="search-documentation">Search</h1>
|
||||
<p>
|
||||
From here you can search these documents. Enter your search
|
||||
words into the box below and click "search". Note that the search
|
||||
function will automatically search for all of the words. Pages
|
||||
containing less words won't appear in the result list.
|
||||
</p>
|
||||
<form action="" method="get"><p>
|
||||
<input type="text" name="q" value="">
|
||||
<input type="submit" value="search">
|
||||
</p></form>
|
||||
{% if search_performed %}
|
||||
<h2>Search Results</h2>
|
||||
{% if not search_results %}
|
||||
<p>Your search did not match any results.</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<div id="search-results">
|
||||
{% if search_results %}
|
||||
<ul>
|
||||
{% for href, caption, context in search_results %}
|
||||
<li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
|
||||
<div class="context">{{ context|e }}</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
BIN
sphinx/themes/scrolls/static/darkmetal.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
sphinx/themes/scrolls/static/headerbg.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
sphinx/themes/scrolls/static/logo.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
sphinx/themes/scrolls/static/metal.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
sphinx/themes/scrolls/static/navigation.png
Normal file
After Width: | Height: | Size: 217 B |
5
sphinx/themes/scrolls/static/print.css
Normal file
@ -0,0 +1,5 @@
|
||||
div.header, div.relnav, #toc { display: none; }
|
||||
#contentwrapper { padding: 0; margin: 0; border: none; }
|
||||
body { color: black; background-color: white; }
|
||||
div.footer { border-top: 1px solid #888; color: #888; margin-top: 1cm; }
|
||||
div.footer a { text-decoration: none; }
|
398
sphinx/themes/scrolls/static/style.css_t
Normal file
@ -0,0 +1,398 @@
|
||||
body {
|
||||
background-color: #222;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Georgia', serif;
|
||||
font-size: 15px;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
border-top: 1px solid #111;
|
||||
padding: 8px;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
div.footer a {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
div.header {
|
||||
margin: 0 -15px 0 -15px;
|
||||
background: url(headerbg.png) repeat-x;
|
||||
border-top: 6px solid {{ theme_headerbordercolor }};
|
||||
}
|
||||
|
||||
div.relnav {
|
||||
border-bottom: 1px solid #111;
|
||||
background: url(navigation.png);
|
||||
margin: 0 -15px 0 -15px;
|
||||
padding: 2px 20px 0 28px;
|
||||
line-height: 25px;
|
||||
color: #aaa;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.relnav a {
|
||||
color: #eee;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.relnav a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#content {
|
||||
background-color: white;
|
||||
color: #111;
|
||||
border-bottom: 1px solid black;
|
||||
background: url(watermark.png) center 0;
|
||||
padding: 0 15px 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
padding: 15px 0 0 0;
|
||||
}
|
||||
|
||||
h1.heading {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
h1.heading:hover {
|
||||
background: #222;
|
||||
}
|
||||
|
||||
h1.heading a {
|
||||
background: url({{ logo if logo else 'logo.png' }}) no-repeat center 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
h1.heading a:focus {
|
||||
-moz-outline: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
h1.heading span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#jinjalogo {
|
||||
background-image: url(jinjalogo.png);
|
||||
background-repeat: no-repeat;
|
||||
width: 400px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
#contentwrapper {
|
||||
max-width: 680px;
|
||||
padding: 0 18px 20px 18px;
|
||||
margin: 0 auto 0 auto;
|
||||
border-right: 1px solid #eee;
|
||||
border-left: 1px solid #eee;
|
||||
background: url(watermark_blur.png) center -114px;
|
||||
}
|
||||
|
||||
#contentwrapper h2,
|
||||
#contentwrapper h2 a {
|
||||
color: #222;
|
||||
font-size: 24px;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
#contentwrapper h3,
|
||||
#contentwrapper h3 a {
|
||||
color: {{ theme_subheadlinecolor }};
|
||||
font-size: 20px;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
table.docutils {
|
||||
border-collapse: collapse;
|
||||
border: 2px solid #aaa;
|
||||
margin: 0.5em 1.5em 0.5em 1.5em;
|
||||
}
|
||||
|
||||
table.docutils td {
|
||||
padding: 2px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
p, li, dd, dt, blockquote {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 10px 0 10px 20px;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 20px;
|
||||
margin-bottom: 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1px solid #ccc;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
border-left: 0;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
li, dt {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-top: 10px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 3px;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
a {
|
||||
color: {{ theme_linkcolor }};
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: {{ theme_visitedlinkcolor }};
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #ededed url(metal.png);
|
||||
border-top: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding: 5px;
|
||||
font-size: 13px;
|
||||
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;
|
||||
}
|
||||
|
||||
tt {
|
||||
font-size: 13px;
|
||||
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;
|
||||
color: black;
|
||||
padding: 1px 2px 1px 2px;
|
||||
background-color: #fafafa;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
a.reference:hover tt {
|
||||
border-bottom-color: #aaa;
|
||||
}
|
||||
|
||||
cite {
|
||||
/* abusing <cite>, it's generated by ReST for `x` */
|
||||
font-size: 13px;
|
||||
font-family: 'Bitstream Vera Sans Mono', 'Monaco', monospace;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
div.admonition {
|
||||
margin: 10px 0 10px 0;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
div.admonition p.admonition-title {
|
||||
background-color: {{ theme_admonitioncolor }};
|
||||
color: white;
|
||||
margin: -10px -10px 10px -10px;
|
||||
padding: 4px 10px 4px 10px;
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
div.admonition p.admonition-title a {
|
||||
color: white!important;
|
||||
}
|
||||
|
||||
a.headerlink {
|
||||
color: #B4B4B4!important;
|
||||
font-size: 0.8em;
|
||||
padding: 0 4px 0 4px;
|
||||
text-decoration: none!important;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
h1:hover > a.headerlink,
|
||||
h2:hover > a.headerlink,
|
||||
h3:hover > a.headerlink,
|
||||
h4:hover > a.headerlink,
|
||||
h5:hover > a.headerlink,
|
||||
h6:hover > a.headerlink,
|
||||
dt:hover > a.headerlink,
|
||||
dt:hover > a.headerlink {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
a.headerlink:hover {
|
||||
background-color: #B4B4B4;
|
||||
color: #F0F0F0!important;
|
||||
}
|
||||
|
||||
table.indextable {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.indextable td {
|
||||
vertical-align: top;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
table.indextable dl dd {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
table.indextable dl dd a {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
div.modindex-jumpbox {
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin: 1em 0 1em 0;
|
||||
padding: 0.4em;
|
||||
}
|
||||
|
||||
table.modindextable {
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
table.modindextable img.toggler {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
dl.function dt,
|
||||
dl.class dt,
|
||||
dl.exception dt,
|
||||
dl.method dt,
|
||||
dl.attribute dt {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
dt .descname {
|
||||
font-weight: bold;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
dt .descname, dt .descclassname {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border-bottom: 1px solid #111;
|
||||
}
|
||||
|
||||
dt .descclassname {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
dl dt big {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
ul.search {
|
||||
margin: 10px 0 0 30px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.search li {
|
||||
margin: 10px 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.search div.context {
|
||||
font-size: 12px;
|
||||
padding: 4px 0 0 20px;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
span.highlight {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#toc {
|
||||
margin: 0 -17px 0 -17px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#toc h3 {
|
||||
float: right;
|
||||
margin: 5px 5px 0 0;
|
||||
padding: 0;
|
||||
font-size: 12px;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
#toc h3:hover {
|
||||
color: #333;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.expandedtoc {
|
||||
background: #222 url(darkmetal.png);
|
||||
border-bottom: 1px solid #111;
|
||||
outline-bottom: 1px solid #000;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.expandedtoc h3 {
|
||||
color: #aaa;
|
||||
margin: 0!important;
|
||||
}
|
||||
|
||||
.expandedtoc h3:hover {
|
||||
color: white!important;
|
||||
}
|
||||
|
||||
#tod h3:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#toc a {
|
||||
color: #ddd;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#toc a:hover {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#toc ul {
|
||||
margin: 5px 0 12px 17px;
|
||||
padding: 0 7px 0 7px;
|
||||
}
|
||||
|
||||
#toc ul ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#toc ul li {
|
||||
margin: 2px 0 0 0;
|
||||
}
|
26
sphinx/themes/scrolls/static/theme_extras.js
Normal file
@ -0,0 +1,26 @@
|
||||
$(function() {
|
||||
|
||||
var
|
||||
toc = $('#toc').show(),
|
||||
items = $('#toc > ul').hide();
|
||||
|
||||
$('#toc h3')
|
||||
.click(function() {
|
||||
if (items.is(':visible')) {
|
||||
items.animate({
|
||||
height: 'hide',
|
||||
opacity: 'hide'
|
||||
}, 300, function() {
|
||||
toc.removeClass('expandedtoc');
|
||||
});
|
||||
}
|
||||
else {
|
||||
items.animate({
|
||||
height: 'show',
|
||||
opacity: 'show'
|
||||
}, 400);
|
||||
toc.addClass('expandedtoc');
|
||||
}
|
||||
});
|
||||
|
||||
});
|
BIN
sphinx/themes/scrolls/static/watermark.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
sphinx/themes/scrolls/static/watermark_blur.png
Normal file
After Width: | Height: | Size: 14 KiB |
11
sphinx/themes/scrolls/theme.conf
Normal file
@ -0,0 +1,11 @@
|
||||
[theme]
|
||||
inherit = default
|
||||
stylesheet = scrolls.css
|
||||
pygments_style = tango
|
||||
|
||||
[options]
|
||||
headerbordercolor = #1752b4
|
||||
subheadlinecolor = #0d306b
|
||||
linkcolor = #1752b4
|
||||
visitedlinkcolor = #444
|
||||
admonitioncolor = #28437f
|