Skip to content

Commit c1d91d7

Browse files
NelleVGaelVaroquaux
authored andcommitted
ENH better spacing on the first page
1 parent 3a5248d commit c1d91d7

File tree

2 files changed

+39
-11
lines changed

2 files changed

+39
-11
lines changed

doc/index.rst

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
<div class="container index-lower">
247247
<div class="row-fluid">
248248
<!-- News -->
249-
<div class="span6">
249+
<div class="span4">
250250
<h4>News</h4>
251251
<ul>
252252
<li><em>On-going development:</em>
@@ -277,10 +277,10 @@
277277
</div>
278278

279279
<!-- Community -->
280-
<div class="span6">
280+
<div class="span4">
281281
<h4>Community</h4>
282282
<ul>
283-
<li><em>Questions?</em> See <a href="http://stackoverflow.com/questions/tagged/scikit-learn">stackoverflow</a> # scikit-learn for usage questions</li>
283+
<li><em>Questions?</em> See <a href="http://stackoverflow.com/questions/tagged/scikit-learn">stackoverflow</a> # scikit-learn</li>
284284
<li><em>Mailing list:</em> scikit-learn-general@lists.sourceforge.net</li>
285285
<li><em>IRC:</em> #scikit-learn @ <a href="http://webchat.freenode.net/">freenode</a></li>
286286
<li><em>Help us:</em>
@@ -297,24 +297,39 @@
297297
<h4>Who is using scikit-learn?</h4>
298298

299299
</h4>
300-
<div id="myCarousel" class="carousel slide">
300+
<div id="testimonials_carousel" class="carousel slide">
301301
<div class="carousel-inner">
302302
<div class="active item">
303303
<img src="_images/inria.jpg" class="thumbnail" /><br />
304+
</div>
304305
<div class="item">
305306
<img src="_images/evernote.png" class="thumbnail" /><br />
307+
</div>
306308
<div class="item">
307-
<img src="_images/telecomparistech.jpg" class="thumbnail" /><br />
309+
<img src="_images/telecomparistech.jpg"
310+
class="thumbnail" /><br />
308311
</div>
309312
<div class="item">
310313
<img src="_images/aweber.png" class="thumbnail" /><br />
311314
</div>
312315
</div>
313-
<div style="margin-top: 5px"><a href="#">More testimonials</a></div>
316+
<div style="margin-top: 5px">
317+
<a class="testimonials" href="testimonials/testminonials.html">
318+
More testimonials</a></div>
314319
</div>
315-
<script>$('#myCarousel').carousel()</script>
316-
</div>
317320

321+
<a class="btn btn-warning btn-big cite-us"
322+
href="./about.html#citing-scikit-learn">
323+
<b>Cite us!</b>
324+
</a>
325+
</div>
318326
</div>
319327
</div>
320328
</div>
329+
330+
331+
<script>
332+
$('#testimonials_carousel').carousel()
333+
</script>
334+
335+

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,8 @@ div.container.index-lower ul {
800800
}
801801

802802
div.container.index-lower ul li {
803-
margin-bottom: 5px;
803+
margin-bottom: 8px;
804+
line-height: 1.3em;
804805
}
805806

806807
div.container.index-lower ul li em {
@@ -850,9 +851,15 @@ div#examples_carousel {
850851
margin-bottom: 0px;
851852
}
852853

854+
div.carousel item {
855+
width: 100%;
856+
margin: auto;
857+
}
858+
859+
853860
div.carousel img {
854-
max-height: 80px;
855-
height: 80px;
861+
max-height: 50px;
862+
height: 50px;
856863
background-color: #fff;
857864
}
858865

@@ -977,6 +984,7 @@ div.testimonial h2 {
977984
text-align: center;
978985
}
979986

987+
980988
div.logo {
981989
float: left;
982990
width: 200px;
@@ -1134,6 +1142,7 @@ div.container-index {
11341142

11351143
.cite-us {
11361144
margin: auto;
1145+
margin-top: 10px;
11371146
display: block;
11381147
max-width: 100px;
11391148
}
@@ -1161,3 +1170,7 @@ div.container-index {
11611170
}
11621171

11631172
}
1173+
1174+
a.testimonials {
1175+
font-size: 0.9em;
1176+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy