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

Skip to content

ENH improved the css style of the docs #2184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 92 additions & 9 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
/**
/*
* Alternate Sphinx design
* Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
*/

body {
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
font-family: "Raleway", "Helvetica Neue", Helvetica, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
font-size: 14px;
letter-spacing: -0.01em;
line-height: 150%;
text-align: center;
/*background-color: #AFC1C4; */
background-color: #BFD1D4;
color: black;
padding: 0;
Expand All @@ -24,6 +23,10 @@ a {
text-decoration: none;
}

strong {
font-weight: strong;
}

a:hover {
color: #2491CF;
}
Expand Down Expand Up @@ -103,7 +106,7 @@ dl {
}

dd p {
margin-top: 0px;
margin-top: 1px;
}

dd ul, dd table {
Expand Down Expand Up @@ -251,7 +254,7 @@ div.sphinxsidebar ul ul {
}

p {
margin: 0.8em 0 0.5em 0;
margin: 0.8em 0 0.8em 0;
}

p.rubric {
Expand Down Expand Up @@ -518,24 +521,104 @@ table.docutils {
table.docutils tr:nth-child(even) {
background-color: #F3F3FF;
}

table.docutils tr:nth-child(odd) {
background-color: #FFFFEE;
}

table.docutils tr {
border-style: solid none solid none;
border-width: 1px 0 1px 0;
border-color: #AAAAAA;
/* module summary table */
.longtable.docutils {
font-size: 12px;
margin-bottom: 30px;
background-color: #ccc;
}
.longtable.docutils, .longtable.docutils td {
border-color: #ccc;
}

/* function and class description */
dl.class, dl.function, dl.method, dl.attribute {
border-top: 1px solid #ccc;
padding-top: 10px;
}
.descclassname {
color: #aaa;
font-weight: normal;
font-family: monospace;
}
.descname {
font-family: monospace;
}

/* module summary table */
.longtable.docutils {
font-size: 12px;
margin-bottom: 30px;
}
.longtable.docutils, .longtable.docutils td {
border-color: #ccc;
}

/* function and class description */
dl.class, dl.function, dl.method, dl.attribute {
border-top: 1px solid #ccc;
padding-top: 10px;
}
.descclassname {
color: #aaa;
font-weight: normal;
font-family: monospace;
}
.descname {
font-family: monospace;
}


table.docutils th {
padding: 1px 8px 1px 5px;
background-color: #eee;
width: 100px;
}

table.docutils td {
border-width: 1px 0 1px 0;
}


dl.class em, dl.function em, dl.class big, dl.function big {
font-weight: normal;
font-family: monospace;
}
dl.class dd, dl.function dd {
padding: 10px;
}
.docutils.field-list th {
background-color: #eee;
padding: 10px;
text-align: left;
vertical-align: top;
width: 120px;
}
.docutils.field-list td {
padding: 10px 10px 10px 20px;
text-align: left;
vertical-align: top;
}
.docutils.field-list td blockquote p {
font-size: 13px;
line-height: 18px;
}
p.rubric {
font-weight: bold;
font-size: 19px;
margin: 15px 0 10px 0;
}
p.admonition-title {
font-weight: bold;
text-decoration: underline;
}


#matplotlib-examples ul li{
font-size: large;
}
Expand Down
2 changes: 2 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "!layout.html" %}

<link href="http://fonts.googleapis.com/css?family=Raleway" rel="stylesheet" type="text/css">

{% block rootrellink %}
<li><a href="{{ pathto('index') }}">home</a>|&nbsp;</li>
<li><a href="{{ pathto('examples/index') }}">examples</a>|&nbsp;</li>
Expand Down