Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e143f68

Browse files
committed
DOC: layout tweaks
1 parent 222fee3 commit e143f68

File tree

4 files changed

+56
-47
lines changed

4 files changed

+56
-47
lines changed

doc/index.rst

Lines changed: 27 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -252,20 +252,9 @@
252252
<li><em>On-going development:</em>
253253
<a href="whats_new.html"><em>What's new</em> (changelog)</a>
254254
</li>
255-
<li><em>July 22th - 28th, 2013: international sprint.</em>
255+
<li><em>July 22-28th, 2013: international sprint.</em>
256256
During this week-long sprint, we gathered most of the core
257257
developers in Paris.
258-
<!--
259-
Here are some of the biggest changes in the upcoming version:
260-
<ul>
261-
<li>Python 3 support</li>
262-
<li>Ensembles of Randomized Trees speed improvements</li>
263-
<li>Restricted Boltzman Machines</li>
264-
<li>Missing data imputation</li>
265-
<li>Bi-clustering</li>
266-
</ul>
267-
-->
268-
269258
We want to thank our sponsors, our
270259
hosts <a href="http://www.telecom-paristech.fr/">Télécom ParisTech</a>
271260
and <a href="http://www.tinyclues.com/">tinyclues</a>, and
@@ -281,61 +270,64 @@
281270
<h4>Community</h4>
282271
<ul>
283272
<li><em>Questions?</em> See <a href="http://stackoverflow.com/questions/tagged/scikit-learn">stackoverflow</a> # scikit-learn</li>
284-
<li><em>Mailing list:</em> [email protected]</li>
273+
<li><em>Mailing list:</em> <a href="https://lists.sourceforge.net/lists/listinfo/scikit-learn-general">scikit-learn-general@lists.sourceforge.net</a></li>
285274
<li><em>IRC:</em> #scikit-learn @ <a href="http://webchat.freenode.net/">freenode</a></li>
286-
<li><em>Help us:</em>
287-
<button class="btn btn-warning btn-big" onclick="document.getElementById('paypal-form').submit(); return false;"><b>Donate!</b></button> (<a href="about.html#funding">read more</a>)</li>
288-
<form target="_top" id="paypal-form" method="post" action="https://www.paypal.com/cgi-bin/webscr">
289-
<input type="hidden" value="_s-xclick" name="cmd">
290-
<input type="hidden" value="74EYUMF3FTSW8" name="hosted_button_id">
291-
</form>
292275
</ul>
293276
</div>
294-
295277
<!-- who using -->
296278
<div class="span4">
297-
<h4>Who is using scikit-learn?</h4>
279+
<h4>Who uses scikit-learn?</h4>
298280

299-
</h4>
300281
<div id="testimonials_carousel" class="carousel slide">
301282
<div class="carousel-inner">
302283
<div class="active item">
303284
<img src="_images/inria.jpg" class="thumbnail" />
304-
<p align="center">
285+
<p>
305286
<em>"We use scikit-learn to support leading-edge basic research [...]"</em>
306-
<a href="testimonials/testimonials.html">More testimonials</a>
307287
</p>
308288
</div>
309289
<div class="item">
310290
<img src="_images/evernote.png" class="thumbnail" />
311-
<p align="center">
291+
<p>
312292
<em>"For these tasks, we relied on the excellent scikit-learn package for Python."</em>
313-
<a href="testimonials/testimonials.html">More testimonials</a>
314293
</p>
315294
</div>
316295
<div class="item">
317296
<img src="_images/telecomparistech.jpg"
318297
class="thumbnail" />
319-
<p align="center">
298+
<p>
320299
<em>"The great benefit of scikit-learn is its fast learning curve [...]"</em>
321-
<a href="testimonials/testimonials.html">More testimonials</a>
322300
</p>
323301
</div>
324302
<div class="item">
325303
<img src="_images/aweber.png" class="thumbnail" />
326-
<p align="center">
304+
<p>
327305
<em>"It allows us to do AWesome stuff we would not otherwise accomplish"</em>
328-
<a href="testimonials/testimonials.html">More testimonials</a>
329306
</p>
330307
</div>
331308
</div>
332309
</div>
310+
<p align="right">
311+
<small class="example-link">
312+
<a href="testimonials/testimonials.html">More testimonials</a>
313+
</small>
314+
</p>
315+
</div>
316+
317+
<!-- help us -->
318+
<div class="bottom-button">
319+
<form target="_top" id="paypal-form" method="post" action="https://www.paypal.com/cgi-bin/webscr">
320+
<input type="hidden" value="_s-xclick" name="cmd">
321+
<input type="hidden" value="74EYUMF3FTSW8" name="hosted_button_id">
322+
</form>
323+
<strong>Help us:</strong>
324+
<button class="btn btn-warning btn-big" onclick="document.getElementById('paypal-form').submit(); return false;"><b>Donate!</b></button> (<a href="about.html#funding">read more</a>)
325+
<a class="btn btn-warning btn-big"
326+
href="./about.html#citing-scikit-learn">
327+
<b>Cite us!</b>
328+
</a>
329+
</div>
333330

