Skip to content

Commit

Permalink
Banner improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
glouppe authored and amueller committed Jul 28, 2013
1 parent 4204586 commit f4c306f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 17 deletions.
23 changes: 8 additions & 15 deletions doc/themes/scikit-learn/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,32 +108,25 @@
</div>



{%- if pagename == 'index' %}
<!-- Banner -->
<div class="container" style="width:100%; background-color: rgb(78, 172, 197);">
<div class="row-fluid" style="max-width:1024px; margin-left:auto; margin-right:auto; padding:20px 0px;">
<div class="container banner-container">
<div class="row-fluid banner-inner">
<div class="span6">
<div class="thumbnail"><img src="{{ pathto('_static/banner_example.png', 1) }}"/></div>
</div>
<div class="span6">
<h1 class="no-bg">Scikit-learn : Machine Learning in Python</h1>


<h1>scikit-learn</h1>
<h2>Machine Learning in Python</h2>
<ul>
<li>Building upon numpy, scipy, and matplotlib.</li>
<li>Provides versatile tools for data mining and analysis.</li>
<li>Simple and efficient.</li>
<li>Accessible to everybody, and reusable in various contexts.</li>
<li>License: Open source, commercially usable: BSD license.</li>
<li>Simple and efficient tools for data mining and data analysis</li>
<li>Accessible to everybody, and reusable in various contexts</li>
<li>Built on NumPy, SciPy, and matplotlib</li>
<li>Open source, commercially usable - BSD license</li>
</ul>
<!-- Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world, building upon numpy, scipy, and matplotlib. As a machine-learning module, it provides versatile tools for data mining and analysis in any field of science and engineering. It strives to be simple and efficient, accessible to everybody, and reusable in various contexts. -->

</div>
<!-- end section -->
</div>
</div>

{%- endif %}

{% endblock %}
Expand Down
29 changes: 27 additions & 2 deletions doc/themes/scikit-learn/static/nature.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,33 @@ span.example-links {

/* --- New frontpage ------------------------------------------------------- */

div.banner-container {
width:100%;
background-color: rgb(78, 172, 197);
}

div.banner-inner {
max-width:1024px;
margin-left:auto;
margin-right:auto;
padding:20px 0px;
}

div.banner-container h1 {
font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;
font-size: 45px;
margin-bottom: 0px;
color: white;
}

div.banner-container h2 {
font-size: 17px;
font-style: italic;
font-weight: normal;
color: white;
margin-top: -5px;
}

div.box h2 {
background-color: transparent;
}
Expand All @@ -753,8 +780,6 @@ div.box .box-tagline {
padding-bottom: 8px;
}



div.body h1.no-bg, div.body h2.no-bg, div.body h3.no-bg, div.body h4.no-bg {
background-color: transparent;
}
Expand Down

0 comments on commit f4c306f

Please sign in to comment.