X Tutup
Skip to content
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
53 changes: 52 additions & 1 deletion doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,19 @@ div.admonition, div.warning {
font-size: 0.9em;
}

div.warning {
color: #b94a48;
background-color: #F3E5E5;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added colours are in varying case.

border: 1px solid #eed3d7;
}

div.green {
color: #468847;
background-color: #dff0d8;
border: 1px solid #d6e9c6;
}


div.admonition p, div.warning p {
margin: 0.5em 1em 0.5em 1em;
padding: 0;
Expand All @@ -366,19 +379,57 @@ div.admonition pre, div.warning pre {
margin: 0.4em 1em 0.4em 1em;
}

div.admonition p.admonition-title + p {
display: inline;
}


div.admonition p.admonition-title,
div.warning p.admonition-title {
margin: 0;
font-weight: bold;
font-size: 14px;
}

div.admonition {
margin-bottom: 10px;
margin-top: 10px;
padding: 7px;
border-radius: 4px;
-moz-border-radius: 4px;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you write this yourself, or is it generated somehow? Why only add the -moz prefix? It seems like border-radius was standardized a long long time ago.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's from the nature stylesheet of sphinx.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. I guess they just haven't updated them in a while.

}


div.note {
background-color: #eee;
border: 1px solid #ccc;
}

div.topic {
background-color: #eee;
border: 1px solid #CCC;
margin: 10px 0px;
padding: 7px 7px 0px;
border-radius: 4px;
-moz-border-radius: 4px;
}

p.topic-title {
font-size: 1.1em;
font-weight: bold;
}

div.seealso {
background-color: #FFFBE8;
border: 1px solid #fbeed5;
color: #AF8A4B;
}

div.warning {
border: 1px solid #940000;
}

div.warning p.admonition-title {
background-color: #CF0000;
border-bottom-color: #940000;
}

Expand Down
1 change: 1 addition & 0 deletions doc/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
text_api.rst
ticker_api.rst
tight_layout_api.rst
transformations.rst
tri_api.rst
type1font.rst
units_api.rst
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions doc/devel/add_new_projection.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _adding-new-scales:

***********************************************
Adding new scales and projections to matplotlib
***********************************************
=========================================================
Developer's guide for creating scales and transformations
=========================================================

.. ::author Michael Droettboom

Expand Down
Loading
X Tutup