Attachment 'moin.patch'
Download 1 diff -r be2c6c835b74 sphinx/themes/moin/layout.html
2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3 +++ b/sphinx/themes/moin/layout.html Sat Oct 01 21:43:32 2011 +0200
4 @@ -0,0 +1,76 @@
5 +{#
6 + moin/layout.html
7 + ~~~~~~~~~~~~~~~~~
8 +
9 + Sphinx layout template for the moin theme.
10 + This template is based in many details on the haiku theme.
11 +
12 + :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
13 + :license: BSD, see LICENSE for details.
14 +#}
15 +{% extends "basic/layout.html" %}
16 +{% set script_files = script_files + ['_static/theme_extras.js'] %}
17 +{% set css_files = css_files + ['_static/print.css'] %}
18 +
19 +{# do not display relbars #}
20 +{% block relbar1 %}{% endblock %}
21 +{% block relbar2 %}{% endblock %}
22 +
23 +{% macro nav() %}
24 + <p>
25 + {%- block moinrel1 %}
26 + {%- endblock %}
27 + {%- if prev %}
28 + «  <a href="{{ prev.link|e }}">{{ prev.title }}</a>
29 +   ::  
30 + {%- endif %}
31 + <a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a>
32 + {%- if next %}
33 +   ::  
34 + <a href="{{ next.link|e }}">{{ next.title }}</a>  »
35 + {%- endif %}
36 + {%- block moinrel2 %}
37 + {%- endblock %}
38 + </p>
39 +{% endmacro %}
40 +
41 +{% block content %}
42 + <div class="header">
43 + {%- block sidebarsearch %}
44 + {%- include "searchbox.html" %}
45 + {%- endblock %}
46 + {%- block moinheader %}
47 + {%- if theme_full_logo != "false" %}
48 + <a href="{{ pathto('index') }}">
49 + <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
50 + </a>
51 + <h1 class="heading">{{ title }}
52 +
53 + {%- else %}
54 + {%- if logo -%}
55 + <img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
56 + <h1 class="heading">{{ title }}
57 + {%- endif -%}
58 + <h1 class="heading"><a href="{{ pathto('index') }}">
59 + <span>{{ shorttitle|e }}</span></a></h1>
60 + <h2 class="heading"><span>{{ title|striptags|e }}</span></h2>
61 + {%- endif %}
62 + {%- endblock %}
63 +
64 + </div>
65 + <div class="topnav">
66 + {{ nav() }}
67 + </div>
68 + <div class="content">
69 + {#{%- if display_toc %}
70 + <div id="toc">
71 + <h3>Table Of Contents</h3>
72 + {{ toc }}
73 + </div>
74 + {%- endif %}#}
75 + {% block body %}{% endblock %}
76 + </div>
77 + <div class="bottomnav">
78 + {{ nav() }}
79 + </div>
80 +{% endblock %}
81 diff -r be2c6c835b74 sphinx/themes/moin/searchbox.html
82 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
83 +++ b/sphinx/themes/moin/searchbox.html Sat Oct 01 21:43:32 2011 +0200
84 @@ -0,0 +1,20 @@
85 +{#
86 + basic/searchbox.html
87 + ~~~~~~~~~~~~~~~~~~~~
88 +
89 + Sphinx sidebar template: quick search box.
90 +
91 + :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
92 + :license: BSD, see LICENSE for details.
93 +#}
94 +{%- if pagename != "search" %}
95 +<div id="searchbox" style="display: none">
96 + <form class="search" action="{{ pathto('search') }}" method="get">
97 + <input type="text" name="q" />
98 + <input type="submit" value="{{ _('Go') }}" />
99 + <input type="hidden" name="check_keywords" value="yes" />
100 + <input type="hidden" name="area" value="default" />
101 + </form>
102 +</div>
103 +<script type="text/javascript">$('#searchbox').show(0);</script>
104 +{%- endif %}
105 diff -r be2c6c835b74 sphinx/themes/moin/static/Logo_MoinMoin.png
106 Binary file sphinx/themes/moin/static/Logo_MoinMoin.png has changed
107 diff -r be2c6c835b74 sphinx/themes/moin/static/moin.css
108 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
109 +++ b/sphinx/themes/moin/static/moin.css Sat Oct 01 21:43:32 2011 +0200
110 @@ -0,0 +1,182 @@
111 +/*
112 + * moin.css
113 + * ~~~~~~~~
114 + *
115 + * Sphinx stylesheet -- moin theme.
116 + * based on
117 + * common.css - MoinMoin Default Styles
118 + *
119 + * Copyright: 2001, 2002, 2003 MoinMoin:JuergenHermann
120 + * Copyright: 2010 MoinMoin:DiogenesAugusto
121 + * Copyright: 2010 MoinMoin:RogerHaase
122 + * License: GNU GPL v2 or later, see COPYING for details.
123 + *
124 + * parts from
125 + * Adapted from http://haiku-os.org/docs/Haiku-doc.css.
126 + * Original copyright message:
127 + *
128 + * Copyright 2008-2009, Haiku. All rights reserved.
129 + * Distributed under the terms of the MIT License.
130 + *
131 + * Authors:
132 + * Francois Revol <revol@free.fr>
133 + * Stephan Assmus <superstippi@gmx.de>
134 + * Braden Ewing <brewin@gmail.com>
135 + * Humdinger <humdingerb@gmail.com>
136 + *
137 + * Copyright: 2011 MoinMoin:ReimarBauer
138 + * License: GNU GPL v2 or later, see COPYING for details.
139 + */
140 +
141 +@import url("basic.css");
142 +
143 +html { color: black;
144 + font-family: sans-serif;
145 + margin: 0px;
146 + padding: 0px;
147 + line-height: 1.12em;
148 + }
149 +
150 +body {
151 + line-height: 1.5;
152 + margin: auto;
153 + padding: 0px;
154 + font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
155 + background-color: #F3F7FD;
156 + color: {{ theme_textcolor }};
157 + }
158 +
159 +/* links */
160 +a:link { color: #47F; text-decoration: none; }
161 +a:visited { text-decoration: none; color: #04A; }
162 +a:visited:hover { text-decoration: none; color: red; }
163 +a:hover,
164 +a:active { text-decoration: underline; color: green; }
165 +a.moin-nonexistent:link { color: #666; }
166 +a.moin-nonexistent:hover { color: black; text-decoration: underline; }
167 +/* placeholder - not used yet
168 +a.download { font-size: 120%; letter-spacing: 0.05em; font-weight: bold; background: #E7E7E7;
169 + border: 1px solid #9C9C9C; padding: 0.5em; text-align: center; }
170 +*/
171 +
172 +
173 +div.footer {
174 + padding: 8px;
175 + font-size: 11px;
176 + text-align: center;
177 + letter-spacing: 0.5px;
178 +}
179 +
180 +/* basic text elements */
181 +
182 +div.content {
183 + margin-top: 20px;
184 + margin-left: 40px;
185 + margin-right: 40px;
186 + margin-bottom: 50px;
187 + font-size: 0.9em;
188 +}
189 +
190 +/* heading and navigation */
191 +
192 +div.header {
193 + position: relative;
194 + left: 0px;
195 + top: 0px;
196 + height: 85px;
197 + /* background: #eeeeee; */
198 + padding: 0 40px;
199 + background: url(white-clouds.jpg);
200 +}
201 +
202 +
203 +div.header form.search {
204 + margin: 5px 10px;
205 + float: right;
206 + height: auto; width: 200px;
207 +
208 +}
209 +
210 +div.header img.rightlogo {
211 + float: right;
212 +}
213 +
214 +div.header img.logo {
215 + float: left;
216 + margin: 5px 10px;
217 + padding: 0;
218 + font-size: 1.4em;
219 + line-height: 1em;
220 + font-weight: bold;
221 + vertical-align: middle;
222 +}
223 +
224 +div.title {
225 + font-size: 1.3em;
226 + font-weight: bold;
227 + color: {{ theme_headingcolor }};
228 + border-bottom: dotted thin #e0e0e0;
229 + margin-bottom: 25px;
230 +}
231 +div.topnav {
232 + background: #C4D9FF;
233 +}
234 +div.topnav p {
235 + margin-top: 0px;
236 + margin-left: 40px;
237 + margin-right: 40px;
238 + margin-bottom: 0px;
239 + text-align: right;
240 + font-size: 0.8em;
241 +}
242 +div.bottomnav {
243 + background: #C4D9FF;
244 +}
245 +div.bottomnav p {
246 + margin-right: 40px;
247 + text-align: right;
248 + font-size: 0.8em;
249 +
250 +}
251 +
252 +/* More layout and styles */
253 +
254 +/* headings - from: http: //www.w3.org/TR/CSS2/sample.html */
255 +
256 +/* the slides have title h1 right of logo given from layout.html */
257 +h1 { font-size: 2em; margin: .67em 0; color: #47F; display: none; }
258 +h1.heading { font-size: 2em;
259 + margin: .67em 0;
260 + color: #47F;
261 + display: inline;
262 + float: left;
263 + margin: 5px 10px;
264 + padding: 0;
265 + font-weight: bold;
266 + vertical-align: middle; }
267 +
268 +div#ausblick-auf-moinmoin-2-0.section.h1 { display: inline;}
269 +
270 +h2 { font-size: 1.5em; margin: .75em 0; color: #47F;}
271 +h3 { font-size: 1.17em; margin: .83em 0; color: #47F;}
272 +h4 { margin: 1.12em 0; color: #47F;}
273 +h5 { font-size: .83em; margin: 1.5em 0; color: #47F;}
274 +h6 { font-size: .75em; margin: 1.67em 0; color: #47F;}
275 +
276 +.section.h1 {display: none; }
277 +
278 +div.viewcode-block:target {
279 + background-color: #f4debf;
280 + border-top: 1px solid #ac9;
281 + border-bottom: 1px solid #ac9;
282 + margin: -1px -12px;
283 + padding: 0 12px;
284 +}
285 +
286 +pre { border: 1px solid #AEBDCC; background-color: #F3F5F7; padding: 5px; clear: both;
287 + font-family: courier, monospace; margin: .33em 0; white-space: pre; }
288 +
289 +/* no l1 on index page */
290 +li.toctree-l1 {display: none;}
291 +/* enable h1 on div content */
292 +div.content.h1 {display: inline;}
293 diff -r be2c6c835b74 sphinx/themes/moin/static/white-clouds.jpg
294 Binary file sphinx/themes/moin/static/white-clouds.jpg has changed
295 diff -r be2c6c835b74 sphinx/themes/moin/theme.conf
296 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
297 +++ b/sphinx/themes/moin/theme.conf Sat Oct 01 21:43:32 2011 +0200
298 @@ -0,0 +1,12 @@
299 +[theme]
300 +inherit = basic
301 +stylesheet = moin.css
302 +pygments_style = autumn
303 +
304 +[options]
305 +full_logo = true
306 +textcolor = #333333
307 +headingcolor = #0c3762
308 +linkcolor = #dc3c01
309 +visitedlinkcolor = #892601
310 +hoverlinkcolor = #ff4500
311
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.