334-
<a class="btn btn-warning btn-big cite-us"
335-
href="./about.html#citing-scikit-learn">
336-
<b>Cite us!</b>
337-
</a>
338-
</div>
339331
</div>
340332
</div>
341333
</div>

doc/testimonials/testimonials.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Gaël Varoquaux, research at Parietal
5252

5353

5454
`Evernote <http://evernote.com>`_
55-
-------------------------------
55+
----------------------------------
5656

5757
.. raw:: html
5858

doc/themes/scikit-learn/layout.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ <h2>Machine Learning in Python</h2>
198198
<li>Built on NumPy, SciPy, and matplotlib</li>
199199
<li>Open source, commercially usable - BSD license</li>
200200
</ul>
201-
202-
<a class="btn btn-warning btn-big cite-us"
203-
href="{{ pathto('about')}}#citing-scikit-learn">
204-
<b>Cite us!</b>
205-
</a>
206201
</div>
207202
</div>
208203
</div>

doc/themes/scikit-learn/static/nature.css_t

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,28 @@ div.container.index-lower h4, div.container.index-lower h4 a{
785785
color: #FF9C34;
786786
}
787787

788+
div.container.index-lower div.bottom-button {
789+
float: right;
790+
padding-right: 17%;
791+
}
792+
793+
form#paypal-from {
794+
margin-bottom: 10px;
795+
}
796+
797+
div.container.index-lower div.bottom-button button.btn{
798+
padding-left: 30px;
799+
padding-right: 30px;
800+
margin-left: 10px;
801+
margin-right: 5px;
802+
}
803+
804+
div.container.index-lower div.bottom-button a.btn{
805+
padding-left: 30px;
806+
padding-right: 30px;
807+
margin-left: 70px;
808+
}
809+
788810
div.container.index-lower h4 {
789811
margin-bottom: 10px;
790812
margin-left: 0px;
@@ -859,11 +881,16 @@ div.carousel>.carousel-inner>.item {
859881

860882
div.carousel img {
861883
max-height: 70px;
862-
height: 70px;
884+
max-width: 50%;
863885
background-color: #fff;
864886
margin: auto;
865887
}
866888

889+
div#testimonials_carousel {
890+
height: 120px;
891+
}
892+
893+
867894
div#examples_carousel img {
868895
max-height: 201px;
869896
height: 186px;
@@ -1141,11 +1168,6 @@ div.container-index {
11411168
margin-left: -210px;
11421169
}
11431170

1144-
.cite-us {
1145-
margin: auto;
1146-
display: block;
1147-
max-width: 100px;
1148-
}
11491171

11501172
@media all and (max-width: 780px) {
11511173
.fork-me {

0 commit comments

Comments
 (0)